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

Mobile

 
AnswerRe: Is it possible to write app. for symbian by VS2005 and C# or VB.NET? Pin
Bradml29-Oct-06 0:05
Bradml29-Oct-06 0:05 
GeneralRe: Is it possible to write app. for symbian by VS2005 and C# or VB.NET? Pin
arvaker8430-Oct-06 6:22
arvaker8430-Oct-06 6:22 
QuestionEmail problem for smartphone Pin
shambhu_hello26-Oct-06 1:38
shambhu_hello26-Oct-06 1:38 
QuestionRecord phone conversation with Wave API Pin
AegamemnonTao26-Oct-06 0:17
AegamemnonTao26-Oct-06 0:17 
QuestionTouch Screen/Sound/Button Help - Thank You!! Pin
RSMitchell2224-Oct-06 18:10
RSMitchell2224-Oct-06 18:10 
QuestionMap the network drive / Read Text File from Remote Server Pin
Ram Murugan23-Oct-06 6:14
Ram Murugan23-Oct-06 6:14 
QuestionConnecting to SQL 2000 on PC from Mobile App Pin
AlexeiXX318-Oct-06 9:01
AlexeiXX318-Oct-06 9:01 
AnswerRe: Connecting to SQL 2000 on PC from Mobile App Pin
AlexeiXX327-Oct-06 10:39
AlexeiXX327-Oct-06 10:39 
Hello, its me again, but now I have the answer
After a few days i realized i had some obvius errors
#1: On my connection string i was using the IP of my local machine (127.0.0.1) wich is the same as writing localhost.
#2: I was using Integrated Security, i read somewhere while searching for the answer that it cant be used for mobile devices, YOU MUST provide a User ID and a password
I think those are the worst errors i did

So...A few thinks you should know: You must have TCP/IP enabled in you SQL Server, You should have your Device emulator craddled

But the most important part is that it looks like SQL 2000 has a little bug, wich you can fix changing the port number it listens to from 1433 to something like 1234, and once it works, you can change it back to 1433, so the final connection string looks like this:
<br />
Dim conn As New SqlConnection("Data Source=10.1.0.254,1433;Initial Catalog=NorthwindX; User ID=Alexei; Password=a;")<br />
Dim da As New SqlDataAdapter("SELECT CategoryName FROM Categories", conn)<br />
Dim ds As New System.Data.DataSet<br />
da.Fill(ds)<br />


I found the solution to my problem thanks to netcf2.blogspot.com.
You will find an example of connecting to SQL Express which works very similar to SQL 2000

Alexei Rodriguez

QuestionDrawing and walking in a room with WinCe with RTLS Pin
royalhero18-Oct-06 3:21
royalhero18-Oct-06 3:21 
QuestionShellWindows in WM5.0 Pin
Geoff_Praha18-Oct-06 1:34
Geoff_Praha18-Oct-06 1:34 
Questionhow to synchronize the data between the Pocket PC database and MySql database Pin
Shoaib A Khan17-Oct-06 23:40
Shoaib A Khan17-Oct-06 23:40 
QuestionMain Window as WebBrowser for WM 5.0 [modified] Pin
Geoff_Praha17-Oct-06 1:06
Geoff_Praha17-Oct-06 1:06 
AnswerRe: Main Window as WebBrowser for WM 5.0 Pin
jalsa G19-Oct-06 23:09
jalsa G19-Oct-06 23:09 
GeneralRe: Main Window as WebBrowser for WM 5.0 Pin
Geoff_Praha19-Oct-06 23:20
Geoff_Praha19-Oct-06 23:20 
GeneralRe: Main Window as WebBrowser for WM 5.0 Pin
jalsa G20-Oct-06 4:35
jalsa G20-Oct-06 4:35 
GeneralRe: Main Window as WebBrowser for WM 5.0 [modified] Pin
Geoff_Praha22-Oct-06 21:37
Geoff_Praha22-Oct-06 21:37 
GeneralRe: Main Window as WebBrowser for WM 5.0 Pin
jalsa G27-Oct-06 2:47
jalsa G27-Oct-06 2:47 
GeneralRe: Main Window as WebBrowser for WM 5.0 Pin
Geoff_Praha27-Oct-06 2:49
Geoff_Praha27-Oct-06 2:49 
GeneralRe: Main Window as WebBrowser for WM 5.0 Pin
jalsa G29-Oct-06 18:49
jalsa G29-Oct-06 18:49 
GeneralRe: Main Window as WebBrowser for WM 5.0 Pin
Geoff_Praha29-Oct-06 21:24
Geoff_Praha29-Oct-06 21:24 
GeneralRe: Main Window as WebBrowser for WM 5.0 Pin
jalsa G1-Nov-06 0:18
jalsa G1-Nov-06 0:18 
Questionwriting text fies in mobiles application in vb.net Pin
Vikash Yadav16-Oct-06 21:22
Vikash Yadav16-Oct-06 21:22 
AnswerRe: writing text fies in mobiles application in vb.net Pin
acroitoriu17-Oct-06 12:17
acroitoriu17-Oct-06 12:17 
QuestionStarting with WM and Visual C# 2005 Pin
arvaker8416-Oct-06 7:16
arvaker8416-Oct-06 7:16 
AnswerRe: Starting with WM and Visual C# 2005 Pin
acroitoriu17-Oct-06 12:09
acroitoriu17-Oct-06 12:09 

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.