Click here to Skip to main content
15,896,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionODBC with VC++ Pin
sirtimid14-Oct-05 1:51
sirtimid14-Oct-05 1:51 
QuestionRe: ODBC with VC++ Pin
David Crow14-Oct-05 3:07
David Crow14-Oct-05 3:07 
AnswerRe: ODBC with VC++ Pin
sirtimid14-Oct-05 3:28
sirtimid14-Oct-05 3:28 
GeneralRe: ODBC with VC++ Pin
David Crow14-Oct-05 3:43
David Crow14-Oct-05 3:43 
AnswerRe: ODBC with VC++ Pin
Alfista7114-Oct-05 9:28
Alfista7114-Oct-05 9:28 
QuestionInserting Javascript Dynamically to an HTML page Pin
Anonymous14-Oct-05 1:16
Anonymous14-Oct-05 1:16 
QuestionRe: Inserting Javascript Dynamically to an HTML page Pin
David Crow14-Oct-05 3:09
David Crow14-Oct-05 3:09 
AnswerRe: Inserting Javascript Dynamically to an HTML page Pin
Ranjish14-Oct-05 3:30
Ranjish14-Oct-05 3:30 
I can add HTML tag using IHTMLTextRange::pasteHTML().

I tried to insert the tag using the same way.

And tried to call some function in this .js file on the click. (That code also I have added dynamically using IHTMLTextRange::pasteHTML()).

But On Click I am getting the error message "Object Requred". ie it is not able to find the function.

Thats why I tried with iHTMLDocument2::writeln().

But after inserting this code, nothing is coming and the whole page became blank.

But the message on the status bar is "Downloading the js file"

And if you statically add the script tag, the function will execute successfully
AnswerRe: Inserting Javascript Dynamically to an HTML page Pin
Marc Soleda14-Oct-05 5:34
Marc Soleda14-Oct-05 5:34 
GeneralRe: Inserting Javascript Dynamically to an HTML page Pin
Ranjish16-Oct-05 19:04
Ranjish16-Oct-05 19:04 
GeneralRe: Inserting Javascript Dynamically to an HTML page Pin
Marc Soleda16-Oct-05 20:54
Marc Soleda16-Oct-05 20:54 
QuestionServer Detection Pin
benjnp14-Oct-05 1:11
benjnp14-Oct-05 1:11 
AnswerRe: Server Detection Pin
sunit514-Oct-05 2:18
sunit514-Oct-05 2:18 
GeneralRe: Server Detection Pin
benjnp14-Oct-05 17:50
benjnp14-Oct-05 17:50 
GeneralRe: Server Detection Pin
sunit514-Oct-05 18:52
sunit514-Oct-05 18:52 
GeneralRe: Server Detection Pin
benjnp15-Oct-05 18:18
benjnp15-Oct-05 18:18 
AnswerRe: Server Detection Pin
Bob Stanneveld14-Oct-05 4:29
Bob Stanneveld14-Oct-05 4:29 
QuestionSelf duplicating program Pin
benjnp14-Oct-05 1:03
benjnp14-Oct-05 1:03 
QuestionRe: Self duplicating program Pin
toxcct14-Oct-05 1:49
toxcct14-Oct-05 1:49 
AnswerRe: Self duplicating program Pin
David Crow14-Oct-05 3:10
David Crow14-Oct-05 3:10 
GeneralRe: Self duplicating program Pin
toxcct14-Oct-05 4:20
toxcct14-Oct-05 4:20 
GeneralRe: Self duplicating program Pin
benjnp14-Oct-05 17:48
benjnp14-Oct-05 17:48 
AnswerRe: Self duplicating program Pin
Chris Losinger14-Oct-05 2:15
professionalChris Losinger14-Oct-05 2:15 
GeneralRe: Self duplicating program Pin
benjnp14-Oct-05 17:47
benjnp14-Oct-05 17:47 
AnswerRe: Self duplicating program Pin
Prakash Nadar14-Oct-05 5:48
Prakash Nadar14-Oct-05 5:48 

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.