K
Kevin
I'm tired of coding in vbscript, and the lack of controls and events in an
Outlook form. I have a custom contact form that uses only a handful of
contact info fields (name, address, phone numbers, and categories....), but
has a bunch of code to maintain categories, and display sorted listboxes of
attachments.
I'd really like to use VB6 to speed coding, use some nice controls (like
arrays!) and get double click and drag events.
So here's my idea. Have the Outlook contact form have this code:
Function Item_Open()
set shell = CreateObject("WScript.Shell")
shell.Run "MyVB6Form.exe" & Item.EntryID & " " & Item.Parent.storeID
Item.Close 1
End Function
Where "MyVB6Form.exe" is a Visual Basic app that accepts the EntryID, reads
the half dozen contact fields from Outlook, and then displays them. When
the user closes the form, the contact info is written back to Outlook.
I know I'll have to install the app on each client, but I'm installing a COM
module anyway. And more effort is involved up front, but code maintenance
and debugging has to be easier than vbscript, so I think it's a win in the
long run.
Am I missing something obvious that will catch me later? Any comments?
Thanks,
Kevin
Outlook form. I have a custom contact form that uses only a handful of
contact info fields (name, address, phone numbers, and categories....), but
has a bunch of code to maintain categories, and display sorted listboxes of
attachments.
I'd really like to use VB6 to speed coding, use some nice controls (like
arrays!) and get double click and drag events.
So here's my idea. Have the Outlook contact form have this code:
Function Item_Open()
set shell = CreateObject("WScript.Shell")
shell.Run "MyVB6Form.exe" & Item.EntryID & " " & Item.Parent.storeID
Item.Close 1
End Function
Where "MyVB6Form.exe" is a Visual Basic app that accepts the EntryID, reads
the half dozen contact fields from Outlook, and then displays them. When
the user closes the form, the contact info is written back to Outlook.
I know I'll have to install the app on each client, but I'm installing a COM
module anyway. And more effort is involved up front, but code maintenance
and debugging has to be easier than vbscript, so I think it's a win in the
long run.
Am I missing something obvious that will catch me later? Any comments?
Thanks,
Kevin