473,397 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

IPropertyBag

Hi there,
Has anybody a C++ sample of how to read the PARAM tag from an object in
a HTML page?

<OBJECT
ID="cfgmnu"
classid="clsid:B3FE05CB-B86C-41D9-9ACD-B827B209E8DF"
CODEBASE="cfgmnu.cab">
<PARAM NAME="name" VALUE="val">
</OBJECT>

I want to read it from the ocx component in the cab file. I know that I
have to implement the IPropertyBag::Read() function but didn't find a
sample.
Thank you
Peter
May 25 '06 #1
2 5072
Peter Wlodarczak wrote:
Hi there,
Has anybody a C++ sample of how to read the PARAM tag from an object in
a HTML page?

<OBJECT
ID="cfgmnu"
classid="clsid:B3FE05CB-B86C-41D9-9ACD-B827B209E8DF"
CODEBASE="cfgmnu.cab">
<PARAM NAME="name" VALUE="val">
</OBJECT>

I want to read it from the ocx component in the cab file. I know that I
have to implement the IPropertyBag::Read() function but didn't find a
sample.
Thank you
Peter


This is a Microsoft-specific question that you'll want to take to
Microsoft newsgroup. See this FAQ for what is on-topic in this group
and for a list of possible places you can post:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Cheers! --M

May 25 '06 #2
On 2006-05-25 16:20, Peter Wlodarczak wrote:
Hi there,
Has anybody a C++ sample of how to read the PARAM tag from an object in
a HTML page?

<OBJECT
ID="cfgmnu"
classid="clsid:B3FE05CB-B86C-41D9-9ACD-B827B209E8DF"
CODEBASE="cfgmnu.cab">
<PARAM NAME="name" VALUE="val">
</OBJECT>

I want to read it from the ocx component in the cab file. I know that I
have to implement the IPropertyBag::Read() function but didn't find a
sample.


First of all, are you sure it's not XML rather than HTML? If that is so
you might be interested in an XML-library for C++, you can find a number
of them with a quick search.

Erik Wikström
--
"I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure
out how to use my telephone" -- Bjarne Stroustrup
May 25 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kai I. H. | last post by:
Hi, I have an activeX control (programmed with c++) which is displayed in the Internet Explorer via the object tag. Now, as you probably know, you can pass parameters to the activeX control by...
0
by: michael mazanek | last post by:
Hi all! I'm trying to write a console application which allows me to write out all installed video-codecs. I tried this one: http://windowssdk.msdn.microsoft.com/en-us/library/ms787871.aspx...
3
by: rep_movsd | last post by:
Hi I have a C++ com object that exposes IStream and IPropertyBag, this is derived from IUnknown, there is no typelib or IDispatch etc I need to write a simple VB.NET app in VB 2003 that can...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.