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

Search:

Type: Posts; User: KazoWAR

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Re: Getting an error trying to display a new windows form.

    problem fixed, it was the namespace.
  2. Re: Getting an error trying to display a new windows form.

    It says the file was created by a newer version and can not be opened.

    also if i make a new project i can add forms and show them normally. what could be different?
  3. Getting an error trying to display a new windows form.

    I had an old project i started working on again. Last time i worked on it was when i had C# Express 2010, no i have 2012 and I when to add a new windows form the same way I normally do but now I am...
  4. Replies
    10
    Views
    1,906

    Re: Problem with args

    Thanks, it is working perfectly now.
  5. Replies
    10
    Views
    1,906

    Re: Problem with args

    I don't know. This is the first time I ever tried to write a console application that requires arguments. I usually just use a window form with an open button.
  6. Replies
    10
    Views
    1,906

    Re: Problem with args

    i added the line


    static void Main(string[] args)
    {
    Console.WriteLine(Environment.CurrentDirectory);
    Console.ReadLine();
    UInt32 PID = 0x00, Letter...
  7. Replies
    10
    Views
    1,906

    Re: Problem with args

    using System;
    using System.IO;
    using System.Globalization;

    namespace pokeshift
    {
    class Program
    {
    static void Main(string[] args)
    {
  8. Replies
    10
    Views
    1,906

    Re: Problem with args

    if the folder with the exe and the tbl was C:/temp and the file for the argument was in c:/temp2. it tries to load c:/temp2/Table.tbl.

    If I had the file for the argument in c:/temp or had...
  9. Replies
    10
    Views
    1,906

    Problem with args

    I am trying to write a program that the user launches with at least one argument. The problem is that there is a file that is in the same directory as the exe that the program opens to get some data....
  10. Re: How do you prevent a user from changing forms

    Thanks a ton. It works perfect.
  11. How do you prevent a user from changing forms

    I need to know how to lock a user on to a window form.

    Example: User is on form A. He clicks a button and it opens form B. If he click on form A, form b would blink and windows would make a sound,...
  12. Replies
    1
    Views
    607

    Networking help

    I am trying to add a simple Private message type system to a chat client in order to par up to users to play a game. The way I am sending the first request to the server is sending a message with a...
  13. Replies
    5
    Views
    653

    Re: ♂ and ♀ characters

    After my PC restarted, I noticed it working again. =/
  14. Replies
    5
    Views
    653

    Re: ♂ and ♀ characters

    Well the thing is my older program displayed the characters before, and not now. It is the same exe, I did not recompile it.

    I also noticed that in applocal, the Asian character sets near the end...
  15. Replies
    5
    Views
    653

    ♂ and ♀ characters

    Not sure if this the correct place or not, but since I am making the program in C#, I guess it worth a shot asking here.

    I made a program a few weeks back. It used the ♂ and ♀ characters in a...
  16. Replies
    2
    Views
    894

    Write an integer to x number of places.

    How would I write an integer to a desired number of places. For example, lets say int x = 50; Now, when I write x to a text box it displaces 50, but I want x to display 0050. I could do something...
  17. Replies
    6
    Views
    1,023

    Re: Have some question about files

    the google search results:

    FileStream Open File [C#] - Examples are with text files.

    C# Station: Reading and Writing Text Files - Has text files in the title

    Working with Files in C# —...
  18. Replies
    6
    Views
    1,023

    Re: Have some question about files

    I been googleing around on how to open and save files with C#, but they are all about txt files.
  19. Replies
    6
    Views
    1,023

    Have some question about files

    1. How would I go about opening a file as hex?
    2. How would I go about reading parts of the file as hex?
    3. How would I go about editing parts of the file as hex?
    4. How would I go about saving...
  20. Replies
    2
    Views
    1,128

    Re: Int to string as hex

    Ok, Thanks
  21. Replies
    2
    Views
    1,128

    Int to string as hex

    I need to display a int as a sting, but i need it to be displayed in hex. This is what i have so far.

    this.tbx_result.Text = Convert.ToString(seed);


    *EDIT* I figured this part out, but my...
  22. Replies
    2
    Views
    737

    Re: array not working.

    Ok this is weird, I just uncommented it and recompiled my program and it is now perfectly fine.
  23. Replies
    2
    Views
    737

    array not working.

    I am trying to use arrays, but it wont compile. I am a little rusty, but this is how I think I remember them being used.

    declaration:


    int test[4];


    Error:
  24. Replies
    1
    Views
    2,502

    Combo Box Selection Value

    Is there a way to read the current value of a combo box.

    I tried using i = (int)cmb -> SelectedValue; but it is giving me a runtime error.

    Example:
    Lets say I have a combo box with 5 items....
  25. Replies
    7
    Views
    1,453

    Re: Combo Box Selection Value

    Oh sorry, Since I am using Visual C++ I though this was the best place.
Results 1 to 25 of 29
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured