Yes System.IO.File has enough functions to deal with all this - and moreover splitting by . may not work all the time . The best way to do it is by using GetFileNameWithoutExtension()
I would use the LostFocus or the Leave event of the first textbox and then do what the above post says. If you are populating the textbox as it loads, you may want to check if the form is visible...
Okay! The code does exactly this - there is a datagridview thats has few columns like Name, Description and say DateTime field. This gridview is bound to a BindingSource object that is in turn bound...
Try windowsclient.net - they do give you a general idea as well as detailed articles\examples, and may be you can learn from there. I would start from WPF.
Menus do invoke dialogs right?? Usually buttons and menus are given to do the same operations liek New, Edit, Delete. Menus are a good space saving technique as well.
I have simple datagridview that saves each line as a record to XML as they are entered. I use the CellEndEdit event to call the WriteXml() of the gridview which should save the coulmns as nodes in...
So, you do not have the source code? If you are trying to hack another's program, then thats against copyright laws and possibly you cant get legal help here. .NET reflector will let you see the...
Any control's property can be read by getting its name during runtime. It can also be set similarly. Does e have a Name property here? You can use that retrieve checkbox control itself.
MSDN is the best source of information. You may want to look at C#'s Programmers reference. Its very nice to learns its concept first and then check out examples at
http://windowsclient.net/ as...
Hi,
I have some currency values to be formatted. They are stored as double and when I use String.Format("{0:C2}", strValue); it does NOT yield the right results.
Thanks for the inputs though. As I said, I fixed it by commenting out the droppeddown statement. I understand it as when a combobox drops down it generates drop down event which also is an...
Use a query and get the results you want for 12112 -like Select * from xyz where projectnum= "12112" and then set this as datasource to gridviews 2 and 3 appropriately.
Hi all,
I basically want to have a combo that lists some account codes (e.g ALB1E, BSE2F) and when the user types the first few letters and presses enter, I calla function that will...
viperbyre, techgnome thank you for your replies as well. Yes, Iam simply going to read through the cells from the gridview columns - I can take data any format it comes. :)
Technically, that did not make sense anyway. Iam not surprised that you are an MVP?? and a Mod?? Ok, that goes against the basic principles of any OO lang like C#. Local Objects do NOT go out of...