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

Current concensus on using WSH libraries from Access

I've been following a policy of avoiding any libraries that come from the WSH
since some system admins (including me when I was part-time sysadmin) wouldn't
allow them on their systems.

Since then, MS has clamped down harder on security in that area, and there is
more and more code in the world that assumes these libraries will exist. If,
for instance, you want to stream to a file from SAX in MSXML from VB/VBA, the
FSO from WSH is the -only- way to do it.

So, at this point, it it becoming OK to make use of the WSH-provided libraries
for the very handy dictionaries and file system objects? Also Are they
tending to break or preserver binary compatability in WSH over time (in
contrast to, say, the common controls library)?
Nov 13 '05 #1
2 1532
Steve Jorgensen wrote:
I've been following a policy of avoiding any libraries that come from
the WSH since some system admins (including me when I was part-time
sysadmin) wouldn't allow them on their systems.

Since then, MS has clamped down harder on security in that area, and
there is more and more code in the world that assumes these libraries
will exist. If, for instance, you want to stream to a file from SAX
in MSXML from VB/VBA, the FSO from WSH is the -only- way to do it.

So, at this point, it it becoming OK to make use of the WSH-provided
libraries for the very handy dictionaries and file system objects?
Also Are they tending to break or preserver binary compatability in
WSH over time (in contrast to, say, the common controls library)?


I still have never used it, but I am interested in your SAX comment. I use the
MSXML library to do SAX parsing and for HTTP Requests and have never had to use
the WSH. What exactly do you mean "...stream to a file..."?

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2
On Fri, 26 Aug 2005 11:29:50 GMT, "Rick Brandt" <ri*********@hotmail.com>
wrote:
Steve Jorgensen wrote:
I've been following a policy of avoiding any libraries that come from
the WSH since some system admins (including me when I was part-time
sysadmin) wouldn't allow them on their systems.

Since then, MS has clamped down harder on security in that area, and
there is more and more code in the world that assumes these libraries
will exist. If, for instance, you want to stream to a file from SAX
in MSXML from VB/VBA, the FSO from WSH is the -only- way to do it.

So, at this point, it it becoming OK to make use of the WSH-provided
libraries for the very handy dictionaries and file system objects?
Also Are they tending to break or preserver binary compatability in
WSH over time (in contrast to, say, the common controls library)?


I still have never used it, but I am interested in your SAX comment. I use the
MSXML library to do SAX parsing and for HTTP Requests and have never had to use
the WSH. What exactly do you mean "...stream to a file..."?


If you want to use SAX to stream output directly to a file on disk, the only
IStream object I can find of that can do the job is in the FSO. If you want
to do it indirectly, you can output to an ADO Stream, then save that stream to
disk afterward, but that kinda defeats the point of SAX.
Nov 13 '05 #3

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

Similar topics

2
by: Gary Harvey | last post by:
I have a data intensive program that requires all data to be present in memory. I keep running out of memory at about 2G whenever I run my program. I tried using a 64 bit version of Perl and hit...
3
by: Kevin Ingram | last post by:
Is it possible to connect to devices and read SNMP data with ASP? I did a search and all I could find was utilities for sale to do it, wondered if it can be done using straight ASP. We are using...
14
by: deko | last post by:
This runs, but does not narrow to current week. suggestions appreciated! SELECT lngEid, dtmApptDate, Subject, Appt_ID FROM qry002 WHERE (dtmApptDate BETWEEN DateAdd("d",-weekday()+2,) And...
1
by: bdt513 | last post by:
I am trying to extract the values from a query using VBA. Specifically, I want to concatenate all the values of the "rosEmail" field from query "qselRosterEmailList" into one string (strEmails). I...
6
by: Kaushal Mehta | last post by:
Hello, I am using two third party softwares, cyrus IMAP and UW c-client and both of them are defining a function fatal with different signature. Here is the error "ld: fatal: symbol `fatal' is...
11
by: TheBurgerMan | last post by:
Hi all. I am using W2K3, .NET2 on a machine running AD and Exchange. I started getting the message below last week. I googled the error and not much was returned, but I did find this;...
2
by: Ray Booysen | last post by:
Hi all I have a question. I have a library in my webapp (1.1) that requires access to certain application cache and session variables. At the moment, I have been passing these in as parameters...
3
by: melnhed | last post by:
---Report the current filtered records from a Form--- Hello All, I've seen this topic discussed before, but the solution described then doesn't work in my particular case. My Config: ...
2
by: Dave | last post by:
After some digging, I discovered HttpContext.Current.Session is null when trying to access a session variable, username, in my upload.cs code which is in the App_Code folder. I just determined...
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
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
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...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.