Search Results - VBForums

Search:

Type: Posts; User: SamOscarBrown

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Re: How to add many .bas modules to project

    Yeah, kinda figured that...but glad you clarified for all.
  2. 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
  3. 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....
  4. Replies
    3
    Views
    73

    Re: Textbox , ADODB , Datagrid

    Please mark this thread as Resolved (Under Thread Tools menu)
  5. 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:
    ...
  6. 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...
  7. 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.
  8. 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...
  9. Replies
    3
    Views
    73

    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...
  10. Re: VB6-Extract Data from csv files in 3 different folder and update into 1 final fol

    ...and mine doesn't??????? :-)
  11. 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...
  12. 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...
  13. Replies
    3
    Views
    137

    Re: CHECK if value is changed...

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

    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...
  15. Replies
    14
    Views
    270

    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
  16. Replies
    14
    Views
    270

    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...
  17. Replies
    14
    Views
    270

    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...
  18. Replies
    14
    Views
    270

    Re: If condition code

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

    Re: Run Time Error 13 Type MisMatch

    Tend to agree with terry002....what IS ItmFound declared as?
  20. 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...
  21. Replies
    7
    Views
    228

    Re: Run Time Error 13 Type MisMatch

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

    Re: A run-time error 5

    Interesting...will be curious what the real issue is...once resolved, please let me know! :-)
  23. Re: Trying to SetFocus on a ListView

    Another suggestion (there's always ANOTHER one---but I guess all help in some way)...you can call this function eliminating two reasons a control can't accept focus:
    May not be THE solution for...
  24. Replies
    7
    Views
    228

    Re: Run Time Error 13 Type MisMatch

    Also, it should be rstitem.findItem......if I recall correctly.
  25. Replies
    7
    Views
    228

    Re: Run Time Error 13 Type MisMatch

    Which line?
    What is ItmFound?
    Are you using Option Explicit?
  26. Replies
    13
    Views
    300

    Re: A run-time error 5

    Also, you might try a 'simple' program....one without, first, any control using mscomctl, and then second, one without the commondialog ocx. That way, you can eliminate those two, or determine which...
  27. Re: VB6-Extract Data from csv files in 3 different folder and update into 1 final fol

    This is what it should look like:


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

    Disregard this post.....didn't read your issue correctly......
  29. Re: VB6-Extract Data from csv files in 3 different folder and update into 1 final fol

    Yeah....I know....got sloppy.
  30. Re: create excel file without excel installed in vb6.0

    Or perhaps, PERHAPS, OPs program is distributed to various users, some of whom may or may not have Excel.....in case of those who didn't, and attempt an export in Excel format, OP would not want...
  31. Re: VB6-Extract Data from csv files in 3 different folder and update into 1 final fol

    Here is an example as I described briefly.
    (Has three four commandbuttons, 1 textbox (holding the search string), and one listbox.)
    (I did not use the commondialog, but instead, hardcoded directory...
  32. Re: VB6-Extract Data from csv files in 3 different folder and update into 1 final fol

    Yes, read each .csv file by looping through each line and using instr() or split() functions, extract what you want, and then write it out to your new file. Easy.

    EDIT: I'm assuming the serial...
  33. Replies
    17
    Views
    42,594

    Re: to make text bold

    Gee, I wonder if those in this thread haven't already figured out this after EIGHT AND A HALF YEARS!!!!!!!!!!!!!!!!!!!!!
  34. Thread: Remaks

    by SamOscarBrown
    Replies
    4
    Views
    168

    Re: Remaks

    what is your table structure...specifically, what is the format (type) of the field to hold the remarks? Also, (I assume it is a text field) what is its NAME?
    Now, you know, when you do this (with...
  35. Thread: Remaks

    by SamOscarBrown
    Replies
    4
    Views
    168

    Re: Remaks

    GENERICALLY, it would be like this:


    Dim theUser as String
    theUser = Text2.Text 'assuming you have the user's name in Text2 textbox
    Dim MyRemarks as String
    MyRemarks - Text1.text 'Let's...
  36. Re: create excel file without excel installed in vb6.0

    Good point (formatting).
    I still do export some stuff in .csv, but the majority is straight to an Excel document file. Like you say, this keeps formats (like your report generator), and the folks...
  37. Re: create excel file without excel installed in vb6.0

    Same (almost) here.....I used to export my data (for Excel) as .csv (comma separated values) ASCII files....Excel easily imports them.
  38. Replies
    5
    Views
    183

    Re: Add a image in a Email

    Welcome to the Forum!

    And, as mentioned, you should post your VB.NET questions in the .Net portion of this forum....this one specifically targets versions of VB 6 and earlier. While a lot of the...
  39. Replies
    8
    Views
    2,708

    Re: QRCode 2D barcode

    Morning! Even though this thread has not been marked Resolved, look at the previous post's date on it...Oct 2013....Safe to say that the OP has already solved it (or given up on it) in the past...
  40. Re: Finding the MODE of a list of integers

    Thx Navion (your code probably works---will check it out later),

    After some tweaking, (and ALMOST understanding all of the code), I found the mode value in my listbox/array by using the code in...
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.