Hi,
I have meet a problem for CreateObject("S cripting.FileSy stemObject").
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.c om http://www.accessmonster.com/Uwe/For...ccess/200711/1 7 6467
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.c om"
<u39077@uwewrot e:
>Hi,
I have meet a problem for CreateObject("S cripting.FileSy stemObject").
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!
Chuck Grimsby <c.*******@worl dnet.att.net.in validwrote in
news:u1******** *************** *********@4ax.c om:
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/
On 28 Nov 2007 00:52:07 GMT, "David W. Fenton"
<XX*******@dfen ton.com.invalid wrote:
>Chuck Grimsby <c.*******@worl dnet.att.net.in validwrote 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!
Chuck Grimsby <c.*******@worl dnet.att.net.in validwrote in
news:db******** *************** *********@4ax.c om:
On 28 Nov 2007 00:52:07 GMT, "David W. Fenton" <XX*******@dfe nton.com.invali dwrote:
>>Chuck Grimsby <c.*******@worl dnet.att.net.in validwrote 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?
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
On 30 Nov 2007 00:29:46 GMT, "David W. Fenton"
<XX*******@dfen ton.com.invalid wrote:
>Chuck Grimsby <c.*******@worl dnet.att.net.in validwrote in news:db******* *************** **********@4ax. com:
>On 28 Nov 2007 00:52:07 GMT, "David W. Fenton" <XX*******@df enton.com.inval idwrote:
>>>Chuck Grimsby <c.*******@worl dnet.att.net.in validwrote in news:u1***** *************** ************@4a x.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!
Chuck Grimsby <c.*******@worl dnet.att.net.in validwrote in
news:1u******** *************** *********@4ax.c om:
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/
"David W. Fenton" <XX*******@dfen ton.com.invalid schreef in bericht news:Xn******** *************** ***********@66. 250.146.128...
Chuck Grimsby <c.*******@worl dnet.att.net.in validwrote in
news:1u******** *************** *********@4ax.c om:
>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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 zip file.
I'm doing this using wshShell.Exec, the WinZip command line tool and
zip2exe.exe from the pkware suite (because WinZip's command line
doesn't support creating self-extracting archives and for historical
compatibility reasons). This is...
|
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 security
reason.
Here is my original code:
<%
|
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 done
wrong to the server. How can I fix the problem? Is there a way to resinstall
the filesystemobject to the server? Thanks for any idea.
--
Andrew
|
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 which should open
the other which is a simple text file - newText.txt .
Here is readfile.asp :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
|
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 in C:\WINNT\System32
Sub Main()
Dim fs As FileSystemObject
| |
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:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
|
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 .ASP
calling my .net dll breaks with Invalid class string to the browser.
I find that I can fix a SP2 box by adding the IIS user to the permissed
users for each .dll object in the registry.
IE: regedt32, HKEY_CLASSES_ROOT.your_dll_class
|
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.
Anybody can help?
The form page goes to upload.asp, where inside upload.asp it calls the class which reads the form element and return back the values.
Here is the code of the class.
Class pluginFileTransfer
Public path,...
|
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' Path not found
Here is my code
<%
dim fs,fo,x
set fs=Server.CreateObject("Scripting.FileSystemObject")
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |