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: computerwhiz
  • Content: Threads
  • Order by date
  1. computerwhiz

    error in resource file

    I keep getting this error and I don't understand why. error: Line 22 in file resource.rc : parse error #include "Main.h" ABOUTBOX DIALOGEX 22, 17, 171, 59 STYLE DS_MODALFRAME | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU CAPTION "Check Parser" FONT 8, "MS Sans Serif" { CONTROL "A", -1...
  2. computerwhiz

    refresh the contents of the entire window?

    How do I refresh the entire contents of the main window and all subwindows, listboxs, static boxes, etc. after resizing my main window.. As my main window is resized the other controls are repositioned according to the new window size, but the text is always staying without refreshing, and...
  3. computerwhiz

    maximize button--disable or remove??

    how do I remove or disable the maximize button in the system title bar.
  4. computerwhiz

    writing to files

    I am reading a file by 81 char chunks, after I process this piece of info and write it to the new file, there is a "defective" char at every 81 char split. I have been having to move the file pointer back one space to correct this but is there a something that I am doing wrong? BOOL...
  5. computerwhiz

    Progress bars/ what a pain??

    I am trying to have my progress bar advance to the end only once. But I either end up scrolling several times or the progress bar won't scroll at all until the last read statement, and then filling the entire bar at once. I am reading in a file in chuncks, keeping count of total bytes read and...
  6. computerwhiz

    listbox count???

    I am trying to find the count of items in my listbox and then delete those items but when I retrieve the count I get half of what I should. I have tried both ways of getting the listbox count. example: my listbox has 10 entries, the count would come back as 5. my listbox has 3 entries, the...
  7. computerwhiz

    drag and drop files

    I cannot figure out what I am doing wrong. I cannot get my program to pull the file name from the dropped files structure. I am using dev-cpp and I am getting the error: 97 C:\WINDOWS\Desktop\mysourceC++\main.cpp invalid conversion from `void*' to `HDROP__*' msdn.com says this is the way to...
  8. computerwhiz

    Dev-C++ compiler giving error `__gxx_personality_v0'

    I keep getting this error I have listed below but I cannot figure out what is causing it. Please help. I would show you code but I don't even know what is causing the error. Compiler: Default compiler Building Makefile: "C:\WINDOWS\Desktop\mysource\Makefile.win" Executing make... make.exe -f...
  9. computerwhiz

    memory management???

    Is there a faster way to insert a particular string into a string at a certain position? Here is the code I am using now. <pszText> is a static global variable accessed in several functions. My program is running to slow, would reallocation be faster than what I am doing now? void Insert(int...
  10. computerwhiz

    how do i convert an int into an lpstr for use in a string

    I need to use the number in my loop counter as part of a string to show the count in my status bar. but I cannot figure out how to convert my int variable into a lpstr variable for use. I was thinking like this: int Pages = 0; lpstr Temp = &Pages;
  11. computerwhiz

    messagebox()

    how do I use the results from a user pressing "yes" or "no" in a message box? an if statement or in wndproc area? INT Result = MessageBox( hwnd, "This file has not been parsed.\r\n" "Do you want to Parse this file now?", "File not parsed", MB_YESNO | MB_DEFBUTTON1 |...
  12. computerwhiz

    SETTEXT OF DIALOG??????

    Why is it that I can load whatever size file I want into the edit dialog when I am on &quot;Windows 2000 Professional&quot; but as soon as I run this program on windows 98 I can load the file text into memory but I cannot set the edit dialog text if the amount of text is over 64K? I am truly...
  13. computerwhiz

    how do you load a file larger than 64K into an edit box?

    how do you load a file larger than 64K into an edit box? My program works perfect until I try to load a file larger than 64K.
  14. computerwhiz

    Loading a file into a dialog box for editing?

    I am having a problem loading a file into an editing dialog box, if the file is too large to load into notepad it won't load into my program. is there a different type of window or dialog box that can hold more text of larger files? I will need to have enough room to load a file with 65,532...
  15. computerwhiz

    How can I use quotes in a string?

    I am wanting to be able to use a double quote within my string constant, but whenever I type them in the string is split and I get parsing errors. I am writing a program that parses a specific file format into a .CSV file, so I need to use &quot; and not ' to identify the separate values...
  16. computerwhiz

    mid$, left$, right$ equivalance in C.

    I am writing a program to parse certain information out of various length datafiles. I can read each line of the file as a record and write the same line to another file without any problems, but my problem is that I need to find a way to read the line of info and take out of that line only the...
  17. computerwhiz

    How do I test for &quot;UNDEFINED&quot; for an array?

    I have 17 forms that my users will be filling out. and if they decide to go back to one of the forms I want to be able to fill in their old values. But if there were no values there in the first place it fills in the text input value area with &quot;undefined&quot;. How do I test my data array...

Part and Inventory Search

Back
Top