-
Feb 1st, 2025, 07:40 AM
#1
Thread Starter
Junior Member
What reference should be used?
I'm starting to really get into VB.net on Visual Studio 2022. My question is: How do you know you have all the references (Imports) that you should have for a particular program. I'm writing a program to sort certain areas of a Excel spread sheet so I found I needed to include the Microsoft Excel 16.0 object library and the Microsoft 16.0 Office object library. I don't know if I need anything else for the project I'm working on. Is there an easy way to see the parameters that a included library has? I guess this is basic training but new to me. Thanks all.
-
Feb 1st, 2025, 07:45 PM
#2
Re: What reference should be used?
Write code. If you don't get any compile time errors about types not being recognized, then you have all the references you need. Don't over think it. Code first, references as you need them.
My usual boring signature: Nothing
 
-
Feb 1st, 2025, 08:44 PM
#3
Re: What reference should be used?
 Originally Posted by Shaggy Hiker
Write code. If you don't get any compile time errors about types not being recognized, then you have all the references you need. Don't over think it. Code first, references as you need them.
The OP posted yesterday that he is getting an error and didn't get any responses from anyone here. I think he is trying to figure out if he needs additional references or if the code is wrong.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|