Click here to Skip to main content
15,900,378 members
Home / Discussions / C#
   

C#

 
AnswerRe: help me quickly Pin
Christian Graus3-Oct-07 17:55
protectorChristian Graus3-Oct-07 17:55 
GeneralRe: help me quickly Pin
PIEBALDconsult3-Oct-07 17:57
mvePIEBALDconsult3-Oct-07 17:57 
GeneralRe: help me quickly Pin
Christian Graus3-Oct-07 19:21
protectorChristian Graus3-Oct-07 19:21 
GeneralRe: help me quickly Pin
karthick.n.mca3-Oct-07 23:18
karthick.n.mca3-Oct-07 23:18 
Question[WPF]: Tab Control and TabItem (focus?) woes.... Pin
Super Lloyd3-Oct-07 16:59
Super Lloyd3-Oct-07 16:59 
Questionhelp I need to translate this code from C# to VC++ Pin
AntonioRamirezL3-Oct-07 16:30
AntonioRamirezL3-Oct-07 16:30 
JokeRe: help I need to translate this code from C# to VC++ Pin
PIEBALDconsult3-Oct-07 16:56
mvePIEBALDconsult3-Oct-07 16:56 
AnswerRe: help I need to translate this code from C# to VC++ Pin
Christian Graus3-Oct-07 17:08
protectorChristian Graus3-Oct-07 17:08 
AntonioRamirezL wrote:
using Copy_Vendor.API;


There is #include in C++, but it does something slightly different. Do you have this component in C++ ? If not, you are hosed. You can write a C++/CLI wrapper for this code, but then you need .NET again.


AntonioRamirezL wrote:
public partial class Form1 : Form

{

public Form1()

{

InitializeComponent();

}


None of this converts directly, you'll need to create an MFC form to replace this one


AntonioRamirezL wrote:
CopyVendor copyvendor = new CopyVendor();

copyvendor.SendPrintJobInformation(Convert.ToInt32(txtData.Text), 25.93);


All this code does, is call the component. Do you have a non .NET version of the component ? If so, it's trivial, if not, you need to use .NET.


AntonioRamirezL wrote:
catch (Exception ex)

{

string temp = ex.Message;

}



C++ has exceptions, but not exception objects.

At the end of the day, this is boilerplate forms code, which calls a black box. Either you have that black box visible to C++, or you don't.


Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: help I need to translate this code from C# to VC++ Pin
AntonioRamirezL4-Oct-07 5:56
AntonioRamirezL4-Oct-07 5:56 
GeneralRe: help I need to translate this code from C# to VC++ Pin
Dave Doknjas4-Oct-07 13:29
Dave Doknjas4-Oct-07 13:29 
QuestionHow do i.... Pin
C# Beginner Nick3-Oct-07 15:17
C# Beginner Nick3-Oct-07 15:17 
AnswerRe: How do i.... Pin
Matthew Cuba3-Oct-07 15:31
Matthew Cuba3-Oct-07 15:31 
GeneralRe: How do i.... [modified] Pin
C# Beginner Nick3-Oct-07 15:42
C# Beginner Nick3-Oct-07 15:42 
AnswerRe: How do i.... Pin
Anthony Mushrow4-Oct-07 3:24
professionalAnthony Mushrow4-Oct-07 3:24 
QuestionCan`t set Focus to my Form .... ? Pin
Yanshof3-Oct-07 14:44
Yanshof3-Oct-07 14:44 
GeneralRe: Can`t set Focus to my Form .... ? Pin
Guffa3-Oct-07 20:46
Guffa3-Oct-07 20:46 
GeneralRe: Can`t set Focus to my Form .... ? Pin
Yanshof4-Oct-07 5:30
Yanshof4-Oct-07 5:30 
AnswerRe: Can`t set Focus to my Form .... ? Pin
faith4ever4u8-Oct-09 8:20
faith4ever4u8-Oct-09 8:20 
GeneralRe: Can`t set Focus to my Form .... ? Pin
Dave Kreskowiak9-Oct-09 12:23
mveDave Kreskowiak9-Oct-09 12:23 
Questionget files from directory Pin
hamid_m3-Oct-07 13:14
hamid_m3-Oct-07 13:14 
AnswerRe: get files from directory Pin
ChrisKo3-Oct-07 13:46
ChrisKo3-Oct-07 13:46 
GeneralRe: get files from directory Pin
Luc Pattyn3-Oct-07 15:40
sitebuilderLuc Pattyn3-Oct-07 15:40 
GeneralRe: get files from directory Pin
ChrisKo4-Oct-07 7:06
ChrisKo4-Oct-07 7:06 
AnswerRe: get files from directory Pin
balaji baskar3-Oct-07 14:00
balaji baskar3-Oct-07 14:00 
QuestionRetrieve a cells value before it was changed Pin
Glen Harvy3-Oct-07 12:43
Glen Harvy3-Oct-07 12:43 

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.