|
hi!
try using string.LastIndexOf
abhinav
|
|
|
|
|
And what woudl you do with this method in this case?
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Thank You guys for the help. I think I was trying to make it more complicated than it really was. Our Instructor likes to give us the assignment before we go over the chapters or examples that explian the solution. Thank You.
Shadow Sprite
|
|
|
|
|
I have an image 100x100
i want to set the pixel at the coord 20,35 just transparent.
How can i do?
|
|
|
|
|
Use the SetPixel method of the Bitmap class and provide a transparent pixel.
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi,
- Are there any methods to get the shares of a computer in a network?
- Ex: when we type \\192.168.0.1\ in windows explorer, it will output the share of the computer wich has the IP 192.168.0.1
Thanks,
|
|
|
|
|
Is it possible to open a contextmenu inside of the program?
|
|
|
|
|
Hello!
I have one solution file that consist of three project.
One project that build the exe file.
One project that build a class library dll
One project that build a windows control dll
In the windows control c-tor is there a call to a method in the class
libarary.
So in the project referense settings for the windows control I have a
project referens to the class library.
In the exe file c-tor I have a call to a method in the class library.
So in the project reference settings for the exe file I have a project
reference to the class library and to
the windows control because I can drag the windows control from the toolbox
to a form in the project that build the exe file.
Now to my problem if I now rebuild the project only for the class library
and then try to drag the windows control to a form I get the following error
"An exception occured while trying to create an instance of Middle.Middle.
The execption was "?"."
But if I rebuild the windows control instead then I can drag the windows
control from the toolbox to a form in the project that build the exe file.
My first question why do I get this error.
My second question is what is the recommended setting for copy local that
exist on each project. It it to have true or false.
My third question is what requirement is it about the version that each dll
have. I mean when an exe file will call a dll or when a dll will call
another dll.
//Tony
|
|
|
|
|
I'm writing a program on C# with PocketPC.
I have a picture box and I want the image bound to picture box must be transparent!( I tried but that seem VS.NET 2005 for Pocket PC don't support it!)
How can I do ?
Thanks,
Hung.
Hung
|
|
|
|
|
Is it possible to draw a Control as DataGridViewCell. I wan't to use for that an existing control...
Regards
Hansjörg
|
|
|
|
|
Hello,
I need an object which is inherited from a control.to simulate some things. The problem is that the object makes the last initializations during the OnPaint event. But in my case I don't want to display the object on the screen, because I need it only as helper object.
Is there an way to do that?
Regards
Hansjörg
Edit/Delete Message
|
|
|
|
|
Visible = false;
or
Height = 0;
Width = 0;
or
dont add the control to the Controls collection
|
|
|
|
|
NewbieDude wrote: foreach (OurRadioButton cb in this.Parent.Controls)
you 100% sure that every control in "this.Parent.Controls" is of type "OurRadioButton"?
I doubt it is!
Also, please try to use descriptive subject lines in posts, as it helps find posts you are able to answer.
|
|
|
|
|
How can i define a rectangle area of an image where i want to delete all the pixel just as a rubber does in Photoshop?
|
|
|
|
|
You just draw a rectangle over the top of the image with the background colour! There's no magic "Eraser" tool in GDI like there is in, say, photoshop.
|
|
|
|
|
|
|
Hello everybody,
How can I read/write a .pdf file?
After I read two .pdf files I want to write them on a one file.
Thanks.
|
|
|
|
|
|
Hello,
I am working on a c# project. I have a datagrid in which I have genereted a datatable with datarows and datacolumns at run time. Now I want to insert data from that datatable into a MySql database. How can I do the same.
With Regards
Meenakshi
|
|
|
|
|
few links
http://dev.mysql.com/doc/refman/5.0/en/connector-net-architecture-commandbuilder.html
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1288&lngWId=10
http://www.vbmysql.com/articles/vb_mysql_tutorials/vb_mysql_tutorial-part6.html#sample1
|
|
|
|
|
i have created a stroedprocedure(to store data in database) in sql client database. the code is executing fine but when the database is opend the data is not stored i dont know why ????? i am using visual studio 2005
sunny
|
|
|
|
|
hi
check if there is problem in datatype conversions.if not show the code along with stored procedure
|
|
|
|
|
How can I add an Always On Top Button to the titlebar of a form just beside the minimize button?
|
|
|
|
|
I suggest you stick to fixing one problem at a time, you are asking so many random questions, I doubt you are even attempting to find the answers yourself...
And just to be nice. There is an article somewhere on CP that shows you how to do this (was long ago, I cant recall name of it).
|
|
|
|