[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference utrop1::lnx_apo

Title:LinkWorks APO
Moderator:HLDE01::SYSTEM
Created:Tue Feb 22 1994
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:476
Total number of notes:1817

461.0. "VB slow form" by NETRIX::"gerard.flamion@lvg.mts.dec.com" (gerard flamion) Fri Feb 07 1997 17:51

Wish :
Use a simple form to enter attributes during the creation 
of an object. (e.g. auto obdc call for entry validation, etc..)

A solutionn:
I've used VB (call from a method during object creation:

  for WSTYPE_DOSWIN = MEXT_COMMANDLINE ("VBTest.exe -create 
                       {Object.Reference} <Integer>");
In this VB program I'm calling LinkWorks via OLE to add new attributes
 to new object

Conclusions : It's running but it's Sloooooowwwwwww !
Just to start the forms it takes seconds..

Do you have any hints to speed up this forms ?

Thanks for any help,
Gerard FLAMION
-Digital Luxembourg-
[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
461.1suppdc.uto.dec.com::PETERS_MFri Feb 07 1997 19:533
Use C/C++. Visual Basic is slow.

Martin
461.2OLE server is better then exe, and a DLLTAV02::SHAPIRASat Feb 08 1997 11:2213
Gerard,

You can improve the VB performence by working with VB OLE server, rather then
an executable. You will then use Mext_DLL and not commandline.
The OLE server will call the form. 

For AA from your VB form, if the number of attributes you are refering to is 5+,
you will have to use a DLL to do the AA, rather then OLE Automation calls.


HTH,
Yariv 
>
461.3See note 457wijermvc.apd.dec.com::wijermars_vMon Feb 10 1997 14:521