Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
VB.NET and New Profile
System
I have a VB6 app integrated with FileSite where I call up the New Profile Dialog to profile new documents. Currently, the pCmd_OnInitDialog event(where I set the profile fields) fires when I call pcmd.execute(See code below). I am trying to convert my code to .NET and this code is not firing anymore. Any ideas? Joe
pCmd = New IMANEXTLib.ImportCmd
pContext = New IMANEXTLib.ContextItems
'Add required contextitems
pContext.Add("ParentWindow", Me.Handle.ToInt32)
pContext.Add("DestinationObject", Activedb)
pContext.Add("IManExt.Import.Filename", myPath)
'Initialize the ImportCmd to point to the proper ContextItems collection
pCmd.Initialize(pContext)
'Use the update command to check if the command is available
pCmd.Update()
'If command is active, then it can be executed
If pCmd.Status = IMANEXTLib.CommandStatus.nrActiveCommand Then
pCmd.Execute()
Find more posts tagged with
Comments
There are no comments yet