I have a composite user control for standard data entry operations in my Windows Forms application. Save, Delete, Add, Cancel, Find. I want the click events on these buttons to be raised to whatever form the user control is placed on. Can anyone give me some help in getting with the button click...
How would I convert a currency string to a decimal?
I type "$100.95" in a text box and then want to store it as a decimal.
decimal d = txtPrice.Text;
This throws an exception.
Thanks,
Codemech
I am evaluating Crystal Reports XI Developer edition and have found a very annoying problem. It takes about 30 seconds to run the Load() method of the ReportDocument object in C# when connecting the crystal report to a dataset object. There is no delay at all when using the Crystal 9 version...
Can anyone help me with validating a textbox for an integer value. The texbox is designed to hold a contract number which is an integer value in the backend sql database. I know that a try/catch block will work and that is ok but I am looking for any other creative solutions. This is a Windows...
I have a SQL field, "PurchaseDate DateTime Null", where the date is optional.
Is it possible to set a DateTimePicker on a Windows form to a null value?
I am starting to think that if you need null date values on your Windows form then the DateTimePicker control is not the correct control to...
I have the same problem.
Access 2002 SP3 ADP file, SQL 2000 backend
Simple test table with a primary key ( int )
and one varchar( 6000 ) field.
I put in 5000 characters of test data in the varchar field and then run a query from the access adp with 2 columns ( the test varchar column and a...
I want to create a vba macro in Outlook to open the file dialog box positioned to a default client folder. This macro is to be used by 15 people on a lan. My questions are:
1. Once written, how do I share the vba module with the other users so that I only need to maintain one copy of the code...
This has something to do with a null recordset. I have seen it many times and cannot figure out how to get the form controls to display when there are no records returned in the rowsource.
C
I am using pcAnywhere v11 and want to be able to connect to my office pc (WinXP pro) and transfer files to my home pc (WinXP Pro) from a mapped drive (F: = \\server1\data) on my windows 2003 file server. This all works fine as long as I log into the office pc first. If I just connect and launch...
I want to export and ado recordset to excel without having to use code to create the excel spreadsheet and loop through the recordset to populate the cells.
I want to use something like the docmd.outputto command. Has anyone been able to get this to work?
Codemech
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.