Calling a Visual Basic Program from JD Edwards EnterpriseOne Software

You can call a Visual Basic program from a JD Edwards EnterpriseOne business function and pass a parameter from the Visual Basic program to the JD Edwards EnterpriseOne business function using this process:

  1. Write the Visual Basic program into a Visual Basic .dll that exports the function name of the program and returns a parameter to the JD Edwards EnterpriseOne business function.

  2. Write a business function that loads the Visual Basic .dll using the win32 function LoadLibrary.

  3. In the business function that you create, call the win32 function GetProcAddress to get the Visual Basic function and call it.