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 wOOdy-Soft 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: *

  • Users: PrograMan
  • Content: Threads
  • Order by date
  1. PrograMan

    reset autoincrement counter

    I set up a table with 5 columns (the number doesn't matter so much), the first one I have set to autoincrement. I have tested the table with INSERT and DELETE queries and have been successful with the tests. I've noticed, however, as the rest of you probably know, that even though I've deleted...
  2. PrograMan

    2d animation issue with sprites

    I have a problem. If you'll look at the following code you'll see that what I have now is pretty good right now (in my eyes anyway). However, in those rightkey(), downkey(), upkey() and downkey() functions you'll notice I'm trying to keep the sprite within the boundaries of an imaginary box...
  3. PrograMan

    Clearing data inside char array.

    I'm looking for a function or something that will empty a char array. I have one in a while loop and unless I am able to empty out the array, the while loop will continue going until something else pauses it. I know that once the array's data is removed, the program will see nothing to work with...
  4. PrograMan

    Pausing the program.

    I'm looking for a way to pause my program without using that system("PAUSE") thing. I was once told that I can use getchar(), but that doesn't always work. Is there a better way? All I want is for the program to pause so that the user can view the displayed results and then to be able...
  5. PrograMan

    cin.getline is skipped

    I'm writing this little program in C++ where I have a cin.getline within a while loop. The first time I input something into the getline statement, the program will pick it up. The problem is that once it has picked it up, then everytime it goes through the while loop again it still has my input...
  6. PrograMan

    Can't remember procedure

    I'm dealing with larger numbers here (like, doubles) and I'm trying to take off the decimals (convert to true integers) of a number that's based off the larger number (e.g. 317602 / 3). The number length can get up to 8 places and it's irritating me. What's the procedure to hack off the decimals?
  7. PrograMan

    Closing a program down completely.

    I've been trying to make it so that when the user clicks on the "X" on the upper right hand corner of the frame the program closes completely (as in, during development when the program running for testing it automatically goes back to the design window, like clicking on a...
  8. PrograMan

    finding difference between number and letter.

    I saw this before but I don't remember which post it's in. I'm trying to find out how to know whether the user put in any character that's not a number inside a text field.
  9. PrograMan

    Help with a VScrollBar

    K, I'm writing a program that utilizes 3 vertical scroll bars and each of them has its own set of values, but are each supposed to change each other through certain algorithms. My problem is that I want each value to be changed as a scroll bar is moved, not just when I unclick on it. How do you...
  10. PrograMan

    Program instance not shown in Taskbar.

    I recently finished my program, packaged it up and suddenly realized that the program does not show up on the Taskbar, making it difficult to choose among other programs. Anyone know why?
  11. PrograMan

    free icon maker?

    I just now finished my program and just as I was about to package it, I remembered that I wanted a customized graphical representation made for it. All the programs I've tried to find for it are shareware. Are there any programs out there that are completely free? Maybe just a bmp to ico converter?
  12. PrograMan

    sorting a listbox

    I'm having the worst time trying to sort the items in a listbox of variable length with each item being variable lengths themselves. I thought I would just do a simple bubble sort with it, but every time I set it up, there's always something that the compiler doesn't like. I dunno if it's...
  13. PrograMan

    problem with highlighting an item in listbox

    Ok, I'm writing a program that consists of a listbox and adding strings to it. At some point I want to be able to delete one of those items and highlight the item that falls in its place. Here's the actual coding I've been using: Private Sub delCmd_Click() Dim count Dim c As Integer c = -1...
  14. PrograMan

    Casting

    How do you cast an integer into a char array and vice versa?
  15. PrograMan

    Color changing

    How can I change the color of text in a console program in C++?
  16. PrograMan

    Colorizing text for a console

    What would I have to do to colorized some of the text within a console? (It's better to have things colorized than a boring white all the time.)
  17. PrograMan

    Getting program variables from another program

    Whoa, something to challenge the brain. How do you obtain variables from one Visual C++ program and apply it to the main one you're working with? (i.e. you have a main program going which opens another program and the main program needs that program's variables.
  18. PrograMan

    Visual C++/Java question

    I've been trying to make a certain kind of program with Visual C++ 6.0 and I'm wondering if I can take data from a Java application and apply it to the C++ program.
  19. PrograMan

    Clearing Screen

    What code/intruction do you use to clear a DOS screen in MS Visual C++ v6.0?

Part and Inventory Search

Back
Top