Search:

Type: Posts; User: Zvoni

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: syntax error missing in query expression

    I find it kinda sad, that people always seem to forget that all items in a Listview are Strings!

    The moment you add the currency symbol before showing the value in the ListView you're changing it...
  2. Re: syntax error missing in query expression

    Is it just me, or is he trying to include the currency-symbol in the SQL-Update?
  3. Replies
    2
    Views
    79

    Re: Code for Pingable or Not

    Have fun: http://stackoverflow.com/questions/7386730/shell-process-standard-output-reading-in-visual-basic-6
  4. Re: [RESOLVED] [VB6] - separe all words and symbols

    I would be intersted if someone did a performance-test on Mark's and "my" solution (better said: Credit's for the Code go to Bruce McKinney, i just added the part to catch the separators. I've...
  5. Re: [RESOLVED] [VB6] - separe all words and symbols

    I couldn't resist :bigyello:
    I'm pretty sure a lot of people see the usage in parsing Command-Line-Arguments



    Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination...
  6. Replies
    11
    Views
    179

    Re: Errror selecting internet control

    hmmm....sounds like it's corrupted or something

    here are some links i found

    http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/21935021-1dc7-445b-a829-b02489009aab/...
  7. Re: [RESOLVED] help with 2 list box checking if contains

    There are more than just the one obvious mistake. I've corrected it



    If InStr(List2.List(j), List1.list(i)) Then
  8. Replies
    11
    Views
    179

    Re: Errror selecting internet control

    The other way around: You coded your original program on Win7, which uses IE9, and then you moved your code/program to a machine using IE7, so there might be some differences (and i'm pretty sure...
  9. Re: how to sort dates in listview with DTPicker

    He doesn't want to sort, but to filter!
  10. Replies
    14
    Views
    209

    Re: [RESOLVED] menu editor from right to left

    So the code i found worked?
  11. Replies
    14
    Views
    209

    Re: menu editor from right to left

    Yes, but instead of "private" declare it "public"
  12. Replies
    14
    Views
    209

    Re: menu editor from right to left

    It's the position of the menu with 0 being the first, like in this example:
    0 - File
    1 - Edit
    2 - View
    3 - Extras
    4 - Help
    and so on.....
  13. Re: [RESOLVED] [VB6] - separe all words and symbols

    The chapter is basically a discussion about parsing strings (what you're trying to do here). The mentioned source-files contain a ready-to-use solution to your problem, but since it's not my code i...
  14. Re: [RESOLVED] [VB6] - separe all words and symbols

    opens fine for me. you must have Java enabled for that page.

    EDIT: If you can't find the mentioned source-files, i can post the relevant code here, but i want an OK from the Moderators of this...
  15. Re: [RESOLVED] [VB6] - separe all words and symbols

    Kind of reminds me that he's trying to do something like this here: http://vb.mvps.org/hardcore/
    Look at Chapter 5 - "Code Review"

    I just happen to have the mentioned source-code-files...
  16. Replies
    14
    Views
    209

    Re: menu editor from right to left

    Your error is the GetMenu-Line. You have to leave that one as it is in the sample.

    I've marked something red in the code. This is where you have to select which menu to change with 0 being the...
  17. Replies
    6
    Views
    185

    Re: edit numbers on lines

    I'd do it somewhere along these lines

    Step 1: During your loop through the file read each line into a string.
    Use the Split-Function on this string with comma as separator (resulting array called...
  18. Replies
    14
    Views
    209

    Re: menu editor from right to left

    ... or you just have to search for the correct words.


    Look at Post #3
    http://forums.codeguru.com/showthread.php?21912-align-menu-to-the-right


    private Declare Function GetMenu Lib "user32"...
  19. Replies
    11
    Views
    179

    Re: Errror selecting internet control

    Yepp, no IE9/10 on XP as far as i know
  20. Re: How to move Form using Title bar without interrupting Processing

    Dilettante, whooops! You're right, of course.
    Sorry for the confusion.
  21. Re: How to move Form using Title bar without interrupting Processing

    I'd rather put the processing code into an activex-dll, since that one gets its own thread from windows
  22. Re: [RESOLVED] Who writes a Case statement like this?

    Tg, thanks! Now i've understood your reference to "Z".
    which brings us back to the select case from the original post where something like you described cannot happen if you insert a "new" case
  23. Re: [RESOLVED] Who writes a Case statement like this?

    Sam, if strFundingType is "C" there is no sense in checking if it's not "W" or "N", therefore ElseIf, but i have to admit i didn't understand tg's reference "Z" :-)

    EDIT: there is a mistake in...
  24. Re: Who writes a Case statement like this?

    tg, i just wanted to point out the solution to doogle's objection, but as you can see from my own post/code-sample i'd also still choose the select case.
    and you're right: elseif would be the right...
  25. Re: Two Apps running with cross communication between them

    Like in the other thread: look up activex-dll/exe. Set a reference in your 1st app to the second app. Clicking on a button in your 1st app calls a public method of your public class in your 2nd app,...
  26. Re: Two VB applications working together advice ?

    LOL no, nothing like that. I really am in my prolonged weekend now.
    as for starters: COM-servers need public classes with public events, methods and properties, which you can then access from your...
  27. Re: Two VB applications working together advice ?

    Sorry, JM, but i have to leave that for someone else, since i'm out of office as of now (on my ipad right now), and i'm preparing for a 4-day trip to an Open-Air-festival (Iron Maiden headliner), so...
  28. Re: Two VB applications working together advice ?

    You can either incorporate something like a timer in your 2nd app to prevent it firing realtime events, or you could do it the way RB told you, again with a timer in your 1st app.

    DDE is officialy...
  29. Re: [RESOLVED] [VB6] - how detect if 1 window is open?

    Not familiar with gcc.exe, but isn't there a space missing between strEXEFilename and strCPPFontename?

    strEXEFilename & strCPPFontename

    something else: i'm pretty sure that shellexecute is the...
  30. Re: Loop until element exists, the continue execution

    Sounds like the usual "must-be-filled" validation. I always do it in the way, that as long as the "must"-data is not filled, the user cannot click on "next"
  31. Re: Two VB applications working together advice ?

    I would probably code the 2nd app as a COM-server (activex-dll or activex-exe). In that case you just have to set a reference to the 2nd app in your 1st app, and the 2nd becomes an object you can use...
  32. Re: Who writes a Case statement like this?

    Not if he turns on the Error-Handler. Then in Case of Null strFunding would stay blank



    On Error Resume Next
    strFunding = rsProductsRiders!Status
    If strFundingType = "C" Then strFundingType =...
  33. Re: Who writes a Case statement like this?

    I make it dependent on the complexity what should happen if a case is true.

    If it's something simple like just assigning a value to a variable (like in this code-snippet), i do it the way i...
  34. Re: Who writes a Case statement like this?

    I know that, but for some reason i dislike it.
    I always write each case in its own line for better readability, even if it means i have duplicate code *shrug*

    btw: Is there a difference in...
  35. Re: Who writes a Case statement like this?

    Nope, it's not just you.

    Here's my version.



    Select Case (rsProductsRiders!Status)

    Case "W"
    strFundingType = "W"
  36. Re: [Excel 2010] - Create folder or open folder if it is already created

    Here is something similiar: http://www.vbforums.com/showthread.php?691623-How-to-create-folder-and-subfolder-structure-using-list-in-excel
    Check out the API in the last post. If the path exists, the...
  37. Replies
    7
    Views
    192

    Re: Saving Date as NULL

    I would offer you some cough drops.....
  38. Replies
    7
    Views
    168

    Re: Numbers Only and - Only

    http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/1bf46245-4696-44f0-ab36-5fb51cb546cd/
  39. Re: [VB6] - how detect if 1 window is open?

    Or he could just enumrate all processes and look for gcc.exe
  40. Re: [VB6] - how detect if 1 window is open?

    Is it just me, or is he running into an endless loop the moment the If-clause returns true?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4