Search:

Type: Posts; User: pinkcheese

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,736

    Reading a file in hexidecimal

    Im haveing trouble reading a file in hexidecimal. Lets say I have a file called "something.txt" which goes as follows:

    Hello
    1234567890
    ©§¥
    !@#$%^&*()

    My program display lines 1,2, and 4...
  2. Replies
    1
    Views
    1,358

    List View problem

    I have a dialog based app, and on it I have a tab control. I have a couple of different tabs, and on each tab i have a List View control and a few other controls. When i open the program, and I click...
  3. Replies
    2
    Views
    1,011

    Common File Dialogs

    Is there anyway to make it so the user can select a folder instead of having to select a file? If not can someone link me to a non-mfc example of a tree-view control, folder browser?

    Thanks
  4. Replies
    27
    Views
    9,925

    Try to use more than one tutorial. Look at the...

    Try to use more than one tutorial. Look at the tutorial on this website and c++ in 21 days tutorial. If you don't understand a concept from one tutorial then look at the same subject from another...
  5. Program Crashes when i modify one of the parameters

    I have a function in a class but whenever i try to modify one of the parameters in the function the program crashes.

    This is my .h file:


    class InfFiles
    {
    public:
    char* GetValue(char...
  6. Replies
    2
    Views
    996

    Please Help Me - Ftp Functions.

    I'm trying to scan an ftp for any folders or Files that are on it. I can only get it do display the first file. Can someone PLEASE tell me whats wrong with the code below:



    #include <windows.h>...
  7. Replies
    4
    Views
    1,222

    Does it matter how you do it? I already have it...

    Does it matter how you do it? I already have it setup to hide the items that aren't part of the selected tab. Is this a bad way to do it?
  8. Replies
    4
    Views
    1,222

    tab controls

    Hey, I got a tab control all setup but I'm not sure what you do with it. Do you just put all your controls onto the same dialog and hide the Items that are not on the selected control?
  9. Replies
    7
    Views
    2,302

    There is no FtpFindNextFile, its...

    There is no FtpFindNextFile, its InternetFindNextFile.
  10. Replies
    7
    Views
    2,302

    HEEEEEEEEEEEEEELLLPPPPPPPPPPPPP...

    HEEEEEEEEEEEEEELLLPPPPPPPPPPPPP MEEEEEEEEEEEEEEEEEEEEE! :(



    ... please.
  11. Replies
    7
    Views
    2,302

    thanks Ken Fitlike, I tried to write a program...

    thanks Ken Fitlike,

    I tried to write a program to scan a ftp and it works, but it only displays the first file. Could you help me figure out whats wrong with this code?



    #include <windows.h>...
  12. Replies
    7
    Views
    2,302

    Scanning a directory on ftp

    Can someone tell me some functions that search a directory on ftp or a website that explains how to do this. I can scan the harddrive with FindFirstFile, FindNextFile, but I need to know how to do it...
  13. Replies
    2
    Views
    2,577

    Say I have a binary file that looks like this:...

    Say I have a binary file that looks like this:
    19 00 00 00 01 1a 00 00 00 01 1b 00 00 00 01

    I can read the file like this:



    char buffer[5];
    for(int i = 0; i < 3; i++)
    {
  14. Replies
    2
    Views
    2,577

    Reading Binary Data

    hey, I am having problems reading binnary data. When I try to read the hex value "1a" into a string, it messes up since "1a" is a messed up character on the ascii chart. Does anyone know how I can...
  15. Replies
    5
    Views
    1,324

    lol, don't worry its just for some retarded game...

    lol, don't worry its just for some retarded game i started cause i was bored. Just to see how many check boxes you can click in 10 seconds.
  16. Replies
    5
    Views
    1,324

    oh, ok. So in your sample code i can refer to the...

    oh, ok. So in your sample code i can refer to the checkboxes with i, right?
  17. Replies
    5
    Views
    1,324

    Control ID's

    Hey, I'm trying to go check the state of over 100 check boxes. They all are named IDC_CHECK1 - IDC_CHECK121. Is there a way I can do this in a for loop, since checking each one would really suck.
  18. how do you make a group box with CreateWindow?

    Sorry, nevermind. I figured it out. :)
  19. Replies
    12
    Views
    49,307

    FillYourBrain, thanks for the help. Can you tell...

    FillYourBrain, thanks for the help. Can you tell me how to convert this hex string back to an integer though? I looked up sprintf but i can't figure out how to convert back, and it seems to me that...
  20. Replies
    12
    Views
    49,307

    Thanks, could you also tell me how to convert...

    Thanks, could you also tell me how to convert back?
  21. Replies
    12
    Views
    49,307

    convert a decimal int to hex

    Does anyone know a function that will convert a decimal integer to a hexidecimal in the form of a string.

    so 1 would become "01" or 10 would become "0A"
    thanks
  22. Replies
    5
    Views
    16,671

    thanks

    thanks
  23. Replies
    5
    Views
    16,671

    ahhh i don't think so... if i put the following...

    ahhh i don't think so...
    if i put the following code in it will compile:
    hr = pVoice->Speak(L"Hi how are you?", SPF_IS_FILENAME | SPF_IS_XML, NULL);

    but if i do something like this it won't:...
  24. Replies
    5
    Views
    16,671

    char to WCHAR

    Hey, is there any function to convert a char to a WCHAR? I can't get the speach function to work because it wants a WCHAR. I've tried type casting but it doesn't work. I can hard code the file in but...
  25. Replies
    6
    Views
    2,043

    Never mind, i figured out a good way of doing...

    Never mind, i figured out a good way of doing this. I just made a hidden button and gave it the default style. So now when ever enter is pressed the button is called and i check to see if the edit...
Results 1 to 25 of 112
Page 1 of 5 1 2 3 4