Hi all,
I am using modem to connect two 98 pc for transfering information without through ISP. One pc say computer A is waiting by dialing server which is built in 98. And another pc say computer B is using dialing networking to dial into computer A.
Sometimes, computer B can dial up to...
Hi all,
I use the following code to make a vb.exe to return a value and I get the value from another application. However, I don't know why I always get 0 from the application2. In fact, application2 should get 1 instead of 0.
Application1:
Private Declare Sub ExitProcess Lib...
Hi,
I am using a grid control in visual foxpro 6.0 and I set column3 with a check box. I set all the columns are enable = true and readonly = false and sparse = false. I don't know why when I click the check box in the column3, "the control is readonly" message always prompt out.
In...
Hi all,
I have used the following api in my dll.
Private Declare Function OpenPrinter& Lib "winspool.drv" Alias "OpenPrinterA" (ByVal pPrinterName As String, phPrinter As Long, pDefault As PRINTER_DEFAULTS)
Private Declare Function EnumJobs& Lib "winspool.drv"...
Hi all,
I have made an activex dll by visual basic. But when i want to register the dll in a Windows 98 PC by regsvr32. The dll cannot be registered. Does anyone know how to solve this problem.
Any responses are welcome
Alice
Hi William,
Here is my code used to check whether the comm port is used or not.
Public Function isCommUsed(ByVal name As String) As Boolean
Dim strError As String
strError = String(512, 0)
Dim hFile As Long
isCommUsed = False
Do
DoEvents
name =...
Hi William,
I have changed the name to LPT1:, but still fail.
When I run the following code:
Do
DoEvents
name = Trim(UCase(name))
hFile = CreateFile("LPT1:", GENERIC_READ Or GENERIC_WRITE, 0, ByVal 0&, OPEN_EXISTING, 0, 0)
MsgBox hFile
Loop
At first, hfile > 100 but...
Hi william,
Thanks for you quick reply. I have tried the following code
hFile = CreateFile("LPT1", GENERIC_READ Or GENERIC_WRITE, 0, ByVal 0&, OPEN_EXISTING, 0, 0)
and
hFile = CreateFile("LPT1", GENERIC_READ Or GENERIC_WRITE, 0, ByVal 0&, CREATE_NEW, 0, 0).
When I print...
Hi,
In fact, I have checked the MSCOMM controls before. I try to use the OnComm event to capture the comm port status, but no responses are returned except the send one. Does anyone know how to use the MSCOMM to check whether the comm port is running or not.
As for the CreateFile function...
Hi,
I want to write a VB function to check whether a parallel comm port or serial comm port is working or not so that I can decide whether the device is communicating with the desktop through the comm port.
Does anyone know how to do it?
Any responses are welcome
Thanks
Alice
Hi,
Thanks for your suggestion. In fact, I am writing a VB application which needs to connect a visual foxpro database to get some information. Therefore, I use odbc to connect the foxpro database.
Alice
Hi,
In my application, I use odbc to connect visual foxpro 2.0 tables which were created in DOS. My application can work fine in win98 and win2000. However, when I install my application in winXP, my application cannot make ODBC connection with the foxpro 2.0 database. I have install the ODBC...
Hi,
I am new to crystal report. I want my report connect to access database which is located to App.path.
How can I build a report so that it can connect different location of access database?
Regards,
Alice
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.