Click here to Skip to main content
15,926,062 members
Home / Discussions / C#
   

C#

 
GeneralRe: What can i do to save files on D:\ Pin
dangkim31-Mar-06 21:36
professionaldangkim31-Mar-06 21:36 
Questionclock in statusbar? Pin
Roj31-Mar-06 4:10
Roj31-Mar-06 4:10 
AnswerRe: clock in statusbar? Pin
Ed.Poore31-Mar-06 6:06
Ed.Poore31-Mar-06 6:06 
QuestionFilter DataGrid Pin
cppdotnet31-Mar-06 3:30
cppdotnet31-Mar-06 3:30 
AnswerRe: Filter DataGrid Pin
Kodanda Pani3-Apr-06 0:00
Kodanda Pani3-Apr-06 0:00 
QuestionCan I somehow convert an array to mimic a variable arglist? Pin
dpmIris31-Mar-06 3:15
dpmIris31-Mar-06 3:15 
AnswerRe: Can I somehow convert an array to mimic a variable arglist? Pin
leppie31-Mar-06 3:34
leppie31-Mar-06 3:34 
GeneralRe: Can I somehow convert an array to mimic a variable arglist? Pin
dpmIris31-Mar-06 3:44
dpmIris31-Mar-06 3:44 
The C++ definition is say
printf(const char* format, ...)
My DLLImport is
[DllImport("xxx.dll", EntryPoint = "printf")]<br />
public static extern bool Print(String format, __arglist )


In my C# function I am getting an array of objects of varying lengths.
void func(Object[] objArr)<br />
{<br />
 // Now I will construct the format string based on the type of objects I am passed.<br />
 String format = "%s%d%lf"; etc....<br />
 ..<br />
 // Then I want to call the Print function passing the elements of the array as the  arguments to match the format string.<br />
 <br />
 Print(format, ??!?!? );<br />
}

Questionlock position of form Pin
magja31-Mar-06 2:20
magja31-Mar-06 2:20 
AnswerRe: lock position of form Pin
Ravi Bhavnani31-Mar-06 5:02
professionalRavi Bhavnani31-Mar-06 5:02 
QuestionDuplicate ToolStripMenuItem Pin
hpetriffer31-Mar-06 2:20
hpetriffer31-Mar-06 2:20 
QuestionHow to create a window like mIRC's status window? Pin
alexjstubbs31-Mar-06 2:14
alexjstubbs31-Mar-06 2:14 
AnswerRe: How to create a window like mIRC's status window? Pin
LongRange.Shooter31-Mar-06 3:15
LongRange.Shooter31-Mar-06 3:15 
GeneralRe: How to create a window like mIRC's status window? Pin
alexjstubbs31-Mar-06 5:54
alexjstubbs31-Mar-06 5:54 
Questionpages in a text editor Pin
abdelhameed8131-Mar-06 1:52
abdelhameed8131-Mar-06 1:52 
AnswerRe: pages in a text editor Pin
LongRange.Shooter31-Mar-06 3:16
LongRange.Shooter31-Mar-06 3:16 
QuestionOverride parentCtrl setting childCtrl.Enabled *solved Pin
livez31-Mar-06 0:52
livez31-Mar-06 0:52 
QuestionReverse Name Assignment Pin
Shadow Sprite31-Mar-06 0:32
Shadow Sprite31-Mar-06 0:32 
AnswerRe: Reverse Name Assignment Pin
CWIZO31-Mar-06 1:32
CWIZO31-Mar-06 1:32 
GeneralRe: Reverse Name Assignment Pin
Dave Kreskowiak31-Mar-06 5:50
mveDave Kreskowiak31-Mar-06 5:50 
AnswerRe: Reverse Name Assignment Pin
abhinish31-Mar-06 1:40
abhinish31-Mar-06 1:40 
GeneralRe: Reverse Name Assignment Pin
CWIZO31-Mar-06 2:18
CWIZO31-Mar-06 2:18 
GeneralRe: Reverse Name Assignment Pin
Shadow Sprite1-Apr-06 13:59
Shadow Sprite1-Apr-06 13:59 
QuestionSet 1 pixel of Image to transparent, how? Pin
Sasuko30-Mar-06 23:46
Sasuko30-Mar-06 23:46 
AnswerRe: Set 1 pixel of Image to transparent, how? Pin
CWIZO30-Mar-06 23:53
CWIZO30-Mar-06 23:53 

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.