ok.. the ping said "using tnsnames to resolve blah blah blah..." as far as i know these tools do not look at the sqlnet.ora. did you configure the naming methods (second option in the net configuration assistant)? default is only local. you must tell it to use tnsnames also.
I have a C# service that communicates to a USB flash drive. Since my program is smart enough to know when the drive is plugged in and when it's not, I don't need to have XP open the "Autorun" dialog window asking me what application to run when the drive is plugged in.
Can I somehow kill this window from my C# app? I would like to do it this way because if my application is NOT running, I DO want the XP autorun dialog to display giving users the option to install the application.
I have this Sql Authentication connection string which has a username and password.
I added this connection string to Application Settings and the corresponding app.config item
was added to my project automatically. But now that i want to access the app.config file
in my codes,ConfigurationSection,ConfigurationManager and other related classes,properties and methods
are not available.I read many articles on this subject but i havent been able to do the encryption so far.
The other question is wether the encryption needs to be done once or should it be done every time
the application runs? Is it be possible to set this encrypted connection as a SqlConnection's connection
string or the assignment must be done prior to encryption?
I have a WinForms MDI app that has a docked navigation panel at the left edge. However, when I create MDI child windows, the main window seems to ignore the presence of the navigation panel and uses its entire client area to layout the child windows. Is it possible to override the MDI container's layout logic and reduce its client area by the space occupied by the navigation panel?
I tried doing this in the main window's Load handler, but it didn't seem to have any effect. (I understand that this would only set the initial client area, which may need to be recomputed in a SizeChanged handler).
// Nav panel test
NavigatorFrm nf = new NavigatorFrm();
nf.MdiParent = this;
nf.Dock = DockStyle.Left;
this.ClientSize = new Size (this.ClientSize.Width - nf.Width, this.ClientSize.Height);