Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


anirban
2009-06-12T10:18:05Z
Hello,

I downloaded VisualCron (v 5.1.2) and installed both client and server using the VisualCron.msi (installer). After installation, I opened the API guide in order to test the sample VB 6 code (given there) to call the API.

The prerequisite was to register the VisualCron type library. (As per the instruction in API guide). Please take a look at the attached document.

Under "COM Support" and "VB6 Example", I followed the first instruction. But the Regasm command fails. I visited your forum but found no such case of failure. But the regasm.exe is available on my machine...The search result shows regasm.exe paths on my machine.

Please support me fix this issue and understand your API usage from COM based platform (VB 6).

Regards,
Anirban Modak
File Attachment(s):
Advanced_scheduler.doc (95kb) downloaded 77 time(s).
Sponsor
Forum information
Support
2009-06-12T17:43:29Z
The problem is that regasm.exe is not located in any known path. You either have to:

1. copy it to VisualCron directory
2. specify the full path to the regasm command
3. copy the command to the windows folder
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
anirban
2009-06-15T07:45:52Z
Many thanks for your reply and support.

I copied the RegAsm command to the Windows folder and then issued the command for those 2 dlls, using their full path, as following:

regasm "C:\Program Files\Microsoft Visual Studio\VB98\VisualCronAPI.dll" /tlb:VisualCronAPI.tlb

Please look at the attached document, containing the screen shot.

1. "Types Registered Successfully". This is a success message.

2. But, the output shows a couple of lines like: "... cannot be exported to COM".

My question:

So, is there still some issue left, that will affect my work (with API) in future, although the assembly was registered ? If so, what is the way out ?

Ultimately, I want to work with the COM API only from VB and ASP development platform.
File Attachment(s):
Regasm Issue3.doc (40kb) downloaded 78 time(s).
Support
2009-06-15T11:59:19Z
Those are just warnings of types that cannot be exported and should not affect it. It should be registered correctly now.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
anirban
2009-06-15T12:17:45Z
Yes, now they are successfully registered.

Thanks for your info / support.
Support
2009-11-27T14:49:37Z
Hi,

just wanted to update you that the later versions, from 5.4.6. should be possible to register by yourself using RegAsm.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top