Search:

Type: Posts; User: SamOscarBrown

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Re: Remove duplication in listview column

    Re: Remove duplication in listview column

    So rather than try to remove the duplicates just don't add them in the first place.


    thank you but how can I do that?
  2. Replies
    58
    Views
    1,016

    Re: need 2 decimal places

    so, Txte IS a textbox? And -f, -h and -i). IF that is true, I SUGGEST you add the ".Text" after the name of the textbox....makes for better reading/understanding (especially by others). IF they...
  3. Replies
    58
    Views
    1,016

    Re: need 2 decimal places

    I see you have taken NO advice from anyone here...you just keep struggling along with your antiquated, weird code.

    I'd like to help, but not until you put "Option Explicit" at the top of the form...
  4. Replies
    58
    Views
    1,016

    Re: need 2 decimal places

    @baka....probably IS locale settings...here in the US when I ran it with 11.5 TYPED INTO txthm, I get

    25.875
    25.875
    25.875

    respectively (your code)

    when I type in 11,5 (that's a comma...
  5. Replies
    58
    Views
    1,016

    Re: need 2 decimal places

    Yeah, I kinda stated that back in 25.
  6. Replies
    58
    Views
    1,016

    Re: need 2 decimal places

    @baka....don't know what you're doing differently, but when I comment out the line that 'sets' txthm to 11.5, and then type "11.5" into the textbox and run the command button, all three debugs print...
  7. Replies
    58
    Views
    1,016

    Re: need 2 decimal places

    you need to Dim txti as Double

    Although many do not follow good coding techniques, including myself, as far as naming conventions are concerned, but when one starts a 'thing' with "txt", it...
  8. Replies
    58
    Views
    1,016

    Re: need 2 decimal places

    Are you sure electric that 11.25 is the correct calculation for that box? I see issues with your description of txti (and I am assuming it is a VARIABLE, not a TextBox (see latest from Elroy above)
  9. Replies
    58
    Views
    1,016

    Re: need 2 decimal places

    @baka... ?????


    Private Sub Command1_Click()


    Dim txte As Double

    txthm.Text = 11.5
  10. Replies
    58
    Views
    1,016

    Re: need 2 decimal places

    Okay...here is a SAMPLE of what you are trying to do:


    Option Explicit
    Dim a As Double
    Dim b As Double
    Dim c As Double
    Dim d As Double
    Dim txtf As Double
    Dim txth As Double
  11. Replies
    58
    Views
    1,016

    Re: need 2 decimal places

    Well, I am glad you said you are a novice at VB6...so am I (compared to many on this site), but, what we all need, as LaVolpe said, is more information.

    It would be helpful if you could identify...
  12. Replies
    58
    Views
    1,016

    Re: need 2 decimal places

    actually, it will be 2 instead[/COLOR]
  13. Replies
    19
    Views
    652

    Re: Thanks....

    Jeez.....I didn't know it would generate this type of response!. NO, I'm not hurting! Just felt it was time to throw out a big Thank You (so far)--I'm still building games (these are NOT the ones...
  14. Replies
    11
    Views
    304

    Re: Writing to Excel

    First, what is the ETF after the strFileName?
  15. Replies
    19
    Views
    652

    Thanks....

    I suppose this should be in the Chit-Chat forum (Moderators may move as deemed appropriate), but was not sure those of you who had a direct impact on my current project, or my several other ones,...
  16. Re: [RESOLVED] Drag/Drop between multiple listbox arrays

    Well dilettante....you saved me some work (and thinking) again.

    Not exactly what I wanted (as my posts conflicted with one another at times), but I used most of the code in your example in my...
  17. Re: Drag/Drop between multiple listbox arrays

    Don't know why this is so hard for my little brain....here is the code I could use if I had TWO REGULAR textboxes, not two sets of Arrays of textboxes


    Private Sub List1_MouseDown(Button As...
  18. Re: Drag/Drop between multiple listbox arrays

    What isn't working (any more...could swear it was the other day) is that I get the "NO DROP" icon when selecting one of the items and attempt to drage it (there will be 1 to many items in the...
  19. [RESOLVED] Drag/Drop between multiple listbox arrays

    I have two arrays of listboxes (list1 and list2)--each maximum index of 4

    178696

    1-would like to drag drop for one list1 to another list1 (I THOUGHT this code below did this---seems I...
  20. Re: [RESOLVED] Programmatically Raise MouseUp event for a command button array

    Yeah, Elroy..I simply followed techgnome's guidance....different sub called in the cmdarray button MouseDown (I meant down earlier when I said up) event , and in the separate 'Move' cmd button click...
  21. Re: Programmatically Raise MouseUp event for a command button array

    Got it...thanks tech....


    "Forest for the trees!"
  22. Re: Programmatically Raise MouseUp event for a command button array

    Yeah, I know I can raise the Click event (with either of your examples), BUT, I want to raise the MouseUp event....(and the MouseUp event is in an array of Cmd buttons).
  23. [RESOLVED] Programmatically Raise MouseUp event for a command button array

    I have some actions that occur when a user clicks on a command button (it is an array of cmd buttons---ex: cmd1(1), cmd1(2), cmd1(3), etc).

    I want to CALL that event (or Raise it, I guess is the...
  24. Replies
    7
    Views
    352

    Re: Monopoly Game help - Moving Pieces

    True...had not thought of that...so, someone has to TELL me what the value of the dice since I am doing this over ZOOM (NOT a multi-player internet game), so I need to 'simply' identify the player,...
  25. Replies
    7
    Views
    352

    Re: Monopoly Game help - Moving Pieces

    so then to check when dropping the player piece to determine the action, I check what?

    oh, and the table is not turned around...one orientation only...I, as controller, move all pieces as directed...
  26. Replies
    7
    Views
    352

    Re: Monopoly Game help - Moving Pieces

    thx baka...will take a look at custom type

    as far as images...all have already been created in IDE...in creating each (because 1/2 are horizontal, and 1/4 are 'upside down', I used PPT to flip. ...
  27. Replies
    7
    Views
    352

    Monopoly Game help - Moving Pieces

    Building a Monopoly Game (to use over Zoom---not multi-player via internet).

    As I 'move' each player piece to a property (or other position on the board), I want to show the user the options he...
  28. Re: old vb6 and visual studio community edition

    Agree....and this is one good thread to look at: https://www.vbforums.com/showthread.php?852227-Installing-the-VB6-IDE-on-Windows-10-64-bit
  29. Re: [RESOLVED] SP6 - Windows 10 - Fails to Install

    Probably as a 'matter of record'.

    So, can we not carry on this ... whatever it is... on another thread in a different part of the forum, instead of this topic of SP6 - Windows 10 - Fails to...
  30. Replies
    4
    Views
    398

    Re: un-instal - re-install vb6

    Personally, I don't believe you need to go through that (but dilettante is MUCH more experienced that I ever hope to be), but rather, follow these steps (credit to Elroy (and others)) to re-attempt...
  31. Re: 1 search button and 8 textboxes , help please

    This little section of code will print out (debug) a string that has the values of the textboxes which have something typed into them...you can then 'manipulate' that string to include it in a new...
  32. Re: 1 search button and 8 textboxes , help please

    Well, after looking at your post again, I have a feeling what i posted is not quite what you want...

    Does your query use the values of the textboxes?-- (where " ---- " and "------") - Are the...
  33. Re: 1 search button and 8 textboxes , help please

    Well, just looking at your post, and trying to understand, maybe something like this:


    Private Sub Command1_Click()
    Dim i As Integer
    For i = 0 To 7 'an array of 8 textboxes (text1(0)...
  34. Re: [RESOLVED] SP6 - Windows 10 - Fails to Install

    Good morning, SaudVB.

    It is interesting that you would accuse someone (me, for example) of being part of some dastardly scheme, and then go and try to hide the accusation by changing my username...
  35. Re: [RESOLVED] SP6 - Windows 10 - Fails to Install

    @SVb....why don't you take this offline and PM gibra instead of airing dislikes on these threads
  36. Re: [RESOLVED] SP6 - Windows 10 - Fails to Install

    SaudVb.....do I sense that you are having trouble getting SP6 to load? (And that you already have VB6 installed?) Or, what is the purpose of you bringing up this old thread?
  37. Re: SP6 - Windows 10 - Fails to Install

    Who is 'this guy'? DarkBob?

    If so (and I did look at his site), just his NAME might give you a clue! :-)
  38. Re: Putting multiple lines of text in a Label's caption

    I guess I misread your initial post...you actually want to PASTE what is in a text file into your control (you said label). Sorry...I thought you wanted to READ the information in from the text...
  39. Re: Putting multiple lines of text in a Label's caption

    So something like this DOESN'T work for you? (where WordWrap=True)


    Private Sub Command1_Click()
    Dim myline As String
    Dim selfile As String
    selfile = "PUT PATH AND FILE NAME HERE"...
  40. Re: Opening and reading files, written by an old VB app.

    1-Welcome to the Forum, V-King!

    2-However, you posted in the wrong section of this Forum...as you are using VB.NET (and not VB6), PROBABLY it should be posted in that section (VB.NET). (I'll ask...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width