Hello, I am getting a compile error because of this... I have this type i created:
Public Type Customer_Fields
FirstName As String
LastName As String
PhoneNumber As String
Email As String
Country As String
State As String
City As String
Address As String
PostalCode As String
Website As...
How do you set the ClassName for your application? I have this progam that when you place the mouse over the focused window it retreives the classname & windowtitle. Most programs have their set classnames appropriate to their program name. When I do this to my VB.Net apps i get something like...
An unhandled exception of type 'System.ArithmeticException' occurred in system.drawing.dll
Additional information: Overflow or underflow in the arithmetic operation.
ex of line lines where it happens (diff projects for each one):
-Me.TextBox1 = New System.Windows.Forms.TextBox()
-Me.tbeepn...
I am using an ocx file (custom one) in my app and working off of it by adding it to the tools window. Now I open the exe in VS.NET 2002. I added the ocx it like a normal resource (selected import etc) and got that done. But im pretty sure i need to do proper naming of the resource or something...
I am using an ocx file (custom one) in my app and working off of it by adding it to the tools window. Now I open the exe in VS.NET 2002. I added the ocx it like a normal resource (selected import etc) and got that done. But im pretty sure i need to do proper naming of the resource or something...
I inculded the dotnetfx just as a normal file (the framework) and then I remove the "/install" text in the argument property the dotnetfx doesn't support it / doesn't work with it. The install goes fine but when the the dialog to install the framework popups up is when the problem begins. If you...
Im using the default Studio.NET Setup project window (VB.NET) and ive noticed when the unistall takes place from the control planel (only place) it only removes the files that were with the setup when it was lauched. Ex if a log file was created while the user was using the program it would not...
quick question, is there any way you can set the order of events triggering/change it somehow? Sounds confusing but i have 2 events - and in both they have some of the same controls in both of them, yet i need 1 of them to trigger before the other in order to get the correct result.
thanks
Im positive the error is happening because im not setting the server name correcty (obviosly), but I need to know how to retreive the current server or an available one. That or a server name that works. Thanks.
This is the e-mailing code:
Dim objMail As New MailMessage()...
what im trying to do is get every line and draw them seperatly in a printing function. the textbox.lines method detects the end of a line when a "return" has been pressed etc. what i need is to get each visual line (ex:
|This specific procedure is really pissing|
|me off...
The following code displays all the text in line 1 of the textbox:
msgbox(TextBox1.Lines(0))
now when i try to set / change in any way that line to different text it wont change for some reason (even properties like toupper don't work):
TextBox1.Lines(0) = StrReverse(TextBox1.Lines(0))
*any...
I have a procedure which basically combines multiple handlers of many textboxes. Now the problem is I would like to add more handlers but these ones are from controls on a different form and it will not work by doing for ex:
handles otherform.textbox3.click - it says you need a withevents but...
for some reason it wont highlight the selected text on some cases:
txb.SelectionStart = 0
txb.SelectionLength = txb.TextLength
this is what i use, and if for ex a msgbox is displayed right before this it will highlight the text, but if not it wont. is there any way to highlight text, im sure...
hey, I am using xml for a database and it works fine. I create them using microsoft acess and then export it to an xml. Now I used this first xml database for a few months, then changed a few things in it and created a new xml database a few months later (I reformated cpu, but still using...
1) When I set the datetimepickets checked property to false during the form load event it doesn't apply (doesn't change its checked state) *showcheck is true*. This only happens when in the form_load event, any suggestions or ways to fix this? "sended.Checked = True" thats the code
2)"Dim...
hey, I have a multiple handle procedure and all i need to do is found out which control activated the event (I think it has to do with the "sender")
Private Sub alltxts_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles sdt1.KeyPress...
I can create a user control within a project and access it fine, but what I would like to do is create a "Windows Control Library" and then add that control to any project I may create. How would I add the windows control library control to any project?
Thanks
hey, is there any way to retrive the 4 primary system icons (info, exclamation, critical, question)? are they stored in some place or are they already available using some method in .NET? If none of the above, just a way to get the icon files.
thanks
1) THIS IS A CLASS, HOW WOULD I READ THESE PROPERTIES FROM IT (EX: MSGBOX(assem.copyright)) to get that property
===========================================================
Imports System.Reflection
Public Class Assem
Public ReadOnly Property ProjectDescription()
Get...
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.