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

VB Script

The following VB script stopped working after installing Internet
Explorer 7. This is done using an Intranet web site. Can anyone tell
me why it stopped working since it worked just fine prior to IE7.

<html>
<head>
<meta http-equiv=refresh content="3; url=http://www.bestglove.com/
vendornet/labels/verifylogin.asp">
</head>
<body>
<script>
history.forward();
</script>
<script language="VBScript">

Set obfs = CreateObject("Scripting.FileSystemObject")
Set obPrinter = obfs.CreateTextFile("COM1:", True)

obPrinter.Writeline("{1;6;3812-07;6X12;14;SKINNY DIP THERMAL;BEST
MANUFACTURING CO.;MENLO GEORGIA 30731;1;DOZEN

PAIR;6;3812-07; ;6070450189;N; ;N;N;N;N;N;N;N; ;MADE IN
MALAYSIA; ; ; ; ; ; ; ; ;

;Print;607045A9;N;;;3805499597;P;2007-2;2007-2;N;COATICOCK, QC
J1A1A9;B-2160 WOMMELGEM; ; ; ; ;N;7; ; ; ; ; ;;(6

kg);lb;;;MYOVAL;BEST GLOVE MANUFACTURING LTD;BEST MANUFACTURING EUROPE
N.V.; ; }")
On Error Resume Next
obPrinter.Close


</script>

<br><br><br><br><br><br><br><br><br><br><br><br>
<center><h1>Printing Labels, Please Stand By</h1></center>
<center><h2>You will be Returned to the selection page, momentarily.</
h2></center>

<!--<CENTER><h1>Dave, remember to point out any errors to Richard,
hehehehe!!!!!</h1></CENTER>-->
</body>
</html>

Feb 19 '07 #1
2 1285
This groups is for ASP.NET which has little to do with your issue. Try the
Classic ASP or the Internet Explorer newsgroup.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"dh*******@bestglove.com" wrote:
The following VB script stopped working after installing Internet
Explorer 7. This is done using an Intranet web site. Can anyone tell
me why it stopped working since it worked just fine prior to IE7.

<html>
<head>
<meta http-equiv=refresh content="3; url=http://www.bestglove.com/
vendornet/labels/verifylogin.asp">
</head>
<body>
<script>
history.forward();
</script>
<script language="VBScript">

Set obfs = CreateObject("Scripting.FileSystemObject")
Set obPrinter = obfs.CreateTextFile("COM1:", True)

obPrinter.Writeline("{1;6;3812-07;6X12;14;SKINNY DIP THERMAL;BEST
MANUFACTURING CO.;MENLO GEORGIA 30731;1;DOZEN

PAIR;6;3812-07; ;6070450189;N; ;N;N;N;N;N;N;N; ;MADE IN
MALAYSIA; ; ; ; ; ; ; ; ;

;Print;607045A9;N;;;3805499597;P;2007-2;2007-2;N;COATICOCK, QC
J1A1A9;B-2160 WOMMELGEM; ; ; ; ;N;7; ; ; ; ; ;;(6

kg);lb;;;MYOVAL;BEST GLOVE MANUFACTURING LTD;BEST MANUFACTURING EUROPE
N.V.; ; }")
On Error Resume Next
obPrinter.Close


</script>

<br><br><br><br><br><br><br><br><br><br><br><br>
<center><h1>Printing Labels, Please Stand By</h1></center>
<center><h2>You will be Returned to the selection page, momentarily.</
h2></center>

<!--<CENTER><h1>Dave, remember to point out any errors to Richard,
hehehehe!!!!!</h1></CENTER>-->
</body>
</html>

Feb 19 '07 #2
IE 7 has higher security. your users will have to manually configure a
custom level (trusted is not high enough) to use the filesystem object.
also, once enabled, IE will nag them that the settings are unsafe.

-- bruce (sqlwork.com)
dh*******@bestglove.com wrote:
The following VB script stopped working after installing Internet
Explorer 7. This is done using an Intranet web site. Can anyone tell
me why it stopped working since it worked just fine prior to IE7.

<html>
<head>
<meta http-equiv=refresh content="3; url=http://www.bestglove.com/
vendornet/labels/verifylogin.asp">
</head>
<body>
<script>
history.forward();
</script>
<script language="VBScript">

Set obfs = CreateObject("Scripting.FileSystemObject")
Set obPrinter = obfs.CreateTextFile("COM1:", True)

obPrinter.Writeline("{1;6;3812-07;6X12;14;SKINNY DIP THERMAL;BEST
MANUFACTURING CO.;MENLO GEORGIA 30731;1;DOZEN

PAIR;6;3812-07; ;6070450189;N; ;N;N;N;N;N;N;N; ;MADE IN
MALAYSIA; ; ; ; ; ; ; ; ;

;Print;607045A9;N;;;3805499597;P;2007-2;2007-2;N;COATICOCK, QC
J1A1A9;B-2160 WOMMELGEM; ; ; ; ;N;7; ; ; ; ; ;;(6

kg);lb;;;MYOVAL;BEST GLOVE MANUFACTURING LTD;BEST MANUFACTURING EUROPE
N.V.; ; }")
On Error Resume Next
obPrinter.Close


</script>

<br><br><br><br><br><br><br><br><br><br><br><br>
<center><h1>Printing Labels, Please Stand By</h1></center>
<center><h2>You will be Returned to the selection page, momentarily.</
h2></center>

<!--<CENTER><h1>Dave, remember to point out any errors to Richard,
hehehehe!!!!!</h1></CENTER>-->
</body>
</html>
Feb 19 '07 #3

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

Similar topics

6
by: Mike Daniel | last post by:
I am attempting to use document.write(pageVar) that displays a new html page within a pop-up window and the popup is failing. Also note that pageVar is a complete HTML page containing other java...
3
by: Water Cooler v2 | last post by:
Questions: 1. Can there be more than a single script block in a given HEAD tag? 2. Can there be more than a single script block in a given BODY tag? To test, I tried the following code. None...
19
by: thisis | last post by:
Hi All, i have this.asp page: <script type="text/vbscript"> Function myFunc(val1ok, val2ok) ' do something ok myFunc = " return something ok" End Function </script>
3
by: rsteph | last post by:
I have a script that shows the time and date. It's been working on my site for quite a while now. Suddenly it stops showing up, after getting my drop down menu to work. If I put text between the...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
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
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...
0
marktang
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.