PC Review


Reply
Thread Tools Rate Thread

API/Library for VB.NET

 
 
CS Tutor
Guest
Posts: n/a
 
      6th Oct 2003
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.


 
Reply With Quote
 
 
 
 
Cor
Guest
Posts: n/a
 
      6th Oct 2003
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


 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      6th Oct 2003
"Cor" <(E-Mail Removed)> 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>
 
Reply With Quote
 
Cor
Guest
Posts: n/a
 
      6th Oct 2003
Hi Herfried,
When you buy an egg, do you than want to know how you make that egg
yourself?
:-))
Cor


 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      6th Oct 2003
"Cor" <(E-Mail Removed)> 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>
 
Reply With Quote
 
Jay B. Harlow [MVP - Outlook]
Guest
Posts: n/a
 
      6th Oct 2003
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" <(E-Mail Removed)> wrote in message
news:BJ5gb.118020$(E-Mail Removed)...
> 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.
>
>



 
Reply With Quote
 
Tom Spink
Guest
Posts: n/a
 
      6th Oct 2003
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" <(E-Mail Removed)> wrote in message
news:3f81348e$0$5885$(E-Mail Removed)...
> Hi Herfried,
> When you buy an egg, do you than want to know how you make that egg
> yourself?
> :-))
> Cor
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Digital Image Library 2006 - share library across multiple PCs =?Utf-8?B?SmVmZiBQcmljZQ==?= Windows XP Photos 2 6th Sep 2005 07:17 PM
COM Interop registration failed. Type library exporter can not load required library MSCOREE.TLB. Janus Kamp Hansen Microsoft Dot NET 0 5th Jul 2005 08:01 AM
COM Interop registration failed. Type library exporter can not load required library MSCOREE.TLB. Janus Kamp Hansen Microsoft C# .NET 0 5th Jul 2005 08:01 AM
Big Faceless PDF Library 2.2.3 - A Java class library for importing and creating PDF documents. Gordon Darling Freeware 0 13th Jul 2004 09:17 PM
Re: Visual Library C++ Runtime Library Error When I open Word and attempt to type Cindy Meister -WordMVP- Microsoft Word New Users 0 8th Jul 2003 03:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:53 PM.