Forum: C++ Dec 29th, 2008 |
| Replies: 3 Views: 1,117 Try to open the ToolBox and rightclick the surface. You should have any choise where you can add/remove items.
Then somewhere here you will be able to Browse you .DLL and choose it to your toolbox. |
Forum: C++ Dec 17th, 2008 |
| Replies: 8 Views: 1,170 I am not sure if this could solve it in the constructor of the button.
// Draw the button's border.
e->Graphics->DrawEllipse(System::Drawing::Pens::Transparent, newRectangle); |
Forum: C++ Dec 17th, 2008 |
| Replies: 2 Views: 920 Try this:
#include "Form2.h"
Form2^ newform2 = gcnew Form2;
newform2->ShowDialog(); |
Forum: C++ Oct 23rd, 2008 |
| Replies: 5 Views: 853 sorry my fault.. I think I forgot the .c_str();
Try and change to this instead:
int Num = 0;
Num = atoi(str.substr(1,2).c_str()); |
Forum: C++ Oct 23rd, 2008 |
| Replies: 5 Views: 853 I am not sure what you meen but if you have the string:
string str = "X04030812$"
and for example want to substring "04" you can do:
str.substr(1,2); |
Forum: C++ Oct 20th, 2008 |
| Replies: 8 Views: 511 Perheps
while (STAMINA || ENM_STAMINA != 0 )
never will be false if
ENM_STAMINA reduces by
ENM_STAMINA = ENM_STAMINA - 2; |
Forum: C++ Oct 16th, 2008 |
| Replies: 1 Views: 385 I am not sure if you could meen something like this if you know the path where the bitmap is... Hope it helps
System::IO::File::Delete("C:\\TempImage2.bmp"); |