Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA with IBM Personal Communications

Status
Not open for further replies.

davidklk

Technical User
Oct 27, 2010
1
GB
Hi all

I wasnt sure which sub forum to put this in, so if you think its better elsewhere please let me know and i'll move it.
I have written some code in vba in excel to automate a repetative task in IBM Personal Communication (PCOMM). - The code itself works fine, but the problem is once the excel session is closed the PCOMM window sporadically runs slowly, as if waiting for a response.

I have tried cutting the code to a minimum and found that even the following affects it:

DIM oPC as Object
Set oPC = CreateObject("PCOMM.autECLPS")
oPC.SetConnectionByName("A")
Set oPC = nothing

The code is designed to manipulate an already running instance of the Pcomm application.

If needed, information on the PCOMM API can be found at:


If anyone can shed some light on this I would be eternally grateful as its driving me up the wall!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top