Click here to Skip to main content
15,845,436 members
Home / Discussions / COM
   

COM

 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 3:46
MsmVc21-Aug-09 3:46 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 3:51
Vi221-Aug-09 3:51 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 4:00
MsmVc21-Aug-09 4:00 
GeneralRe: InvokeHelper Pin
MsmVc23-Aug-09 20:48
MsmVc23-Aug-09 20:48 
GeneralRe: InvokeHelper Pin
gaurav_quexst24-Aug-09 2:08
gaurav_quexst24-Aug-09 2:08 
QuestionHow to display images of my custom filetype in IE Pin
srivas20-Aug-09 20:59
srivas20-Aug-09 20:59 
QuestionHow to unregister the event in BHO? Pin
Jacobb Michael20-Aug-09 2:22
Jacobb Michael20-Aug-09 2:22 
Questionhow to create online quiz in html Pin
robert(m.tech)20-Aug-09 1:18
robert(m.tech)20-Aug-09 1: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 3:06
Stephen Hewitt20-Aug-09 3:06 
QuestionC# BHO problem Pin
svt gdwl19-Aug-09 19:55
svt gdwl19-Aug-09 19:55 
AnswerRe: C# BHO problem Pin
Jacobb Michael20-Aug-09 0:56
Jacobb Michael20-Aug-09 0:56 
QuestionDesign + technical issue Pin
Ahmed Charfeddine19-Aug-09 1:31
Ahmed Charfeddine19-Aug-09 1:31 
AnswerRe: Design + technical issue Pin
Ahmed Charfeddine19-Aug-09 1:45
Ahmed Charfeddine19-Aug-09 1:45 
GeneralRe: Design + technical issue Pin
Baltoro19-Aug-09 15:39
Baltoro19-Aug-09 15:39 
GeneralRe: Design + technical issue Pin
Ahmed Charfeddine21-Aug-09 8:40
Ahmed Charfeddine21-Aug-09 8:40 
GeneralRe: Design + technical issue Pin
Baltoro21-Aug-09 13:12
Baltoro21-Aug-09 13:12 
GeneralRe: Design + technical issue Pin
Ahmed Charfeddine21-Aug-09 13:14
Ahmed Charfeddine21-Aug-09 13:14 
QuestionIPictureDisp to byte array Pin
vibindia18-Aug-09 20:12
vibindia18-Aug-09 20:12 
AnswerRe: IPictureDisp to byte array Pin
Stephen Hewitt20-Aug-09 4:52
Stephen Hewitt20-Aug-09 4:52 
AnswerRe: IPictureDisp to byte array Pin
Vi220-Aug-09 22:00
Vi220-Aug-09 22:00 
GeneralRe: IPictureDisp to byte array Pin
Stephen Hewitt23-Aug-09 5:37
Stephen Hewitt23-Aug-09 5:37 
QuestionForwarding Error Description through CComCoClass::Error crashs my app Pin
Don Rolando18-Aug-09 12:02
Don Rolando18-Aug-09 12:02 
AnswerRe: Forwarding Error Description through CComCoClass::Error crashs my app Pin
Don Rolando19-Aug-09 7:47
Don Rolando19-Aug-09 7:47 
QuestionHow can I add c# user control to c++ ATL? Pin
oleg fadi18-Aug-09 12:01
oleg fadi18-Aug-09 12:01 
AnswerRe: How can I add c# user control to c++ ATL? Pin
Don Rolando19-Aug-09 7:52
Don Rolando19-Aug-09 7: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.