Skip to main content

ODBC from Windows CE

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [.NET Compact Framework Development] >> .NET Compact Framework forum for C# >> ODBC from Windows CE Page: [1]
Login
Message << Older Topic   Newer Topic >>
ODBC from Windows CE - 8/19/2008 1:34:54 PM   
jtrujillo

 

Posts: 1
Score: 0
Joined: 8/19/2008
Status: offline
Hi Pete, I haven’t been able to connect to my database Microsoft Dynamics (Formerly Navision). This is the code I’m using:
 
           sqlCe.Connection_String = "Provider=MSDASQL;DSN=Navision";
           sqlCe.Remote_Port = 9888;
           sqlCe.Host = "10.1.21.155";

           if (sqlCe.Connect_To_Server() == 0)
           {
               MessageBox.Show("Connected");
           }
           else
           {
               MessageBox.Show(sqlCe.Error_Message.ToString());
           }
 
I created an ODBC on my computer called Navision and it connects when I test it from the Control Panel. Do you have any ideas on this matter ? I haven’t been able to run your example (SqlLinkCe). I get an error every time I try to open it from VS2005.
 
Thanks in advance.

_____________________________

Juan Trujillo
Miami, Fl
Post #: 1
RE: ODBC from Windows CE - 8/20/2008 2:52:24 PM   
petevick


Posts: 3410
Score: 0
Joined: 4/26/2002
From: Bolton - UK
Status: offline
Answered privately

Closed

_____________________________

Pete Vickers - Microsoft MVP - Device Application Development
www.gui-innovations.com

Please do not email me with questions. Posting your questions in the forums will get a quicker response - Thanks.

(in reply to jtrujillo)
Post #: 2
Page:   [1]
All Forums >> [.NET Compact Framework Development] >> .NET Compact Framework forum for C# >> ODBC from Windows CE Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.5.5 Unicode

0.016