Re: Err.Number -2147023099 WSHNetwork.AddWindowsPrinterConnection
- From: "Andy" <Andy@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 16 May 2005 08:14:01 -0700
McKirahan:
Thanks the help. Unfortunately I have already done that and this is how I
know the number and the error.
Thanks
Andy
"McKirahan" wrote:
> "Andy" <Andy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:2BE33B8C-9E43-4B4A-A72C-073CEA600165@xxxxxxxxxxxxxxxx
> > I am trying to write a .vbs file that is used as a login script. The
> script
> > is working great for every system except Windows98 machines. When I
> > encounter this line:
> > WSHNetwork.AddWindowsPrinterConnection "\\Path", "Driver"
> >
> > I get an Error with an Err.Number = -2147023099
> >
> > I cannot seem to find any reference to this error number, nor do I know
> what
> > could be happening.
> >
> > Any suggestions or advice would be greatly appreciated.
> >
> > Thanks
> > Andy
>
> Add
> On Error Resume Next
> before
> WSHNetwork.AddWindowsPrinterConnection "\\Path", "Driver"
> and
> WScript.Echo Err.Description
> after it.
>
> Does that help to identofy the problem?
>
>
>
.
- References:
- Prev by Date: Re: Err.Number -2147023099 WSHNetwork.AddWindowsPrinterConnection
- Next by Date: Re: Access LDAP over Network
- Previous by thread: Re: Err.Number -2147023099 WSHNetwork.AddWindowsPrinterConnection
- Next by thread: RE: Err.Number -2147023099 WSHNetwork.AddWindowsPrinterConnection
- Index(es):
Relevant Pages
|