You can get the screen resoulution with this simple code
Private Sub Command1_Click()
Dim lheight As Long
Dim lWidth As Long
lheight = Screen.Height
lWidth = Screen.Width
lheight = lheight / Screen.TwipsPerPixelY
lWidth = lWidth / Screen.TwipsPerPixelX...
If you are worried about the version of the SCRRUN.DLL then do not give reference to Micosoft Scripting runtime and then you can use
CreateObject("Scripting.FileSystemObject")
to create FSO object. But you can not be sure if scrrun.dll will be present or not. So to be on safe side...
Hello,
I want to send and receive messages to a server program using named pipes. I have Used Named Pipes for that. There is a article in MSDN in this respect (HOWTO: Use Named Pipes in a Visual Basic 32-bit Program (Q177696)). But this example shows the way to send the bytes, but how to send...
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.