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.
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.
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);
Try this:
#include "Form2.h"
Form2^ newform2 = gcnew Form2;
newform2->ShowDialog();
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());
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);
Where 1 is the startingposition in the string and 2 is the length.
Then you can convert it to int:
int Num = 0;
Num = atoi(str.substr(1,2));
I dont know if this helps.
Perheps
while (STAMINA || ENM_STAMINA != 0 )
never will be false if
ENM_STAMINA reduces by
ENM_STAMINA = ENM_STAMINA - 2;
as it was declared to 7.
In that case it will pass zero from +1 to -1 and therefore the loop will be infinite.
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");
I want to delete a bitmap. How do I do this in c++.
DestBitmap->Save("TempImage2.bmp");
.
.
.
.
.
//later something like
Delete("TempImage2.bmp");is there a way to do this.
thanks,
nemo