Search:

Type: Posts; User: Doomstar

Search: Search took 0.06 seconds.

  1. Replies
    1
    Views
    458

    sorry, but you don't get it, i'm not looping like...

    sorry, but you don't get it, i'm not looping like you think. in your case i'd be done with

    while(TRUE)
    {
    // do stuff
    }

    but what i'm talking about is using a function declared in...
  2. no, it wouldn't be better, cause if you want to...

    no, it wouldn't be better, cause if you want to draw a graphical bar like in games you can't stretch...
  3. Replies
    5
    Views
    861

    don't be sorry...

    eh, well, i don't know the difference. in fact, i've never heard of static_cast<int>, but i'm not doing this for that long either. just use the (int) method, that way you're sure it works (i use it...
  4. Replies
    12
    Views
    867

    to all you guys, a virus is a program that harms...

    to all you guys, a virus is a program that harms your computer, so if you make a 'virus' that finds and destroys other ones and that's it, you don't have a virus at all.
    oh, and for your question,...
  5. Replies
    5
    Views
    861

    you should try an explicit conversion, the reason...

    you should try an explicit conversion, the reason for this over atoi or itoa is that you can use it on allmost every possible variable. how it works:



    int y;
    CString z;

    y = 4;
    z = "2";
  6. i wanted this too some time ago, here's what i...

    i wanted this too some time ago, here's what i had in mind: take a picture of the empty and the full bar. every time something happens you draw the empty to the memory DC, put the full somewhere else...
  7. Replies
    3
    Views
    407

    If the problem really is the AddressOf operator,...

    If the problem really is the AddressOf operator, the problem can be solved very easily. Just cut and paste the code to the top of the code of your form and it works just fine! This is because of the...
  8. Replies
    1
    Views
    449

    You could make a form, set the icon and use...

    You could make a form, set the icon and use form.hWnd
    I don't know of any other way to do it... Maybe you can use a picturebox, but I think you'd get the same error, I haven't tested it yet because...
  9. Replies
    2
    Views
    373

    Thanks, I'd already solved the prob myself by...

    Thanks, I'd already solved the prob myself by removing the As Integer part and checking it with IsNumeric(), but this is even better!
  10. Replies
    2
    Views
    373

    I'm trying to implement a few command line...

    I'm trying to implement a few command line arguments in my program, but I get some real strange errors...
    Here's the code:


    Public Function GetCommandLine(Optional MaxArgs As Integer)
    On Error...
  11. Replies
    1
    Views
    433

    Your problem is, I think, that the program from...

    Your problem is, I think, that the program from which you are creating an ActiveX object isn't installed on the other workstation. Try installing the program and retry...

    Good luck,



    ...
  12. Replies
    8
    Views
    714

    hey Juan Carlos, I think you maybe could have...

    hey Juan Carlos, I think you maybe could have figured out that I knew that after the first reply. changing the topic isn't possible, so I can't correct my stupid mistake.
    as for joey, the site...
  13. Replies
    6
    Views
    1,136

    Good point, but note that you either must start...

    Good point, but note that you either must start your prog with a Sub Main() or must Hide the form (Form1.Hide) in the Load event and then use the code you posted.



    ------------------
    Doomstar...
  14. Replies
    6
    Views
    1,136

    Well, you could try to set the main form to...

    Well, you could try to set the main form to system modal. I don't know how, but there should be some API call for it, since you can do it in C++ and with the MsgBox() function.

    Good luck,


    ...
  15. Replies
    8
    Views
    714

    I now know how to do it... And I also found out...

    I now know how to do it...
    And I also found out I asked the wrong question. I meant, how do I use the Tan() function with in- and output in degrees.
    Through some determination, luck and mostly your...
  16. Replies
    8
    Views
    714

    Sorry, but I got something like -15 when I tried...

    Sorry, but I got something like -15 when I tried to calculate the tangent of 50 degrees.
    I used this code to get to it:
    pi = 4 * Atn(1)
    a = tan(50) ' = -0.2719 radians
    b = a *...
  17. Replies
    8
    Views
    714

    I'm currently designing a program to do some...

    I'm currently designing a program to do some calculations including the tangent, sine and cosine. My problem is that the corresponding functions give an output in radials and I want it in degrees....
  18. Replies
    0
    Views
    396

    I want to zip a file in VB, but I haven't got the...

    I want to zip a file in VB, but I haven't got the slightest idea how to do it...
    So if you could tell me how, I would really appreciate it. If you don't know how, but if you do know a good C++...
  19. Replies
    2
    Views
    538

    I've recently programmed a small game which is...

    I've recently programmed a small game which is part of a program, nothing fancy (no DirectX and stuff), in which I use an API call to play sounds. I have this background loop (a wave file) which...
  20. Thread: Always on top

    by Doomstar
    Replies
    3
    Views
    599

    Thanks Frankiz, it worked! ps. Good luck...

    Thanks Frankiz, it worked!


    ps. Good luck with your project




    ------------------
    Doomstar
  21. Thread: Always on top

    by Doomstar
    Replies
    3
    Views
    599

    Does anyone know a GOOD always on top code? ...

    Does anyone know a GOOD always on top code?



    ------------------
    Doomstar
    http://come.to/Doomstar
  22. Replies
    2
    Views
    608

    It worked! Thanks! ------------------...

    It worked! Thanks!



    ------------------
    Doomstar
    http://come.to/Doomstar
  23. Replies
    2
    Views
    585

    Well, you could create one or more (depends on...

    Well, you could create one or more (depends on how many you need) text boxes in the environment with the Visible property to False. Then use the Move method to get the text box in the right position...
  24. Replies
    2
    Views
    608

    I'm currently working on a program that can read...

    I'm currently working on a program that can read .txt and .rtf files. If you open a file from the open dialog in the program, it shows how cool VB can be...
    Recently I found out how to register file...
Results 1 to 24 of 24



Click Here to Expand Forum to Full Width