cad-JC
April 8th, 2008, 11:07 AM
Hi,
Can anyone help me and explain how to return a string from a function in a windows form application? I think this should be easy but I can't figure it out. Silly me
{
...
String^ Test;
String^ Test2 = "C:\TEMP\";
Test = functie(Test2;)
}
void functie(String^ Test2)
{
String^ Test3 = Test2 + "test.txt";
return Test3;
}
Any help is welcome.
Can anyone help me and explain how to return a string from a function in a windows form application? I think this should be easy but I can't figure it out. Silly me
{
...
String^ Test;
String^ Test2 = "C:\TEMP\";
Test = functie(Test2;)
}
void functie(String^ Test2)
{
String^ Test3 = Test2 + "test.txt";
return Test3;
}
Any help is welcome.