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

Search:

Type: Posts; User: dahwan

Page 1 of 16 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    4
    Views
    10,360

    Re: Inaccessible Due to its protection Level

    And use Code blocks
  2. Replies
    4
    Views
    2,719

    Re: OpenFileDialog path

    You're supposed to set all options BEFORE you ShowDialog();
  3. Replies
    1
    Views
    1,045

    Re: Highlighting a Row in ListView Control

    You set the selected index of the listbox.


    ListBox1.SelectedIndex = selectedIndex;
  4. Replies
    5
    Views
    1,313

    Re: List of List

    Why don't you use two-dimensional arrays? They work about the same way.



    uint[,] MyList = new MyList[10, 10];


    That list would have 10 rows with 10 uints in each. The down-part is that you...
  5. Replies
    3
    Views
    6,620

    Re: BackgroundWorker method executing twice

    Then you should set this thread to [resolved]
  6. Replies
    1
    Views
    979

    Re: handling shut down

    Somehow the windows messages are not being processed because of your override. Therefore windows may assume that the program has crashed. What do you need the override for anyway?
  7. Replies
    4
    Views
    1,189

    Re: How should I go about threading my program?

    I'm not an expert on this, but let me point out the BackgroundWorker.


    System.ComponentModel.BackgroundWorker bw = new System.ComponentModel.BackgroundWorker()
    bw.DoWork += delegate
    {
    ...
  8. Thread: How do I??

    by dahwan
    Replies
    12
    Views
    1,798

    Re: How do I??

    You cannot assign one float value to a whole structure. Do it like this


    StatisticsValue statEffect = new StatisticsValue();
    statEffect.SomeVariable = spell.TargetEffectValue;




    If you...
  9. Replies
    6
    Views
    2,294

    Re: Live parsing of C# code.

    I want to do the equal of the javascript function that takes a string and executes it as javascript code. But i want it in C#
  10. Replies
    2
    Views
    3,014

    Re: File Association

    I dont actually know anything about this, but why does it say %1 at the end? Opera some times for some reason writes %1 after program associations, and the program doesn't open. However if i remove...
  11. Replies
    3
    Views
    1,107

    Re: How can I use C libraries with C#?

    [DLLImport("dllname.dll")]
    public static extern void functionName(params);
    ...
    functionName(...); //Calling function
  12. Replies
    3
    Views
    1,672

    Re: Why vanished if no script ?

    Sorry, i cant help you there.

    Edit:
    Leadtools pdf programming tools looks promising. Why don't you read into it? :)

    Also this thread on msdn is about this topic.
  13. Re: Adding exisiting form to project?

    How do you add your form? Are you copying the code file with the form into your new project? Are you copying the form class from your previous code file to a code file in your current project?
    Show...
  14. Replies
    1
    Views
    739

    Re: Menu's Allergy, out to have fun!

    1: Name your thread better
    2: Tell us what you deleted
    3: Show us your code
  15. Replies
    3
    Views
    1,672

    Re: Why vanished if no script ?

    Check out Regular Expressions. It is perfect for this kind of work.

    Regular Expressions
    How to implement Regular Expressions in C#
  16. Replies
    6
    Views
    2,294

    Live parsing of C# code.

    I was thinking of starting my career as a game programmer a bit early by making a few very simple arcade games, but i really need it to accept scripting. In fact i was thinking of scripting the...
  17. Replies
    3
    Views
    894

    Re: get array values from web service

    You need to do waay more explaining of your problem before we can help you.
  18. Replies
    2
    Views
    830

    Re: Popup does not display

    If popup is a Form


    popup.ShowDialog();
  19. Re: start the console in fullscreen mode! and some other newbie questions.

    alexandergre, "fullscreening" a Console window cannot be done, sorry :)
  20. Replies
    1
    Views
    801

    Re: Treeview and Arrays Problem

    I'm not sure of what you are trying to do.

    Do you want the content of an array as the child nodes of a treeview item?
  21. Re: Direct3D Program - Starts lagging, then crashes

    Vert[n] = MyCube.Vert[X];

    What the hell... That's not assigning a value.. ?
  22. Replies
    4
    Views
    8,263

    Re: Webbrowser scale and print content

    Cant you override the paint function of the web browser and use matrices to zoom?
  23. Re: Direct3D Program - Starts lagging, then crashes

    No, in my render function had something like this


    device.BeginScene();

    using(Cube cube = new cube(device, 5, 5, 5, 0x00ff0000)) // Cube inherited from mesh
    {
    cube.Render();
    }
  24. Re: Direct3D Program - Starts lagging, then crashes

    In debug mode my program runs good for like 30 seconds, then laggs and crashes. All it said was "Error in program" in the line with Font = new Font();

    But i fixed it now (i think) by moving the...
  25. Direct3D Program - Starts lagging, then crashes

    I've made a direct3D program, experimenting. When i run this program, it starts fullscreen, and you are able to rotate the cubes in the scene. But after not more than 10 seconds, the program starts...
Results 1 to 25 of 382
Page 1 of 16 1 2 3 4





Click Here to Expand Forum to Full Width

Featured