By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,684 Members | 1,309 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,684 IT Pros & Developers. It's quick & easy.

API/Library for VB.NET

P: n/a
Hello,

I am a Java programmer and I am used to finding out what functions are
written out for me in the Java API provided by Sun on their website.

Now for VB.NET is there a similar online resource? That tells me which
function is in what library, and what its purpose is?

For instance, I have been trying to figure out what this statement does:

ValidateMDBExistence = Dir(Application.StartupPath & "xyz.mdb")

I have an idea, it is trying to find out the startup path of the application
and looking for xyz.mdb in that folder. But for some reason I'm not getting
what I want. So, can you please point me to the API/library resource online
for VB.Net?

Thanks.
Nov 20 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Cor
Hi CS Tutor,
Now for VB.NET is there a similar online resource? That tells me which
function is in what library, and what its purpose is?
For instance, I have been trying to figure out what this statement does:
ValidateMDBExistence = Dir(Application.StartupPath & "xyz.mdb")
I have an idea, it is trying to find out the startup path of the application and looking for xyz.mdb in that folder.


Your idea is right, but this has few to do with API.
Vb.net, J# and C# are languages that create (almost the same) intermediate
code.
They use the framework as a kind of runtimer.
Although you can use API's, is that only normal use when there is no
alternative.
(And for me that becomes more and more seldom, there is so much in the
framework)

You probably won't find "ValidateMDBExistence" never, because it is a
String made by the programmer.
In vb.net that is created by
dim ValidateMDBexistence as string

"Dir" is a so called function (most functions are Microsoft.VisualBasic and
addition but full part of the framework)

"Application.StartupPath" the startuppath of the application

"&" the concationation character like in java + (also usable in vb.net but
not preferred)

"xyz.mdb" the file name as a string.

So when you are looking for information about words in this operation, you
can find normaly only:
"dir", "application" and "startuppath".
"=" and "&" are not to find because the search system cannot recognise them
and you have to look for "operators".
The other words are created by the programmer.

I hope this gives some understanding.
Cor
Nov 20 '05 #2

P: n/a
"Cor" <no*@non.com> scripsit:
Your idea is right, but this has few to do with API.


I always thought that even the .NET framework is an API.

:-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

P: n/a
Cor
Hi Herfried,
When you buy an egg, do you than want to know how you make that egg
yourself?
:-))
Cor
Nov 20 '05 #4

P: n/a
"Cor" <no*@non.com> scripsit:
When you buy an egg, do you than want to know how you make that egg
yourself?


:-)))

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #5

P: n/a
CS Tutor,
In addition to the others comments:

The .NET Framework SDK can be found on-line at:
http://msdn.microsoft.com/library/de...etfxanchor.asp

The Class Library itself can be found at:
http://msdn.microsoft.com/library/de...pref_start.asp

The VB.NET Language & Runtime can be found at:
http://msdn.microsoft.com/library/de...mingWithVB.asp

"Application" is an object out of the Class Library.

"Dir" is a function out of the VB.NET Runtime.

Hope this helps
Jay

"CS Tutor" <uo**********@yahoo.com> wrote in message
news:BJ********************@news02.bloor.is.net.ca ble.rogers.com...
Hello,

I am a Java programmer and I am used to finding out what functions are
written out for me in the Java API provided by Sun on their website.

Now for VB.NET is there a similar online resource? That tells me which
function is in what library, and what its purpose is?

For instance, I have been trying to figure out what this statement does:

ValidateMDBExistence = Dir(Application.StartupPath & "xyz.mdb")

I have an idea, it is trying to find out the startup path of the application and looking for xyz.mdb in that folder. But for some reason I'm not getting what I want. So, can you please point me to the API/library resource online for VB.Net?

Thanks.

Nov 20 '05 #6

P: n/a
I made an egg once.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"Cor" <no*@non.com> wrote in message
news:3f**********************@reader20.wxs.nl...
Hi Herfried,
When you buy an egg, do you than want to know how you make that egg
yourself?
:-))
Cor

Nov 20 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.