Search:

Type: Posts; User: Al42

Page 1 of 13 1 2 3 4

Search: Search took 0.08 seconds; generated 17 minute(s) ago.

  1. Re: Work around for VB6's OpenCurrentDatabase command

    Bad idea - if you Dim ... As New, you can't Set = Nothing.

    Dim

    Then Set = New
  2. Replies
    3
    Views
    916

    Re: Multiple IP addresses and Modem / Router

    ADSL modem (NOT routing modem) to a switch or hub with 5 (or more) ports.

    Use one port for each of your IP addresses - either directly to a server or to a router to serve a number of desktops.
    ...
  3. Re: Formatting a drive for NTFS without WinXP etc..etc..

    Download an image for either GPartEd live CD or a Linux Live CD (GPartEd is included in most Linux distros). You don't need a working hard drive to boot wither one.

    GPartEd will partition a drive...
  4. Replies
    7
    Views
    752

    Re: very very odd network problem

    What are you using for DNS on your computer? Your router's address or your provider's DNS server's address? The router can use either, but if the computer is pointed at your provider's server, it...
  5. Replies
    20
    Views
    2,389

    Re: application to run before logout

    In VB6 you can just put the application (or a shell to it) in Form_QueryUnload, can't you? Or have I gone temporarily brain dead?
  6. Replies
    9
    Views
    19,345

    Re: ipconfig is blank?

    Welp ...

    A direct strike would fry everything - computer, room, house ...

    An induced spike from a nearby strike could toast the CMOS chip, or a modem or some other single component, without...
  7. Re: How to send and retrieve Text file from the database!

    Unless the text will be huge records, you don't need to chunk it. Just INSERT records with the text to save it to the database and SELECT the records you want to retrieve it from the database.
  8. Replies
    9
    Views
    818

    Re: Find Records error

    Try these changes:
    Declaring it doesn't open it.
  9. Replies
    0
    Views
    414

    RDB7 remote from linux

    I've been tearing my hair (what little is left) out on this one:

    We have a RDB7 (VAX) database that I have to access from our web site. I have the name of the database, legitimate logins, etc,...
  10. Replies
    1
    Views
    937

    Re: Checking if modem line busy

    You can't open a port that doesn't exist - that's how you test for existing ports, by opening them and trapping the error. It sounds as if the port you think you have isn't really the port you have....
  11. Thread: vb6 and mscomm

    by Al42
    Replies
    2
    Views
    690

    Re: vb6 and mscomm

    It depends on the text being sent, but generally it would be:
    'assume Text is the text from the mc

    Select Case(Text)
    Case "G" 'the mc sent "G"
    'code to change the shape color to...
  12. Replies
    11
    Views
    68,984

    Re: vb6: Exit If statement?

    The only thing you need to "break out of" is a loop. An If statement either executes or it doesn't.
  13. Thread: loading a list

    by Al42
    Replies
    1
    Views
    677

    Re: loading a list

    Read this excellent tutorial on interfacing VB with Excel.
  14. Replies
    12
    Views
    1,180

    Re: stop when value = ?

    I think you're telling us that the computer is saying something like 1 > 2, and that can't happen. If memory isn't being corrupted, and you're stopping on cpr changing, and the computer stops on cpr...
  15. Replies
    4
    Views
    790

    Re: Draw picture on top

    What were the pixels drawn ON? Some other form? The desktop?
  16. Replies
    5
    Views
    883

    Re: [VB6] Compare, and generate new

    If it's a formula, just post the formula. Explaining math in English sometimes just doesn't work

    All you've said so far is that if the first 2 meet some formula when compared to the second 2, the...
  17. Replies
    5
    Views
    883

    Re: [VB6] Compare, and generate new

    You'll have to tell us the algorithm or formula that the generated one is created by.
  18. Replies
    4
    Views
    790

    Re: Draw picture on top

    Make your form on top.

    Draw the picture on your form.
  19. Thread: Bot

    by Al42
    Replies
    11
    Views
    1,029

    Re: Bot

    Use Select Case
    Select Case UCase(Text1.Text)
    Case "HELLO"
    'call the function for hello
    Case "OPEN"
    'call the function for open
    Case 'etc.
    End Select
  20. Thread: arrow keys

    by Al42
    Replies
    6
    Views
    1,173

    Re: arrow keys

    Use the KeyDown or KeyUp event.
  21. Replies
    9
    Views
    1,159

    Re: writing text file

    Just a slight change
    Dim i As Long
    Open "c:\ComboBox.txt" For Output As #1
    For i = 0 To Combo1.ListCount - 1
    Combo1.ListIndex = i
    Write #1,...
  22. Replies
    12
    Views
    1,180

    Re: stop when value = ?

    Are you doing any memory manipulation? Copying or moving data in memory? Or anything else that can corrupt a variable?
  23. Re: Need to complete String & File Manipulation tasks for $65

    If InStr(text, "hey") > 0 Then
    'etc.
    End If
  24. Re: Requiring a Visual Basic 6.0 or .NET programmer who is familar with Winsock/sockets

    Multi-threaded code in VB6?
  25. Thread: Database Manager

    by Al42
    Replies
    1
    Views
    607

    Re: Database Manager

    You just need a "save data to MySQL database" function? That's trivial enough, maybe even a single line of code, depending on the data to be saved.
  26. Replies
    1
    Views
    2,626

    Re: vb daily time record

    It's basically a front end to a database. Decide on which database you'll be using and design the database. Then make the user interface, according to what you'll have to show:
    User's profile
    All...
  27. Thread: Outlook Question

    by Al42
    Replies
    2
    Views
    522

    Re: Outlook Question

    You could create a rule in Outlook to either move a copy of the email (for all incoming emails) to a folder, or to run a script (that would append the email to some file).
  28. Replies
    9
    Views
    1,075

    Re: Binary connection to spesific IP and Port?

    If it has a number you can connect to it. If you don't know the port number you can't.
  29. Re: VB6 - Copy a table's columns to another table Within the same database

    Select the fields you want from Table1 and Table2 into Table3.
  30. Re: long shot: editing html then displaying it in firefox

    Proxomitron will do what you want, regardless of the browser you use.
  31. Thread: Bot

    by Al42
    Replies
    11
    Views
    1,029

    Re: Bot

    What do you mean by "function"? Call a VB function?
  32. Replies
    9
    Views
    1,159

    Re: writing text file

    Dim i As Long
    Open "c:\ComboBox.txt" For Output As #1
    For i = 0 To Combo1.ListCount - 1
    Combo1.ListIndex = i
    Print #1, Combo1.List(Combo1.ListIndex)
    Next
    Write #1,...
  33. Replies
    9
    Views
    1,159

    Re: writing text file

    Hack gave you the code to iterate through the combobox items.
  34. Thread: Bot

    by Al42
    Replies
    11
    Views
    1,029

    Re: Bot

    Then each line (or database record) would need two words - the one you type and the one you want the program to respond with:

    hello goodbye
    open close
    etc.

    Find the first one and display the...
  35. Re: Getting source HTML from an MS Word webpage as a VB String

    Since the template is always the same, why store it for every letter? Store the DATA for each letter in a single record (each item in a field) and recreate the letter with code at run time, using...
  36. Thread: Object Required

    by Al42
    Replies
    13
    Views
    1,322

    Re: Object Required

    Hellomy, if you want Name(0) = "name" and Name(1) = "Hello", you're going to have to hard code it. Split only works if there's a common string in each element - like

    str = "My Name Is Hellomy"...
  37. Replies
    4
    Views
    776

    Re: HTML inside a String *problems*

    It sounds as if the string could be getting longer than the maximum string length (or maximum textbox text length) (which is pretty long, but not infinite).
  38. Replies
    12
    Views
    1,180

    Re: stop when value = ?

    It should be <, as in
    If myvar < -500 Then Stop
  39. Replies
    9
    Views
    1,002

    Re: extracting numbers greater than zero

    Replace(a, "0", "") allocates string space for the "", Replace(a, "0", vbNullString) doesn't. (Faster and uses less memory.)
  40. Replies
    19
    Views
    1,759

    Re: Connection string problem

    Are you calling Openconnection before you call ActiveReadServer? BTW, ActiveUpdateServer should be
    Public Sub ActiveUpdateServer(Query)
    cnnMain.Execute Query
    End SubAlso, declare your objects...
Results 1 to 40 of 498
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width