This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Connect
- :
- FlexNet Connect Forum
- :
- VB Code
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 28, 2002
12:55 PM
VB Code
Here is the code I am using
Global Const productcode = "{063A27BB-E54C-4D1A-B246-636E8AE2B7D1}"
Dim pAgent As Object
Sub AppUpdate()
Set pAgent = CreateObject("DWUpdateService.Agent")
pAgent.AppUpdate productcode, AppMenu
End Sub
This update screen shows no updates. But if I run --
"C:\Program Files\Common Files\InstallShield\UpdateService\agent.exe" -au{063A27BB-E54C-4D1A-B246-636E8AE2B7D1} -AppMenu
from the commandline it works perfectly.
Is this part of the timeout issue? Please advise
Global Const productcode = "{063A27BB-E54C-4D1A-B246-636E8AE2B7D1}"
Dim pAgent As Object
Sub AppUpdate()
Set pAgent = CreateObject("DWUpdateService.Agent")
pAgent.AppUpdate productcode, AppMenu
End Sub
This update screen shows no updates. But if I run --
"C:\Program Files\Common Files\InstallShield\UpdateService\agent.exe" -au{063A27BB-E54C-4D1A-B246-636E8AE2B7D1} -AppMenu
from the commandline it works perfectly.
Is this part of the timeout issue? Please advise
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 31, 2002
04:30 PM
This is what I tried :
- Cut and paste above code in a Standard EXE file in VB
- Included from Project -> References -> DwUpdate Service 1.0 Type Library.
- Registered Version 6.0 with the agent.
- Called AppUpdate from Form_Load
I was able to see updates, I am not sure if there seems to be any thing wrong with the code provided. Please check if problem is around this code.
Looking forward to your reply.
- Cut and paste above code in a Standard EXE file in VB
- Included from Project -> References -> DwUpdate Service 1.0 Type Library.
- Registered Version 6.0 with the agent.
- Called AppUpdate from Form_Load
I was able to see updates, I am not sure if there seems to be any thing wrong with the code provided. Please check if problem is around this code.
Looking forward to your reply.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 01, 2002
08:13 AM
I was forgetting the reference. Thanks for the help.