I am trying to create a C# dll for use with a VBA project. I have my class and have created an interface to be exposed to COM. The class has a single method i want to expose, but with 2 constructors. THe interface looks like this:
[Guid("A92226CF-99D4-4bcd-9F9A-7AB1EE95B0FC")]...
I am using the following snippet of code to get a list of printers installed on a remote computer:
Set colInstalledPrinters = objWMIService.ExecQuery ("Select * from Win32_Printer")
For Each objPrinter in colInstalledPrinters
msgbox objPrinter.Name
Next
The remote computer has 2 printers...
If i install a VPN capable firewall, and close off all ports other than the VPN port, can i get away without running antivirus on my computer?
How big is the threat of infection / system compromise?
If ISA is configured to sit between a DMZ (on the 192.168.x.x range) and our LAN (10.1.x.x) range, can ISA be configured so that any FTP requests made from the LAN are forwarded onto the FTP server in the DMZ?
I am having a strange problem with unattended backups from a command line in NTBackup.
I have scheduled my backups to run at 3:30am, but they keep "failing". Although there are no errors logged, the backup report generated by NTBackup is blank, and the scheduled task exits with a status code of...
Occasionally, some of our Dell SC440's do not reboot following an init 6.
The last message on screen is "The system is down", but it does not receive the Automatic Boot Procedure call.
SCO have confirmed that the reboot call is a standard BIOS instruction and is no longer anything to do with...
Somehow our ISA 2004 Server has got borked. There is a particular rule, that when you try to click the "Networks" tab, a "Fatal Error" is displayed. ISA itself is working ok, but if we try to make any changes and apply them, the same "Fatal Error" occurs (that includes trying to delete this...
I have configured ISA 2004 with a Web publishing rule for Microsoft's CRM Mobile, but i am having problems accessing it form the internet (LAN access works fine)
Occasionally, browsing to the site gives either an error 403 or 500. THen refreshing a couple of times brings up a dialog. I can then...
I am setting up a Disaster Recovery environment for our Exchange 2003 server that, when up and running, will provide OWA access to peoples e-mail on a backup server.
Although only OWA will be used to access e-mail, will each user still need a Windows Server CAL as well as an Exchange CAL...
I use the following script to install a printer connection to a printer stored on a web server:
rundll32 printui.dll,PrintUIEntry /b "\\http://10.1.1.92\Printer1" /if /f %windir%\inf\ntprint.inf /x /n "Printer1" /r "http://10.1.1.92/printers/Printer1/.printer" /m "HP LaserJet 4050 Series PCL 6"...
We have had Demon HomeOffice 8000 installed at work but we cannot get the router (we have tried 2 routers in total) to sync with the exchange UNLESS we plug a phone into the filter and make a phone call on it. Then as soon as we hang up the phone, the router loses sync.
I have tested the...
I am trying to get our SCO 5.0.7 Server virtualised in VMWare.
I have used the procedures found at http://www.rcmb.ca/sco-restore.htm and have been able to get the RecoverEdge boot cd to load and detect the hard disk / cd-rom / USB Tape drive. But when i start the restore process, all the files...
Is there a VB .Net class / method that allows the ability to clone or do a byte for byte copy of the hard disk?
Alternatively, can anyone point me to some sample code for doing thanks
Thanks in advance
Our company has two identical Windows 98 computers. All they run is Windows 98 and our business app. Each computer has the Windows 98 OEM license key stuck on the side of the base unit.
We have lost the recovery cd's and one of the hard disks has failed. Am i allowed to clone the other machine...
I have two very separate, very private subroutines. They both employ the following code:
Dim xlApp As New myExcel.Application
Dim xlBook As New myExcel.Workbook
Dim xlSheet As New myExcel.Worksheet
xlBook = xlApp.Workbooks.Add
xlSheet =...
I have added a reference in my project, and added the "Microsoft Web Browser" control to my tool box, but when i try to put the control on a form, i get a "Library Not Registered" error.
I tried running regsvr32 on the dll, but i still get the same error.
I have written an application that works fine on 99% of computers. The other computer displays the window correctly, in the right proportion, but chops 1/3 of a richtextbox width off. It only happens on one computer.
Any ideas?
We use IPP printing, but sometimes the IIS site is down so we can't install the printers. We know the printers port name and the printer type, but how do i manually install the http port, i can't see it as an option.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.