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

retrieving Novell Netware info in ms access

Hi,
I'm trying to get Novell Netware information using vba into my access
database and have no
idea how to progress. Basically when i right click the properties on
my computer the free space of a network drive is showing as 30Gb.
When
i click on the NetWare Info tab it is showing as 15Gb. Retrieving the
30Gb value from windows was relativley easy, but it is the "true"
free
space of 15Gb that i need.

does anyone have any ideas how i'd do this?
thanks in advance
Rich
p.s. i've tried trawling through the developer help at novell but
nothing is availavle for vba, mainly c

Sep 11 '07 #1
4 2429
"kaisersose1995" <ka************@hotmail.comwrote in message
news:11**********************@d55g2000hsg.googlegr oups.com...
Hi,
I'm trying to get Novell Netware information using vba into my access
database and have no
idea how to progress. Basically when i right click the properties on
my computer the free space of a network drive is showing as 30Gb.
When
i click on the NetWare Info tab it is showing as 15Gb. Retrieving the
30Gb value from windows was relativley easy, but it is the "true"
free
space of 15Gb that i need.

does anyone have any ideas how i'd do this?
thanks in advance
Rich
p.s. i've tried trawling through the developer help at novell but
nothing is availavle for vba, mainly c
Paste this code into a new module:

''' START CODE '''
Private Declare Function GetDiskFreeSpace Lib "kernel32" Alias
"GetDiskFreeSpaceA" (ByVal lpRootPathName As String, lpSectorsPerCluster As
Long, lpBytesPerSector As Long, lpNumberOfFreeClusters As Long,
lpTtoalNumberOfClusters As Long) As Long

Sub TestFreeSpace()

Dim Sectors as Long, Bytes as Long, FreeC as Long

Dim TotalC as Long, Total as Long, Freeb as Long

'Retrieve information about C:\

GetDiskFreeSpace "C:\", Sectors, Bytes, Freec, Totalc

Debug.Print " Sectors per Cluster:" & Str$(Sector)

Debug.Print " Bytes per sector:" & Str$(Bytes)

Debug.Print " Number Of Free Clusters:" & Str$(Freec)

Debug.Print " Total Number Of Clusters:" & Str$(Totalc)

Total = Totalc * Sector * Bytes

Debug.Print " Total number of bytes in path:" & Str$(Total)

Freeb = rFreec& * rSector& * rBytes&

Debug.Print " Free bytes:" & Str$(Freeb)

End sub

''' END CODE '''

(Make sure the declare function part is all on one line).

Run the TestFreeSpace proc from the debug window.
Sep 11 '07 #2
On 11 Sep, 23:22, "Stuart McCall" <smcc...@myunrealbox.comwrote:
"kaisersose1995" <kaisersose1...@hotmail.comwrote in message

news:11**********************@d55g2000hsg.googlegr oups.com...


Hi,
I'm trying to get Novell Netware information using vba into my access
database and have no
idea how to progress. Basically when i right click the properties on
my computer the free space of a network drive is showing as 30Gb.
When
i click on the NetWare Info tab it is showing as 15Gb. Retrieving the
30Gb value from windows was relativley easy, but it is the "true"
free
space of 15Gb that i need.
does anyone have any ideas how i'd do this?
thanks in advance
Rich
p.s. i've tried trawling through the developer help at novell but
nothing is availavle for vba, mainly c

Paste this code into a new module:

''' START CODE '''
Private Declare Function GetDiskFreeSpace Lib "kernel32" Alias
"GetDiskFreeSpaceA" (ByVal lpRootPathName As String, lpSectorsPerCluster As
Long, lpBytesPerSector As Long, lpNumberOfFreeClusters As Long,
lpTtoalNumberOfClusters As Long) As Long

Sub TestFreeSpace()

Dim Sectors as Long, Bytes as Long, FreeC as Long

Dim TotalC as Long, Total as Long, Freeb as Long

'Retrieve information about C:\

GetDiskFreeSpace "C:\", Sectors, Bytes, Freec, Totalc

Debug.Print " Sectors per Cluster:" & Str$(Sector)

Debug.Print " Bytes per sector:" & Str$(Bytes)

Debug.Print " Number Of Free Clusters:" & Str$(Freec)

Debug.Print " Total Number Of Clusters:" & Str$(Totalc)

Total = Totalc * Sector * Bytes

Debug.Print " Total number of bytes in path:" & Str$(Total)

Freeb = rFreec& * rSector& * rBytes&

Debug.Print " Free bytes:" & Str$(Freeb)

End sub

''' END CODE '''

(Make sure the declare function part is all on one line).

Run the TestFreeSpace proc from the debug window.- Hide quoted text -

- Show quoted text -
Stuart,
Thanks for the reply, however i already have a method for retrieving
the free space of a drive through windows. I'm looking for a way to
retrieve the novell netware info space available, as this differs
substantially from the windows value.

regards

Rich

Sep 12 '07 #3
On Sep 12, 6:44 pm, kaisersose1995 <kaisersose1...@hotmail.comwrote:
the free space of a drive through windows. I'm looking for a way to
retrieve the novell netware info space available, as this differs
substantially from the windows value.
Look at the Novell Netware API calls:
http://developer.novell.com/wiki/ind...ovell_Services
http://developer.novell.com/wiki/ind...e_Applications

There are also Netware ActiveX components but I didn't find them
easily just now.

HTH
Ananda

Sep 12 '07 #4
On 12 Sep, 10:04, AnandaSim <Ananda...@gmail.comwrote:
On Sep 12, 6:44 pm, kaisersose1995 <kaisersose1...@hotmail.comwrote:
the free space of a drive through windows. I'm looking for a way to
retrieve the novell netware info space available, as this differs
substantially from the windows value.

Look at the Novell Netware API calls:http://developer.novell.com/wiki/ind...BOffice)_-_VB_...

There are also Netware ActiveX components but I didn't find them
easily just now.

HTH
Ananda
Thanks for the reply.
I had already tried this resource, but am finding them hit and miss. I
can fetch connection setting etc. but when ever i try to retrieve
server names, or space related calls a serious error is caused in
access and the whole application closes, and then prompts to make a
back-up copy....

any ideas?

regards

Rich

Sep 13 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Migrators | last post by:
Respected sir, Will Oracle 8i run on Novell Netware 5.0 ? If not which version of Oracle run Novell Netware 5.0. Kindly do clarify our doubt. With Regards, Jayachandar.B
0
by: Leroy Mason | last post by:
During setup, my application takes several network paths from the user. I want to prevent Novell Netware any version being used. Therefore I need to take the path and test that the server is not...
6
by: andRea | last post by:
Hi all! Anybody knows how is possible detect the Novell login in Access? Thank you all andRea
1
by: dayni | last post by:
Hi All, Would like to know wheteher an asp.net application developed will run without issues under a Novell Netware environment. Env details is as below (a) Netware 6.5 (b) Client 4.9 sp1a &...
4
by: Miro | last post by:
Hello! I have an ASP.NET application which needs to read some data from an Access database on Novell. I've found an article on Microsoft and did the following: I've created an account on...
0
by: Grey | last post by:
I have a ASP.NET web application which is required to copy file from windows server to Novell Netware server. I have used impersonation to connect to Netware server. The application works fine when...
4
by: Rvo | last post by:
Hi all, I need to use the Netware "send" function to send messages to some/all attached netware users on a server. However, I can't find any documentation on this topic on the Novell site or...
0
by: duffaz | last post by:
Hi all, My customer is trying to get my VB.net program to access SQL Server 2000 over a Novell network and they're getting a connection error. The SQL Server is on a Windows server, Netware is...
2
by: stephshomeemail | last post by:
>From my .net web page, I would like to retrieve the novell username. (This is for an intranet application.) Can anyone help? I have searched the web. These don't work, they get the windows...
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: 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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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: 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.