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 bkrike 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: robbaggio
  • Content: Threads
  • Order by date
  1. 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...
  2. 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'...
  3. 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
  4. 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...
  5. 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 =...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. robbaggio

    UNC server name, HELP PLEASE!!!

    Ok, VB will read the path name \\something\drive-m\dir ok, but i need to have the full name so people on another network can run prog. When i try to use its full name, i.e. \\something.here.domain.com\drive-m\dir I get an invalid path error. Is there something i am doing wrong? How can i fix...
  12. robbaggio

    How do you keep DOS Screen open?

    From my VB prog i am calling another program that runs from Dos-prompt and then spits out some info in dos. However, once the program finishes running, the dos popup window closes immediatley and it is impossible to read the info. Is there some command to keep the dos window active after the...
  13. robbaggio

    How do you use UNC path names for FileListBox?

    Ok, here is the situation. I parse from a file a list of UNC directory names for various locations. I add these directories to a combobox. This all works fine. Then when i select one of the directories from the combobox i want the UNC path name to be displayed in a Textbox, which works fine...
  14. robbaggio

    String Subtraction?

    Say i have a string that is "/directory". Is there anyway i can manipulate the string so i can create a new string that is "directory". So basically is it possible to remove a character from a string? Thanks for the help robbaggio
  15. robbaggio

    HELP - DirListBox -is there a way to filter what directories are shown

    Say I have a DirListBox SubDir1 that lists the directories in the path given in a TextBox txtPath1. The thing is I only want to have SubDir list some of the directories in that path, i.e. i want to filter the directories. Is there any way to do this? (like something kind of similar to the...
  16. robbaggio

    HELP- Listing Multiple selected files from a FileListBox in a ListBox

    I have a filelistbox File1 and a listbox List1. When i run prog I selected multiple files from File1 and then hit a command button which is supposed ot list the selected files in List1. This is the code i have right now: Dim i As Integer For i = 0 To File1.ListCount - 1 If...
  17. robbaggio

    HELP-Display content of directory displayed in comboBox in FileListBox

    Lets say i have a combobox called cmbPath that has options of paths of different directorys, and I want to display(dir command) the contents of the selected directory in a FileListBox called dirFiles. How do I do that, so that whenever a different path choice is made in the combobox, the...

Part and Inventory Search

Back
Top