Click here to Skip to main content
15,898,371 members
Home / Discussions / COM
   

COM

 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 2:46
MsmVc21-Aug-09 2:46 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 2:51
Vi221-Aug-09 2:51 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 3:00
MsmVc21-Aug-09 3:00 
GeneralRe: InvokeHelper Pin
MsmVc23-Aug-09 19:48
MsmVc23-Aug-09 19:48 
GeneralRe: InvokeHelper Pin
gaurav_quexst24-Aug-09 1:08
gaurav_quexst24-Aug-09 1:08 
QuestionHow to display images of my custom filetype in IE Pin
srivas20-Aug-09 19:59
srivas20-Aug-09 19:59 
QuestionHow to unregister the event in BHO? Pin
Jacobb Michael20-Aug-09 1:22
Jacobb Michael20-Aug-09 1:22 
Questionhow to create online quiz in html Pin
robert(m.tech)20-Aug-09 0:18
robert(m.tech)20-Aug-09 0:18 
<html>
<head>
<title>
</title>
</head>
<SCRIPT language="JavaScript"
type="text/javascript">

function checkAnswer(quizForm,
theAnswer,
urlRight,
urlWrong)
{
var s = "?";

var i = 0;
for(;i<quizForm.elements.length;i++)
{
if(("cc" ==
quizForm.elements[i].name) &&
(quizForm.elements[i].checked))
{
s = quizForm.elements[i].value;
}
}

if("?" == s)
{
alert("Please make a selection.");
return false;
}

if(s == theAnswer)
{
alert("'"+s+"' is correct!");

}
else
{
alert("'"+s+"' is incorrect.");
if( urlWrong )
{
document.location.href = urlWrong;
}
}

return false;
}

</SCRIPT>
<body bgcolor="gray">
<b>What is JavaScript?</b>

<FORM method="POST"
onsubmit="return checkAnswer(this,'B');">

<INPUT TYPE="RADIO" VALUE="A" NAME="cc">
A. Another name for Java<BR>

<INPUT TYPE="RADIO" VALUE="B" NAME="cc">
B. A scripting language mostly for the web<BR>

<INPUT TYPE="RADIO" VALUE="C" NAME="cc">
C. When you use Java without compiling<BR>

<INPUT TYPE="Submit" VALUE="Submit Answer">

</FORM>
<hr>
<b>Which symbol is used to make comments ?</b>
<FORM method="POST"
onsubmit="return checkAnswer(this,'C');">

<INPUT TYPE="RADIO" VALUE="A" NAME="cc">
A. !!<BR>

<INPUT TYPE="RADIO" VALUE="B" NAME="cc">
B. #<BR>

<INPUT TYPE="RADIO" VALUE="C" NAME="cc">
C. //<BR>

<INPUT TYPE="Submit" VALUE="Submit Answer">

</FORM>
<hr>
<b>Which of the following languages can be used to write server side scripting in ASP.NET?</b>
<FORM method="POST"
onsubmit="return checkAnswer(this,'A');">

<INPUT TYPE="RADIO" VALUE="A" NAME="cc">
A. C-sharp <BR>

<INPUT TYPE="RADIO" VALUE="B" NAME="cc">
B. VB <BR>

<INPUT TYPE="RADIO" VALUE="C" NAME="cc">
C. C++ <BR>

<INPUT TYPE="Submit" VALUE="Submit Answer">

</FORM>
<hr>
<b>When an .aspx page is requested from the web server, the out put will be rendered to browser in following format.</b>

<FORM method="POST"
onsubmit="return checkAnswer(this,'A');">

<INPUT TYPE="RADIO" VALUE="A" NAME="cc">
A. HTML<BR>

<INPUT TYPE="RADIO" VALUE="B" NAME="cc">
B. XML<BR>

<INPUT TYPE="RADIO" VALUE="C" NAME="cc">
C. JSP<BR>

<INPUT TYPE="Submit" VALUE="Submit Answer">

</FORM>
<FORM method="POST"
onsubmit="return checkAnswer(this,'B');">

<INPUT TYPE="RADIO" VALUE="A" NAME="cc">
A. Another name for Java<BR>

<INPUT TYPE="RADIO" VALUE="B" NAME="cc">
B. A scripting language mostly for the web<BR>

<INPUT TYPE="RADIO" VALUE="C" NAME="cc">
C. When you use Java without compiling<BR>

<INPUT TYPE="Submit" VALUE="Submit Answer">

</FORM>

</body>
</html>
AnswerRe: how to create online quiz in html Pin
Stephen Hewitt20-Aug-09 2:06
Stephen Hewitt20-Aug-09 2:06 
QuestionC# BHO problem Pin
svt gdwl19-Aug-09 18:55
svt gdwl19-Aug-09 18:55 
AnswerRe: C# BHO problem Pin
Jacobb Michael19-Aug-09 23:56
Jacobb Michael19-Aug-09 23:56 
QuestionDesign + technical issue Pin
Ahmed Charfeddine19-Aug-09 0:31
Ahmed Charfeddine19-Aug-09 0:31 
AnswerRe: Design + technical issue Pin
Ahmed Charfeddine19-Aug-09 0:45
Ahmed Charfeddine19-Aug-09 0:45 
GeneralRe: Design + technical issue Pin
Baltoro19-Aug-09 14:39
Baltoro19-Aug-09 14:39 
GeneralRe: Design + technical issue Pin
Ahmed Charfeddine21-Aug-09 7:40
Ahmed Charfeddine21-Aug-09 7:40 
GeneralRe: Design + technical issue Pin
Baltoro21-Aug-09 12:12
Baltoro21-Aug-09 12:12 
GeneralRe: Design + technical issue Pin
Ahmed Charfeddine21-Aug-09 12:14
Ahmed Charfeddine21-Aug-09 12:14 
QuestionIPictureDisp to byte array Pin
vibindia18-Aug-09 19:12
vibindia18-Aug-09 19:12 
AnswerRe: IPictureDisp to byte array Pin
Stephen Hewitt20-Aug-09 3:52
Stephen Hewitt20-Aug-09 3:52 
AnswerRe: IPictureDisp to byte array Pin
Vi220-Aug-09 21:00
Vi220-Aug-09 21:00 
GeneralRe: IPictureDisp to byte array Pin
Stephen Hewitt23-Aug-09 4:37
Stephen Hewitt23-Aug-09 4:37 
QuestionForwarding Error Description through CComCoClass::Error crashs my app Pin
Don Rolando18-Aug-09 11:02
Don Rolando18-Aug-09 11:02 
AnswerRe: Forwarding Error Description through CComCoClass::Error crashs my app Pin
Don Rolando19-Aug-09 6:47
Don Rolando19-Aug-09 6:47 
QuestionHow can I add c# user control to c++ ATL? Pin
oleg fadi18-Aug-09 11:01
oleg fadi18-Aug-09 11:01 
AnswerRe: How can I add c# user control to c++ ATL? Pin
Don Rolando19-Aug-09 6:52
Don Rolando19-Aug-09 6:52 

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.