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 SkipVought 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. robbaggio

    Using clock() function......

    sorry....forgot to mention.....im not using Visuall C++...im running my compiler in LINUX....and comparable function in linux?
  2. robbaggio

    Using clock() function......

    I am trying timestamp a simple insertion sort program that I am writing....but so far I have been unable to get meaningful results. The program does not take very long to run...but using the clock() function I thought that this would still output some values...but I still get zero. The machine...
  3. robbaggio

    Bad DLL Calling Convention ISSUE - PLEASE HELP!

    Hi, the program i am writing is a GUI front end for another program, and i am using the DLL to make the function calls i need from the GUI. The only 'problem' i am having is that whenever i run the program from within the Visual Basic Editor (F5), it gives me 'BAD DLL CALLING CONVENTION'...
  4. robbaggio

    How do i make a string containing only a quotation mark?

    thanks, pretty simple robbaggio
  5. robbaggio

    How do i make a string containing only a quotation mark?

    Say i want a string to contain only ". Obviously i cant say: String1 = """ so i am assuming there is some character i must put before the middle " to make it register as part of a string. Any help would be greatly appreciated robbaggio
  6. robbaggio

    How do i resize textbox when form is resized?

    this still doesnt work for me. (it resizes status, but it is as if the Main form is on top of the Status textbox on the new (right hand side) part of the Status textbox. So only the original size really shows text, and the rest is cutoff. any ideas? robbaggio
  7. robbaggio

    How do i resize textbox when form is resized?

    say i have a text box at the bottom of my main form called Status. Status has the same basic width as the main form (Main). I want it to work, so that when Main is resized, Status will automatically resize so its width equals the with of Main. This is what i have right now: Private Sub...
  8. robbaggio

    simple casting question- Please help!

    excellent, the atoi conversion worked like a charm. thanks for all your help guys robbaggio
  9. robbaggio

    simple casting question- Please help!

    i am trying to parse out a command line using argv[i] as the current 'word' of the command line. I need to convert several of the words (argv[i])s to integers. So when i get to that word, i need a casting statement, i.e. int cmd1 = (int)*argv[i]. but i am not getting correct values. When...
  10. robbaggio

    simple casting question- Please help!

    yeah, i realized that now. so i retried it doing tempinit = (int)*temp, which should convert the value of the pointer, but it still isnt working right. i.e. when temp = 25 and i did it this way it gave me tempinit = 50. so i still need some help i guess robbaggio
  11. robbaggio

    simple casting question- Please help!

    i want to cast a char * to an int, but i cant get it to work. say my char * is called temp and my int is tempint. i tried tempint = (int)temp, but that gave me really large number. I tried tempint = temp - '0', but got compile error(must use c style or reinteprert). I tried tempinit =...
  12. robbaggio

    Cancelling Dos Shell Program?

    In my VB prog, there are several buttons that will start up a dos shell and run a program in DOS, until it is complete. I would like to have a cancel button on my VB main form that when clicked, would cancel the DOS program and close the shell. However, it seems whenever the DOS program is...
  13. robbaggio

    Simultaneous Input/Output from a file?

    Is it possible to read in a line of data from a file, change the data, and then write it back to the file. Then go on to the next line and do the same, etc. Can this be done without opening up the existing file, reading from it, making the changes, and then writing it to another blank file...
  14. robbaggio

    Icons or Background Shading in ListBoxes?

    Is it possible to have background colors of certain(not all) files listed in a listbox be different from the rest(ie red)? How would i go about doing this. Also, is there anyway to add icons or small pics to the items in a list box if they need to be marked in a special way from the others...
  15. robbaggio

    How to make click on 'X' close program?

    When i click on the exit button on my main form, it closes the program correctly. However when i click on the windows X button in the upper right(the close X next to the Maximize and Minimize), it closes the form, but task manager says the program is still running. Is there someway to fix this...
  16. robbaggio

    UNC server name, HELP PLEASE!!!

    hmmm, now that i look again, the dos program didnt run correctly. it didnt give an error, but it didnt do anything. It should work though, because that is the right server and directory info. robbaggio
  17. robbaggio

    UNC server name, HELP PLEASE!!!

    i get a : Runtime Error '76' Path not found and i now this path will work, because i used the exact same path as an argument for a DOS program and it ran correctly so i dont know whats going on robbaggio
  18. robbaggio

    UNC server name, HELP PLEASE!!!

    that is what i did: \\something.here.domain.com\drive-m\dir something.here.domain.com is my server drive-m\dir is my directory so i dont really understand why that doesnt work? anybody know why? robbaggio
  19. robbaggio

    How can i save DOS proj output to a file?

    Is there anyway i can keep the DOS screen up then, that is make it so it doesnt terminate immediately after it is done running? robbaggio
  20. robbaggio

    How can i save DOS proj output to a file?

    If in my VB program one button click runs a dos program with certain arguments. This dos program spits outs some txt to the dos screen that pops up, but the screen closes immediatley. Therefore I want to save what it spits out to a txt file, so the user can see the results. How can i do this...

Part and Inventory Search

Back
Top