February 19th, 2004, 05:02 PM
February 19th, 2004, 04:48 PM
You mean something like this?
p1.x = Form1.MousePosition.X - Form1.ActiveForm.Location.X - 110
p1.y = Form1.MousePosition.Y - Form1.ActiveForm.Location.Y - 135
I used this to draw an elipse...
February 19th, 2004, 04:32 PM
[edit: code was here, but removed because someone else beat me to it ;).]
what Cgcomp did Worked fine for me.
Still I don't understand why you would wan't to do that. It would be better to have...
February 17th, 2004, 12:40 PM
Programs that were working fine the first time I ran them are now giving me this error after I reopen them.
Mine was with filling a data table.
February 17th, 2004, 12:34 PM
Thanks, I don't even know why I didn't think to use Option Strict On when I was testing that :blush:...
February 13th, 2004, 11:22 AM
"I am pretty sure if you do not use "New" the computer treats it like a variable that can hold any object of that class and also any child of of that class(I think)."
When I said that, I mean't it...
February 12th, 2004, 07:40 PM
oh I see, all you need to do is put a ['code']['/code'] and then paste your code in between those. Dont put he ' of course :P.
I edited and added that little bit. Hope it helps.
February 12th, 2004, 07:25 PM
IT makes it so hard to see without the ['code] >.< ['/code'].
dt is the datatable
string is the string you are going to concatinate with itself to make your line for output to the sequential...
February 12th, 2004, 07:13 PM
Yea New is for actually creating objects from classes.
Dim Object as Class will only tell vb to designate the area.
With that statement you will actually have to use another statement:
February 12th, 2004, 05:38 PM
An introduction to Programming using Visual Basic .net
David I. Schneider
Best book on the market for beginners imo. It comes with a cd with vb.net problems that are simple and...
September 30th, 2003, 06:12 PM
You mean an exception? Bugs are made by programmers, exceptions are made by microsoft :P.
September 30th, 2003, 06:00 PM
The StretchImage setting will reduce or enlarge the picture to fit the picture box control.
September 30th, 2003, 05:15 PM
Use arrays too; they can save lots of time.
September 30th, 2003, 04:55 PM
To attach an image you can either do it using the "Attach File" option when making a post or you can use a picture already on the net using the command.
September 25th, 2003, 02:40 PM
Can't you use a structure? That way each dimension represents a different variable type.
Dim word as string
Dim number as integer
Then you can...