|
Sorry, I meant for web applications. Everyone says that I must use the multi view control, or something like that.
|
|
|
|
|
Thanks again, your code is working fine
|
|
|
|
|
Thanks Andrew Lygin.
Its solved my problem too.
Regards.
_____________________________
Success is not something to wait for, its something to work for.
|
|
|
|
|
Hi,
Would like to apply colors (BG Color, FG color & Font Color) of selected windows ColorScheme for windows controls.
Currently reading the ColorSchme vaues from registry by using
Microsoft.Win32.Registry.CurrentUser.OpenSubKey("Control Panel").OpenSubKey("Appearance").OpenSubKey("Schemes")
This will return the Scheme values…..e.g. Brick, Arizona etc….
I would like to get the color values for windows controls for the selected colorscheme.
Can anybody help in this?
Thanks,
RK
|
|
|
|
|
Hi, RK.
I think System.Drawing.SystemColors class can help you.
|
|
|
|
|
hi all,
are there any ways we can pass in commands in command prompt using c# programming? i have an .exe file which i need to exec from my program, however i have problems with doing so when i tried using microsoft.bulid.task 's exec class. Can anyone help?
thanks
|
|
|
|
|
If you want to start a program (.exe), you can use :
System.Diagnostic.Process.Start("test.exe", "another command");
|
|
|
|
|
so i do not need to indicate where is the .exe file?
and wat do u mean by another command?
if i want to pass in command(as in on in the command prompt)? e.g copy i.txt j.txt
thanks
|
|
|
|
|
This sample has more details:
System.Diagnostic.Process.Start(@"c:\test\consoleapplication1\debug\test.exe", "i.txt j.txt");
|
|
|
|
|
what if i have more then 1 command?
thanks
|
|
|
|
|
How could i manage windows display setting(screen resolution)from win application ?
OR how could i set my win application according to screen resolution?
salmani
|
|
|
|
|
You can use this:
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
|
|
|
thanks but it couldnt be useful for me.
I want my windows applications catch some argumans that in which screen resolution user is running this application and set my usercontrol location and size by coding.
|
|
|
|
|
Haven't we replied to this several times lately?
Handle the "resize" event. This is the ONLY option for a form unless you are making something really special - like a kiosk mode application where you need to ensure your application is the only one running on the screen (again, only do this if you KNOW this is the case, if you THINK it - then you are wrong).
If it is to run in "kiosk mode", there is apparently a something called "Screen.*" according to previous replies to this (I have no idea if it is a class with static properties or a property on the application or form class).
|
|
|
|
|
Hi, Salmani.
To set your application according to screen resolution you can use System.Windows.Forms.Screen class which provides information about all displays on the system.
|
|
|
|
|
To Get Screen Resoltion this is the code
MessageBox.Show(System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width())
MessageBox.Show(System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height())
To set the Screen According to your Resoltuon . you have to use Anchor and Dock properties accordingly as with the help of these you can expand your controls when the form will be maximized or resized.
Remember you dont need to code for this only visual control settings required
|
|
|
|
|
problem configuring c# with outlook send mail security issues,
|
|
|
|
|
mac@thework wrote: problem configuring c# with outlook send mail security issues
Very vague, what exactly is the problem?
I'd like to help but I am too lazy to Google it for you.
|
|
|
|
|
securiy dialog keeps popping up
|
|
|
|
|
Hi,
I have a window form which consists of many controls and logic inside, so when the form is being shown, the controls rendering process on the form last for 2-3 seconds. How can I use a wait cursor and show the form immediately without the rendering process being seen by users ?
Thanks
|
|
|
|
|
Hy,
I don't know if this will help you but try to delete the this.ResumeLayout(false) line from the InitializeComponent function and put it in the FormLoad event. If you load some controls in a dynamic way write the line this.SuspendLayout() in the begining of the code where you load the controls and the this.ResumeLayout(false) when you finish loading. It helped me some times. Hope this is a solution for you.
Do your best to be the best
|
|
|
|
|
You can set the form's cursor property into wait cursor at the Form_load event. instead You can improve the Form loading performace by setting form's property DoubleBuffered=true
|
|
|
|
|
Hi all,
I have created a chat application and now i want the user to be able to
see his/her yahoo messenger contacts in my messenger.
Any links or pointers in this context will be appreciated.
Thanks & regards,
Pramod
|
|
|
|
|
Hello Pramod,
I think this will help u.
regards,
Divyang Mithaiwala
System Engineer & Software Developer
|
|
|
|
|
Thanks for the reply but i want to make my application compatible with
Yahoo, MSN and AOL.
Do these messengers expose any kind of services which can be accessed
and then the messages can be transfered?
Thanks,
Pramod
|
|
|
|