|
|
You should think about using MapXtreme instead. It's basically a .Net wrapper for the Ellis library which is the core for (nearly) all MapInfo products.
|
|
|
|
|
I am developing an application in VS2003, using a tabcontrol with collection of 5 tabpages, onload I have tabpage1 as main menu, on mainmenu I want picture boxes to link to other tab pages,I have linked the picture box click event to tabPage show method, but not working.
note: If I moved the tabpage 1(main menu) to last index then its working..
Does the tabPage index and click events are related?
Please help me.
Aruna
|
|
|
|
|
You should set tabControl.SelectedIndex instead of using tabPage.Show() method.
|
|
|
|
|
Hey,
How would I implement a tab control in VS2005? I don't think there is a tabbed control in .NET 2.0??
Cheers.
|
|
|
|
|
ma se wrote: I don't think there is a tabbed control in .NET 2.0??
You can find it on the "All Windows Forms" tab in the Toolbox.
|
|
|
|
|
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
|
|
|
|