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

.NET (Core and Framework)

 
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 
GeneralASP.NET Apps NOT Working HELP ! Pin
Dato8-Jan-03 4:12
Dato8-Jan-03 4:12 
GeneralRe: ASP.NET Apps NOT Working HELP ! Pin
Daniel Turini8-Jan-03 5:04
Daniel Turini8-Jan-03 5:04 
GeneralRe: ASP.NET Apps NOT Working HELP ! Pin
Dato8-Jan-03 6:24
Dato8-Jan-03 6:24 
GeneralGOT IT FIXED: STRANGE: Re: ASP.NET Apps NOT Working HELP ! Pin
Dato11-Jan-03 5:11
Dato11-Jan-03 5:11 
GeneralCannot Uninstall Visual Studio.Net Pin
garfild8-Jan-03 4:00
garfild8-Jan-03 4:00 
GeneralRe: Cannot Uninstall Visual Studio.Net Pin
Nick Parker8-Jan-03 4:17
protectorNick Parker8-Jan-03 4:17 
GeneralCodeProject namespace Pin
charliedurrant7-Jan-03 6:41
charliedurrant7-Jan-03 6:41 
GeneralRe: CodeProject namespace Pin
leppie7-Jan-03 7:10
leppie7-Jan-03 7:10 
GeneralRe: CodeProject namespace Pin
charliedurrant7-Jan-03 7:49
charliedurrant7-Jan-03 7:49 
GeneralRe: CodeProject namespace Pin
SimonS8-Jan-03 22:39
SimonS8-Jan-03 22:39 

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.