Search Results - VBForums

Search:

Type: Posts; User: SamOscarBrown

Page 1 of 13 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    14
    Views
    231

    Re: Need Help with Simple Program.

    The only 'classic' I have now is a 1934 Plymouth Coupe. It's worth in high 20's, so that's something...bought it orignally fo $90 in 1971.
  2. Replies
    14
    Views
    231

    Re: Need Help with Simple Program.

    Uh, Markt...what's your brother's address> :-) Never had a "pony". DID have a chance in Europe to pick up both a Delorean and a Porsche 928 for 'pennies' but opted out----DUMB. Yup, all those...
  3. Replies
    14
    Views
    231

    Re: Need Help with Simple Program.

    I didn't glean much logic either, but then, this appears to be a homework assignment, so the instructor probably just wanted to see if OP could code SOMETHING. :-)

    Oh, bought my first 911 at age...
  4. Re: [RESOLVED] VB6: More Textbox Validation

    Just check at Keypress event of the text box for the existance of a period (.) (using Instr(), for example. If exists, count chars at the right of the period, after 2, don't let input occur.
  5. Replies
    14
    Views
    231

    Re: Need Help with Simple Program.

    a SHORT example of a case statement.....

    Dim age As Integer
    Dim maxSpend As Double
    Dim speed As Double
    Dim Profession As Double
    maxSpend = 5000
    speed = 45
    ...
  6. Replies
    14
    Views
    231

    Re: Need Help with Simple Program.

    How about a CASE statement?
    Also, if "Label6" is actually a LABEL and not a textbox, you should get an error immediate. Labels do not have TEXT properties. Should be Label6.Caption
  7. Replies
    10
    Views
    313

    Re: help help help

    Homework?
    The example LaVolpe linked to is probably WAY over your head (it is mine!!! :-))), so I assume what you want is someone to do your work for you so you don't have to do anything but...
  8. Re: [RESOLVED] VB6: More Textbox Validation

    Coupla other things, (one I did mention before).

    If either of your two textboxes had value like, 35.567, the 'price' (your string variables) would equal "35.567"....I am not sure if a use can edit...
  9. Re: Statement is not valid in namespace (TIC TAC TOE)

    Hmm...also wrap you code in code tags (should be your far right small icon after the "VE" icon---- make sure your indentation is somewhat proper as well, makes it a WHOLE loat easier to read
  10. Re: VB6: More Textbox Validation

    Not quite, Terry....needs something like this (for two decimal places)...
    May not be EXACTLY what you want, but you get the idea...


    If IsNumeric(Text1.Text) Then
    Debug.Print...
  11. Re: create excel file without excel installed in vb6.0

    Ah.....but I am sure you get rewarded just in satisfaction! ;)


    (Haven't seen you on the site for awhile...welcome 'back'.)
  12. Replies
    11
    Views
    264

    Re: Arithmetic and nested loops

    lstf2count should be lstf2.listcount

    That's the FIRST thing I see
  13. Re: VB6-Extract Data from csv files in 3 different folder and update into 1 final fol

    Well, I don't know about all that (I am sure it probably works just fine), but for the OP, here is my example (A lot of things could be done to it for errorchecking, overwriting, and other stuff),...
  14. Re: [RESOLVED] VB6 Highlight Textbox Contents

    I see. Awesome. Have a great day!
  15. Re: [RESOLVED] VB6 Highlight Textbox Contents

    No problem (and it's Zvoni, not Zvoin---my fingers get confused.)

    However, again, why are you setting the focus to this textbox in a keypress event OF that textbox...it already has focus.
  16. Re: VB6 Highlight Textbox Contents

    Confused. Doesn't the textbox already have focus?
    Not to steal Zvoin's suggestion, but I believe he means something as simple as this:

    Private Sub txtISBN_KeyPress(KeyAscii As Integer)
    If...
  17. Replies
    6
    Views
    164

    Re: My Project

    Nah, I don't think so.....this forum is not to 'do others' homework', or to simply give some code for folks to "slap it in", but rather to ASSIST.
    Sorry....maybe someone else will help, but I...
  18. Replies
    6
    Views
    164

    Re: My Project

    Homework as well?????
    Look up KeyPreview and timer, label and textbox....should be all you need.
    What have you done so far?
  19. Re: How to add many .bas modules to project

    Yeah, kinda figured that...but glad you clarified for all.
  20. Re: How to add many .bas modules to project

    That is SO cool! I see copy-paste does not work, but dragging dropping does....Thanks LaVolpe....good thing to remember! - Sam
  21. Re: Communicate with VOIP phone connected to PC

    Well, let's see....take a gander daily at the posts on this "VB6" forum, and you will find MANY posters who are working in VB.NET. Did not mean to imply you don't know, but just trying to make sure....
  22. Re: Textbox , ADODB , Datagrid

    Please mark this thread as Resolved (Under Thread Tools menu)
  23. Re: Communicate with VOIP phone connected to PC

    Suggest you do a little self-research....plenty of discussions on this topic out there...just Google it.
    Here is ONE to get you STARTED:
    ...
  24. Re: Urgent Help (easy but i am a newbie)

    LOVE IT!!!!!

    OP-Your plea for "Urgent Help" requires a bit more urgency on your part...it's been 18+ hours and we have not heard back from you....also, tend to believe what Lavolpe twittere....I...
  25. Re: VB6-Extract Data from csv files in 3 different folder and update into 1 final fol

    That's why the ":-)"......no absolutely, the more suggestions, the better chances for someone to learn.
  26. Re: VB6.0 Compile Error with DataEnvironment

    Well, good morning......would kinda like to see what you coded, then we can better figure out the 'possible mistakes'. Can you copy-paste the applicable code, wrap it in code tags (The little "#" on...
  27. Re: Textbox , ADODB , Datagrid

    Although I don't use datagrids (i like the more flexible MSFlex and MSHFlex Grids) I suspect the DataGrid (DG) works similarly (except it doesn't have TextMatrix).

    Anyway, you have to code your...
  28. Re: VB6-Extract Data from csv files in 3 different folder and update into 1 final fol

    ...and mine doesn't??????? :-)
  29. Re: VB6-Extract Data from csv files in 3 different folder and update into 1 final fol

    Here is what I mean: Using a commondialog on ONE button (Command1) to browse and find you file:

    Option Explicit

    Private Sub Command1_Click()
    Dim intFile As Integer
    Dim myLine As...
  30. Re: VB6-Extract Data from csv files in 3 different folder and update into 1 final fol

    Do this:
    Click on the first button (Index of 0) and just before your line that throws the exception, put in:


    Console.Write App.Path & "\Dir1\CSV1.csv"

    and see what the result is.,,,is your...
  31. Replies
    3
    Views
    159

    Re: CHECK if value is changed...

    just look up the use of instr(). Instructions are easy to understand.
  32. Replies
    14
    Views
    294

    Re: [RESOLVED] If condition code

    ? All that says is that if cmdsave in enabled, then set it focus....if it isnt, set cmdupdate focus. (If BOTH are enabled, then it will go to cmdSave, if only cmdSave is enabled, it will also go...
  33. Replies
    14
    Views
    294

    Re: If condition code

    Geez!!!



    Private Sub txtRemarks_KeyPress(KeyAscii As Integer)
    If KeyAscii = 13 Then
    If cmdSave.Enabled = True Then
    cmdSave.SetFocus
    Else
    cmdUpdate.SetFocus
  34. Replies
    14
    Views
    294

    Re: If condition code

    You're right on the coffee (as well as IF statements, not LOOPS!!!)!! Still working on my first cup. :-)

    @ DM....PROBABLY the SAVE button is used to INSERT a new record into a database, and the...
  35. Replies
    14
    Views
    294

    Re: If condition code

    It would (could) be actually a loop within a loop, like tg suggested:



    If KeyAscii = 13 Then
    If condition = True Then
    set the focus to the button
    Else
    set the...
  36. Replies
    14
    Views
    294

    Re: If condition code

    @Phill....I didn't know VB6 had an AcceptButton option (like VB.NET)....
  37. Replies
    7
    Views
    253

    Re: Run Time Error 13 Type MisMatch

    Tend to agree with terry002....what IS ItmFound declared as?
  38. Re: [RESOLVED] Trying to SetFocus on a ListView

    I don't see how Navion's solution would work....simply ignoring the exception (error) wouldn't, in my mind, allow you to setFocus to a control that can't accept it....thrown exception or not. It...
  39. Replies
    7
    Views
    253

    Re: Run Time Error 13 Type MisMatch

    Oh yeah.....I read it to fast....thought his rstitem was the LISTVIEW.....duh!
  40. Replies
    13
    Views
    333

    Re: A run-time error 5

    Interesting...will be curious what the real issue is...once resolved, please let me know! :-)
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.