473,387 Members | 1,476 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

API/Library for VB.NET

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
6 2213
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
"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
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
"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: pieter.breed | last post by:
Hi All, The company I work for has traditionally used COM/ActiveX for the solutions that it provides. We are in the process of moving to .NET and a few applications have been written in VB.NET...
3
by: K.S.Liang | last post by:
Hi all, 1> If there are more than one dynamic linking libraries in the file system, how do I know which one is loaded into system? Any C library or system call can tell me which *.so or *.sl is...
1
by: Jim | last post by:
Have fully operational software package developed on VB.NET that worked until Jan 1 2003, with early stage deployments on Oct 10, Oct 23, Nov 11, Dec 12 and Dec 30. When attempted final...
10
by: mwt | last post by:
So in a further attempt to learn some Python, I've taken the little Library program (http://groups.google.com/group/comp.lang.python/browse_thread/thread/f6a9ccf1bc136f84) I wrote and added...
10
by: Julian | last post by:
I get the following error when i try to link a fortran library to a c++ code in .NET 2005. LINK : fatal error LNK1104: cannot open file 'libc.lib' the code was working fine when built using...
20
by: Frank-O | last post by:
Hi , Recently I have been commited to the task of "translating" some complex statistical algorithms from Matlab to C++. The goal is to be three times as fast as matlab ( the latest) . I've...
6
by: =?Utf-8?B?WW9naSBXYXRjaGVy?= | last post by:
Hello, I am using Visual Studio-2003. I created a project to build my library. Since I am using third party libraries as well, I have specified those additional library dependencies in project...
0
by: JosAH | last post by:
Greetings, the last two article parts described the design and implementation of the text Processor which spoonfeeds paragraphs of text to the LibraryBuilder. The latter object organizes, cleans...
0
by: JosAH | last post by:
Greetings, welcome back; above we discussed the peripherals of the Library class: loading and saving such an instantiation of it, the BookMark interface and then some. This part of the article...
16
by: Xiaoxiao | last post by:
Hi, I got a C library, is there a way to view the public function names in this library so that I can use in my C program? Thanks.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.