Search:

Type: Posts; User: SamOscarBrown

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Re: Clicking on a Control Array of Shapes

    You cannot click on a shape....place a same-color label on top of it and use the label's click event. (Of course, the label will be a square and won't completely cover the same area as the circle,...
  2. Replies
    10
    Views
    136

    Re: software limiting use

    You could simply unload the form (program) during your main form load routine after you check the value of your label. No need for hidden files/registry entry. Just do this:


    Private Sub...
  3. Replies
    9
    Views
    161

    Re: Please help me about datagrid

    What is the NAME of your datagrid?...the example in that link uses "Grid1".
  4. Replies
    4
    Views
    113

    Re: Help with copying Text files

    Steve
    If you desire, you can use the fso and two dirlistboxes instead of an explorer browser.
    Example (Will need references to FSO)

    Private Sub Command1_Click()

    Dim fs As FileSystemObject
    ...
  5. Re: how do display the last customers entry

    salsa31....
    simply add a field in your DB (as suggested earlier), then, in your insert command, include that field and insert today's DATE (just like you did the DOB insert).
    Then, to see who was...
  6. Re: to save the setting for the next time I run it

    You can use files or a db. Save your setting(s) to either, and then re-load upon startup. MANY examples of how to do this in the forum.
  7. Replies
    9
    Views
    161

    Re: Please help me about datagrid

    'failed'? How so....what's the error, and where did it 'fail' (what line of code).....
  8. Replies
    15
    Views
    396

    Re: ListBox Help

    Yes. In my example, add (assuming format of text file is now "John","56","23242")
    Dim myAgeArray() as String in Declarations section, then
    ReDim myAgeArray(y) As String after ReDim myPwdArray(y)...
  9. Replies
    15
    Views
    396

    Re: ListBox Help

    CAVEATE: Doogle's approach is a fine one to use....I only offer mine as well.

    I use two arrays (one multi-dimensional array would work just fine also).
    I named you text file (in my example)...
  10. Replies
    9
    Views
    161

    Re: Please help me about datagrid

    Does this do it for you?
    http://www.vbforums.com/showthread.php?699831-checkbox-column-in-datagrid
  11. Replies
    15
    Views
    396

    Re: ListBox Help

    [QUOTE=homer5677;4417167]I'm still stuck. Here is the file.

    I found your form okay, but not the text file...if you will attach that, I'll see what format it is in and offer more suggestions..
  12. Re: Problem installing VB 6.0 Service Pack 6 on Win 7 32 Bit Embedded PC

    Glad you were successful...these types of 'solutions' belong HERE
  13. Replies
    1
    Views
    91

    Re: setting x values in line graph

    Excel forum?
  14. Replies
    15
    Views
    396

    Re: ListBox Help

    Homer...here is a simple way to do what you want:
    1-MY text file is formatted "username,password" (one per line)...you can alter the code to read your text file into the arrays as I show.
    2-I have...
  15. Re: Problem installing VB 6.0 Service Pack 6 on Win 7 32 Bit Embedded PC

    So, are you saying you DID install SP6 okay? If so, this thread belongs in another section of this forum...if not, what is your issue?
  16. Replies
    11
    Views
    217

    Re: ListView Loading Slow

    No, but try this....First put all your records into an array, clear and hide the listview, add the items from the array to the listview, and show the listview. Let me know.
  17. Re: how to make two button toggle - one in other out

    Or, mod my slightly and get rid of graphical property.....

    Option Explicit
    Dim gCmd1Clicked As Boolean
    Dim gCmd2Clicked As Boolean

    Private Sub Command1_Click()
    If gCmd1Clicked = False Then
    ...
  18. Re: how to make two button toggle - one in other out

    If you want to use command buttons, you can simply change the 'downed' button image on it's click event, and then when you click the OTHER button, set a 'regular' image to the first button.

    Here's...
  19. Replies
    17
    Views
    462

    Re: Listbox Database Question

    FF. I see quite a bit of confusion in your code.

    I made some mods
    First, I added one more REFERENCE to your project:
    MICROSOFT ACTIVEX DATA OBJECTS RECORDSET 2.8 LIBRARY

    Next, I added this...
  20. Replies
    5
    Views
    149

    Re: Printing contents of a picture box

    Can you use this 'snapshot' routine to capture the portion of your form that has the picturebox on it, and then print it (instead of save as in this example)?

    Option Explicit
    Private Declare...
  21. Replies
    5
    Views
    149

    Re: Printing contents of a picture box

    Ah, I see what you mean...I added a LABEL in lieu of an image...and it did not print the label. More research.......
  22. Replies
    5
    Views
    149

    Re: Printing contents of a picture box

    I placed a picturebox on a form, along with a cmd btn
    I added an image to my picturebox
    I put your code in the cmd click event
    And it printed just fine:

    Printer.PaintPicture Picture1.Image, 0,...
  23. Re: Search File for String then Return Values After

    If one of your files is not of sensitive nature....attach it and I'll run some examples if you get stuck.
  24. Re: Search File for String then Return Values After

    First, welcome to the Forum!
    Next...is the file expected to be a huge text file, or maybe just a coupla pages long? Could make a difference on how you could approach it. You can break the file...
  25. Re: Extracting range of data by prompting user for values

    Morning TTC.....this is really an issue for the Excel Fora. You can do it through VB6, but you are asking for a Macro....
  26. Replies
    17
    Views
    462

    Re: Listbox Database Question

    Here's the last step......Good Luck...look forward to seeing your code......
    Click the Go Advanced Button.
    Find and click the Manage Attachments button. (A new popup appears)
    Click Add Files...
  27. Replies
    17
    Views
    462

    Re: Listbox Database Question

    FF---on the Go Advanced button below, find the place to attach your zipped file and send (per our PM discussions).

    I have attached the first five steps in jpg images on how to attach files to...
  28. Thread: timer

    by SamOscarBrown
    Replies
    9
    Views
    199

    Re: timer

    Your code is not correct. This is a sample code that is: EDIT: Not MY Code...just some modified from the other post!


    Option Explicit

    Private Sub Command1_Click()


    label1.Caption =...
  29. Re: Need Help animated marquee text in a label not moving

    nwagboso...please start your own thread.
    And in that thread,, state what the compiler error is....probably your naming of the timer or the label.
    And, the interval (you set at 100 --- over and over...
  30. Replies
    5
    Views
    190

    Re: vb6 menu editor

    What do you mean by "it doesn't quite work right"? Without checking it closely, what doesn't work as you want it to?
  31. Thread: timer

    by SamOscarBrown
    Replies
    9
    Views
    199

    Re: timer

    Did you add the two lines I posted in my last post? It will continue to display.
  32. Thread: timer

    by SamOscarBrown
    Replies
    9
    Views
    199

    Re: timer

    Not sure what you want.....(your post is not very specific), but....see this post:

    http://www.vbforums.com/showthread.php?721123-Need-Help-animated-marquee-text-in-a-label-not-moving
  33. Replies
    9
    Views
    252

    Re: MDB file

    REF: "I solved it"

    If so, please make this thread as RESOLVED, under 'thread tools'.
  34. Re: Need Help animated marquee text in a label not moving

    Add these two lines before your 'end if' and your marquee will continue to run over and over:

    If lblannounce.Left + lblannounce.Width < 0 Then
    lblannounce.Left = Me.Width
  35. Re: Error reading from Excel File.Please Help

    What Reference did you add to your project?
    \
    (If this is a VB.NET project, wrong Forum....this is for VB6 and Earlier)
  36. Re: selecting and presenting data from database

    In addition, your code is assuming (if one exists) that only ONE record will be returned. Instead of "if rst.EOF Then.../ Else/End",
    do this:
    (This will show you if more than one entry matches...
  37. Re: selecting and presenting data from database

    Sounds like your query is not returning any records....so, do this:

    Put "msgbox sSql" on the line before your 'rst.open' line.
    That msgbox should tell you exactly what the query is....what it...
  38. Re: Display Formatted Text Output From VB5 on screen, in a form, or any way possible

    Just emailed you an Irish Quiz program.....it's complete, and you should be able to use most of the code in it...you can reply to that email I used to send it if you have questions.
  39. Re: selecting and presenting data from database

    What is "rstContractsProduct"? Your recordset you show is named 'rst', yet you show this "rstContractsProduct!QuantityOrdered".
  40. Re: Display Formatted Text Output From VB5 on screen, in a form, or any way possible

    Ron...WAY too big (82MB). I've got a much smaller program that I'll send that gives you the same concept.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4