Click here to Skip to main content
16,007,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Grids Pin
Tomasz Sowinski3-Oct-01 4:37
Tomasz Sowinski3-Oct-01 4:37 
GeneralRe: Grids Pin
3-Oct-01 4:41
suss3-Oct-01 4:41 
GeneralRe: Grids Pin
NormDroid3-Oct-01 4:46
professionalNormDroid3-Oct-01 4:46 
Generalwarning C4786: Pin
zack3-Oct-01 3:10
zack3-Oct-01 3:10 
GeneralRe: warning C4786: Pin
Tomasz Sowinski3-Oct-01 4:40
Tomasz Sowinski3-Oct-01 4:40 
GeneralRe: warning C4786: Pin
zack3-Oct-01 4:57
zack3-Oct-01 4:57 
GeneralRe: warning C4786: Pin
John M. Drescher11-Oct-01 5:35
John M. Drescher11-Oct-01 5:35 
GeneralAccessing Data Islands from a COM component on a HTML page Pin
Michael A Barnhart3-Oct-01 3:08
Michael A Barnhart3-Oct-01 3:08 
I have a number of COM components (all written with VC++) that are used on an internal web page. I have been accessing the data to use by defining a http url in the PARAM tags within the OBJECT tag that loads the component, which then makes its own request. I would like the option of just including the associated data (it is all XML) via data islands (the XML tag) and then letting the embedded component access its data from there.

However I have not found the link, call, whatever to access this data from the comonent. getting the PARAM data was straight forward but I just am not searching for the right key words etc to go on.

Any pointers to the correct steps to take are appreciated. Just key words to the MSDN lib search would be helpful or of course a code snippet would not be refused.

Below is a sample of the html page: I have tried various options for the data source definition but all tries have only returned a NULL string (or pointer) to my control.




<title>Untitled


Hello All
<xml id="MyData">

<mydata>


<object
id="Viewer Control"
="" classid="CLSID:6E7B198C-106F-11D4-BAA0" width="820
" height="550
">
<param name="DataSource" datasrc="#MyData" />
<param name="WebName" value="Item" />
<param name="WebAddress" value="Address" />
<param name="WebPort" value="80" />

End Hello



Michael A Barnhart
mabtech@swbell.net
GeneralRAS Dial Pin
Firoz3-Oct-01 2:38
Firoz3-Oct-01 2:38 
GeneralCEdit Pin
3-Oct-01 1:40
suss3-Oct-01 1:40 
GeneralRe: CEdit Pin
3-Oct-01 1:41
suss3-Oct-01 1:41 
GeneralRe: CEdit Pin
3-Oct-01 1:58
suss3-Oct-01 1:58 
GeneralRe: CEdit Pin
Chris Losinger3-Oct-01 2:02
professionalChris Losinger3-Oct-01 2:02 
GeneralRe: CEdit Pin
3-Oct-01 2:46
suss3-Oct-01 2:46 
GeneralGet list of all COM-Objects Pin
3-Oct-01 1:32
suss3-Oct-01 1:32 
GeneralRe: Get list of all COM-Objects Pin
Michael P Butler3-Oct-01 1:53
Michael P Butler3-Oct-01 1:53 
GeneralRe: Get list of all COM-Objects Pin
3-Oct-01 2:27
suss3-Oct-01 2:27 
GeneralRe: Get list of all COM-Objects Pin
Michael P Butler3-Oct-01 2:57
Michael P Butler3-Oct-01 2:57 
QuestionWhy did I get a error message on the call to CFtpConnection's SetCurrentDirectory()? Pin
Chaos Lawful3-Oct-01 1:17
Chaos Lawful3-Oct-01 1:17 
GeneralCDialog in a dll Pin
3-Oct-01 1:14
suss3-Oct-01 1:14 
GeneralVC++ 6.0 Fail... Pin
3-Oct-01 1:12
suss3-Oct-01 1:12 
GeneralRe: VC++ 6.0 Fail... Pin
Andres Manggini3-Oct-01 8:20
Andres Manggini3-Oct-01 8:20 
QuestionCan I get the handle of a window? Pin
Chaos Lawful3-Oct-01 1:11
Chaos Lawful3-Oct-01 1:11 
AnswerRe: Can I get the handle of a window? Pin
Tomasz Sowinski3-Oct-01 1:18
Tomasz Sowinski3-Oct-01 1:18 
GeneralRe: Can I get the handle of a window? Pin
Chaos Lawful3-Oct-01 1:23
Chaos Lawful3-Oct-01 1:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.