Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 05-12-2008, 08:54 AM
mechslayer mechslayer is offline
Learning Programmer
 
Join Date: May 2008
Posts: 40
Rep Power: 2
mechslayer is on a distinguished road
Default Re: Need advices on my new project

Quote:
Originally Posted by Xav View Post
Perfect! Add the reference. Take a look at the References section of the Solution Explorer, and see what the name of the new library is called. Then, in code, type the name of the library, then a dot (.). This will display a list of objects, so you can see how it fits together.
I dont really understand about 'type the name of the library in code.' Mind explain more about these? Sorry to trouble you with such simple questions.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 05-12-2008, 01:42 PM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 4,864
Last Blog:
Web slideshow in JavaS...
Rep Power: 42
Xav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to behold
Send a message via MSN to Xav
Default Re: Need advices on my new project

Don't worry - this branch of programming where you control other programs/apps (known as Automation) is quite complex for a beginner to its concepts, and I'm sure it will get easier as you learn more.

Have you found the name of the library? If not, open the Solution Explorer (that shows all the files), open up the References section, and see which library is new. That is the name of the library.

You see, the manufacturer decides on which objects it uses. A good manufacturer will write out easy to use objects, but a bad one will make everything complicated. I have no way of knowing which objects and classes are included in the Netshell library, as I have not used it before.

Therefore, you need to investigate them. Open up any code to test it out - for example, create a test button and double-click it to access its code. Then, type the library name you found out into the button's code handler, then type a dot. Hopefully, your software should display a list of all the different objects you can use. Tell me what they are, and I might be able to pick out which one to use.
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 05-12-2008, 08:26 PM
mechslayer mechslayer is offline
Learning Programmer
 
Join Date: May 2008
Posts: 40
Rep Power: 2
mechslayer is on a distinguished road
Default Re: Need advices on my new project

Quote:
Originally Posted by Xav View Post
Don't worry - this branch of programming where you control other programs/apps (known as Automation) is quite complex for a beginner to its concepts, and I'm sure it will get easier as you learn more.

Have you found the name of the library? If not, open the Solution Explorer (that shows all the files), open up the References section, and see which library is new. That is the name of the library.

You see, the manufacturer decides on which objects it uses. A good manufacturer will write out easy to use objects, but a bad one will make everything complicated. I have no way of knowing which objects and classes are included in the Netshell library, as I have not used it before.

Therefore, you need to investigate them. Open up any code to test it out - for example, create a test button and double-click it to access its code. Then, type the library name you found out into the button's code handler, then type a dot. Hopefully, your software should display a list of all the different objects you can use. Tell me what they are, and I might be able to pick out which one to use.
You said 1 example to test it out is to create a test button and I just need to type the name of the library with a '.' behind to find out the different objects. So now the problem is when I typed the name out, its show syntax error. So which is the name I should use? Is it NETASHELLLib. or Interop.NETASHELLLib. ? Also what else I need to type in. I was not quite sure how to do such stuffs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 05-13-2008, 02:10 PM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 4,864
Last Blog:
Web slideshow in JavaS...
Rep Power: 42
Xav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to behold
Send a message via MSN to Xav
Default Re: Need advices on my new project

I honestly don't know. I've never used the library before - have you tried both?
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 05-13-2008, 07:59 PM
mechslayer mechslayer is offline
Learning Programmer
 
Join Date: May 2008
Posts: 40
Rep Power: 2
mechslayer is on a distinguished road
Default Re: Need advices on my new project

Is it by creating a test button then just type the name of the library in the code of the event handler of button_click. I tried both, both show syntax error.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeOrion (a non commercial, community game project, under development) MikkoM Video Game Talk 3 07-13-2008 02:10 AM
VPN project Acheron Technology Ramble 0 03-14-2008 06:06 AM
A cool project idea. AlexanderRybak Community Projects 3 02-11-2008 02:37 AM
Contributing to a project Jordan Community Projects 7 09-15-2006 04:43 PM
Community Project! - Recent project gone sour Crane C# Programming 5 09-09-2006 02:13 PM


All times are GMT -5. The time now is 07:25 AM.

Contest Stats

John ........ 203.00000
dargueta ........ 168.00000
Xav ........ 164.00000
gaylo565 ........ 18.00000
WingedPanther ........ 15.00000
|pH| ........ 15.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 65%

Ads