|
Hi friends...
Please help....
I have created a setup in VB.NET and installing in different machines. Now the problem is that the same setup is working on some machine fine, while same setup is not working. When i am trying to run the application its giving a message that "unable to find a version of the run time to run this application".
And also i want to tell you that all those machine having same configuration and same operating system, same anti virus.
Now please help me... i got frustrated with this kind of error.
krishna veer singh
|
|
|
|
|
Are those machines having .Net framework installed?
जय हिंद
|
|
|
|
|
Ditto to d@anish. Is the appropriate framework here: c:\windows\Microsoft.NET\? You could also compare the reg keys (HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP\V#.
Depending on your installer, you could include the framework as a preq to be auto installed if not present.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
The error message says that you machines in question don't have the correct version of the .NET Framework installed.
|
|
|
|
|
Does anyone know where can i find a program or sample code that can perform an image or picture search on desktop screen position x and y, then perform mouse action on that image appear.
I found an example program like AutoClickExtreme, but is there any other programs or sample code that i can create in vb?
thanks
|
|
|
|
|
I doubt you're going to find an example of this. Also, VB.NET doesn't support pointers, so a fast search through pixel data would be pretty slow. Writing that aprt of the app in C# would speed it dramatically. Search the articles for "Image processing for dummies" and you'll find examples on how to examine and manipulate pixel data using pointers in C#.
The search logic would probably go something like... scan the screen for the first pixel in the top left corner of the image you're searching for. If found, then start scanning the capture image from that pixel and comparing to the pixels in the search image. If you get through the search image without missing a pixel in the capture image, you've found what you're looking for.
But, then again, you didn't describe what you meant by "image or picture search".
|
|
|
|
|
I am coming from a REALbasic background so I'm not sure if this is possible or will be explained correctly.
What I had in REALbasic was a Class with a subclass of their httpsocket (to download a webpage). By subclassing it, it gave me access to it's events like DownloadComplete, Error, DataReceived, etc...
Is this type of thing possible in VB.Net? I have it working without the subclassing using the webrequest and webresponse functions but i need to run multiple requests at the same time and stop any of them at any time. The app is running tests using web tools on an internal network and then parsing the results into the app.
I don't NEED to use webrequest / webresponse if something else will do the trick better.
Thanks in advance to anyone with helpful information.
Dave
|
|
|
|
|
This sounds like you would wrap the WebRequest/WebResponse in your own class, and launch multiple instances of it under new threads, or keep the wrapper class and use the Begin... versions of the methods you're using now.
|
|
|
|
|
I have a object on my form in VB.net 2005 that doesn't handle mouse click event. I want to put a clear (transparent) panel over the object, just to capture the mouse events. Everytime I create a panel with the bg color matching the transparency key, I get a hole in my form, which I dont want. Any idea how to create a "clear" panel or picturebox?
Any simple ideas?
|
|
|
|
|
Does that "object" get the focus? If so, you might set the KeyPreview property of the form to True and then test in the form's MouseDown event for ...
(1) a mouse click (e.g. e.Button = Windows.Forms.MouseButtons.Right), and
(2) the "object" having the focus (e.g. Me.ActiveControl.Name = "Label1").
When those conditions are met, the "object" has been clicked.
|
|
|
|
|
I set the keypreview property of the form to true. However, when I click on the object, it doesn't get sent to the forms mousedown or mouseclick event handler. When I click on the forms background, it does go to my handler.
For some reason, the form doesn't see mouse events on the object.
I just thought a clear (transparent) panel/picturebox, or something to overlay the object would be the simpliest solution, but obviously its not so simple, or I'm missing something.
The object i'm referring is a video window from a digital recorder that is brought into the toolbox as a com object from a dll. They didn't implement mouse click events.
|
|
|
|
|
It would appear that you need to discuss this issue with the creators of the dll so maybe they can change the dll to raise the mouse events. Other than that, I have no idea. Sorry.
|
|
|
|
|
|
Is it possible to call the identity monitors method that is available in the Display Properties, so that numbers are displayed on the desktop of each monitor?
Could someone nudge me in the right direction? Thanks!
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
No love for Jon-Boy?
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
No, it's just what you want is so obsurce as to never have been tried. I still can't find anything on it. As far as I can tell, there is no public launch point that can get at that part of the Display control panel.
I think this would take a call to Microsoft's Developer Support to find anything out on it.
|
|
|
|
|
Oko Dave. I figured someone must have tried using it for a multi monitor app. I'll just create my own version of the same thing.
Glad someone round here is still looking after me
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
Hi,
My Front end is VB.net 2008
I have a form. In this form, I have a menu control, this menu control has four buttons.
On clicking the first three buttons, open the window with Show() event.
and the fourth button open the screen with ShowDialog()
Now, One by one I am clicking the button , so finally i have now four windows of this application.(Three with Show() and one with ShowDialog())
Right?
Now I am minimizing all the windows with the help of Window + D Button.
After this, If I use the keyboard(Alt+ Tab) keys. This is opening the showDialog window on top because , Show dialog's TopMost = True.
Now I come back to my problem. That's why I cannot use the show/Showdialog overloaded menthod to pass the Me/form-id
Again, I use the keyboard(Alt+ Tab) keys, to minimized all windows. In the taskbar and Startmenu properties , I have selected the Group Similar Taskbar buttons
This resulted in the heap of my application windows, one on the other.
I hope you have understood this point. By doing this , same kind of windows lie one on the other.
Now i click on one of my application window , and If I click the window other then the Show Dialog opened Window, this is not bringing the show dialog window to topMost.
Note:- There is no parent child window requirement. That's why I can't use the Show/Show Dialog overloaded method to pass the Me/Form-id
This is the problem.
Please let me know if you still face any problem in understanding the question.
|
|
|
|
|
I want to write a text file on a different computer over LAN.
Any idea about it?
|
|
|
|
|
share the target directory and write textfile to \\computername\sharename\filename.txt
Tosch
|
|
|
|
|
For the win.
Use the streamwriter or my.Computer.FileSystem.WriteAllText
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
So far, i have gotten the hang of using VB 2008, and managed to read and write to one serial port. Now, I need to open two different ports simultaneously. One port needs to be read and write and the other just to read and trigger and event when it fills a statement. My questions are,
1. Can I open multiple ports by using the same method as oepning a single port?
2. When I receive data from the two ports, can I invoke two different receive events?
Much help would be appreciated on this. Thanks in advance.
Quin
|
|
|
|
|
yes.
yes.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
|
Thanks for the quick reply.
I'll test it out some more before asking for more help on this. Hopefully, there won't be too much problems.
|
|
|
|
|
I am doing a hardware based project and planning to establish communication with the computer using Serial Port RS-232 using an interface IC MAX 232.
I am doing my project VB.Net 2008 and have no prior experence with the same. My computer doesnot posses a serial port so I am using USB to Serial convertor. My PC has COM3 port. Please can someone help me with the serial programming as MSDN was of no help. Also the binding navigator command is unable to calculate the maximum number of records present when the form is opened.
|
|
|
|