Options

Error 2 in module 1

ZiqXxZiqXx Member Posts: 24
Does someone know what that means ?
All I could find was:
1-2 #Err_OS_FileNotFound (Module_OS,Err_Allowable( 2))
From: http://www.mbsonline.org/forum/topic.asp?TOPIC_ID=969

What "file" is it talking about ?

Code:
try
{
CFRONTLib.CFRONTClass cf = new CFRONTLib.CFRONTClass();
cf.SetNavisionPath(@\\COMPUTERNAME\Nav-Client-Directory);
cf.ConnectServerAndOpenDatabase("NDBCN", "COMPUTERNAME", "tcp", "COMPUTERNAME", 10000, true, true, null, null);
cf.DisconnectServer();
MessageBox.Show("Successfully opened the database", "Nice!");
}
catch( Exception ex )
{
MessageBox.Show( ex.Message, "Error..." );
}
Sign In or Register to comment.