PDA

View Full Version : Urgent, VB registry settings


Kram
06-09-2004, 08:25 PM
Ok, heres what I need. I have installed a program called "ClickToConvert" which converts .doc to .pdf files.

I needed to know how to use it from the command line, the support guy replied with a list of things to do in a VB script, but none of which I know how to do. bummer!!

So what I need from you guys is a was or example of how to change registry settings, the settings which need to be changed are:

HKEY_CURRENT_USER\Software\Inzone Software\Click to Convert\ShowUI

HKEY_CURRENT_USER\Software\Inzone Software\Click to Convert\ShowProgressUI

HKEY_CURRENT_USER\Software\Inzone Software\Click to Convert\CreatePDF

HKEY_CURRENT_USER\Software\Inzone Software\Click to Convert\PDFFilename


for a better view of these go here:
http://www.clicktoconvert.com/Developers/developers.html

thanks you in advance

Kram
06-09-2004, 08:34 PM
Also here is the email he sent me:


Dear Mark,

The process of converting a MS Word document to PDF or HTML using Click to
Convert is relatively simple and can be accomplished from the command line.

You need to create a simple VBScript to handle the conversion task. Because
Click to Convert works as a software/virtual printer, your script needs to
do the following:-

1. Set the Click to Convert Registry settings that control the conversion
process - these are detailed in the online Developer page at our website.
You need to set values for ALL the registry settings. And, you need to make
sure the ShowProgressUI value is set to 1.

2. The script then prints the MS Word file to the Click to Convert II
software-only printer.

3. Click to Convert will detect the new print job and convert it into PDF
and/or HTML based on your Registry settings that the script set.

Please let me know how this goes Mark.

Regards,

InfernoHost
06-09-2004, 09:32 PM
You may want to try http://www.xtremevbtalk.com/.

There's a ton of VB how to's over there - just do a search.

Good luck!

James

InfernoHost
06-09-2004, 09:37 PM
I just did a quick search, and came up with this:

http://www.xtremevbtalk.com/showthread.php?t=170406

Hopefully it will do what you want.

James

scoutt
06-10-2004, 08:07 AM
it all depedns on what you need to set in those keys.

making a .reg file will set them easy.

HKEY_CURRENT_USER\Software\Inzone Software\Click to Convert\ShowUI
"KeyNameHere"=dword:00000000

that is 0 for no, a 1 is like this

dword:00000001

but you have to know the names first.

Kram
06-10-2004, 11:03 PM
Oh ok thanks scoutt, but i the name of the key is actually "ShowUI" it can be set from 1 to 0 to show the user interface or not while converting...

scoutt
06-10-2004, 11:09 PM
oh ok, you should get the idea though right?

Kram
06-11-2004, 12:52 AM
yeah yeah yeah, i get ya. :) I was just pointing that out for clarification to anyone who may be reading this thread