|
I couldn´t undertand perfectly what re you trying to do, but i can suggest the listview component.
You can show the files into it like the windows explorer, setting icons and all.
-----
LeandroAB
|
|
|
|
|
|
How can we connect a VB.NET application with a bar code reader and how we can use the data which is read by the bar code reader in our application.
Thanks,
Sayuj O
|
|
|
|
|
sayuj wrote: How can we connect a VB.NET application with a bar code reader
Most bar code readers act just like a keyboard. Scan a barcode and it "types" the code just like a human would be doing.
sayuj wrote: how we can use the data which is read by the bar code reader in our application
Uhhh... Wouldn't that be dictated by your application's requirements??
|
|
|
|
|
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.
Any help would be greatly appreciated,
Brandon
modified on Tuesday, October 14, 2008 4:57 PM
|
|
|
|
|
|
I actually tried doing that before, but x86 was not an option when adding a new configuration. I had ARM something or other and 2 others, but no x86 or x64. My current configuration is Win32.
I was actually able to get around this by disabling all optimizations in release mode. Don't know why it worked, but it did.
Brandon
|
|
|
|
|
My application working fine in the dev environment.But in the testing /production environment
it is not working because that environment has only
windows server 2003
IIS
.net2.0 framework
In my application I have Used some microsoft VC++ dll's also along with .net dll's.
Now Iam getting "RUNTime Error" pop-up screen message as below
" The Application has been terminated in an Unusual Way"
On googling i came to know that some dll's like msvcrt.dll of windows server 2003 has to be changed...But Iam not pretty sure about it..
In Production/test environment there is only framework installed ,but there is no visual studio installed on it.may be due that this error may occur...
So kindly post your suggestions and views to help me
I tried the following as suggested by you:
1. I have installled the redistributable package suggested by you.
after installing i restarted the PC even now also I got the same runtime pop-up error.
2. Then I checked even with the dependency walker for the dll.
I found that there is no miising dll.
3. Then I tried by installing Visual C++ express edition..even then also i got the same pop-up error.
Kindly help me.....
|
|
|
|
|
http://www.ruche-home.net/?%A5%C0%A5%A6%A5%F3%A5%ED%A1%BC%A5%C9
I have downloaded imgctl.dll from the above link. version: 1.24
I am trying to add reference to this dll from windows application based on C#. But i am getting:
"A reference to "C:\imgctl.dll" could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component".
Tried downloading a new one and added but still getting same error.
Please help me, if anyone knows about this.
Thanks in Advance
|
|
|
|
|
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.
|
|
|
|
|
Thanks,
got it. Its working.
|
|
|
|
|
Hello,
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.
I tried with options:
=> tabenabled = false - but it doesnot worked!!
Looking for a early positive reply.
|
|
|
|
|
The only way to disable tabs is to remove them from the tab control's collection. There is no other way.
|
|
|
|
|
Thanks for the reply. But i think some way we can flush the event while one tab control is being loaded.
|
|
|
|
|
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.
|
|
|
|
|
hi friends,
How to Block keyboard key in value to TextBox but barcode scanner still can use..?
Thanks in Advance.
Cheers
|
|
|
|
|
textBox.ReadOnly = true; This way the user won't be able to type text in the textbox,
but you can still change the text in the code behind:
textBox.Text = "Hello World!"; I don't know if this can be used with a barcode scanner,
but give it a try.
Kristian Sixhoej
"Failure is not an option" - Gene Kranz
|
|
|
|
|
i already tested that. by tat , v cannot scan in textbox using a scanner.
|
|
|
|
|
SamRST wrote: hi friends,
How to Block keyboard key in value to TextBox but barcode scanner still can use..?
Thanks in Advance.
If your barcode scanner is a keyboard wedge, I don't think you can do this.
|
|
|
|
|
My scanner is not a keboard wedge. its a USB scanner.
|
|
|
|
|
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.
|
|
|
|
|
Thanks for your reply..
Cheers.
|
|
|
|
|
Is there a way to programmatically simulate a menu item being clicked?
Thanks,
Steve.
|
|
|
|
|
thompsons wrote: Is there a way to programmatically simulate a menu item being clicked?
You mean this?[^]
led mike
|
|
|
|
|
Thanks for the suggestion. Not sure it will do the the trick, but will try it.
If anyone else can put their two cents(tuppence) worth in, would be glad to hear from them.
Thanks for the reply.
Regards,
Steve.
|
|
|
|