I have put the following in my registry to be able to send commands to my app it from a webpage. What do I need to change with it and what do I need to put in my app to be able to use output from the app and display it as a webpage?
[HKEY_CLASSES_ROOT\custom]
"URL Protocol"=""
@="URL:custom...
In a variable
Dim obj as object=Nothing
is it possible to attach an event handler so I can be notified when the variable is assigned something, the only thing I can think of to do it is to make a timer that checks if "obj is nothing" a couple of times a second and I would really like to avoid that.
I changed a few things but now it works great.
I am not using InvokeMember at all and I removed the Dim t as type.
Public ClassO as object
Dim scl As System.Reflection.Assembly = System.Reflection.Assembly.LoadFile("C:\MyDll.dll")
Dim obj(1) As Object
obj(0) = "Software\\Something\\Other"...
I am trying to publish an application of mine to a webhost.
The problem I have is that the on the webhost you can't have files or folders with space (" ") in the names.
Is there any way that I can change it from using "Application Files" to perhaps "ApplicationFiles"
I have looked around but...
I need to open a CCITTFaxDecode Image from a pdf file and load it into a bitmap for me to process it.
Could anyone please tell me how to or give me some tips about how to go about it.
When you open the about screen, look at the top.
There it says "Microsoft Visual Basic 6.0 (SP6)" SP6 will say different if you have another service pack of course.
I used the API before but changed because it took minutes to find each file (I have more than 50k files to search through). Now I'm using shellexecute to call "dir /a/s>file.text" then read the file in and find what I need with InStr. All in all it is many hundred times faster, more difference...
Putting tabstop=true on getfocus and tabstop=false on lostfocus works great. At first when I read it I was a bit skeptical because I thought that it would trap the pressing of tab.
Thank you
Does not seem to work for me. Neither activate nor decativate are called when I switch between the program and other windows.
The only time activate is called is when the form is loaded.
I have a several controls with a picturebox as container.
All of the controls and the picturebox has tabstop set to false.
When one of the controls have focus and I switch to another window and then back it is always the picturebox that has focus, is there any good way I can prevent that and...
Yes there is. Using winsock you can quite easily post form data without any browser.
You can find all info you need of the http here: http://www.w3.org/Protocols/rfc2616/rfc2616.html
Something like this should do it:
Dim s As String
s = vbNullString
Dim i As Integer
i = 0
dim nicbytes() as byte
dim serialbytes() as byte
nicbytes=strconv(nic,vbFromUnicode)
serialbytes=strconv(serial,vbFromUnicode)
dim c as variant
If len(Nic) > len(Serial) Then
For Each c...
Something like this should work:
Private Declare Function GetWindowRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As Long
Private Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Private Sub MSFlexGrid1_Click()
Dim Rec As RECT
GetWindowRect...
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.