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!

Search results for query: *

  • Users: Foada
  • Order by date
  1. Foada

    Data connection at runtime

    Without seeing your code it is difficult to say but you should be able to store both connection strings in you settings. At run time you would just have to close the connection, change to the desired connection string, and then open the connection again. Another option would be to set up two...
  2. Foada

    Text box question

    What exactly to you mean by "grayed out"? Do you want the textbox disabled? The background gray? The font of the text in the textbox to be gray? If you choose to battle wits with the witless be prepared to lose. [cheers]
  3. Foada

    Disabling the close form button

    I think the point was that in an application that you suggested, "The Windows norm" would to not offer a control box in possibly a modal window rather than just disabling the close window "X". If you choose to battle wits with the witless be prepared to lose. [cheers]
  4. Foada

    Using ADO to parse CSV fields returns null values

    Strange. I ran the code you have given with the schema file you posted with VB6 and replaced the echo with a debug.print and mocked some data in the venders2.csv file and the portion of code you have posted works fine. Could there be something somewhere else in the code further down your script...
  5. Foada

    Using ADO to parse CSV fields returns null values

    Can you post your schema file? If you choose to battle wits with the witless be prepared to lose. [cheers]
  6. Foada

    Using ADO to parse CSV fields returns null values

    Take a look at this thread222-1587532 I am thinking that you are experiencing a problem with the way Jet formats the data in the CSV file. If you choose to battle wits with the witless be prepared to lose. [cheers]
  7. Foada

    StopWatch coding problems

    According to MSDN this may not be supported on all .NET compact platforms. http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx If you choose to battle wits with the witless be prepared to lose. [cheers]
  8. Foada

    optimze function

    Not to question your logic, but why not just use a constant? If you choose to battle wits with the witless be prepared to lose. [cheers]
  9. Foada

    Basic MS Access database with Visual Studio 2005

    You may need to check the 'project.mdb' properties in the Solution Explorer. You should look at the 'Copy to Output Directory' property and make sure it is not set to 'Copy Always'. Basically, Visual Studio always copies the empty database file over any changes that you make at run time with...
  10. Foada

    Cell phone or smart phone software

    I would like to read that article if you have a link as I am interested in the reasons for the demise of the desktop. I just don't see it happening but I am open to learning things. A large portion of current phone apps are developed using Java with the .NET languages growing in popularity but...
  11. Foada

    Editing table relationships

    It is a limitation of the Express version of VS. http://www.microsoft.com/downloads/details.aspx?FamilyID=727BCFB0-B575-47AB-9FD8-4EE067BB3A37&displaylang=en If you choose to battle wits with the witless be prepared to lose. [cheers]
  12. Foada

    Registering an event to a custom Windows Control Libary

    The null check is to determine if there are any subscribers to the event. If there are no subscribers the event is not fired. If you choose to battle wits with the witless be prepared to lose. [cheers]
  13. Foada

    Registering an event to a custom Windows Control Libary

    In your control add public event EventHandler FromMyControl; private void PassToContainer(object sender, EventArgs e) { EventHandler tmp = FromMyControl; if (tmp != null) tmp(sender, e); } In the control event you wish to pass from the control private void button1_Click(object...
  14. Foada

    Search String must be Specified issue.

    What kind of data are you expecting? You have the receive threshold property set to receive a single character but you are attempting to read 2 characters as the input length is set to 2. The single character threshold is going to fire an event at which point you will be pulling 2 characters...
  15. Foada

    C++ - getting the integer enum value from a string

    If you are using managed code you may want to look at the Enum Class. http://msdn.microsoft.com/en-us/library/system.enum_members.aspx If you choose to battle wits with the witless be prepared to lose. [cheers]
  16. Foada

    C++ - getting the integer enum value from a string

    Are you using managed code? If so what version? If you choose to battle wits with the witless be prepared to lose. [cheers]
  17. Foada

    How do I create overridable methods

    Let me know if it works out. If you choose to battle wits with the witless be prepared to lose. [cheers]
  18. Foada

    How do I create overridable methods

    In your project add a class called "ControlEvents" and add this code: public sealed class ControlEvents { private static ControlEvents m_instance = new ControlEvents(); private ControlEvents() { } public static ControlEvents Instance { get {...
  19. Foada

    Click vs Double Click timing

    I see you got it straightened out. Maybe not explained, but at least functional. :-) If you choose to battle wits with the witless be prepared to lose. [cheers]
  20. Foada

    Click vs Double Click timing

    Just so I have things straight, you having problems with the click/dblclick events on the container side with the picture box? If you choose to battle wits with the witless be prepared to lose. [cheers]

Part and Inventory Search

Back
Top