User Profile
Collapse
-
Thanks! It worked, although i dont understand why i didnt have to do it on the side project. Anyway, thanks again. -
VB.Net - Application.StartupPath "Application" not declared error
I'm making a program that at some point needed to know what the path to it's own directory was, so i quickly made a side project just to test how this works ending up with the use of application.sta rtuppath.
Everything was working fine so i went back to the original project and tried to implement that solution, however, whenever i try to type that command i get an error message saying that Application is not declared.
I didnt load any... -
Nevermind, i found out on my own, stringname.remo ve(x,y) did the trick.Leave a comment:
-
VB.Net - Delete the last character from a string
This is probably something easy to do, but i'm trying to erase the last character from a string, for example:
"Cats" into "Cat"
Does anyone have any idea on how to do that?
Thanks in advance. -
-
Thanks for the quick reply. You mean using that "identifier " in the tag property of the control? I'll give it a shot. Thanks again.Leave a comment:
-
VB.NET - How to i identify one of multiple usercontrol instances?
I've made a form that shows a variable number of instances of a usercontrol depending of a number from a database. Every usercontrol has a checkbox, but how do i know which one is selected if they all have the same name? -
Joca replied to VB.net 2005 - Can you make a handmade graphic (drawrectangle and drawline) permanent?in .NETNevermind that, I managed to figure it out with your explanation.
My thanks for your great help!Leave a comment:
-
Joca replied to VB.net 2005 - Can you make a handmade graphic (drawrectangle and drawline) permanent?in .NETI appreciate your fast answer and will try to make it on my own, but can i ask you for a code example?
Edit: By permanent i meant, a graphic that would always be displayed inside the picturebox and not a way to save it to the harddrive. I dont know if that makes any difference on what you explained.Leave a comment:
-
Joca started a topic VB.net 2005 - Can you make a handmade graphic (drawrectangle and drawline) permanent?in .NETVB.net 2005 - Can you make a handmade graphic (drawrectangle and drawline) permanent?
I've made a private sub that creates a graphic (using drawrectangle, string, line and stuff like that) inside a picturebox, so i wouldnt place it right on top of the form itself and also beeing able to move it around. I was aware that the graphic would disappear whenever you minimize or have windows on top it, but was under the impression that all i needed to do for it to stay there was to call the sub in the forms' paint event.
However,...
No activity results to display
Show More
Leave a comment: