Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8001925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:13:31+00:00 2026-06-04T16:13:31+00:00

I have a wpf application and inside using Image resizer as a third party

  • 0

I have a wpf application and inside using Image resizer as a third party tool in that app. I am trying to achieve the following scenario:

I have text box (Employee Name) for example “Madona”
I have a image text box linked with third party tool “Image Resizer”.

If i choose the image (eg: Madona123.jpg), the Image resizer will generate 17 different size images and drop it in my source folder (e.g. Madona123_80x60.jpg, Madona123_150x150.jpg, etc..)

But am trying to change the file name like e.g: Madona_80x60.jpg, Madona_150x150.jpg

I have two options but not sure which one is effective

  • Create Temp Dir from the source folder where the image is there and change the name based on the “Employee Name” and pass that image to “Image Resizer” tool

  • Once the Image is generated in the destination folder,then change the file name.

Am not sure which one is best and what other concerns i have to look ,thanks for your input.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T16:13:33+00:00Added an answer on June 4, 2026 at 4:13 pm

    From your suggested scenarios I would go for option 2.

    • As you stated, creating an extra temp folder might cause rights issues so if you’re not entirely certain about the setup of the machines that will be using the app then option 1 might be causing your app to fail.
    • As a secondary (and very minor) reason, option 2 will, even if it doesn’t fail on rights still create an extra folder. If you would choose to make that temp folder part of your application, people have the tendency of removing temp folders and their contents.. Or you might create it every time on startup of the app, but that also requires, a little bit, coding. (altough point taken, this is just a minor reason and not really a reason that would tip the scales..)

    I do agree with Blam’s statement that option one would make the base coding a bit more simple but I think aldo the bit of extra work, option 2 will give you less possibility for failure.

    So if you’re gonna be using it in a manageable environment where you know the setup of your targetmachines, go with option one, it requires less and more straightforward coding, if you’re gonna be using it in any other sort of environment, go with option 2. It ‘ll give you the highest chance of success.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WPF application that mostly follows MVVM, which I am trying to
I have a WPF application that I'm trying to dynamically add items to a
I'm developing a WPF application using MVVM. Inside a Window, I have a control
I'm using MVVM in my WPF application. I have a Window that has a
I have a windows form control inside wpf application using a windows forms host.
Goal I have a WPF application that contain text inside a DataGrid . I
I have a WPF application where the entire application functionality is put inside tabs.
I have an XBAP WPF application which displays various pages inside of a Frame.
I have WPF C# application that communicate with a PLC (i.e. write/read Omron PLC's
I have a WPF application (.NET 3.0, VS2008) that displays data in a tab

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.