473,382 Members | 1,377 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,382 software developers and data experts.

VB.NET Library/API

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
2 4721
CS Tutor wrote:
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?


Application.StartupPath returns the folder in which the application is
started from. The Dir function returns file(s) that match the passed in
criteria. The entire line is geared towards finding out whether xyz.mdb
exists in the same folder as the running executable.

So essentially, the next line should be:

if Len(ValidateMDBExistence ) > 0 then
MessageBox.Show ("File exists")
else
MessageBox.Show ("File does not exist")
end if

As far as documentation... Simply go to MSDN, then click on the Library
link. The dig into the tree on the left hand side: .Net
development/visual studio .net/product documentation/... You get the idea.

Here is the docs on DIR

http://msdn.microsoft.com/library/de...l/vafctdir.asp

Nov 20 '05 #2
"CS Tutor" <uo**********@yahoo.com> scripsit:
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?


<http://msdn.microsoft.com/library/en-us/netstart/html/cpframeworkref_start.asp>
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netstart/html/cpframeworkref_start.asp>

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

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.
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.