Steps for calling peoplesoft CI from VB code

Tools 8.49

Create CI
Grant permissions for CI
Build APIs and run the peoplesoft_peoplesoft.reg file to send the entries from .Reg file to System registry

Also make sure these steps are looked at:
1. Ensure that you have Sun's 1.3.1 jre available for toolsinstallations prior to 8.44, and the 1.4 jre for 8.44. If you don't havethe full JDK, PeopleTools ships the JRE 1.3 (and 1.4 for PT 8.44x)in the\jre directory.
2. Env - CLASSPATH pointing to psjoa.jar (such asc:\pt840\web\psjoa\psjoa.jar). When setting this property double checkto make sure that it is being picked up at runtime (you can try openinga DOS prompt, typing set, then hitting , and checking to see ifthis entry is there.
- System Path pointing to PeopleTools installation's winx86 dir (ex.c:\pt840\bin\client\winx86)
- System Path pointing to \jre\bin\hotspotdirectory (for example, C:\pt841\jre\bin\hotspot) for toolsinstallations prior to 8.44. For 8.44 and later it should be\jre\bin\client.

3. Generating the API classes - It is best if you can generate these on the machine and directorythat they need to go in (normally it is winx86 - for example,c:\pt840\bin\client\winx86). If you're going to move them to othermachines, make sure that the other machines use the same directorystructure for the winx86 and tlb file location - such asc:\pt840\bin\client\winx86. Also, make sure that the other clientmachines have the winx86 directory files in them.
- when generating the tlb file, make sure that you provide the path(such as c:\pt840\bin\client\winx86) for the tlb file and COM serverlocation. Check the clean up the registry check box. I also recommendthat you manually register the tlb file to make sure it has beenregistered.
- When working with your VB project, make sure that you add thereference to the tlb file and check to make sure the path to it iscorrect (you might see multiple peoplesoft_peoplesoft.tlb files - selectthe checkbox for the appropriate entry). Then create your exe file. Ifyou're going to copy the exe to another machine, make sure that itsdirectory structure (with respect to Peoplesoft) is the same as the oneyou're building on.

1 comment:

  1. I have a Windows 2008 64 bit OS running a server I want to run by VB6 code. The issue is that I am unable to run the code as the ActiveX component can't create. The same .tlb and .reg is running smooth on the 32 bit machine. Any ideas?

    ReplyDelete