I have made a windows explorer , Which will show all the folders in the computer
Now on clicking a folder i want to get the images under it
I am able to get the list of images
The problem is displaying
I want to make a scrollable image viewer
I will be very much thankful if any suggestions or code is provided
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
Anyone know what to do about a BadImageFormatException in System.Windows.Forms.dll? My program worked just fine yesterday, then I changed a couple of string constants and a timeout value in a serial communications class, and now a timer.onTick event gives me this exception, before any of the changes I made are even used. Any ideas? All I know is that a BadImageFormatException means "something" is corrupted. I've tried cleaning and rebuilding my solution, reverting to the version from yesterday (still breaks), and compiling yesterday's version on another machine. All the same problem.
One thing that is odd. It works just fine in debug mode through the IDE. But release mode through the IDE, and both debug and release installs give me this exception. Also, I am not using generics (another cause I've found of this exception). I am also not loading any assemblies through my code.
You can only add a reference to a .NET or COM .DLL. You've apparently got your hands on a normal library .DLL. You'll have to get at the functions it using P/Invoke. In C#, you need to look into the DllImport attribute.
I have a tabcontrol which contains tabpages. Each tab page take a while to load data for which i show a progress bar. [b] My issue here is while the progressbar is loaded user can click other tab and after completion of progress the control goes back to new tab selected. So i want to disable tabs till the progress bar is completed. I am using C# .net as code of my language.
There is no "flush the event". What you're describing is switching to a modal tab (you can't switch away from it) until the progress bar is complete. Don't. A modal operation like this would dictate that you put up a small modal form with a progress bar that doesn't allow interaction with the parent form until the job is complete.
By keyboard wedge, I meant that your bar code scanner functions like a keyboard... Looking at your answer to the other poster, it looks like your scanner _is_ a keyboard wedge, in which case you cannot do what you wanted to in your OP.