Click here to Skip to main content
11,720,321 members (71,189 online)

JavaScript

 
AnswerRe: Using Jquery in DataList Pin
gjllyl9-Oct-12 19:36
membergjllyl9-Oct-12 19:36 
QuestionHow to calculate difference between two dates Pin
Robymon17-Sep-12 23:46
memberRobymon17-Sep-12 23:46 
AnswerRe: How to calculate difference between two dates Pin
Joan Murt18-Sep-12 4:59
memberJoan Murt18-Sep-12 4:59 
Questionfyi: accidental find: using JavaScript DOM in browser to parse a URL Pin
BillWoodruff14-Sep-12 22:54
memberBillWoodruff14-Sep-12 22:54 
AnswerRe: fyi: accidental find: using JavaScript DOM in browser to parse a URL Pin
ziggyfish10-Oct-12 6:26
memberziggyfish10-Oct-12 6:26 
Questiongoogle map splite write problem Pin
chogrf13-Sep-12 2:48
memberchogrf13-Sep-12 2:48 
QuestionFastest way to select all elements in a *ListBox* Pin
A*****12-Sep-12 19:32
memberA*****12-Sep-12 19:32 
AnswerRe: Fastest way to select all elements in a *ListBox* Pin
BobJanova12-Sep-12 23:04
memberBobJanova12-Sep-12 23:04 
GeneralRe: Fastest way to select all elements in a *ListBox* Pin
A*****13-Sep-12 12:27
memberA*****13-Sep-12 12:27 
GeneralRe: Fastest way to select all elements in a *ListBox* Pin
A*****13-Sep-12 18:55
memberA*****13-Sep-12 18:55 
Questionjavascript _> activex passing by reference Pin
Johan000112-Sep-12 1:40
memberJohan000112-Sep-12 1:40 
AnswerRe: javascript _> activex passing by reference Pin
twseitex16-Sep-12 1:09
membertwseitex16-Sep-12 1:09 
GeneralRe: javascript _> activex passing by reference Pin
Johan000117-Sep-12 0:46
memberJohan000117-Sep-12 0:46 
GeneralRe: javascript _> activex passing by reference Pin
twseitex17-Sep-12 8:30
membertwseitex17-Sep-12 8:30 
CSDCtrlClass.GetMemoryBuffer("BMP", buf);

what returns this function ?

var ReturnValue=CSDCtrlClass.GetMemoryBuffer("BMP", buf);

or

var buf = new Array(200000); // e.g. global var

CSDCtrlClass.GetMemoryBuffer("BMP", buf);

do something with buf

-----------------------------------------


var buf = new Array(200000); // empty

// init
var X00=0;

for(X00=0;X00<20000;X00+´+)
{buf[X00]= ....;}

// may be buf must have init values.


CSDCtrlClass.GetMemoryBuffer("BMP", buf); // 'BMP' okay value ?, what is the range of values ?

alert(buf); // means pointer buf
alert(buf[0]; // init value or other value ?
alert(buf.length) // 20000 ?

------------------------------------------

try
{
CSDCtrlClass.GetMemoryBuffer("BMP", buf);
if (CSDCtrlClass.ErrCode != 0) // possible inside of try ?
// ErrorCode may be like an "catch"
{.....} // try catch generally possible ?

}

-------------------------------------------

if (CSDCtrlClass.ErrCode != 0) // call a meber "ErrCode" of control
// so set this call between a try-catch

-------------------------------------------

catch (err) // param err is javascript and not from control
{ ....} // so not CSDCtrlClass.ErrCode
// try catch runs inside of html DOM and parsing of javascript

-------------------------------------------

if (CSDCtrlClass.ErrCode == -999) // CSDCtrlClass.ErrCode must be aviable inside of html DOM
// to compare with value inside of script
// CSDCtrlClass must be an pointer inside of html DOM tree

--------------------------------------------

don't forget: vars inside function are locally
may be control need global vars.

--------------------------------------------

crreate CSDCtrlClass dunymically with createElement() and appendChild()
so you get pointer of html DOM

var X05=document.createElement('object');
var X06=document.body.appendChild(X05);

.....

but Internet Explorer can have special way to create active-x-control dynamically.


--------------------------------------------

ask the developer of actice-x-control: rules of javascript interface of control
GeneralRe: javascript _> activex passing by reference Pin
Johan000117-Sep-12 21:38
memberJohan000117-Sep-12 21:38 
GeneralRe: javascript _> activex passing by reference Pin
twseitex18-Sep-12 8:58
membertwseitex18-Sep-12 8:58 
GeneralRe: javascript _> activex passing by reference Pin
Johan000118-Sep-12 23:28
memberJohan000118-Sep-12 23:28 
GeneralRe: javascript _> activex passing by reference Pin
Johan000117-Sep-12 1:03
memberJohan000117-Sep-12 1:03 
AnswerRe: javascript _> activex passing by reference Pin
Manfred R. Bihy19-Sep-12 1:02
mvpManfred R. Bihy19-Sep-12 1:02 
GeneralRe: javascript _> activex passing by reference Pin
Johan000119-Sep-12 2:02
memberJohan000119-Sep-12 2:02 
GeneralRe: javascript _> activex passing by reference Pin
Manfred R. Bihy19-Sep-12 2:06
mvpManfred R. Bihy19-Sep-12 2:06 
GeneralRe: javascript _> activex passing by reference Pin
Manfred R. Bihy19-Sep-12 2:12
mvpManfred R. Bihy19-Sep-12 2:12 
QuestionCreate AD block functionality for my website Pin
swayam.test1.gmail10-Sep-12 19:58
memberswayam.test1.gmail10-Sep-12 19:58 
AnswerRe: Create AD block functionality for my website Pin
enhzflep11-Sep-12 22:06
memberenhzflep11-Sep-12 22:06 
QuestionHow does Google show_ads.js work? Pin
swayam.test1.gmail10-Sep-12 19:57
memberswayam.test1.gmail10-Sep-12 19:57 
QuestionHow to send request data from one tab to other tab which are on same jsp Pin
mayureshdh9-Sep-12 18:52
membermayureshdh9-Sep-12 18:52 
Questionjavascript/jquery Pin
chaim_zvi8-Sep-12 8:50
memberchaim_zvi8-Sep-12 8:50 
Questionshow alert in javascript and not continue Pin
ptvce6-Sep-12 21:26
memberptvce6-Sep-12 21:26 
AnswerRe: show alert in javascript and not continue Pin
J4amieC6-Sep-12 22:11
memberJ4amieC6-Sep-12 22:11 
GeneralRe: show alert in javascript and not continue Pin
ptvce6-Sep-12 22:30
memberptvce6-Sep-12 22:30 
AnswerRe: show alert in javascript and not continue Pin
MKAdeel13-Sep-12 1:22
memberMKAdeel13-Sep-12 1:22 
GeneralRe: show alert in javascript and not continue Pin
ptvce16-Sep-12 20:22
memberptvce16-Sep-12 20:22 
QuestionPython Pygame Newbie Code Help Pin
johtnkucz31-Aug-12 12:14
memberjohtnkucz31-Aug-12 12:14 
QuestionProgress Bar Pin
Manish K. Agarwal31-Aug-12 3:33
memberManish K. Agarwal31-Aug-12 3:33 
AnswerRe: Progress Bar Pin
C-War1-Sep-12 4:50
memberC-War1-Sep-12 4:50 
GeneralRe: Progress Bar Pin
Manish K. Agarwal2-Sep-12 19:22
memberManish K. Agarwal2-Sep-12 19:22 
AnswerRe: Progress Bar Pin
twseitex2-Sep-12 8:24
membertwseitex2-Sep-12 8:24 
GeneralRe: Progress Bar Pin
Manish K. Agarwal2-Sep-12 19:51
memberManish K. Agarwal2-Sep-12 19:51 
GeneralRe: Progress Bar Pin
twseitex4-Sep-12 3:18
membertwseitex4-Sep-12 3:18 
Questionget the checkbox index or table row index with javascript Pin
osmanjan30-Aug-12 13:01
memberosmanjan30-Aug-12 13:01 
AnswerRe: get the checkbox index or table row index with javascript Pin
enhzflep30-Aug-12 13:26
memberenhzflep30-Aug-12 13:26 
GeneralRe: get the checkbox index or table row index with javascript Pin
osmanjan30-Aug-12 13:45
memberosmanjan30-Aug-12 13:45 
GeneralRe: get the checkbox index or table row index with javascript Pin
enhzflep30-Aug-12 14:36
memberenhzflep30-Aug-12 14:36 
GeneralRe: get the checkbox index or table row index with javascript Pin
osmanjan30-Aug-12 19:51
memberosmanjan30-Aug-12 19:51 
GeneralRe: get the checkbox index or table row index with javascript Pin
BobJanova30-Aug-12 22:48
memberBobJanova30-Aug-12 22:48 
GeneralRe: get the checkbox index or table row index with javascript Pin
enhzflep30-Aug-12 23:18
memberenhzflep30-Aug-12 23:18 
AnswerRe: get the checkbox index or table row index with javascript Pin
enhzflep30-Aug-12 23:24
memberenhzflep30-Aug-12 23:24 
GeneralRe: get the checkbox index or table row index with javascript Pin
kmoorevs28-Sep-12 6:07
memberkmoorevs28-Sep-12 6:07 
Questionuse JQuery in C# code Pin
GSingh-Developer29-Aug-12 7:26
memberGSingh-Developer29-Aug-12 7:26 
AnswerRe: use JQuery in C# code Pin
jkirkerx29-Aug-12 8:01
memberjkirkerx29-Aug-12 8:01 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.150901.1 | Last Updated 4 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid