|
You have borland IDE also for C#, but the cost $$$$$$$$$$$$$$$$...............
Borland always beats MS, in price also.
http://www.priyank.in/
|
|
|
|
|
Yes, Borland C# Builder.
Can u tell me this :
I compile a project from C# Buider and it gives me the required output on the command line console. However, the console window terminates immediately on completion of the output.
What do I have to do, to make it visible until I give the exit command ? An option is writing the line:
Console.Readline ();
at the end of the program. But I want to know, if this can be done NON-programmaticaly; i.e. by adjusting the IDE itself - Project / Run / Tools -menus, etc.
Best regards,
|
|
|
|
|
Primal Code from Sapien covers the .Net platform.
Eclipse would be the next suggestion. It may not include "all flavors" currently but it seems to be maturing at very rapid pace.
|
|
|
|
|
|
Can i use global mouse hook to detect if an application has been clicked by a mouse and use another application to detect it?
|
|
|
|
|
I know how to hide my app so that you can not see it, but thats not very usefull. I want to know if there is any way that i can hide another app like notepad or something.
I already know how to find the window and control it if thats any help.
|
|
|
|
|
You need to get the windows handle by p invoking the windows API function "FindWindow" and pass the windows's title in the first parameter and null for the second. Then you the api function, "ShowWindow" with the two parameters of the window's handle (IntPtr) and either (int) 0 to hide the window or 1 to show it again.
Here is some code samples:
//using System.Runtime.InteropServices
[DllImport("user32.dll")]
private static extern IntPtr FindWindow(string Class, string Title);
[DllImport("user32.dll")]
private static extern bool ShowWindow(IntPtr handle, int swConstOption);
/\ |_ E X E GG
|
|
|
|
|
hi there,
i need help on how to do a pacman type game to run on c compiler
it can be as simple as possible
can u please include the source code
thanks
|
|
|
|
|
This request is about the worst I've seen here in a while.
You want someone to write you a pacman game? Go to rentacoder.com.
You want something for borland c? Don't ask for it in a C# forum.
If you have troubles with a specific C# problem you can ask for help here, for everything else please pick the right place!
mav
|
|
|
|
|
I couldnt say it better!!
|
|
|
|
|
|
Hi
I just wanted a little help with Borland C# Builder.
I compile a project from C# Buider and it gives me the required output on the command line console. However, the console window terminates immediately on completetion of the output.
What do I have to do, to make it visible until I give the exit command ?
Thanks for your help.
|
|
|
|
|
Add a Console.ReadLine() at the end of the program, that'll make the app stay on screen till you hit Enter.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Thanks a lot Senthil. That works just fine.
Actually the IDEs also have something to do with it.
With the SharpDevelop IDE, I don't have to to do this programmatically; i.e. add the ReadLine () method. The appl stays on screen and says : "Press any key to continue"
So I was thinking if in C# Builder, we can adjust the ouput from the Project/Tools menu, other than programmatically.
By the way, apart from VS .NET, which in your opinion would be good IDE for developing .NET application. It should also have intrinsic C#, ASP.NET, C++, Java, JSP. Anything else would be a plus.
Warm regards,
Sourav.
|
|
|
|
|
Hi,
I want to implement a ComboBox which has a Tooltip over itself. Some items maybe too long beyond the ComboBox's rectangle.When the ComboBox is expanded and Mouse move on any item, if the item is too long an floating tooltip over it should show. Now I can't find a method to locate the item index where the mouse cursor is over. How can I do? Please help me !
welspring
hope for help
|
|
|
|
|
hi,
You have to derive class using ComboBox and override mousemove method.
public class Class1:System.Windows.Forms.ComboBox
{ private ToolTip tp = new ToolTip();
public Class1()
{}
protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e)
{
tp.SetToolTip(this,this.Text);
this.Invalidate();
}
}
//=============================================
In the main program you can use intance of class1 instead of ComboBox
private ListBoxToolTips.Class1 comboBox1;
regards,
pubudu..
|
|
|
|
|
Hi there
I wand to develop a custom control in C# that is Tristate Checkbox,
Shall I get any sample coe in C#?
|
|
|
|
|
|
Hi!
The CheckBox component in the FCL already has everything you need.
Just set the ThreeState property to true and you're done, no need to re-invent the wheel!
mav
|
|
|
|
|
hi all,
Is there a way to get C# code again from C# Application EXE?
thanks in advance..
|
|
|
|
|
|
|
It's impossible to regenerate the original source code exactly how you wrote it. What you'll see is the equivalent code as translated from the IL.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hey everybody!
I'm serializing some strings in an application, but one of the string is a password. the thing is that when I go to the file that I'm serializing to, I can see with notepad the password clearly.
is there anyway to encode and decode this string before serializing it ?
|
|
|
|
|
Well here it is a function that i use to encode strings in XML files:
public static string ToB64(string text, Int16 type)<br />
{<br />
string rez = null;<br />
switch (type)<br />
{<br />
case 1:
rez = Convert.ToBase64String(Encoding.Unicode.GetBytes(text));<br />
break;<br />
case 2:
rez = Convert.ToBase64String(Encoding.ASCII.GetBytes(text));<br />
break;<br />
ase 3:
rez = Convert.ToBase64String(Encoding.UTF7.GetBytes(text));<br />
break;<br />
case 4:
rez = Convert.ToBase64String(Encoding.UTF8.GetBytes(text));<br />
break;<br />
}<br />
eturn rez;<br />
}
and to decode:
public static string FromB64(string text, Int16 type)<br />
{<br />
string rez = null;<br />
switch (type)<br />
{<br />
case 1:
rez = Encoding.Unicode.GetString(Convert.FromBase64String(text));<br />
break;<br />
case 2:
rez = Encoding.ASCII.GetString(Convert.FromBase64String(text));<br />
break;<br />
case 3:
rez = Encoding.UTF7.GetString(Convert.FromBase64String(text));<br />
break;<br />
case 4:
rez = Encoding.UTF8.GetString(Convert.FromBase64String(text));<br />
break;<br />
}<br />
return rez;<br />
}
|
|
|
|