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
- :
- Is a VB example okay?
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
‎Aug 24, 2004
04:47 PM
Machine profile reports
Hello,
I'm attempting to use the machine profiling reports. According to the help:
"The Machine Profile report is only available if you have written to the agent APIs to capture profile data with the Update Service. For more information, see the IProfileList Interface and IProfile Interface APIs."
IProfileList and IProfile have pitiful documentation, so i'm wondering if there is a sample anywhere that could show which/how API's to call in order to enable machine profile reporting. (c++ if possible).
Thanks,
Vesty.
I'm attempting to use the machine profiling reports. According to the help:
"The Machine Profile report is only available if you have written to the agent APIs to capture profile data with the Update Service. For more information, see the IProfileList Interface and IProfile Interface APIs."
IProfileList and IProfile have pitiful documentation, so i'm wondering if there is a sample anywhere that could show which/how API's to call in order to enable machine profile reporting. (c++ if possible).
Thanks,
Vesty.
(9) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 25, 2004
04:40 PM
Dim oProfile As DWUpdateServiceLib.IProfileManager
Dim oAgent As DWUpdateServiceLib.Agent
Dim sProductCode As String
sProductCode = "{INSERT-YOUR-GUID-HERE-FFFFFFFFFFFF}"
'Get an agent object
Set oProfile = New DWUpdateServiceLib.Agent
'Add a profile like say, the Windows version
oProfile.ProfileAdd sProductCode, "WindowsVersion", 0
'Add a value to the profile, like the version
oProfile.ProfileSetValue sProductCode, "WindowsVersion", "Version", "XP-Home"
'Add another value to the profile, like the Service Pack
oProfile.ProfileSetValue sProductCode, "WindowsVersion", "ServicePack", "2"
'Get another agent object
Set oAgent = New DWUpdateServiceLib.Agent
'Checking for updates sends the data.
oAgent.AppUpdate sProductCode, AppMenu
Dim oAgent As DWUpdateServiceLib.Agent
Dim sProductCode As String
sProductCode = "{INSERT-YOUR-GUID-HERE-FFFFFFFFFFFF}"
'Get an agent object
Set oProfile = New DWUpdateServiceLib.Agent
'Add a profile like say, the Windows version
oProfile.ProfileAdd sProductCode, "WindowsVersion", 0
'Add a value to the profile, like the version
oProfile.ProfileSetValue sProductCode, "WindowsVersion", "Version", "XP-Home"
'Add another value to the profile, like the Service Pack
oProfile.ProfileSetValue sProductCode, "WindowsVersion", "ServicePack", "2"
'Get another agent object
Set oAgent = New DWUpdateServiceLib.Agent
'Checking for updates sends the data.
oAgent.AppUpdate sProductCode, AppMenu
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 25, 2004
05:33 PM
Ah.... So I have to collect the data myself? As in, its up to me to determine OS version etc? It may be my lack of VB but thats what it looks like. I had assumed the agent must collect that...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2004
10:28 AM
You read it right. Making you get the data gives you the flexibility to gather whatever data you deem appropriate. If only the reporting on that data was as flexible (sigh).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2004
10:31 AM
Great thanks tx.
So how do I know which values the reporting will pick up on? Or does it just recognised whatever values/data I store and then transmit?
ie, you've used service pack and OS there, can I use whatever labels I want or do they have to be specific ones?
So how do I know which values the reporting will pick up on? Or does it just recognised whatever values/data I store and then transmit?
ie, you've used service pack and OS there, can I use whatever labels I want or do they have to be specific ones?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2004
11:01 AM
You can put anything you want.
I'd play with sending some interesting data and look at the reporting a bit and see how the data is presented. This will give you an idea of the best way to collect the data for your needs.
HTH
I'd play with sending some interesting data and look at the reporting a bit and see how the data is presented. This will give you an idea of the best way to collect the data for your needs.
HTH
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2004
11:13 AM
We've heard. 😄 We've got a lot of things going on for the future, but I can tell you that there will be a slightly more flexible way to query on that data with the next release. Stay tuned.
KellyF
PS. Any posts by me which contain "forward looking" statements as defined by the SEC are, in fact, simply opinions of mine, not my employer.
KellyF
PS. Any posts by me which contain "forward looking" statements as defined by the SEC are, in fact, simply opinions of mine, not my employer.
Originally posted by txbueller
You read it right. Making you get the data gives you the flexibility to gather whatever data you deem appropriate. If only the reporting on that data was as flexible (sigh).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2004
11:19 AM
Kelly,
Don't you mean SEC? 😉
Oh, not to be too sarcastic (I'm trying to hold back - really!) but it's nice to see a post responded to by IS/MacroVision folk. I've posted on a couple of troubling issues and I've heard nothing but .
This is different than in the past when it seemed like staff were very active on the boards. Is this perhaps a function of the transition period from the acquisition?
Don't you mean SEC? 😉
Oh, not to be too sarcastic (I'm trying to hold back - really!) but it's nice to see a post responded to by IS/MacroVision folk. I've posted on a couple of troubling issues and I've heard nothing but
This is different than in the past when it seemed like staff were very active on the boards. Is this perhaps a function of the transition period from the acquisition?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2004
11:33 AM
heh... that's what I get for reading about AT&T hopping into VoIP and what carriers and the FCC think about it... 😄
About the community and responses by IS/Macrovision folks, I handed over the maintenance duties so it'd no longer be as easy for me to pull a report on postings and numbers per month, etc. 😆
So I'll have to say that perception is reality and hopefully we can change those perceptions. I can tell you that I know of many devs and support folks who do traverse the forums, but don't necessarily respond to all posts.
KellyF
About the community and responses by IS/Macrovision folks, I handed over the maintenance duties so it'd no longer be as easy for me to pull a report on postings and numbers per month, etc. 😆
So I'll have to say that perception is reality and hopefully we can change those perceptions. I can tell you that I know of many devs and support folks who do traverse the forums, but don't necessarily respond to all posts.
KellyF
Originally posted by txbueller
Kelly,
Don't you mean SEC? 😉
Oh, not to be too sarcastic (I'm trying to hold back - really!) but it's nice to see a post responded to by IS/MacroVision folk. I've posted on a couple of troubling issues and I've heard nothing but.
This is different than in the past when it seemed like staff were very active on the boards. Is this perhaps a function of the transition period from the acquisition?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2004
11:59 AM
Thanks v much TX