Click here to Skip to main content
16,005,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAbout painting on screen? Pin
Zero_One_ADO27-Sep-04 20:59
Zero_One_ADO27-Sep-04 20:59 
AnswerRe: About painting on screen? Pin
Aamir Butt28-Sep-04 1:37
Aamir Butt28-Sep-04 1:37 
GeneralIE Hooking Pin
TPN27-Sep-04 20:57
TPN27-Sep-04 20:57 
GeneralRe: IE Hooking Pin
22491727-Sep-04 21:12
22491727-Sep-04 21:12 
GeneralRe: IE Hooking Pin
TPN28-Sep-04 17:44
TPN28-Sep-04 17:44 
GeneralRe: IE Hooking Pin
2249173-Oct-04 18:15
2249173-Oct-04 18:15 
GeneralMake a call to my ActiveX from my .aspx webpage. Pin
anderslundsgard27-Sep-04 20:54
anderslundsgard27-Sep-04 20:54 
GeneralRe: Make a call to my ActiveX from my .aspx webpage. Pin
Muhammad Azam27-Sep-04 21:31
Muhammad Azam27-Sep-04 21:31 
hi ya its for sure that ActiveX runs on client side
you can access methods as well as properties exposed by your control from your page
e.g. if your control exposes a method like SetUseridPassword(BSTR usrID,BSR password) then you can access it as follows


<OBJECT
     ID="MyActiveXID"
     CLASSID="clsid:your-control-class-id-here"
     CODEBASE="TestAX.ocx"
     TYPE="application/x-oleobject"
>


then on any event (like button's onClick) call the following following function like onClick='InitValues'

don't forget to define this script in head section of your page.

<script language="JavaScript">

function InitValues()
{
MyActiveXID.SetUseridPassword("testusr","tstpassword")
}

</script>


Muhammad Azam
GeneralRe: Make a call to my ActiveX from my .aspx webpage. Pin
anderslundsgard27-Sep-04 21:37
anderslundsgard27-Sep-04 21:37 
GeneralRe: Make a call to my ActiveX from my .aspx webpage. Pin
Muhammad Azam27-Sep-04 23:07
Muhammad Azam27-Sep-04 23:07 
GeneralStopping a thread Pin
Sujan Christo27-Sep-04 20:23
Sujan Christo27-Sep-04 20:23 
GeneralRe: Stopping a thread Pin
22491727-Sep-04 20:31
22491727-Sep-04 20:31 
GeneralRe: Stopping a thread Pin
Sujan Christo27-Sep-04 20:41
Sujan Christo27-Sep-04 20:41 
GeneralRe: Stopping a thread Pin
Vikash Dubey27-Sep-04 20:44
Vikash Dubey27-Sep-04 20:44 
GeneralRe: Stopping a thread Pin
Sujan Christo27-Sep-04 22:01
Sujan Christo27-Sep-04 22:01 
GeneralRe: Stopping a thread Pin
22491727-Sep-04 21:34
22491727-Sep-04 21:34 
GeneralRe: Stopping a thread Pin
Sujan Christo27-Sep-04 21:54
Sujan Christo27-Sep-04 21:54 
GeneralRe: Stopping a thread Pin
Andrzej Markowski27-Sep-04 22:49
Andrzej Markowski27-Sep-04 22:49 
GeneralRe: Stopping a thread Pin
Sujan Christo28-Sep-04 1:40
Sujan Christo28-Sep-04 1:40 
GeneralRe: Stopping a thread Pin
Sujan Christo28-Sep-04 21:12
Sujan Christo28-Sep-04 21:12 
GeneralRe: Stopping a thread Pin
Andrzej Markowski28-Sep-04 22:24
Andrzej Markowski28-Sep-04 22:24 
GeneralRe: Stopping a thread Pin
Sujan Christo28-Sep-04 22:57
Sujan Christo28-Sep-04 22:57 
GeneralRe: Stopping a thread Pin
Sujan Christo28-Sep-04 23:52
Sujan Christo28-Sep-04 23:52 
GeneralRe: Stopping a thread Pin
David Crow28-Sep-04 4:35
David Crow28-Sep-04 4:35 
GeneralRe: Stopping a thread Pin
Sujan Christo28-Sep-04 19:48
Sujan Christo28-Sep-04 19: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.