CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: daneb

Page 1 of 12 1 2 3 4

Search: Search took 0.15 seconds.

  1. Thread: Winsock Problem

    by daneb
    Replies
    8
    Views
    930

    Hi Chay, I use a string data type in the...

    Hi Chay,

    I use a string data type in the winsock's senddata method. But going back to my original second question, how can I gather all data sent by the server in case its incomplete?
  2. Replies
    18
    Views
    5,814

    I think format(date,"yyyy") is more reliable than...

    I think format(date,"yyyy") is more reliable than the Year function. However, the result also depends on the date that the server will give the client. If the server and the client have different...
  3. Thread: Winsock Problem

    by daneb
    Replies
    8
    Views
    930

    Thanks again Jinto. I'll put the piece of code to...

    Thanks again Jinto. I'll put the piece of code to my app.

    Twodogs, is this the default number of bytes? Bytes is similar to number of characters, right? My messages don't exceed 4092, I think at...
  4. Replies
    18
    Views
    5,814

    Thanks to all those who replied. My problem lies...

    Thanks to all those who replied. My problem lies in the fact that the Year function returns the current year in the English system, regardless of the Regional Settings. For instance if the settings...
  5. Thread: Winsock Problem

    by daneb
    Replies
    8
    Views
    930

    Thanks for replying. For your first code,...

    Thanks for replying.

    For your first code, doesn't this create an endless loop?
    For your second code, how do you use the bytesTotal argument to check if the data is completely sent? I have a...
  6. Replies
    1
    Views
    903

    Batch SQL Insert in VB

    Hi. I have a client app that retrieves data from a Linux server thru a winsock. The server is running a C-Index database. Data records are up to 9000+. My app receives, parses, then inserts 10...
  7. Replies
    18
    Views
    5,814

    What's the difference between DateValue and CDate?

    What's the difference between DateValue and CDate?
  8. Replies
    18
    Views
    5,814

    The server passes the date thru a socket...

    The server passes the date thru a socket (winsock) as part of a message, so the date is received as a string. Then I use the Month(), Day(), and Year() function to extract the parameters for the...
  9. Replies
    18
    Views
    5,814

    DateSerial Function

    Hello. I have a problem involving the DateSerial function, particularly its first parameter, Year. My client app is supposed to get the date and time of the server, and change the date and time of...
  10. Thread: Winsock Problem

    by daneb
    Replies
    8
    Views
    930

    Winsock Problem

    Hello. I am using winsock in my application to connect to a remote server. I'm having problems in 2 situations:

    1) Why does it seem to be difficult to get the sckConnected value for the winsock's...
  11. Yes, I got the correct arguments for the...

    Yes, I got the correct arguments for the CompactDatabase method for both the DBEngine and Jet & Replication Object (JRO) objects. Thanks!
  12. Error in Compacting an Access Database w/ Password

    I have a code that compacts an Access 2000 database. It worked fine until I put a password on my database. The error I encountered is this:

    Error No. 3031
    Not a valid password

    My code for...
  13. Thanks for replying rxbagain. I now understand...

    Thanks for replying rxbagain. I now understand the MouseRow and MouseCol properties. I was confused at first because after clicking the OK button of the first message box, when I trace my code and...
  14. FlexGrid's Row, MouseRow, and MouseCol Properties

    I have several forms with ms flexgrid containing several fixed rows and no fixed columns. I noticed that when I clicked anywhere on the fixed row(s), the .Row property returns the first non-fixed row...
  15. Thread: Using Winsock

    by daneb
    Replies
    11
    Views
    1,033

    Thanks to all who posted their answers. I guess I...

    Thanks to all who posted their answers. I guess I have to tweak my code, like placing the sending of data in a button to be clicked by the user, instead of in the Change event of the textbox. Thanks...
  16. Replies
    7
    Views
    986

    I executed the Vbctrls.reg file and tried to put...

    I executed the Vbctrls.reg file and tried to put the OCX control on my form. The error still appeared. However, in one of our previously developed apps which I can not open in the VB IDE due to this...
  17. Replies
    7
    Views
    986

    Hi sureshgade. Does the directory where I will...

    Hi sureshgade. Does the directory where I will copy the file Vbctrls.reg matter for it to run successfully?
  18. Replies
    7
    Views
    986

    Actually it's part of a zip file that I...

    Actually it's part of a zip file that I downloaded along with some other files. But does the directory of the OCX file matter when you want to use it in an app located in another directory? I tried...
  19. Replies
    7
    Views
    986

    OCX License Problem

    I downloaded an .OCX file from the net as part of a research and I wanted to try it out. I registered it in my computer using regsvr32 from the directory where I put it. The component appeared in the...
  20. Thread: Telephony in VB

    by daneb
    Replies
    15
    Views
    5,337

    That's also what we want to know....

    That's also what we want to know. tapiRequestMakeCall is not the only API function to be used, right? It is the one that brings up the Phone Dialer. I noticed that there are so many API functions...
  21. Thread: Telephony in VB

    by daneb
    Replies
    15
    Views
    5,337

    Yes Rizwan. I'm using a modem but it doesn't have...

    Yes Rizwan. I'm using a modem but it doesn't have an audio output. When I use the Phone Dialer program, the voice can go through the speaker, though sound quality is not so good. However, when I'm...
  22. Thread: Telephony in VB

    by daneb
    Replies
    15
    Views
    5,337

    Are there properties to set or configure so that...

    Are there properties to set or configure so that the voice coming from the phone can be directed to the speaker? I'm testing a code, enabling the phone to ring, but when the phone is answered, the...
  23. Thread: Using Winsock

    by daneb
    Replies
    11
    Views
    1,033

    Hi Rizwan. Below is my code for the Change event...

    Hi Rizwan. Below is my code for the Change event of the textbox named txtSendData:

    Private Sub txtSendData_Change()

    ' The TextBox control named txtSendData contains the data to be sent....
  24. Thread: Using Winsock

    by daneb
    Replies
    11
    Views
    1,033

    I have just corrected the name of the textbox in...

    I have just corrected the name of the textbox in the event that sends the data in the client form to the server form. This is the culprit. I'm wondering why VB didn't catch this error. Both forms can...
  25. Thread: Using Winsock

    by daneb
    Replies
    11
    Views
    1,033

    I have codes placed in the DataArrival event of...

    I have codes placed in the DataArrival event of the winsock in the server form. When I traced the code, this event doesn't fire. Even the codes placed in the sending of data in the client form is not...
Results 1 to 25 of 292
Page 1 of 12 1 2 3 4





Click Here to Expand Forum to Full Width

Featured