Can Some Help Me Please
Author |
Message |
GR3EN_CHRONIC
|
Posted: Fri Jul 28, 2006 2:17 pm Post subject: Can Some Help Me Please |
|
|
Ok,
My problem is with the current code im working with. Im very very new to visual basic so that doesnt help my situation much, but anyways. I am making a wrapper for the practice project im working on, and I have run into an error using the code i found from the microsoft website. The error is....well im not to good at explaining. So heres a screen shot of what im lookin at http://img45.imageshack.us/img45/4651/wrapperuo9.png
So if someone could assist me with what to do and where to do it. It will be greatly appreciated. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
McKenzie
![](http://www.wizards.com/global/images/swtcg_article_27_pic3_en.gif)
|
Posted: Wed Aug 02, 2006 8:04 am Post subject: (No subject) |
|
|
Next time just post the code. By the looks of things simply delete your second last line. |
|
|
|
|
![](images/spacer.gif) |
NikG
|
Posted: Wed Aug 02, 2006 10:29 pm Post subject: (No subject) |
|
|
Actually, your second last line has combined two lines into one.
Instead of code: | End FunctionPublic Class Network_Wrapper | it should be code: | End Function
Public Class Network_Wrapper |
|
|
|
|
|
![](images/spacer.gif) |
NikG
|
Posted: Wed Aug 02, 2006 10:31 pm Post subject: (No subject) |
|
|
(Sorry for double-posting)
Actually, I'm wrong... McKenzie is right.... But it's very weird why that's there... probably a copy>paste error? |
|
|
|
|
![](images/spacer.gif) |
Echo
![](http://www.geocities.com/warcraftiiiheros/sosdan2.JPG)
|
Posted: Sun Aug 20, 2006 1:36 pm Post subject: (No subject) |
|
|
Since you're new to VB, you might not have noticed (although unlikely) that the IDE automatically adds the ending line once you press enter after typing a starting line. Like, if you type in If [whatever] then press enter, it automatically inserts the line End If and places your cursor in the middle.
If you type the End If yourself out of habit in this kind of situation, then obvious there will be two End Ifs, and that wouldn't make sense.
...FireFox user with Vista-like GUI!!! ![Razz Razz](images/smiles/icon_razz.gif) |
|
|
|
|
![](images/spacer.gif) |
we64
![](http://i5.photobucket.com/albums/y174/we64/LJDisplayPicture.jpg)
|
Posted: Sun Aug 20, 2006 6:24 pm Post subject: (No subject) |
|
|
Yeah, delete the second line, everything else look good. |
|
|
|
|
![](images/spacer.gif) |
|
|