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
I wrote a macro to change the template back to normal --
Sub test()
'
' test Macro
' Macro recorded 4/15/2004 by Codemech
'
With ActiveDocument
.UpdateStylesOnOpen = False
.AttachedTemplate = "Normal" ' THIS IS THE KEY LINE
End With
End Sub
-- Codemech
I have been fighting this problem for weeks and think I figured it out today. The slow opening docs were created from a template that no longer exists on the network. Go into Tools/Templates and Add-Ins and clear out the Document Template field then SAVE.
The doc opens fast again!
-- Codemech
No code that is creating objects. My main concern is that when my SQL 2000 database grows in size ( more records added over time ) what is the impact of the Access 2000 adp file size.
-- Codemech
I have finished my eval. of Case Studios 2 and have made the purchase ($349.00). So far I am very pleased. One of the big items that influenced my decision is that they allow you to use the license on several PC's for one developer. I can legally install it on my office, notebook and home pc's...
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.