Search:

Type: Posts; User: GUIPenguin

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. lol..im such a newb, so thanks for baring with...

    lol..im such a newb, so thanks for baring with me:

    your above code just creates a new form, it doesnt open my form2..how would I do that so I can open up the password window and close it without...
  2. Thank you so much, both of you. EDIT: I...

    Thank you so much, both of you.

    EDIT: I noticed that I cant open form2 more then once... if I push the button to open it again, I get an error:

    Cannot Access a disposed object.

    Object name:...
  3. Thanks. That got me a bit further. I believe I...

    Thanks. That got me a bit further. I believe I understand what your saying...Although now I get this error:

    Error 1 'System.Windows.Forms.Form' does not contain a definition for 'Password'
  4. Need help passing a variable between forms

    I know I have been posting quite a few questions these few days....all I have found the solution to on my own after playing around more....i'll be sure to update thoses so I dont start spaming the...
  5. Replies
    0
    Views
    2,935

    Need help with a count down timer

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;

    namespace...
  6. how to set text of button1.text to something

    I would like to change the text in my button1 at a specific time durning my application to something that is stored in an int

    I remember a long time ago, I used something like int32.parse(string)...
  7. Replies
    1
    Views
    5,477

    How to do a mouse over event on a button?

    you know how you would do something like


    private void button2_Click() { }


    What would you do for a mouse over? I want to do a mouse over on button2 and then put it code to srt...
  8. I used ...

    I used

    System.Diagnostics.Process.Start("logoff");

    thanks
  9. How to execute a console command from your app?

    How do you execute a command in console from your application? so I can press a button and execure the dos command, shutdown -l to logoff, or something else.

    Thanks
  10. Replies
    1
    Views
    2,960

    Taking input in C

    I am just starting out learning C. I have the K&R2 book, as well as 'C by Example'.

    In the begining of the K&R2 book it says "given getchar and putchar, you can write a surprising amount of useful...
  11. well I could essentially do it completly in...

    well I could essentially do it completly in bash.. but I really wanted to get the output of


    /sbin/ifconfig eth1 | grep addr | awk '{print $2}' | cut-c5- | cut -c2-12 | sed -e 's/\.//g'

    ...
  12. Well im not a master a writing c programs :( ...

    Well im not a master a writing c programs :(

    strace /sbin/ifconfig eth0 gives me



    master ~/programming # strace /sbin/ifconfig eth0
    execve("/sbin/ifconfig", ["/sbin/ifconfig", "eth0"], [/*...
  13. help issuing linux command to console and using result in the program

    I am quite new to c/c++ programming and would love to incorperate it more into what I do.

    Right now I have a bash script that uses standerd unix commands such as grep, awk, cut and sed. My intent...
  14. Replies
    3
    Views
    1,030

    Thanks alot

    Thanks alot
  15. Replies
    3
    Views
    1,030

    save all text from file as string

    This is what I was using to display the first word in a file 'test.txt'



    char str[10];
    ifstream file ( "C:\\test.txt" );
    file >> str;
    cout << str;
  16. Replies
    1
    Views
    7,963

    C++ telnet client

    Do you know of a website that has guides or packages that could be added onto a current Dev-C++ console project to provide a simple telnet client...or example code I could incorperate into my...
  17. Thanks I got It figured out :) using getenv()...

    Thanks I got It figured out :)

    using getenv() Before I had gone


    if (c_command == "Administrator" {
    command }
    else {
    command
    }
  18. Well I have tryed this way string command...

    Well I have tryed this way



    string command = "%USERNAME%";

    if(command == "Administrator")

    {
  19. I still cant get this too work, no matter what it...

    I still cant get this too work, no matter what it ALWAYS goes to the else statment even if (command == "Administrator"){

    I also tryed the secound one and went if (c_command == "Administrator"){
    ...
  20. lol, yeah, that was simple, I thought I did that,...

    lol, yeah, that was simple, I thought I did that, anyways thanks, everytime I learn somthing, even that basic, i'll remember it for next time. :)
  21. How to compare the value of string command = "%USERNAME%"

    Ok this is what I have.

    string command = "%USERNAME%";
    system(command.c_str());

    that will display the current user logged on.

    Now is where I need help.
    How can I check the value of string...
  22. Replies
    12
    Views
    2,865

    Thanks guys

    Thanks guys
  23. Replies
    12
    Views
    2,865

    yeah, that was the first thing I did, I went to...

    yeah, that was the first thing I did, I went to
    http://www.cprogramming.com/tutorial/lesson3.html

    but I still dont know how to print a number of asterisks for an int value

    all those seem to do...
  24. Replies
    12
    Views
    2,865

    Help display ***** for the value of an int

    Lets say int health=6;

    I would like to display ***** symbles for the value of health

    like int health=6;
    display ******

    if health were to equal 4
    display ****
  25. Replies
    3
    Views
    1,033

    Thanks Swoopy, works great!

    Thanks Swoopy, works great!
Results 1 to 25 of 26
Page 1 of 2 1 2