Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
GeneralRe: Active X (ocx) into web project Pin
Heath Stewart27-Oct-03 8:08
protectorHeath Stewart27-Oct-03 8:08 
GeneralHTML Processing in Windows Application Pin
Inam27-Oct-03 7:25
Inam27-Oct-03 7:25 
GeneralRe: HTML Processing in Windows Application Pin
Heath Stewart27-Oct-03 8:12
protectorHeath Stewart27-Oct-03 8:12 
Generalform object's constructor Pin
coolerbob27-Oct-03 6:30
coolerbob27-Oct-03 6:30 
GeneralRe: form object's constructor Pin
Heath Stewart27-Oct-03 6:39
protectorHeath Stewart27-Oct-03 6:39 
GeneralHelp richtextbox Pin
Wyetela27-Oct-03 6:08
Wyetela27-Oct-03 6:08 
GeneralActive X objct into web project Pin
@LX27-Oct-03 6:00
@LX27-Oct-03 6:00 
GeneralRe: Active X objct into web project Pin
Heath Stewart27-Oct-03 6:29
protectorHeath Stewart27-Oct-03 6:29 
Sounds like you didn't instantiate the control. It looks like you got a NullReferenceException? Just 'new it up' like every other class:
MyOCXClass ocx = new MyOCXClass();
Adding a COM control to your .NET projects in VS.NET automatically creates a Runtime Callable Wrapper (RCW), which is what MyOCXClass is (assuming your OCX is named "MyOCX"). It also imports all the interfaces, enums, structs, etc. that are defined for the object(s).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
QuestionThreading using the ref statement? Wha Happen? Pin
jremignanti27-Oct-03 5:23
jremignanti27-Oct-03 5:23 
AnswerRe: Threading using the ref statement? Wha Happen? Pin
Heath Stewart27-Oct-03 6:35
protectorHeath Stewart27-Oct-03 6:35 
GeneralRe: Threading using the ref statement? Wha Happen? Pin
jremignanti27-Oct-03 8:00
jremignanti27-Oct-03 8:00 
GeneralRe: Threading using the ref statement? Wha Happen? Pin
Heath Stewart27-Oct-03 8:05
protectorHeath Stewart27-Oct-03 8:05 
GeneralRe: Threading using the ref statement? Wha Happen? Pin
jremignanti27-Oct-03 8:28
jremignanti27-Oct-03 8:28 
GeneralRe: Threading using the ref statement? Wha Happen? Pin
Heath Stewart27-Oct-03 8:34
protectorHeath Stewart27-Oct-03 8:34 
GeneralRe: Threading using the ref statement? Wha Happen? Pin
jremignanti27-Oct-03 9:02
jremignanti27-Oct-03 9:02 
GeneralRe: Threading using the ref statement? Wha Happen? Pin
Heath Stewart27-Oct-03 10:08
protectorHeath Stewart27-Oct-03 10:08 
GeneralRe: Threading using the ref statement? Wha Happen? Pin
jremignanti27-Oct-03 10:36
jremignanti27-Oct-03 10:36 
GeneralRe: Threading using the ref statement? Wha Happen? Pin
Heath Stewart27-Oct-03 10:43
protectorHeath Stewart27-Oct-03 10:43 
GeneralRe: Threading using the ref statement? Wha Happen? Pin
jremignanti27-Oct-03 10:54
jremignanti27-Oct-03 10:54 
GeneralRe: Threading using the ref statement? Wha Happen? Pin
Heath Stewart27-Oct-03 10:55
protectorHeath Stewart27-Oct-03 10:55 
GeneralRe: Threading using the ref statement? Wha Happen? Pin
jremignanti27-Oct-03 11:17
jremignanti27-Oct-03 11:17 
GeneralAllowDrop Property Problem Pin
Volker Jacobsen27-Oct-03 3:14
Volker Jacobsen27-Oct-03 3:14 
GeneralRe: AllowDrop Property Problem Pin
Heath Stewart27-Oct-03 8:44
protectorHeath Stewart27-Oct-03 8:44 
GeneralRe: AllowDrop Property Problem Pin
Volker Jacobsen27-Oct-03 20:46
Volker Jacobsen27-Oct-03 20:46 
GeneralTwo ImageList and two ImageIndex (and maybe... useful source code for you) Pin
god4k27-Oct-03 1:36
god4k27-Oct-03 1:36 

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.