Click here to Skip to main content
15,913,159 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Namespaces.. Pin
James T. Johnson15-Jan-03 0:32
James T. Johnson15-Jan-03 0:32 
GeneralRe: Namespaces.. Pin
leppie15-Jan-03 11:09
leppie15-Jan-03 11:09 
GeneralRe: Namespaces.. Pin
stephen woolhead19-Jan-03 4:01
stephen woolhead19-Jan-03 4:01 
Generallog4net... Pin
Ray Cassick14-Jan-03 18:50
Ray Cassick14-Jan-03 18:50 
GeneralRe: log4net... Pin
leppie15-Jan-03 0:37
leppie15-Jan-03 0:37 
GeneralRe: log4net... Pin
Paul Ingles15-Jan-03 11:25
Paul Ingles15-Jan-03 11:25 
GeneralRe: log4net... Pin
Gertjan Schuurmans15-Jan-03 12:06
Gertjan Schuurmans15-Jan-03 12:06 
Generalhelp with TreeView and right-click popup menu Pin
Marc Clifton14-Jan-03 11:31
mvaMarc Clifton14-Jan-03 11:31 
GeneralRe: help with TreeView and right-click popup menu Pin
leppie14-Jan-03 11:49
leppie14-Jan-03 11:49 
GeneralRe: help with TreeView and right-click popup menu Pin
Marc Clifton15-Jan-03 0:39
mvaMarc Clifton15-Jan-03 0:39 
GeneralVS.Net embedding cursors Pin
jstonge14-Jan-03 1:06
jstonge14-Jan-03 1:06 
GeneralGeneral opinion on architecture needed Pin
Paul Ingles13-Jan-03 11:56
Paul Ingles13-Jan-03 11:56 
GeneralRe: General opinion on architecture needed Pin
Gertjan Schuurmans13-Jan-03 13:02
Gertjan Schuurmans13-Jan-03 13:02 
GeneralCustom CodeAccessSecurity implementing Beta expriration Pin
Victor Vogelpoel13-Jan-03 1:34
Victor Vogelpoel13-Jan-03 1:34 
GeneralRe: Custom CodeAccessSecurity implementing Beta expriration Pin
Victor Vogelpoel16-Jan-03 7:36
Victor Vogelpoel16-Jan-03 7:36 
GeneralDatabound TreeView Pin
yaaang12-Jan-03 20:16
yaaang12-Jan-03 20:16 
GeneralUsing .NET objects from good-ol JScript Pin
Nick Blumhardt12-Jan-03 17:12
Nick Blumhardt12-Jan-03 17:12 
GeneralRe: Using .NET objects from good-ol JScript Pin
Stephane Rodriguez.14-Jan-03 1:42
Stephane Rodriguez.14-Jan-03 1:42 
You can call a .NET component from the outside world. That's done through CCW, COM Callable wrapper, which is by the way the keyword to use to find articles on Cp, MSDN, ...

The procedure is as follows :
- write a component using C#, or whatever .NET language you can think of
- register the component to the unmanaged world using the regasm.exe cmdline. Doing so, this component looks like a standard COM component, except the fact that the InProcServer32/LocalServer32 registry key points to mscoree.dll instead (that's the CLR entry point).
- use JScript to create an instance of this object. Here is how you create COM instances :
var ExcelSheet;
ExcelApp = new ActiveXObject("Excel.Application");
ExcelSheet = new ActiveXObject("Excel.Sheet");

// Make Excel visible through the Application object.
ExcelSheet.Application.Visible = true;
// Place some text in the first cell of the sheet.
ExcelSheet.ActiveSheet.Cells(1,1).Value = "This is column A, row 1";
// Save the sheet.
ExcelSheet.SaveAs("C:\\TEST.XLS");
// Close Excel with the Quit method on the Application object.
ExcelSheet.Application.Quit();




A useful link[^] on MSDN.
GeneralRe: Using .NET objects from good-ol JScript Pin
Nick Blumhardt14-Jan-03 16:33
Nick Blumhardt14-Jan-03 16:33 
Generalwildcard file exits and delete methods Pin
Lorne11-Jan-03 8:49
Lorne11-Jan-03 8:49 
GeneralRe: wildcard file exits and delete methods Pin
leppie12-Jan-03 8:46
leppie12-Jan-03 8:46 
GeneralResource Question Pin
matthias s.9-Jan-03 2:26
matthias s.9-Jan-03 2:26 
GeneralRe: Resource Question Pin
Stephane Rodriguez.9-Jan-03 2:56
Stephane Rodriguez.9-Jan-03 2:56 
QuestionHow to tell if .NET framework is installed? Pin
BigAndy9-Jan-03 1:42
BigAndy9-Jan-03 1:42 
AnswerRe: How to tell if .NET framework is installed? Pin
Stephane Rodriguez.9-Jan-03 2:50
Stephane Rodriguez.9-Jan-03 2:50 

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.