Click here to Skip to main content
15,881,380 members
Home / Discussions / C#
   

C#

 
AnswerRe: Incrementing build numbers? Pin
leppie18-Sep-02 5:09
leppie18-Sep-02 5:09 
GeneralDateTime.AddMinutes Pin
sharon18-Sep-02 2:11
sharon18-Sep-02 2:11 
GeneralRe: DateTime.AddMinutes Pin
Paul Riley18-Sep-02 2:15
Paul Riley18-Sep-02 2:15 
GeneralRe: DateTime.AddMinutes Pin
sharon18-Sep-02 2:17
sharon18-Sep-02 2:17 
GeneralActiveX and c# Pin
ORi x18-Sep-02 0:58
ORi x18-Sep-02 0:58 
GeneralRe: ActiveX and c# Pin
Stephane Rodriguez.18-Sep-02 2:21
Stephane Rodriguez.18-Sep-02 2:21 
GeneralRe: ActiveX and c# Pin
ORi x18-Sep-02 3:29
ORi x18-Sep-02 3:29 
GeneralRe: ActiveX and c# Pin
Stephane Rodriguez.18-Sep-02 4:03
Stephane Rodriguez.18-Sep-02 4:03 
Using an ActiveX with .NET is achieved with one of these :
- you simply want to drag&drop the component onto a form. So yes, you import it from the Toolbox Window, and when you drop it, the .NET environment creates two wrapper assemblies (one for the ActiveX layer, one for the underlying COM layer). That's perfect as long as you just need to call methods, properties, and stuff. I would think that, once activated in a form, the ActiveX would by itself (I mean with no additional code) selfs depersists, hence load the previous state, but eh... who knows...
- the other solution is to bypass the wrapper assemblies, and derive the System.Windows.Forms.AxHost class. Once derived, you just need to implement a few methods to get this class actually attached to the underlying ActiveX. For more info on it, just googlesearch with "AxHost" : you'll find code. What I said in an earlier post is, once the class is derived, you may call one of the listed methods in the constructor (or any adequate place) to load the previous state.




MS quote (http://www.microsoft.com/ddk) : As of September 30, 2002, the Microsoft® Windows® 2000 DDK, the Microsoft Windows 98 DDK, and the Microsoft Windows NT® 4.0 DDK will no longer be available for purchase or download on this site.
GeneralBeep Pin
Mazdak18-Sep-02 0:02
Mazdak18-Sep-02 0:02 
GeneralRe: Beep Pin
Stephane Rodriguez.18-Sep-02 1:46
Stephane Rodriguez.18-Sep-02 1:46 
QuestionStatic Analysis tools? Pin
Martin D17-Sep-02 23:51
Martin D17-Sep-02 23:51 
AnswerRe: Static Analysis tools? Pin
Stephane Rodriguez.18-Sep-02 1:25
Stephane Rodriguez.18-Sep-02 1:25 
GeneralRe: Static Analysis tools? Pin
leppie18-Sep-02 4:15
leppie18-Sep-02 4:15 
GeneralRe: Static Analysis tools? Pin
leppie18-Sep-02 6:24
leppie18-Sep-02 6:24 
GeneralRe: Static Analysis tools? Pin
Stephane Rodriguez.18-Sep-02 6:47
Stephane Rodriguez.18-Sep-02 6:47 
GeneralRe: Static Analysis tools? Pin
leppie18-Sep-02 6:54
leppie18-Sep-02 6:54 
GeneralRe: Static Analysis tools? Pin
Martin D18-Sep-02 23:13
Martin D18-Sep-02 23:13 
GeneralRe: Static Analysis tools? Pin
leppie18-Sep-02 23:42
leppie18-Sep-02 23:42 
GeneralRe: Static Analysis tools? Pin
James T. Johnson19-Sep-02 0:18
James T. Johnson19-Sep-02 0:18 
GeneralRe: Static Analysis tools? Pin
leppie19-Sep-02 0:27
leppie19-Sep-02 0:27 
GeneralRe: Static Analysis tools? Pin
James T. Johnson19-Sep-02 0:42
James T. Johnson19-Sep-02 0:42 
GeneralRe: Static Analysis tools? Pin
James T. Johnson19-Sep-02 4:17
James T. Johnson19-Sep-02 4:17 
GeneralRe: Static Analysis tools? Pin
leppie19-Sep-02 5:24
leppie19-Sep-02 5:24 
GeneralRe: Static Analysis tools? Pin
James T. Johnson18-Sep-02 23:53
James T. Johnson18-Sep-02 23:53 
GeneralRe: Static Analysis tools? Pin
leppie19-Sep-02 0:17
leppie19-Sep-02 0:17 

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.