Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. alicemong

    Error 678 (Dialing into is not answering)

    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...
  2. alicemong

    How to make a vb exe to return value

    Hi paulbent, Do you mean that I should call the ExitProcess in the Form's Terminate event? Alice
  3. alicemong

    How to make a vb exe to return value

    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...
  4. alicemong

    How to use Grid

    Hi all, Thank for your responses. I can solve the problem now. The grid control is read only due to the cursor. Thanks Alice
  5. alicemong

    How to use Grid

    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...
  6. alicemong

    Urgent !!! Cannot Register Active X DLL in Windows98

    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&quot...
  7. alicemong

    Urgent !!! Cannot Register Active X DLL in Windows98

    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
  8. alicemong

    Checking whether the Comm port is working or not

    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 =...
  9. alicemong

    Checking whether the Comm port is working or not

    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...
  10. alicemong

    Checking whether the Comm port is working or not

    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...
  11. alicemong

    Checking whether the Comm port is working or not

    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...
  12. alicemong

    Checking whether the Comm port is working or not

    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
  13. alicemong

    ODBC connection problem in XP

    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
  14. alicemong

    ODBC connection problem in XP

    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...
  15. alicemong

    How to connect access database

    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
  16. alicemong

    Add a checkbox column in vb 6.0 datagrid control

    Hi, I want to add a checkbox column in a vb6.0 datagrid control. Does anyone know how to do it? Regards, Alice
  17. alicemong

    How to stop printer spooler in Visual Basic

    Hi, I want to stop and restart printer spooler in my vb application. Does anyone know how to do it? Alice

Part and Inventory Search

Back
Top