Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Can Some Help Me Please
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
GR3EN_CHRONIC




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
McKenzie




PostPosted: 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.
NikG




PostPosted: 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
NikG




PostPosted: 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?
Echo




PostPosted: 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 Razz Razz
we64




PostPosted: Sun Aug 20, 2006 6:24 pm   Post subject: (No subject)

Yeah, delete the second line, everything else look good.
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: