CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: peewster

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. Re: Windows form < Use texbox values for system commands

    Ow sorry, can somebody move this thread for me ?
  2. Windows form < Use texbox values for system commands

    Hi all,

    i just started playing with gui apps. My first test is a small ping app.

    I've created a new project (windows forms) containing:

    1: image
    2: textbox
    3: 2 x button (1 exit, 1 ping)
  3. Replies
    2
    Views
    1,992

    Re: nbtstat inclution

    thanks for the link.
  4. Replies
    2
    Views
    1,992

    nbtstat inclution

    Hi all,

    i've managed to include nbtstat in a program i'm working on, but there's something not working as it should.

    When i run nbtstat from my program, it starts, but shows no output to my...
  5. Replies
    0
    Views
    6,460

    menu with highlight select by arrow keys

    Hi all,

    i have a working program which let users select menu options by enter the corresponding number. Now i want to update this program which let users select options by pressing the arrow keys...
  6. Replies
    5
    Views
    763

    Re: nested for loop

    btw, this made it easier to understand for me:



    for(int a=1;a<=5;a++) {
    for(int b=1;b<=a;b++){
    cout << b;
    } cout << endl;
    }
  7. Replies
    5
    Views
    763

    Re: nested for loop

    Thanks for your help!
  8. Replies
    5
    Views
    763

    Re: nested for loop

    Yeah i looked it over one more time... i see it....

    the for condition for int col will print the star, int row will not print a star at all, it only set's the row count from where int col prints...
  9. Replies
    5
    Views
    763

    nested for loop

    Hi all,

    i know, this shouldn't be that hard, but somehow i don't see the logic, i mean, i see what it does, but as the way i see it, there should be 2 stars on the first line already, as col 1 is...
  10. Replies
    1
    Views
    823

    page only shows itself on refresh

    Hi all,

    i'm working on my website (html, css, php) and i have a little thing i want to resolve.

    i'm working allot with includes because the pages that will be shown depend on multiple...
  11. Replies
    0
    Views
    966

    change Acceleration.Level cmd app

    What are the best options to edit a registry key.

    key: \Registry\Machine\System\CurrentControlSet\Control\Video\{DEB039CC-B704-4F53-B43E-9DD4432FA2E9}\0000\Acceleration.Level

    i want to change...
  12. Replies
    3
    Views
    1,219

    Re: integrate windows console app into gui form

    thanks.
  13. Replies
    3
    Views
    1,219

    integrate windows console app into gui form

    Hi all,

    i was wondering if it's possible, well yes it is, only i don't know where to start with this:

    i've builded a app but's it's all within a console, i would like to create a small gui...
  14. Replies
    2
    Views
    920

    Re: setup a mysql connection

    Thanks! Didn't found this site.
  15. Replies
    2
    Views
    920

    setup a mysql connection

    Hi all,

    i was looking for a way to connect to a mysql database from a program.

    i couldn't find much "good" info about this. If somebody has some good info for me, please let me know.

    i found...
  16. Replies
    5
    Views
    1,207

    Re: ofstream myfile with vars

    Here is a better example:




    int main () {

    ofstream myfile;

    //cpuinfo
  17. Replies
    5
    Views
    1,207

    Re: ofstream myfile with vars

    Maybe, i get all capitals and weird spaces inbetween letters etc...
  18. Replies
    5
    Views
    1,207

    Re: ofstream myfile with vars

    yep, my mistake, forgot to remove the second myfile.close()

    But still no luck after removal.
  19. Replies
    5
    Views
    1,207

    ofstream myfile with vars

    Hi all,

    i'm trying to write var outputs to a file in combination with newlines.

    example:




    int main {
  20. Replies
    23
    Views
    2,718

    Re: read from file

    Thanks!
  21. Replies
    23
    Views
    2,718

    Re: read from file

    This did the trick!, now i'm going to see how this really works, Thanks!
  22. Replies
    23
    Views
    2,718

    Re: read from file

    Well sorry for letting you shout :), but i can't see the logic anymore at this time....

    my guess would be the total characters within the file....

    Only i don't want to count all the possible...
  23. Replies
    23
    Views
    2,718

    Re: read from file

    Well i don't know exactly when the program thinks the file ended

    Caption DeviceID Model Partitions Size
    SAMSUNG HD161GJ ATA Device \\.\PHYSICALDRIVE0 SAMSUNG HD161GJ ATA Device 2 159999114240 <<...
  24. Replies
    23
    Views
    2,718

    Re: read from file

    it contains 2 lines of text with the harddisk information

    Caption DeviceID Model Partitions Size
    SAMSUNG HD161GJ ATA Device ...
  25. Replies
    23
    Views
    2,718

    Re: read from file

    The vallue of len is/are 2 lines of text in this case.

    i changed the file type to text:



    fp=fopen("C:\\test.txt", "rt")

    // added
    buf [len] = '\0';
Results 1 to 25 of 80
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured