Click here to Skip to main content
15,899,679 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralPassword Code Pin
Derdog1016-May-05 16:37
Derdog1016-May-05 16:37 
GeneralRe: Password Code Pin
Christian Graus8-May-05 14:13
protectorChristian Graus8-May-05 14:13 
GeneralProtect a file by group Pin
sloaken6-May-05 15:37
sloaken6-May-05 15:37 
GeneralIs there a way to print a String using mc++ Pin
Lagwagon565-May-05 7:25
Lagwagon565-May-05 7:25 
GeneralRe: Is there a way to print a String using mc++ Pin
Christian Graus8-May-05 14:14
protectorChristian Graus8-May-05 14:14 
GeneralC++ Problem Pin
Dohan CRPathirana4-May-05 21:38
sussDohan CRPathirana4-May-05 21:38 
GeneralRe: C++ Problem Pin
ushani5-May-05 18:24
ushani5-May-05 18:24 
GeneralInterop::Excel Pin
Delver4-May-05 9:24
Delver4-May-05 9:24 
Hi Guys I have been banging my head against the wall for some time.Please Help...
I have downloaded an example in C#.NET and have made some conversion that have worked
in my C++.NET winform application. Does anyone have any ideas?
The last line does not work.......

// get the collection of sheets in the workbook

//C# example
// Excel.Sheets sheets = theWorkbook.Worksheets;
// This conversion works

Interop::Excel::Sheets *sheets = theWorkbook->Worksheets;

//C# example
// Excel.Worksheet worksheet = (Excel.Worksheet)sheets.get_Item(1);
// This does not work..it is looking for a
// error C2664: 'Interop::Excel::Sheets::get_Item' : cannot convert parameter 1 from 'int'
// to 'System::Object __gc *'

Interop::Excel::Worksheet *worksheet = (Interop::Excel::Worksheet*)sheets->get_Item(1);
Confused | :confused:
GeneralCalling an excutable from C++ Pin
HTisGood1-May-05 0:02
sussHTisGood1-May-05 0:02 
GeneralProcess Pin
ursus zeta1-May-05 10:50
ursus zeta1-May-05 10:50 
QuestionHow Do you pass a variable between forms? Pin
Lagwagon5629-Apr-05 7:03
Lagwagon5629-Apr-05 7:03 
AnswerRe: How Do you pass a variable between forms? Pin
Christian Graus1-May-05 11:24
protectorChristian Graus1-May-05 11:24 
GeneralRe: How Do you pass a variable between forms? Pin
Lagwagon565-May-05 7:24
Lagwagon565-May-05 7:24 
Generalcode for controling web came Pin
Randil28-Apr-05 20:09
Randil28-Apr-05 20:09 
QuestionUsing PlaySound() in VC++ .net managed? Pin
ScottLeff26-Apr-05 12:23
ScottLeff26-Apr-05 12:23 
AnswerReally Dumb Suggestion Pin
ursus zeta28-Apr-05 11:11
ursus zeta28-Apr-05 11:11 
GeneralRe: Really Dumb Suggestion Pin
ScottLeff28-Apr-05 16:35
ScottLeff28-Apr-05 16:35 
GeneralSo Damn Easy Pin
ursus zeta30-Apr-05 9:19
ursus zeta30-Apr-05 9:19 
GeneralRe: So Damn Easy Pin
ScottLeff1-May-05 12:00
ScottLeff1-May-05 12:00 
Generalsorry Pin
ursus zeta4-May-05 9:22
ursus zeta4-May-05 9:22 
GeneralPointer to managed object <undefined> off timer thread Pin
Anonymous26-Apr-05 10:23
Anonymous26-Apr-05 10:23 
GeneralRe: Pointer to managed object <undefined> off timer thread Pin
Anonymous26-Apr-05 16:59
Anonymous26-Apr-05 16:59 
Questiongarbage collection fails? Pin
cchere23-Apr-05 13:04
cchere23-Apr-05 13:04 
GeneralBaseClass Interaction Problem Pin
classsystem23-Apr-05 5:21
sussclasssystem23-Apr-05 5:21 
GeneralRe: BaseClass Interaction Problem Pin
toxcct26-Apr-05 0:40
toxcct26-Apr-05 0:40 

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.