Search:

Type: Posts; User: CompURocket

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    18,134

    Here is some code I wrote as an example for you. ...

    Here is some code I wrote as an example for you. It should do exactly what you want. There are tons of optimizations that can be made, but this is the basics.

    LT



    using System;
    using...
  2. Replies
    2
    Views
    1,102

    What is the format of the data that is in the...

    What is the format of the data that is in the "fields" field? Text? If so, how is it formatted.

    Les
  3. I would create a User class that has a property...

    I would create a User class that has a property called LoggedIn. This propery would be an accessor to a bool type variable.



    public class User
    {
    //Hidden field to hold if the user is logged...
  4. I had a very hard time following that question,...

    I had a very hard time following that question, so let me try to take a stab at what I heard.

    First, make sure that you create a separation between the controlling code and the UI code. For...
  5. Replies
    4
    Views
    3,706

    Well, you do have to know the type if you want to...

    Well, you do have to know the type if you want to do anything with it other than call ToString() and the other methods offered by System.Object.

    LT
  6. Replies
    10
    Views
    1,606

    It isn't that great of an article, so don't buy...

    It isn't that great of an article, so don't buy it just for that article.

    LT
  7. Replies
    10
    Views
    1,606

    There is an article in September's MSDN magazine...

    There is an article in September's MSDN magazine on this topic. Read the Spice It Up article by Bill Wagner.

    September MSDN Magazine

    LT
  8. Replies
    4
    Views
    3,706

    If you know that all the elements are of the same...

    If you know that all the elements are of the same type in the array list and you know what that type is then you could use the foreach keyword.

    Example:


    //ArrayList contains Control objects
    ...
  9. Replies
    5
    Views
    1,774

    The first question is are you going to be sending...

    The first question is are you going to be sending the entire database each time or just updates? I don't suggest that you send the entire database each time. To get rid of firewall problems you...
  10. Replies
    3
    Views
    42,101

    This is how to create one: ArrayList...

    This is how to create one:


    ArrayList arrayList = new ArrayList();

    for (int i = 0; i < d1 ; i++)
    {

    ArrayList l2 = new ArrayList();
  11. Replies
    10
    Views
    1,606

    All so look into the function SetWindowTheme() in...

    All so look into the function SetWindowTheme() in the dll uxtheme.dll. MSDN has the details of this function.

    LT
  12. Do you own the website or are you just trying to...

    Do you own the website or are you just trying to get the requests that your browser is generating to the website?

    If it is the latter, you can use:

    http://www.ethereal.com/

    LT
  13. Replies
    10
    Views
    1,606

    I'm believe that you are going to have to paint...

    I'm believe that you are going to have to paint the non-client areas of your applicaiton so that it looks how you want it to. You will find that there are no classes or events in the Framework Class...
  14. Why not just use string filelocation =...

    Why not just use


    string filelocation = prelocation.Replace("@\",@"\\");

    LT
  15. Replies
    10
    Views
    1,606

    Are you going to be running this application on...

    Are you going to be running this application on only Windows operating systems or are you going to run it on Linux\Unix and Windows targets?

    LT
  16. Replies
    5
    Views
    2,910

    You can also just make the thread function a...

    You can also just make the thread function a static function of your class.
  17. Replies
    7
    Views
    1,487

    I was asking if my explanation was too high level.

    I was asking if my explanation was too high level.
  18. Replies
    7
    Views
    1,357

    Why did you guys flame kinghajj about posting a D...

    Why did you guys flame kinghajj about posting a D programming question? Look at all the threads in this section...none of them have anything to do with C programming.

    Codeplug is just jealous...
  19. Thread: Masm

    by CompURocket
    Replies
    6
    Views
    1,368

    Look for a program called link.exe. It is your...

    Look for a program called link.exe. It is your linker.
  20. Replies
    2
    Views
    1,539

    Well, if you are truely random (yes I know...

    Well, if you are truely random (yes I know computers aren't random), i.e. you seed your random number generator with the time or something, your algorithm shouldn't matter because it is random!
    ...
  21. Replies
    4
    Views
    2,457

    Ha! You were incrementing your index while the...

    Ha! You were incrementing your index while the delete call was shifting the keys down one at a time as they were being deleted! Were you skipping every other one?

    tmode -nopause
  22. Replies
    5
    Views
    2,910

    // CreateThread.cpp : Defines the entry point for...

    // CreateThread.cpp : Defines the entry point for the console application.
    //

    #include "stdafx.h"
    #include <windows.h>

    void ThreadFunc(LPVOID data);

    int _tmain(int argc, _TCHAR* argv[])
    {
  23. Replies
    7
    Views
    1,494

    You could do it brute force. 1)Export your...

    You could do it brute force.

    1)Export your registry
    2)Create a list of all the files and directories on your computer
    3)Uninstall or Install the program
    4)Export your registry
    5)Create a...
  24. Replies
    5
    Views
    2,545

    I guess my opinion is not really needed now, but...

    I guess my opinion is not really needed now, but I would have to tell you to go with C#. Here are my reasons:

    1) You will most likely never get hired to write a program using only the win32 API. ...
  25. Replies
    4
    Views
    1,314

    Hooking the window will allow you to know where...

    Hooking the window will allow you to know where the mouse is, what button they pressed, what menu item they clicked on, but I don't see how that information will help you. You should look into...
Results 1 to 25 of 37
Page 1 of 2 1 2