You could use Sendkeys but I would explore every other possible option first. Sendkeys is very unreliable.
First I would check to see if there is a type library provided by Visual Manufacturer. To check, go into the visual basic editor and select Tools then References. Scroll thru the list and...
You could look at the system registry for shockwave. Try this:
Declare Function RegCloseKey Lib "advapi32.dll" (ByVal hKey As Long) As Long
Declare Function RegCreateKey Lib "advapi32.dll" Alias "RegCreateKeyA" (ByVal hKey As Long, ByVal lpSubKey As String...
If the webpage uses java objects you can usually view the source code for the webpage and set the properties for the objects and submit the page. Here is some code I wrote to lookup currency conversion rates at a the oanda website, http://oanda.com/convert/fxhistory. It uses the IE Webbrowser...
If it's a USB check this link:
http://prism.mem.drexel.edu/kennedy/joystickTutorial/
If it's using the old 15 pin port check out this link:
http://www.hilaroad.com/camp/projects/vb_jstick.html
-Mike
Make a copy of the file. Do not do this with the original file because you could corrupt it.
Here is some code that will read the first 1000 bytes of a file named temp.exe and write the output to a file named test.txt.
Dim MyByte As Byte
Dim MyRecNumber As Integer
Dim MyString As String
Open...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.