Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Perilous1

    Is SPLIT() the way to go for this?

    Right.. Which was in response to: mintjulep (TechnicalUser)24 Jul 17 18:57 If your requirement is really as simple as stated then SUBSTITUTE() would be simpler. .. meaning I looked at SUBSTITUTE() but found it to be the wrong way to go for what I wanted to do.
  2. Perilous1

    Is SPLIT() the way to go for this?

    Then you might want to take that up with mintjulep, as he/she is the one that suggested using it.
  3. Perilous1

    Is SPLIT() the way to go for this?

    I feel that I was explicit in that I said "a string like this" not "this string here". Be that as it may, I believe I can use Andrzejek's method with an added overflow protection. Thank you.
  4. Perilous1

    Is SPLIT() the way to go for this?

    I considered SUBSTITUTE but the string won't always be the same. Also, I will want to use the snippet of removed data elsewhere.
  5. Perilous1

    Is SPLIT() the way to go for this?

    I am trying to take a string like this: 3; 8; 11; 19; 22; 27; And remove 19; from the string and piece it back together so it then reads: 3; 8; 11; 22; 27; I have been dinking around with using Split() to do this with mixed results and I am just curious if maybe there is a better option.
  6. Perilous1

    New to Visual C++

    So, as this is in Visual C++ there is no Socket control I can just click and drag onto the form? If I want winsock incorporated I have to use a snippet of code?
  7. Perilous1

    New to Visual C++

    I am just now moving from Visual Basic to Visual C++ One of the things I often used in VB was adding a Winsock style control for communicating with another app I would write. I am not seeing anything that jumps out at me in VC++ that does the same. Could someone help me out with this? I should...
  8. Perilous1

    Selecting table name from current date in Access DB

    I am creating a job calendar and I want to have a separate table in an access database for each day. The simplest solution seems to be to just name each table as the current Calendar1.Value I am having trouble however determining how best to query a table name based on a variable with a date...
  9. Perilous1

    Ping status

    I am working with the Ping code provided by Strongm in this post: Thread I am wondering however if this code does a standard command-line ping that sends four separate packets. If so, is there a way to check the individual success/failure of each of those four packets. I am having an issue...
  10. Perilous1

    Disabling a Command button

    I use a button control because I want the user to experience the tactile sensation of depressing a button and having it execute a function for them. When a user visually witnesses a button being pressed when they click their mouse they are far less likely to click a button more than once out of...
  11. Perilous1

    Disabling a Command button

    There is no reason for a player to touch another player's cards in this game, much the same way it would be unthinkable to reach across a card table and touch an opponent's cards. I believe that realism in the game takes precedence over UI standards. As I said before I also want to discourage...
  12. Perilous1

    Disabling a Command button

    What rule am I breaking, exactly?
  13. Perilous1

    Disabling a Command button

    I guess my goal here is to avoid unnecessary clicking on the Form. Preventing Buttons from depressing discourages clicking on them for no reason. I appreciate the advice though. I've literally learned all of my VB6 from these forums [smile]
  14. Perilous1

    Disabling a Command button

    This form is a card table with four players. When it is not that player's turn I want the board locked down except for that player's own cards. Its a networked game and the clients report back to a server that controls cards being dealt, which turn it is, etc. This process worked by disabling...
  15. Perilous1

    Disabling a Command button

    Very cool. A Frame did exactly what I needed it to. The only issue I see now is that when selecting the identical background color for the Frame that the Form itself has, the Frame's color is shaded a bit lighter. I am not sure why this is happening. Aside from that though, thank you very much...
  16. Perilous1

    Disabling a Command button

    I don't have much experience using Frames. Is there something more to placing the Button in the Frame than clicking and dragging it on top of the Frame? If not, it doesn't seem to work.
  17. Perilous1

    Disabling a Command button

    Is there a way to Prevent user interaction with a Command Button without the "graying out" visual effect on the Form that Enabled = False gives you?
  18. Perilous1

    .RecordCount issue in VB6

    Separate fields within a table can, and often do, have differing amounts of rows containing data. I am not sure why a record count of rows containing no data would ever be desired, but that is immaterial. Field 1 within my table has 37 rows that contain data. Field 2 has 14 rows that contain...
  19. Perilous1

    .RecordCount issue in VB6

    I know how to get the RecordCount of a Access table in vb6, but is there a way to get the RecordCount of a specific field only within that table? I have three fields within the table (machine, device and misc). Just doing the basic .RecordCount command will return the record count for just the...
  20. Perilous1

    Compiled .exe as a service

    Ok, after searching some more in this forum I do see where I should not have a form at all. This is not a problem except that I am using a couple of controls in this program. Namely, a Timer and the NTSVC.OCX. I am not familiar with using controls in a Standard EXE application without a form.

Part and Inventory Search

Back
Top