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

Search:

Type: Posts; User: Bagshot

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    719

    Re: Form Focus.

    Thanks for the tip, I didn't realise that. Works fine now.
  2. Replies
    2
    Views
    719

    [RESOLVED] Form Focus.

    What's the deal with .focus()? I just can't get it to work.

    I have a project that opens multiple forms using ShowDialog(). But, when the forms open, I have to click on them with the mouse before I...
  3. Replies
    3
    Views
    1,011

    Re: Taskbar icon for second form.

    Well, first of all thanks for the reply. But all of a sudden, my icon is now showing up. Not sure what happened, but it is now working fine. I feel a bit silly for posting now and maybe I should have...
  4. Replies
    3
    Views
    1,011

    [RESOLVED] Taskbar icon for second form.

    Hello. I'm sure this is a silly problem, and one that is easily sorted out. But I can't for the life of me work out how to set a taskbar icon for my second form.

    I have a project that uses...
  5. Re: [RESOLVED] Best way to validate time from user?

    Ahh...I didn't see that edit. Thanks ThermoSight.
  6. Re: Best way to validate time from user?

    I can't thank you guys enough. It's much appreciated. Your example worked perfectly Saldous. Good Job.
  7. [RESOLVED] Best way to validate time from user?

    Hello, everyone. I have two text boxes (timeTakenA and timeTakenB), and I want the user to be able to enter a time into these text boxes (hh:mm:ss). Then when a button is pressed, the two times are...
  8. Replies
    10
    Views
    15,826

    Re: Reading textBox from another class.

    Thanks for all this great information. But I have another question: Should there be a getter function for every player (currently 4), or is it better to include them all in one getter function, like...
  9. Replies
    10
    Views
    15,826

    Re: Reading textBox from another class.

    Excellent! Thanks. I see where I was going wrong now.

    So, Changed it to this:


    public void Run()
    {
    Form1 frm = (Form1)Application.OpenForms["Form1"];
    tag =...
  10. Replies
    10
    Views
    15,826

    Re: Reading textBox from another class.

    Thanks for the reply. It has helped a little. And what I mean by that is I can now see Form1 textBox2 from my Game class, but....I'm still having trouble reading it. The string is always blank!
    ...
  11. Replies
    10
    Views
    15,826

    [RESOLVED] Reading textBox from another class.

    Hello, everyone. I seem to be going round in circles at the moment trying to get my head round a little problem I have. I wonder if you guys can help me understand it a little better?

    I'm making a...
  12. Thread: RandomDice

    by Bagshot
    Replies
    9
    Views
    1,454

    Re: RandomDice

    This is a very good tutorial on arrays: http://www.quack-ware.com/tutorials/Csharp.aspx?id=4

    Check it out. It's very clear and easy to follow. It demonstrates the use of arrays to hold and display...
  13. Replies
    6
    Views
    1,009

    Re: Bizarre problem with my app and WinXP.

    Yeah, I can post my code if it will help. I'll have to do it later, because in my manic attempts to fix it yesterday, I ended up completely butchering it. I'll need to go through it again and sort it...
  14. Replies
    6
    Views
    1,009

    Bizarre problem with my app and WinXP.

    Hi, guys. I wonder if anyone can shed some light on this bizarre little problem?

    I have an app that I made in VS2010. Let's call it 'App a'. App a has a button that starts another app (App b) and...
  15. Replies
    2
    Views
    2,940

    Re: SendKeys to hidden process.

    Because if I did, people would be able to just double click on my bat file and it would automatically enter my password and open said folder.

    The password has to come from the app, so anyone who...
  16. Replies
    2
    Views
    2,940

    SendKeys to hidden process.

    Hi, guys. Back with another problem. This one's been annoying me all afternoon, and I can't seem to crack it. I hope you can help me.

    The problem is sending keys to a hidden process. The process...
  17. Replies
    8
    Views
    6,784

    Re: Open exe with send keys.

    First off, apologies for the triple post, but it seems I have cracked it. Well, it works without errors, so I guess I can't really ask for any more than that.

    You guys have been great in pointing...
  18. Replies
    8
    Views
    6,784

    Re: Open exe with send keys.

    I got it working, but I'm not sure if it's right or not. It doesn't feel right. I mean, it works, but I'm sure there's a much better way.

    It goes like this:


    private void timer2_Tick(object...
  19. Replies
    8
    Views
    6,784

    Re: Open exe with send keys.

    Thanks again for the suggestions, guys. I'm nearly there now. I can sense it.

    What I've got now is a timer running in the background, and every 500ms it checks and displays the current (in focus)...
  20. Replies
    8
    Views
    6,784

    Re: Open exe with send keys.

    Thanks for the reply, guys. I'm still learning a lot about C#, so I've been playing around with a few things and finally got it to work. But....yes, there's a but. The method I use isn't %100...
  21. Replies
    8
    Views
    6,784

    [RESOLVED] Open exe with send keys.

    Hello. Great forum here. I hope you can help me with my problem.

    At the moment I'm trying to open another .exe from within my app and send information to that .exe using sendkeys.

    It's...
Results 1 to 21 of 21





Click Here to Expand Forum to Full Width

Featured