Search:
Type: Posts; User: Doomstar
Search:
Search took 0.06 seconds.
-
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...
-
no, it wouldn't be better, cause if you want to draw a graphical bar like in games you can't stretch...
-
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...
-
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,...
-
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";
-
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...
-
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...
-
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...
-
Thanks, I'd already solved the prob myself by removing the As Integer part and checking it with IsNumeric(), but this is even better!
-
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...
-
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,
...
-
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...
-
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...
-
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,
...
-
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...
-
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 *...
-
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....
-
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++...
-
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...
-
Thanks Frankiz, it worked!
ps. Good luck with your project
------------------
Doomstar
-
Does anyone know a GOOD always on top code?
------------------
Doomstar
http://come.to/Doomstar
-
It worked! Thanks!
------------------
Doomstar
http://come.to/Doomstar
-
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...
-
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...
|
Click Here to Expand Forum to Full Width
|