Click here to Skip to main content
15,897,891 members
Home / Discussions / Mobile
   

Mobile

 
AnswerRe: confused about Windows Mobile different categories Pin
Anu Koshy2-Jun-10 22:14
Anu Koshy2-Jun-10 22:14 
QuestionUnable to open Design View in VS2005 Pin
Dennis Dykstra21-Nov-06 16:19
Dennis Dykstra21-Nov-06 16:19 
QuestioneMbedded Visual C++4.0 SP3 VBScript Event Handler Problem Pin
niceguyeddie20-Nov-06 10:07
niceguyeddie20-Nov-06 10:07 
QuestionPocket PC Developer Required Pin
ChunkyBags19-Nov-06 15:50
ChunkyBags19-Nov-06 15:50 
AnswerRe: Pocket PC Developer Required Pin
Jeffrey Walton25-Nov-06 23:07
Jeffrey Walton25-Nov-06 23:07 
AnswerRe: Pocket PC Developer Required Pin
Chris S Kaiser15-Dec-06 9:26
Chris S Kaiser15-Dec-06 9:26 
QuestionNeed GPS Information Pin
Arthur Manena18-Nov-06 14:03
Arthur Manena18-Nov-06 14:03 
AnswerRe: Need GPS Information Pin
Jeffrey Walton25-Nov-06 23:09
Jeffrey Walton25-Nov-06 23:09 
QuestionMMS application! Pin
Coding C#18-Nov-06 1:16
Coding C#18-Nov-06 1:16 
QuestionWidows Mobile 5.0 Pocket PC and missing .Net Framework Pin
JuhaA17-Nov-06 2:52
JuhaA17-Nov-06 2:52 
QuestionMulti modal dialog mobile application - crash Pin
sdt2415-Nov-06 5:51
sdt2415-Nov-06 5:51 
AnswerRe: Multi modal dialog mobile application - crash Pin
Mike Dimmick20-Nov-06 0:50
Mike Dimmick20-Nov-06 0:50 
QuestionSend Mails with CF 2.0 Pin
Ffelagund14-Nov-06 3:20
Ffelagund14-Nov-06 3:20 
AnswerRe: Send Mails with CF 2.0 Pin
Dennis Dykstra21-Nov-06 16:49
Dennis Dykstra21-Nov-06 16:49 
QuestionInvoking an application in C# from a button on windows mobile 2003 Pin
pankaj_12312-Nov-06 17:49
pankaj_12312-Nov-06 17:49 
Questionproblem with Nokia Web Browser 4.0 Pin
ctlqt1211-Nov-06 19:29
ctlqt1211-Nov-06 19:29 
Question"SendKeys" for a mobile device ??? Pin
reinhard_jd10-Nov-06 10:51
reinhard_jd10-Nov-06 10:51 
QuestionAccessing Oracle from device Pin
Richard Jones10-Nov-06 8:01
Richard Jones10-Nov-06 8:01 
QuestionMissing System.Data.ODBC Pin
nemopeti9-Nov-06 21:41
nemopeti9-Nov-06 21:41 
QuestionSocketRecieveTimeout in .NetCompactFramework Pin
aruna_koride9-Nov-06 20:21
aruna_koride9-Nov-06 20:21 
QuestionSqlCeConnection issues Pin
RB@Emphasys9-Nov-06 6:26
RB@Emphasys9-Nov-06 6:26 
Hello All,

I'm using cf 2.0 on the emulated ppc 2003 device that is bundled with vs2005. For some reason, when I attempt to connect to my database it throws a sqlexception error with no error message. My code is as follows:

SqlCeEngine engine = new SqlCeEngine("Data Source='\\Program Files\\UCPS\\UPCS.sdf';");
if (!(File.Exists("\\Program Files\\UCPS\\UPCS.sdf")))
engine.CreateDatabase();

SqlCeConnection connection = new SqlCeConnection(engine.LocalConnectionString);
connection.Open();

I can connect to the database on the device just fine. The database has no password. In this code sample, it does indeed find the UPCS.sdf file in the second line and does not try and create a new one. But when I try to open the connection, it errors out with no message. The only data I have is

HResult = -2146233087
StackTrace = StackTrace "at System.Data.SqlServerCe.SqlCeConnection.ProcessResults()\r\nat System.Data.SqlServerCe.SqlCeConnection.Open()\r\nat System.Data.SqlServerCe.SqlCeConnection.Open()\r\nat UPCS.Data.StatusTable.RetrieveStatusRecords()\r\nat UCPS.Main.Main_Load()\r\nat System.Windows.Forms.Form.OnLoad()\r\nat System.Windows.Forms.Form._SetVisibleNotify()\r\nat System.Windows.Forms.Control.set_Visible()\r\nat System.Windows.Forms.Application.Run()\r\nat UCPS.Program.Main()\r\n" string

I would really appreciate any suggestions,

Thanks,
Ryan

AnswerRe: SqlCeConnection issues Pin
RB@Emphasys9-Nov-06 8:05
RB@Emphasys9-Nov-06 8:05 
AnswerRe: SqlCeConnection issues Pin
Richard Jones10-Nov-06 8:10
Richard Jones10-Nov-06 8:10 
QuestionTransparent Control Pin
Manish19727-Nov-06 2:10
Manish19727-Nov-06 2:10 
AnswerRe: Transparent Control Pin
arcticbrew21-Nov-06 17:36
arcticbrew21-Nov-06 17:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.