Thank you very much, setting the MIMEFormatted property to False seems to have worked. It was hard to see what was wrong with the attachment as word just wouldn't open it and the actual file was ok.
Thanks again
Hi
I am having a problem with certain word documents I am sending via CDO message. Some attachments are ok but some cause problems when they are being opened in word. The original document is ok, it is just the attachment that is causing a problem.
The code i am using is
Set MyMail =...
The InchesToPoints as far as I can tell are part of word document pagesetup object. I can't see any difference in this code to examples I have seen on the web.
I am trying to use the following code to open and format a word document but it fails with
Microsoft VBScript runtime error: Type mismatch: 'InchesToPoints'
I have no idea what is wrong with the code which uses word97
Dim appWord
Set appWord = CreateObject("Word.Application")...
I take it that you mean if either of the three values have 0 in them then return 0. If this is so, just multiply the three values together and if one of them is zero the answer will be zero ie IF((x1*Y1*z1)=0,0,....) or i could be completely wrong .....
Pardon my ignorance, I know very little about backups, never mind Veritas software, but does any one know of a utility like tapetest in arcserve that can be run on the command line and return the name of the tape that is loaded in the drive?
Thanks for the replies. The problem i had was that the filenames were being generated in part by parameters being passed in. I had the If exists statement in the code but due to the parameter, the filename had a space in it. This meant that the IF statement didn't work (I assume it was...
I am using a batch file to open a document in word and run a macro against it using the /m switch. Normally this works fine. However, if the file name doesn't exist, word just hangs and expects a key press to clear a message box. This code needs to be run in batch mode without user...
Does anyone know how I could run a test backup i.e. backup up a server but not write to tape, in a job run through arcbatch. Any pointers would be appreciated
:^)
I need to write some vbscript to send mail using the logon method.
ie Set myNameSpace = myOut.GetNameSpace("MAPI")
myNameSpace.Logon "profile", "password", False, True
This works fine if it is set to display the logon dialog box, but if this is set to false, then...
We run some sql scripts on NT through a scheduler running batch files. This has been working fine. However, we have discovered that if the sqlplus can not connect to the server it will report the above error, but sqlplus itself will not pass the error code back. It exits with a Zero, after...
Thanks for that but unfortunately it doesn't mention specifying a particular tape to use. We can do this with Arcserve using the Arcbatch utility but we may need to do this with the veritas software.
Thanks
We need to be able to kick off a back up using the AT scheduler and batch files and I believe you can use the BEMCMD.EXE utility to do this but I can't find any information as to specifying a specific tape in the library.
Does anyone know if this is possible?
I have been trying to get a batch file using the soon command to put a job in the AT scheduler on a remote server. When it runs, it comes back with the message 'Access is Denied' although I am running it from a server in the same domain. This works with other PCs and servers. Has any one a ideas
Sorry - just starting in ASP but is there a way of writing out a text file on another server that can be seen by the intranet server. I need to write out a file but it has got be located on another server to be picked up and processed. Is there a way of doing this or will I have to approach...
Arperry
Unfortunately unless you can find a third-party piece of software to do this you can not create PDF's on a server using any part of Acrobat as it is against their license.
Check the adobe user to user forum on this issue - it has been discussed many, many times as others have tried to...
We have just installed Arcserve 2000 and are having a problem re-running jobs. We set up a job to back up to a particular tape and the first time it runs it works. When we run it again, either through arcserve manager or arcbatch, we find that the first run has changed the tape's sequence...
Thanks very much - it did work for NT.
What I have done in the end is use somthing very similar
@echo Creating file name.txt 2> c:\name.txt
Because there are no errors from the echo statement none are directed (through '2>' ) to the new file which is created anyway.
Thanks for pointing the way
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.