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

CreateObject("Scripting.FileSystemObject") error

Hi,

I have meet a problem for CreateObject("Scripting.FileSystemObject").

I uses this code to get the information of the harddisk

I have 10 user using the same code. All where working fine excpet for 1. When
i was using it prompt this error:
"License information for this component not found. You do not have an
appropriate license to use this functionality in the design environment"

Is there a way to solve or a better method to solve this problem

Urgently needed. Please help. Thanks

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200711/1

Nov 27 '07 #1
7 6420

What information are you trying to get at?

There are API calls and functions built into Access that can do almost
everything that you can get via the FileSystem object.

On Tue, 27 Nov 2007 01:28:00 GMT, "Benjamins via AccessMonster.com"
<u39077@uwewrote:
>Hi,

I have meet a problem for CreateObject("Scripting.FileSystemObject").

I uses this code to get the information of the harddisk

I have 10 user using the same code. All where working fine excpet for 1. When
i was using it prompt this error:
"License information for this component not found. You do not have an
appropriate license to use this functionality in the design environment"

Is there a way to solve or a better method to solve this problem

Urgently needed. Please help. Thanks
Please Post Any Replies To This Message Back To the Newsgroup.
There are "Lurkers" around who can benefit by our exchange!
Nov 28 '07 #2
Chuck Grimsby <c.*******@worldnet.att.net.invalidwrote in
news:u1********************************@4ax.com:
What information are you trying to get at?

There are API calls and functions built into Access that can do
almost everything that you can get via the FileSystem object.
It's quite useful for checking if network shares are available.
There's no accurate way to do that with the built-in Access commands
(other than attempting to write to it, which requires cleanup).

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Nov 28 '07 #3
On 28 Nov 2007 00:52:07 GMT, "David W. Fenton"
<XX*******@dfenton.com.invalidwrote:
>Chuck Grimsby <c.*******@worldnet.att.net.invalidwrote in
news:u1********************************@4ax.com :
>What information are you trying to get at?

There are API calls and functions built into Access that can do
almost everything that you can get via the FileSystem object.

It's quite useful for checking if network shares are available.
There's no accurate way to do that with the built-in Access commands
(other than attempting to write to it, which requires cleanup).
You can use API calls for that, David. No problem. NetShareEnum, for
example, shows what shares are available.

Please Post Any Replies To This Message Back To the Newsgroup.
There are "Lurkers" around who can benefit by our exchange!
Nov 29 '07 #4
Chuck Grimsby <c.*******@worldnet.att.net.invalidwrote in
news:db********************************@4ax.com:
On 28 Nov 2007 00:52:07 GMT, "David W. Fenton"
<XX*******@dfenton.com.invalidwrote:
>>Chuck Grimsby <c.*******@worldnet.att.net.invalidwrote in
news:u1********************************@4ax.co m:
>>What information are you trying to get at?

There are API calls and functions built into Access that can do
almost everything that you can get via the FileSystem object.

It's quite useful for checking if network shares are available.
There's no accurate way to do that with the built-in Access
commands (other than attempting to write to it, which requires
cleanup).

You can use API calls for that, David. No problem. NetShareEnum,
for example, shows what shares are available.
With late binding of the FSO, what's the downside? It's easy and
fast without needing to have the API code loaded. What am I missing?

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Nov 30 '07 #5
On 30 Nov 2007 00:29:46 GMT, "David W. Fenton"
<XX*******@dfenton.com.invalidwrote:
>Chuck Grimsby <c.*******@worldnet.att.net.invalidwrote in
news:db********************************@4ax.com :
>On 28 Nov 2007 00:52:07 GMT, "David W. Fenton"
<XX*******@dfenton.com.invalidwrote:
>>>Chuck Grimsby <c.*******@worldnet.att.net.invalidwrote in
news:u1********************************@4ax.com :

What information are you trying to get at?

There are API calls and functions built into Access that can do
almost everything that you can get via the FileSystem object.

It's quite useful for checking if network shares are available.
There's no accurate way to do that with the built-in Access
commands (other than attempting to write to it, which requires
cleanup).

You can use API calls for that, David. No problem. NetShareEnum,
for example, shows what shares are available.

With late binding of the FSO, what's the downside? It's easy and
fast without needing to have the API code loaded. What am I missing?
Using the FSO loads a bunch of stuff that isn't needed.
The FSO calls those APIs anyways, so there's a layer that's skipped as
well. Granted, that's not all that important anymore in these days of
cheap memory, but I'm "old school" about that. <Grin>

I also remember the days when scripting was routinely blocked by
Network Admins on most computers. That's not so true these days, NAs
and IT Departments have come to trust (and rely on!) scripts to do the
simplest of things, but old habits die hard. And I do still
occasionally run into conditions where scripts aren't allowed. No one
blocks API calls, so....

What's the upside of using the FSO?

Please Post Any Replies To This Message Back To the Newsgroup.
There are "Lurkers" around who can benefit by our exchange!
Nov 30 '07 #6
Chuck Grimsby <c.*******@worldnet.att.net.invalidwrote in
news:1u********************************@4ax.com:
What's the upside of using the FSO?
Fewer lines of code.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Dec 4 '07 #7

"David W. Fenton" <XX*******@dfenton.com.invalidschreef in bericht news:Xn**********************************@66.250.1 46.128...
Chuck Grimsby <c.*******@worldnet.att.net.invalidwrote in
news:1u********************************@4ax.com:
>What's the upside of using the FSO?
Fewer lines of code.

--
David, did you change your mind on the WSH - issue ??
I remember you telling here to disable the WSH scripting host...

Or am I missing something here ?? FSO means WSH right ??

Arno R

Dec 4 '07 #8

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

Similar topics

7
by: Mark DuPrey | last post by:
I've got a script in an ASP page that is supposed to extract certain files from a zip file, move them, create a new zip with the moved files and then make a self-extracting archive out of the new...
2
by: Lin Ma | last post by:
Greetings, Is it possbile to check a file exist without using Server.CreateObject("Scripting.FileSystemObject") in asp page?? The reason is our hosting company turn that function off for...
5
by: Andrew | last post by:
Hi, experts, My system has a problem when I invoke the fileSystemObject to create a text file (it worked ok long before.) The asp seems running, but actually never finishes. I don't know what I...
3
by: bt | last post by:
I am just beginning with asp and have gotten an error that I need some help with. I posted a pair of files to an online ASP host server. The files are in the same directory; one is readfile.asp...
2
by: Stavros | last post by:
Hi all when I execute the following VB6 code in Windows 2000 and as an Administrator, everything is working fine. Project->References->"Microsoft Scripting Runtime" and scrrun.dll is located...
4
by: MoF | last post by:
Hello! I have for a long time used the line: Set FS=Server.CreateObject("Scripting.FileSystemObject") in my ASP code. Suddenly one day this week it stopped working and I now get the error: ...
1
by: chsmith | last post by:
I'm calling a .net / c# .dll from .ASP via Server.CreateObject(). I regasm, gacutil /i and all runs fine on XP SP1 or older. SP2 registry subracts System (??) from the registry root nodes and...
0
by: hellind | last post by:
When the form is submitted as ENCTYPE="multipart/form-data" using AspUpload component, I understand to use Upload.form("") to retreive the form elements. But I cannot retreive it from inside a class....
3
by: =?Utf-8?B?VG9kZA==?= | last post by:
trying to access files located on another server within the network. the folder is shared out and we created a virtual directory as well. The error is Microsoft VBScript runtime error '800a004c'...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.