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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by AHint

  1. AHint

    Datagrid - change datasource at runtime

    I have a datagrid that I change the datasource for at runtime. It is always bound to a strongly typed collection. If I bind to a collection, then bind to another collection with a larger number of items I get an 'Error when committing changes to original data store'. I believe that somehow the...
  2. AHint

    Typed Objects (nested) with DataGridTableStyles

    I have a typed object which includes a second nested typed object. I want to show properties of the nested object on a data grid on a windows form. Any suggestions? So far, I have set up: DataGridTableStyle tsl = new DataGridTableStyle(); tsl.MappingName = "ObjectA"; DataGridColumnStyle col1...
  3. AHint

    How do I create an Open File Dialog?

    Well if that's after one coffee I think I should be worried that I am on my tenth (GMT), fully awake and still only just on the safe side of clueless!! Reading the stream of data worked a treat - thanks very much again for your help!!! Anyone reading this in the future I had to make one very...
  4. AHint

    How do I create an Open File Dialog?

    Thanks again. All seems to work now one way or another. What I'm actually trying to do is read a .txt or .sql file from the users PC into my application which will then display the sql in a textbox and the user then runs the sql from there. I've got it working doing the following steps but...
  5. AHint

    How do I create an Open File Dialog?

    Thanks, another question: How can I limit the file types that are displayed and limit the directory paths available? Also, how should I then work with the selected file? It's not "runat="server"" so I can't use the C# code behind. I'm new to this so sorry if these all seem like dumb questions!
  6. AHint

    How do I create an Open File Dialog?

    I have a web page that I want users to be able to open files from. The files will all be text files that contain SQL that I would then run against a database. How do I get a new Open File Dialog window. In a windows application I would use System.Windows.Forms.OpenFileDialog. What is the...
  7. AHint

    How do you override 'just me' with 'everyone'?

    Thanks - works a treat!! Anyone looking at this in the future, I had to set the ALLUSERS property to 'ALL' or 'ME' as appropriate.
  8. AHint

    How do you override 'just me' with 'everyone'?

    I have created an msi. This was created in VS 2003 via a set up and deployment project. Where do I set the ALLUSERS property? I've read up that I need to set the value of this property to 1 or 2 but can't find any info detailing where I change this. Is there something I can set within the...
  9. AHint

    Crystal Reports Deployment problem

    You might like to check this article out that provides information on deploying .net application running on a network server. http://support.microsoft.com/default.aspx?scid=kb;en-us;832742 It may or may not be any use for you and won't resolve the Crystal Reports issue. The Crystal Decisions...
  10. AHint

    How do you override 'just me' with 'everyone'?

    I am sure this is a dumb question but how do you override this property? I have a C# application that I am rolling out by creating a deployment project. On the Installation Folder the default is to install for 'just me' and I need it default to 'everyone'. What property do I need to set (I've...
  11. AHint

    [Q] Capture 'Enter' keys, send 'Tab'

    I am wondering the same. Can anyone out there advise?
  12. AHint

    Redeploy C# .net Application

    I have a simple C# application with just an exe. I have added a setup project creating my .msi file and than ran this to install the application. After making changes and then recompiling my setup project. If I try and run the new .msi file I get an error message saying "Another version...
  13. AHint

    CheckBoxList not saving selected state

    I have a checkboxlist that when I am subsequently interorgating to check selected status is not keeping the status of the control. I'm sure it must be something simple that I have forgotten to select but can't see it anywhere. I have made sure that enableviewstate is set to true. Any help...
  14. AHint

    date conversion in visual C#

    You can use the System.DateTime classes: To get from date to a double representing the date: double dateNumeric; System.DateTime dateIn = new DateTime(2003,10,3); dateNumeric = dateIn.ToOADate(); // this obviously gets you the double representing the // current date. You'll need to change this...

Part and Inventory Search

Back
Top