Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. codemech

    Raise event to parent form?

    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...
  2. codemech

    Windows Forms User Control

    Thanks. That makes good sense. ~Codemech
  3. codemech

    Windows Forms User Control

    I have a composite user control on a windows form. How can this control get a value from a field on the parent form?
  4. codemech

    Covert currenct string to decimal data type?

    Thanks SHelton! That is a beautiful line of code. I new it was out there but I couldn’t quite craft it. ~~ Codemech
  5. codemech

    Covert currenct string to decimal data type?

    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
  6. codemech

    Crystal Reports XI slow loading DataSets in .Net 2003

    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...
  7. codemech

    DateTimePicker and null

    Thans for the feedback. ~~ C
  8. codemech

    Validate integer in textbox copntrol

    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...
  9. codemech

    DateTimePicker and null

    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...
  10. codemech

    Textbox truncates the text

    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...
  11. codemech

    Shared vba macro in Outlook 2000

    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...
  12. codemech

    Controls on Form do not show up

    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
  13. codemech

    pcAnywhere file transfer with mapped drive

    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...
  14. codemech

    Export an ADO recordset to Excel?

    Will this work with an .adp file? I thought the QueryDef object was used with .mdb files? Codemech
  15. codemech

    Export an ADO recordset to Excel?

    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
  16. codemech

    slow opening word document

    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
  17. codemech

    slow opening word document

    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
  18. codemech

    How does sql database size affect .ade file size?

    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
  19. codemech

    Data modeling & reporting tools

    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...
  20. codemech

    How does sql database size affect .ade file size?

    Thanks for your feedback. Codemech

Part and Inventory Search

Back
Top