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 dencom 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 CosmicCharlie

  1. CosmicCharlie

    How can I program a visual task scheduling tool?

    Chip, Your case is compelling ... just as it was when I made essentially the same case to the client. I still got the same answer: No third party tools. Not sure what their issue is, but I'm not the one writing the checks. Cosmic Charlie
  2. CosmicCharlie

    How can I program a visual task scheduling tool?

    Thank you, Ch Saj. I'll take a look at that again. On first look it didn't appear to meet my needs, but perhaps I overlooked something. If you have any suggestions or can point me in a good direction, that would be very helpful. Cosmic Charlie
  3. CosmicCharlie

    How can I program a visual task scheduling tool?

    Yes. I am limited to what is available in Visual Studio and DevExpress. I neglected to mention DevExpress, but the project I am working in uses it to manage data access and also uses a number of its controls. I could find nothing in DevExpress that would do this. My first attempt involved...
  4. CosmicCharlie

    How can I program a visual task scheduling tool?

    Thank you, JurkMonkey. I appreciate your response very much. I have posted three versions of this question in two different forums, and yours is the first response I have received. What you suggest is, in fact, the very solution that I have been hoping to avoid. I thought about that early...
  5. CosmicCharlie

    How can I program a visual task scheduling tool?

    I am writing a module that schedules tasks for employees, and client limitations prohibit using Outlook/Exchange or third party tools. I have a user control that represents one occurence of a given task, and I want to effect the scheduling of the task by dragging the control over a grid showing...
  6. CosmicCharlie

    How to do a DragDrop to a DataGridView cell?

    I am trying to implement a drag/drop operation on a DataGridView using C# and having no luck. The main problem is that the DragEventArgs of the grid's DragDrop event contains no information about the cell overwhich the event took place. I am working with a disconnected grid. The larger issue...
  7. CosmicCharlie

    Why is IsDate function slow?

    Thank you both, TRG and MK! These give me a lot of options that, at the very least, will reduce calls to IsDate to a minimum. And now would be a good time to learn about Regex. CC
  8. CosmicCharlie

    Why is IsDate function slow?

    Actually, the IsDate test is the last thing I do, for the very reasons you mentioned. Basically, acceptable values in the text box are limited to a few variations on some set values, or a time, or nothing. Anything else is invalid. I do everything possible to avoid having to call IsDate, but...
  9. CosmicCharlie

    Why is IsDate function slow?

    Thank you, Sirius, for your reply, which directly addresses the issues I raised. It looks like I am stuck. The fact is that for various reasons specific to this situation, the date/time picker cannot be used and multiple controls cannot be used. I have been back and forth with the users (and...
  10. CosmicCharlie

    Why is IsDate function slow?

    Qik3Coder, I poked around in the Help files, which confirmed your assertion that CDate is faster than CType. Unfortunately, it is less useful because it will convert integers within the valid range as dates or times, and this can produce the wrong result sometimes. Regarding your...
  11. CosmicCharlie

    Why is IsDate function slow?

    Qik3Coder, please refer to MastaKilla's response. The suggestion, by the way, works but I am finding that the CType function is no faster than IsDate when applied to dates. This is not consistent however. Presumably IsDate uses this method behind the scenes. I am still curious if anyone has...
  12. CosmicCharlie

    Why is IsDate function slow?

    Qik3Coder, Thank you for your question. Unfortunately, questions of formatting do not really apply to my situation. In this program, there are several valid entries that users can type into the textbox that are not dates. I need the IsDate function, or something like it, to analyze the data...
  13. CosmicCharlie

    Why is IsDate function slow?

    Ugly? Well, a little bit. But I am learning the hard way that users want solutions that are good enough and they want them now. They don't want to wait for elegance. If your solution gets a working product out the door faster, then that is what I will use. I will still field other ideas...
  14. CosmicCharlie

    Why is IsDate function slow?

    Has anyone else experienced incredible slowness with the IsDate function in VB.Net? I have found that it can take up to three seconds to return a value, especially if the return value is false. In the samples I am using it is reading a value from either a text box or a treeview node. IsDate...
  15. CosmicCharlie

    how to recover nodes in a treeview

    I would suggest defining a collection object before your loop. Then each time you identify a node you wish to return you can add it to your collection. At the end, return the collection. I do not have extensive experience with collections in .Net, so there may be some subtleties to this that...

Part and Inventory Search

Back
Top