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...
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]
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]
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...
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]
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]
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...
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...
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]
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]
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...
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...
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]
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 {...
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]
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]
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.