Search:

Type: Posts; User: doofusboy

Page 1 of 13 1 2 3 4

Search: Search took 0.13 seconds.

  1. Re: how can i add the data of one field in access

    my question is how can i add the value of the field?

    Select Sum(target_field) From tblsample
  2. Replies
    6
    Views
    639

    Re: Remove the attributes of a folder

    Have you tried adding a reference to Microsoft Scripting Runtime to your Project and using the File System Object to work with your specific folder?
  3. Re: Sybase and SQL Server Using VB6.0

    Nevermind, I was able to sort it out on my own.

    Thanks very much for getting me started in the right direction.
  4. Re: Sybase and SQL Server Using VB6.0

    si_the_geek [and anyone else that might be able to help]

    thanks for your first response, it's given me a great start

    have been able to connect to both sybase and sql server and run stored procs...
  5. Re: Sybase and SQL Server Using VB6.0

    Thanks for you reply. I found the stuff in your DB FAQs very informative and well written. They should enable me to complete my project. If not, I'll be back with further questions. Thanks again.
  6. [RESOLVED] Sybase and SQL Server Using VB6.0

    OK gang, I need some serious help. Was just assigned a project wherein I need to obtain a last extracted date from a Sybase 12.5 database using a stored procedure and use that date along with...
  7. Replies
    8
    Views
    1,126

    Re: Get VB to draw command buttons with code?

    Here's some code I snagged from one of these message boards some time ago so I don't know who to give credit to. This should get you started and you can adapt to your needs.


    Option Explicit
    Dim...
  8. Replies
    3
    Views
    547

    Re: Need Time Routine

    start_time is set when function is called.

    Not permitted to use a timer.
  9. Replies
    3
    Views
    547

    Need Time Routine

    Trying to put together a little recursive function that will check for the existence of a file for up to 25 seconds. Here's what I've got so far, but it's not working.





    Public Function...
  10. Can a VB executable have a return value?

    I have an executable whose sole purpose is to determine if a user is logged on to another application.

    I have some C code that needs to call that executable and get a 1 back if the user is logged...
  11. Replies
    7
    Views
    1,390

    Re: Reading MS Access using VB: Reply please

    I would recommend looking into ADO for accessing the info in Access and then the Open statement for writing it out to a file. Here's a link to the mothership to get you started:
    ...
  12. Replies
    3
    Views
    458

    Re: Variables in queries

    I think your problem may be that you do not need single quote marks around the table name. Remove what is highlighted in red below:

    Data1.RecordSource = "SELECT * From ' & vartablename & ' ...
  13. Replies
    5
    Views
    572

    Re: Making things fade out

    Here's some code that will fade a form in/out. You could probably adapt it by passing the handle(s) to your control(s). Sorry I can't remember who I picked this code up from to give them credit, but...
  14. Replies
    16
    Views
    932

    Re: Clear all database tables

    You may also want to explore SQL's TRUNCATE command.
  15. Replies
    10
    Views
    969

    Re: Urgent - Subscript out of range

    And my point, sir, is that you need to check the code that assigns the value to 'Needed'. It doesn't seem to be assigned any value but zero.

    You are using 'Needed' for the first time in the code...
  16. Replies
    10
    Views
    969

    Re: Urgent - Subscript out of range

    Subscript out of range is an array error. It means you are trying to use an element of an array which is beyond the valid size of the array.

    Here's the lines of you code that are causing the...
  17. Re: Get File Size for several files

    Add a reference to Microsoft Scripting Runtime to your Project and use the File System Object.


    Dim fso As FileSystemObject
    Dim objFolder As Folder
    Dim objFiles As Files
    Dim...
  18. Replies
    35
    Views
    2,729

    Re: [RESOLVED] String Manipulation Need Help

    Uncompiled code length is what is actually written/typed and needs to be maintained in the real world that I live and work in. I'll simply leave you to impress one another with your theoreticals and...
  19. Replies
    35
    Views
    2,729

    Re: [RESOLVED] String Manipulation Need Help

    And 3 lines of code is still less than 12 lines of code.

    But, whatever, this discussion is going nowhere. Each alternative has its merits.
  20. Replies
    35
    Views
    2,729

    Re: [RESOLVED] String Manipulation Need Help

    To continue your "anal" addition to the "anal discussion", your link included:

    RESOLUTION
    To avoid this problem, assign the return value to a local variable before using UBound or LBound. For...
  21. Replies
    35
    Views
    2,729

    Re: [RESOLVED] String Manipulation Need Help

    Uhhh Merri? I'm not defending anything, "aggressively" or otherwise.

    Why ASSUME that there will be hundreds or thousands or millions of delimeters and/or strings involved? Should that be the...
  22. Replies
    35
    Views
    2,729

    Re: [RESOLVED] String Manipulation Need Help

    varunj, just for clarification's sake, you will notice NO discernable difference in "speed" unless you are calling Merri's function tens or hundreds of thousands of times in a row.

    So the choice...
  23. Replies
    35
    Views
    2,729

    Re: String Manipulation Need Help

    Perhaps you're correct smux. Just appeared to be a lot of chest-thumping to me. However, if speed and/or memory were a concern of the one who posed the original question, I, for one, give them the...
  24. Replies
    35
    Views
    2,729

    Re: String Manipulation Need Help

    "memory intensive", "slower" ???? Are you guys for real??? We're not splitting the atom here. Guy asked a very simple question.
  25. Replies
    35
    Views
    2,729

    Re: String Manipulation Need Help

    your_string = "12345678,45654645,8999649,7654678"
    comma_count = UBound(Split(your_string, ","))
  26. Replies
    16
    Views
    995

    Re: Object closing

    Have you tried adding a reference to Microsoft Scripting Runtime to your Project and doing something like this?


    Dim fso As FileSystemObject
    Dim a As File

    Set fso = New...
  27. Re: How to find long value of windows message?

    API Viewer was solution for me. Thanks for your responses.
  28. Replies
    4
    Views
    735

    How do I click on a form using API?

    Just want to click on the middle of a form using API. Looked into SendMessage, but I can't figure out how to use it.

    How do you get the values like '&H0' for various messages like WM_ACTIVATE or...
  29. Re: How to find long value of windows message?

    Huh? Say what?

    How does your response address my question?
  30. [RESOLVED] How to find long value of windows message?

    For example, how do I find the long value of WM_ACTIVATE ?
  31. Replies
    2
    Views
    425

    Need Help With MDI Form

    Having issue at work with QA person that is driving me nuts. Basically, we have an app "A" that is launched from the menu of another app "B" and A's main MDI Form is supposed to be enabled and placed...
  32. Replies
    4
    Views
    398

    Re: how to use mid function

    To answer the question asked in the Tile of this post, "how to use mid function":

    Functions return something. In this case a string. For the Mid function, you provide the string you want looked...
  33. Replies
    4
    Views
    480

    Re: writing into textfile

    Next time, try doing a search on your own before asking a question that has been asked, and answered, many times.

    This link will tell you what you need to know:
    ...
  34. Replies
    5
    Views
    619

    Re: Functions in a .dll

    link -dump /exports C:\WINNT\system32\xpob2res.dll > h:\\xpob2res.txt


    The above run from a command prompt will write all the function names contained in the xpob2res.dll to a text file on the H:...
  35. Replies
    2
    Views
    556

    Re: I hate Checkboxes

    Perhaps if you posted your faulty code someone might be able to offer a fix.
  36. Replies
    12
    Views
    844

    Re: Syntax Question

    LMAO @ DOS prompt...too funny.......sorry about that.

    I'm learning here and appreciate your patience.

    Have a call into the guy that should be able to get my username/password hooked up on...
  37. Replies
    12
    Views
    844

    Re: Syntax Question

    szlamany, just tried your Start>Run suggestion and it asked for my username and password, but didn't like my normal username/password when entered

    am guessing at this point it's a security issue
  38. Replies
    12
    Views
    844

    Re: Syntax Question

    First off, thanks for the responses. Very much appreciated as I am really out of my element here.

    Just tried this from DOS prompt:

    Dir \\SERVER_NAME\D$

    and got:

    "Access is denied."
  39. Replies
    12
    Views
    844

    Re: Syntax Question

    Thanks for the responses.

    Static - tried adding space where you suggested; same result

    szlamany - not sure I inderstand what you mean by 'authentication'

    If i try:

    Dir \\SERVER_NAME...
  40. Replies
    12
    Views
    844

    Re: Syntax Question

    Cannot map this server to my PC for security reasons; it's an optical 'jukebox' that stores images.

    Am using the following currently and get no error messages, but no images either. I get a...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width