I have added a linklabel to the form without changing any settings to the font. (still didn't work) so I changed the underline in the font and it still didn't work.
the underline is not there when running it on the Windows CE device, but as soon as i run the same application on XP the line is...
I have added the following code on the Form_Load:
Dim f As Font = Me.LinkLabel1.Font
Me.LinkLabel1.Font = New Font("arial", f.Size, f.Style And Not FontStyle.Underline)
but when I run the application on windows XP the underline is still there.
But if I run the application on CE its...
This does not work..
it has a blue underline under: New Font(f, f.Style And Not FontStyle.Underline)
and it says: Overload resolution failed becasue no accessible 'New' accepts this number of arguments.
I am creating this with vb.net 2008 and its for a smart device application for Windows CE.
Hello,
I have a linklabel on a form (called LinkLabel1) and I want to remove the underline of the control.
I know you can change the font ect and it has a tickbox for underline..
However, I want to remove the underline during runtime (using code).
Anyone know how to remove it using code...
Hello,
I am trying to use sockets in vb.net when creating a smart device application.
I know how to use vb6.0 with the winsock control but since the winsock control is the old way, i want to know how to use the socket to connect to a device.
I want to be able to use the sockets in a smart...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.