Search:

Type: Posts; User: danecook21

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: how to determine if a item sold Greater Than quantity

    Don't take it so literally. I didn't say you had a field in your database named that exact name. I am merely explaining what I understand you are trying to do. Your database and field names are very...
  2. Replies
    20
    Views
    1,635

    Re: winsock question

    Hence my "Quick answer, no" :-)
  3. Re: how to determine if a item sold Greater Than quantity

    Did you read the rest of my reply?
  4. Re: how to determine if a item sold Greater Than quantity

    You need to name your controls with descriptive names. "txt9" for example means nothing to me. With that being said, it looks like "txt1" is inventory and this appears to be going into the...
  5. Re: how to determine if a item sold Greater Than quantity

    Could be, who knows. It will take too long for us to figure out by you posting 1 line of code at a time. You will need to step through your code, checking values as you go to see where it goes wrong....
  6. Re: how to determine if a item sold Greater Than quantity

    I agree with DataMiser, the problem is probably somewhere else in your code; in the place you are adding a product. You need to look at that code and check the value of InvRemain afterwards.
  7. Re: how to determine if a item sold Greater Than quantity

    You need to add some debugging. Have it update a label, show a msgbox or whatever to let you know at different points, what the value of InvRemain and txt6 are.
  8. Re: how to determine if a item sold Greater Than quantity

    Your code from earlier looked more correct:
    If Val(Txt(6).text) > !InvRemain Then
    But only if InvRemain is "current quantity on hand".... Is it?
  9. Replies
    20
    Views
    1,635

    Re: winsock question

    Quick answer is No, you can't "click a link" with winsock. Why do you want to stay away from the WebBrowser control? It has the interface already created for you. With it, you could load a page then,...
  10. Re: how to determine if a item sold Greater Than quantity

    do you even know which field in your database is which? You keep changing it up on which one is the actual Qty on hand. Once you know which field is the "current quantity on hand" then you can easily...
  11. Replies
    18
    Views
    1,446

    Re: Need a DOS program

    ....
  12. Replies
    18
    Views
    1,446

    Re: Need a DOS program

    jmstrickland, no need to cop an attitude. You posted your question in the section called "Visual Basic 6" so of course people are trying to interpret your question in relation to VB6. You were not...
  13. Re: Are there any alternatives to FSO Browse for Folder dialog?

    It may be that the System account is restricted from that type of operation as it was meant for internal access and not for running GUIs, as far as I know.
    But I guess that doesn't explain why it...
  14. Re: Are there any alternatives to FSO Browse for Folder dialog?

    Oh i see. i don't know why it doesn't work there. ill let someone else comment. sorry
  15. Re: Are there any alternatives to FSO Browse for Folder dialog?

    I realized you probably want the full path. See attached example. It is more complete.
  16. Re: Are there any alternatives to FSO Browse for Folder dialog?

    Check this, http://www.techrepublic.com/article/display-a-select-folder-dialog-box-in-vb6/5996535

    Add a reference to shell32.dll Then:


    Option Explicit

    Private shlShell As Shell32.Shell
    ...
  17. Replies
    4
    Views
    544

    Re: Having trouble installing VB6

    You actually can if your BIOS supports it. But since you mentioned it's an older system, it may not.
  18. Re: [RESOLVED] Printing and Inputting to a file

    Great, you're welcome. :)
  19. Re: Printing and Inputting to a file

    What I personally do if it's not a huge file is read the entire file in like this:


    Input$(LOF(fileNum), #fileNum)

    Then do what I need to with it
  20. Replies
    4
    Views
    544

    Re: Having trouble installing VB6

    XP should be fine. Possibly a failing hard drive. When a drive is failing, read and write takes way longer because it's encountering lots of errors.
  21. Re: Printing and Inputting to a file

    VB Help says if you're using Input #, you should have written it with Write #. Otherwise Look into Input() function or Line Input #
  22. Re: How to get right date format when write to file

    incidentals: Before you argue with established members/experts on this forum, you need to check what you're saying. This forum is for VB6 and earlier. What you are referring to is VBA - Visual Basic...
  23. Re: How to get right date format when write to file

    You should also use FreeFile to get the next available file number instead of hard coding a 1.
  24. Replies
    4
    Views
    1,245

    Re: Binary Clock

    LaVolpe, you're the man. Thanks dude. :bigyello: I was able to utilize that nicely. I just added the code to change my shape colors accordingly. Attached is my project for anyone wanting to have a...
  25. Replies
    4
    Views
    1,245

    Re: Binary Clock

    Thanks! The code is on my work computer so tomorrow morning (EST) I will attach my project. Thanks again.
  26. Replies
    4
    Views
    1,245

    [RESOLVED] Binary Clock

    I want to make a binary clock like this. I have the layout of the LEDs created with Shapes. But I can't work out an algorithm to set the LEDs correctly based on the time. What I have so far is 2...
  27. Replies
    2
    Views
    2,564

    Re: Adapt VB.NET code to VB6

    No, I'm not going to just do it for you for free. And isn't this backwards? You should be moving TO VB.NET, not away from it.
  28. Re: NEED CD-ROM, sams teach yourself vb6 in 24 hrs

    Just a note since you are apparently just starting out. It would make more sense to begin learning the new VB.NET since it is compatible with the later Windows operating systems and VB6 is no longer...
  29. Replies
    5
    Views
    1,720

    Re: [RESOLVED] [VB6] - Keycode anulate

    This line will replace the selected text with a vbnewline, or if none is selected, simply insert it at the cursor position.

    Text1.SelText = vbNewLine
    Also, you should be using the following to...
  30. Replies
    214
    Views
    165,422

    Re: [VB6] - Multi-User Chat Example (Winsock)

    Why did you hijack a thread that was created 3 years ago to post a screenshot of your program?
  31. Replies
    5
    Views
    4,731

    Re: RandomString Function (a gift for all :))

    You should enclose your code in either CODE tags or HIGHLIGHT (for VB highlighting) tags. You have it in PHP tags.
  32. Re: !! Anykind of Text Between If and Then Store It As a Variable String !!

    Seeing as you just ignored my whole post and the input of many others here, I can't help you anymore.
  33. Re: !! Anykind of Text Between If and Then Store It As a Variable String !!

    This code is so wrong I don't know where to begin. Your understanding of the most basic VB functions is completely flawed, and yet you think you are going to create your own programming language. You...
  34. Thread: vb6 msdn

    by danecook21
    Replies
    31
    Views
    2,928

    Re: vb6 msdn

    I bought my VB6 Pro in 2001, probably around the first of the year. It came with the MSDN library discs and that is what I still use today.
  35. Re: !! Anykind of Text Between If and Then Store It As a Variable String !!

    We can't help without seeing your code
  36. Thread: vb6 msdn

    by danecook21
    Replies
    31
    Views
    2,928

    Re: vb6 msdn

    The link he gave you is a google search. Apparently you only tried the first link. Try some more links or do another web search. I also have you the link to the online version. Beyond that you could...
  37. Re: [RESOLVED] Open "file.txt"... causes error 75 in Vista/Win 7, fix?

    Just a side note, you should be testing your application on all the platforms you're developing for anyway. If you don't have copies of some of them, try to find people that do and have them test it....
  38. Thread: vb6 msdn

    by danecook21
    Replies
    31
    Views
    2,928

    Re: vb6 msdn

    It is also available online, although this won't help with the IDE integration.
    http://msdn.microsoft.com/en-us/library/ff576613.aspx
  39. Replies
    6
    Views
    1,369

    Re: Enumerate a menu's child objects?

    Thanks. I will give it a go.
  40. Replies
    6
    Views
    1,369

    Re: Enumerate a menu's child objects?

    OK great! I will ponder over these suggestions that you have given and decide which one to use. I appreciate it. I won't mark this resolved just yet, in case someone else has more ideas. Thanks...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width