Answer Questions
Jonface BrainFreeze position label
I just drove myself crazy with simple math. (and label TextAlign properties) Had to walk away. I'm trying to center an autosize label between command buttons... ...Show All
Paul Roberts Start procedure on Form_load.
I need to start any procedure only once on application's start but Form should be visible. I'm using: private void Form1_Load( object sender, System.EventArgs e) { tmr.Enabled = true ;   ...Show All
David Pinero ObjectDataSource with strongly typed collection
Hi, I'm using ObjectDataSource and giving MyCollection to it. However, the object (in my case GridView) displays only one item, the collection - with columns like Count and so on. How do I make the GridView to be populated by the items in the collection (currently accessing them using indexer (or IList GetList which is not supported by ODS). Thanks, Jan Hi, it returns MyCollection which derives from L ...Show All
ANDERSLIND Problem with my own DLL
I want to import my own class library (dll) but i get the same error message what ever i do. "Unable to find an entry point named 'InfoStart' in DLL 'ProcessWindow.dll'." And my code is looking like this. [ DllImport ( "ProcessWindow.dll" )] public static extern void InfoStart(); private void MainFormLoad( object sender, System. EventArgs e) { InfoStart(); } ...Show All
Subhash Bhave Differnce between DataSourceID and DataSource..
What's the differnce between DataSourceID and DataSource of the GridView in Web forms Thanks Julia MSDN: DataSource Gets or sets the object from which the data-bound control retrieves its list of data items. (Inherited from BaseDataBoundControl .) DataSource: Gets or sets the object from which the data-bound control retrieves its list of data items. (Inherited from ...Show All
Eric Immerman proxy problem
Hi all, VS 2003, windows application that uses Internet. I create an application to merge pdf files downloaded from Internet (which give me one file for one page). I'm behind a proxy server. The problem is: when i request a file, the web site creates a temporary file with the page (xxxx.pdf, where pdf are numbers). So these files are also on proxy server and sometimes i have some error because (i think) the page is got from proxy server ...Show All
xmlfan How can a from always Maximized
Hello friends, I am developing one Windows Application. This application uses Mdi Parent & MDI child forms. I want that all the child forms must be always maximized . it should not allow restore/nimimize . How can i do this Rgds, Kiran Suthar Try setting FormBorderStyle to FixedSingle. Hi, Try to set the FormBorderStyle property of a form to any option other than Sizable and Sizable ...Show All
Michael Exall Extracting the summary tag at runtime
Given a .Net object, I need to loop through it, printing out the summary tag information for each field/method, along with the "param" tag contents for each method parameter. Is there any way I can read the summary tag information for an instantiated object at run time These tags are not compiled into the metadata of the application, and are not available at run-time. If you need access to them, set you ...Show All
ACHawk How to Implement an Interface
Hello Everyone, I have an Interface, named IChannelEvents. How can I implement it in my C# code. This interface is coming by refrencing a COM Component. When I have to call some method I have to pass a reference to it, how can I do that..... For example... channel = d.OpenChannel("Client", IChannelEvents); How can I pass IChannelEvents, as when I do it, its NULL....... I know the way to do it in C++ code, but I want t ...Show All
My Nam Regarding inserting images in datagrid column
Hi I am using datagrid( .net 1.1) in .net 2.0. I am binding the datasource to the datagrid. I have one column which is state (varchar) i want to insert images in that column. Pls tell the above is possible if not pls tell the alternative as i have to take image column. I am not getting how to set column or cell type as image. Any body ASAP pls Thanks & Regards Bhargavi ...Show All
Steve Marsden Ldapconnection (CredentialCache.DefaultCredentials to NetworkCredentials)
well simply im trying to make an LDAP tool that can modify the Active Directory objects. at the moment DirectoryEntry seems to be most appropriate so, i wanted to make the app using DirectoryEntry and ldapconnection to bind the connection. I want to use local user's credentails so user does not have to enter password. (Im not certain this is possible or not) CredentialCache myCache = new CredentialCache(); ldapConnection = ne ...Show All
ADavis How do i create hidden Form section ?
I want to create section of form that opens only if i presss certain button ... and then closes when i press the same button again ... I mean like details for error message This is example how i want to make it ... http://www.svara-kontrole.lv/hidden_formsection.JPG Make the form so that it can not be re-sized, you may also have to convert it to a dialog style. Then at design time expand the form and add the controls. Then when the butto ...Show All
Kalagara Call Tree?
Is there any way to display a solution's call tree in the IDE Thanks, Ray Debug \ Windows \ Call Stack The Debug menu only appears while you're debugging. Customize the menu, select the Commands tab, select category 'View', and its called 'Call Browser' The 'call browser' is on the right track. I've added to my View menu but can't get it to do anything. I can bring up the window but can't see ...Show All
AC [MVP MOSS] Hexadecimal Question
The code below (in VB) writes a hexidecimal number to a registry location. Can someone please tell me the equivalent hex representation in C# I put a couple of the lines that I tried below, but that didn't quite work right. When the value in the registry is correctly set, the C# code works (registry should be all "F's" which returns "-1"). The problem is that I cannot use a string to set this registry value, if I do it will ...Show All
VIhang Question about class design best practice
I've been trying to find and answer to this question for some time so I hope it can be answered here. My question is regarding the use of properties (get/set) in a class that will not be exposed to the public. Is it better (i.e. more effecient, best practice, Microsoft way, etc) to use a property to facilitate the use of an external object within a class as in example 1. OR just use the external class's properties directly without ...Show All
