loading a form in outlook addin

E

edo

hi,

unfortunatelly, the information i can tell about my problem is not
much. there is an addin-app that is written in VB6. i had not written
it, it had been written by someone else. i'm not a VB programmer , but
i could get into this code and debug it with VB6. actually, much of
this code had been donloaded from the Internet, as an example of
outlook addins, and it had been adjasted to our specific need.

well, in short, the problem is that this addin-app is working OK in
two certain stations ONLY (one of them is this station where i can
debug it with vb6), but in all other stations we tried to install it
make the same strange behavior.

this addin-app is working fine (connecting to an MSSql database,
showing messages, triggering the expected events like when the
selection in the calander is changes) untill a certain point, where it
should show a form.

at this point, i can debug the following line

MyForm.Show vbModal

and right after it, the running progress is continuing STRIGHT into
the
Form_Load()
of my form .

BUT: this is just not the case in almost any other stasion.
i declared a variable like:

Public strGlogalMsg As String

i wrote lines like :

strGlogalMsg = strGlogalMsg + " [A1] "

in many places inside the code, in order to verify where exactly the
running goes. in some point later, i made a message box that shows
this strGlogalMsg.

i can tell, that in other stations, it just never goes into the
Form_Load !!?!

in some point before, another form is aslo showed with no problem.

it looks like something is missing, maybe something that is related to
the VB installation??

the outlook version in most of our tests, and also in the 2 stations
that work fine is:
Outlook 2000 9.0.0.2814

we also tried it on Outlook 2003, and had exactly the same behavior.


thanks in advance for any help!
edo.
 
K

Ken Slovak - [MVP - Outlook]

It's hard to say from your description what the problem is. Does the form
exist in the VB project? Does it have any custom controls in it that might
not be distributed or registered on the machines where it doesn't work?
 
E

edo

hi,

well, you certainly made this blind-shot!!

there was this DataCombo control from MsDatLst.ocx that was not
distributed and registered.

thank you very much!!
edo.


Ken Slovak - said:
It's hard to say from your description what the problem is. Does the form
exist in the VB project? Does it have any custom controls in it that might
not be distributed or registered on the machines where it doesn't work?




edo said:
hi,

unfortunatelly, the information i can tell about my problem is not
much. there is an addin-app that is written in VB6. i had not written
it, it had been written by someone else. i'm not a VB programmer , but
i could get into this code and debug it with VB6. actually, much of
this code had been donloaded from the Internet, as an example of
outlook addins, and it had been adjasted to our specific need.

well, in short, the problem is that this addin-app is working OK in
two certain stations ONLY (one of them is this station where i can
debug it with vb6), but in all other stations we tried to install it
make the same strange behavior.

this addin-app is working fine (connecting to an MSSql database,
showing messages, triggering the expected events like when the
selection in the calander is changes) untill a certain point, where it
should show a form.

at this point, i can debug the following line

MyForm.Show vbModal

and right after it, the running progress is continuing STRIGHT into
the
Form_Load()
of my form .

BUT: this is just not the case in almost any other stasion.
i declared a variable like:

Public strGlogalMsg As String

i wrote lines like :

strGlogalMsg = strGlogalMsg + " [A1] "

in many places inside the code, in order to verify where exactly the
running goes. in some point later, i made a message box that shows
this strGlogalMsg.

i can tell, that in other stations, it just never goes into the
Form_Load !!?!

in some point before, another form is aslo showed with no problem.

it looks like something is missing, maybe something that is related to
the VB installation??

the outlook version in most of our tests, and also in the 2 stations
that work fine is:
Outlook 2000 9.0.0.2814

we also tried it on Outlook 2003, and had exactly the same behavior.


thanks in advance for any help!
edo.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top