|
If you can get a handle to the desktop window, then you can make that the parent of your message box. I think you need p/invoke for this, but you may not.
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 )
|
|
|
|
|
You have 2 options:
1. enable "Interact with desktop" ... this is not such a good solution, direct interaction with the desktop can be a security risk.
2. use remoting to interact with a front end app running in the task tray. THis is a right bastard to get working :p but is the "correct" way
|
|
|
|
|
how to give white spaces
my string is link this...
<compile include="AssemblyInfo.cs"><subtype>Code
and i want to show like that
<compile include="AssemblyInfo.cs">
<subtype>Code
|
|
|
|
|
Situ14 wrote: how to give white spaces
my string is link this...
Code
and i want to show like that
Code
I would say there is more than enough white space already.
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Environment.NewLine gives a carriage return. But, we have no idea how you render this, or where, so we can't really help much more than that
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 )
|
|
|
|
|
I believe that you should have something like this:
String s="how to give white spaces"+Convert.ToChar(10)+Convert.ToChar(13)+"my string is link this..."+Convert.ToChar(10)+Convert.ToChar(13)+"Code"+Convert.ToChar(10)+Convert.ToChar(13)+Convert.ToChar(10)+Convert.ToChar(13)+"and i want to show like that";
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
I created an OL 2003 VSTO Addin in C#. I used the NewInspector event to add a toolbar whenever a Mail is opened.
It works fine when i open a Mail in Outlook (e.g. New) or when i create the mail via the contextmenu in Windows Explorer.
But the event doesn´t fire, when i create a new Mail via Excel (File - send to - E Mail attachement).
How can i solve the problem?
Any Help will be appreciated
EisMayer
|
|
|
|
|
How do i calculate subtitems[4] * subtitems[5] + next item to a label..
like this:
(subtitems[0]),subtitems[1],subtitems[2],subtitems[3], 3.5, 100
(subtitems[0]),subtitems[1],subtitems[2],subtitems[3], 3.5, 100
awnser should be = 700..
tnx
|
|
|
|
|
You have to convert the subitems to numbers before you can carry out a calcualtion.
|
|
|
|
|
How, can you give me a example??
i´m pretty new on c#
can you give me a little code
tnx
Best regards
//André
|
|
|
|
|
I'm always concerned by people who are attempting to write complex code, but have not taken the time to learn how to do trivial, core stuff. Have you thought about learning C# before you play with windows forms ?
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 )
|
|
|
|
|
int.TryParse is how to turn the strings into numbers, the rest should be obvious.
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 )
|
|
|
|
|
Is the Shared Add-in template available for the Visual Studio 2005 Express Edition? If so where would I find the Shared Add-in template?
Thanks,
Chad Dolan
|
|
|
|
|
Nope. Professional and above only.
|
|
|
|
|
Dave,
Thanks for the information. I thought that was going to be the answer but I need to double check.
Thanks,
Chad Dolan
|
|
|
|
|
I do not believe that the Express Edition support Add-ins.
|
|
|
|
|
Joseph,
Thanks for helping me out. I figured that the Express Edition did not support Add-ins but I had to make sure.
Thanks,
Chad Dolan
|
|
|
|
|
Hi,
Is there any FREE webserive or Database to populate Country, Metros, State, City, Zip.
a) all Country list
b) Metros in a Country
c) States in a Country
d) Cities in a State
Thanks in advance
|
|
|
|
|
I couldn't find anything when I looked for this last month, but maybe you will have better luck! (I did find some limited resources that tell you the states that match zip codes for the US, Germany, and Canada (Provinces in Canada))
|
|
|
|
|
i want to show the percentage of the records in pie charts and bar charts using the crystal reports.Can somebody please provide any useful link.
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
Any idea how to add anything to a full screen video implemented using DirectX SDK??
Say subtitle, slider, a button, any control..
Thanks
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Hello friends,
How can i check that a value entered in the TextBox is a numeric value i.e integer or double value?
Thanks,
Nagendra.
|
|
|
|
|
Decimal.TryParse
Int.TryParse
|
|
|
|
|
System.VisualBasic.IsNumaric(string str) which will returns boolean value
Ramana
|
|
|
|
|
But that means adding the VisualBasic assembly to your projects and makes you feel dirty
*shudders and scrubs to get clean again*
hehe, but seriously thats a good answer
|
|
|
|