|
Cant you just copy the file to your desktop??
But if you really want to work with the DB in your PPC, OK.
Im using VS.NET 2005.
1-Open VS
2-In your server explorer click on add new connection
3-For the data provider choose MSSQL Server Mobile Edition
4-On the datasource choose: "Active sync connected device"
5-Browse for the database or create a new one, if its password protected, write it in the password field
6-Test the connection
And you are done
But again...If I were you, i would create the DB on my desktop (same steps as above but instead of choosing "Active sync connected device" youd choose "My computer") and when you deploy the app to the PPC, you can automatically deploy the DB.sdf as well
Hope this helps you
By the way, this is not the best place to find answers to your questions about mobile devices, it looks like no one here pays atention to this part of codeproject.com Once i posted a problem i was having, and i never got an answer, actualy a had one (One of my own) since i found the answer somewhere else and decided to post it here
Alexei Rodriguez
|
|
|
|
|
hi,
Alexei Rodriguez
Thanks for your help,but the problem is that i am working on VS.NET 2003,so these options will not be there.
As you told that this is not right place to get answers about PPC development then plz send me the links or forum link so that i can get the solutions.
Once Again Thanks for the help.........
|
|
|
|
|
|
Hi
Platform: using VS2005 C# for WM5.0 base PDA
I am making one Bitmap button(owner draw). What i have done is i am
drawing
image on the button in onPaint() using e.drawimage ; I am also taking
care
that my bit map becomes transparent(all corners) . For the same i am
using
ImageAttributes attr = new ImageAttributes()
attr.SetColorKey(bmp.GetPixel(0,0), bmp.GetPixel(0,0));
In this case all the corners of my bitmap are becoming transparent and
showing same color(red color) which is my background color.(Here back
ground
is my application's main form which is having back color = red) .
Till this point every thing is ok .
My problem is " if i load an image on the main form " . In that case
above
bitmap buttons are still showing red color corner ...?? which is
correct only
in above case, but in this case when an image is loaded on the main
form ,Bit
map corners should display color of images which is loaded on the
form,but it
is still showing Red corner (which is the back color of main form.)
How can i get rid of this problem ..
Please help me ...
Regards
Manish Budhia
|
|
|
|
|
I want to write a program in vb.net which sends message from pc to mobile. A bluetooth device is attached to the pc and message will send to mobiles ( whose bluetooth is enabled) when the mobile comes under the range of pcs bluetooth device.
welcome
|
|
|
|
|
|
Hi,
I was wondering if there was a way to know the name and make of the device the application is running on. I'm using compact framework 2.0 on windows mobile 5. I know we can get the OS version by calling Environment.OSVersion but that only gives WinCE and 5.xx.xx.
What I need is something like "Qtek", "HP", etc...
Is there a way to get that kind of info?
Thanks,
Talal
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook
|
|
|
|
|
Call SystemParametersInfo with the SPI_GETOEMINFO flag. See here[^] for how to declare SystemParametersInfo (replace user32 with coredll ), and see WinUser.h (if I recall correctly) in the SDK to get the value of SPI_GETOEMINFO .
|
|
|
|
|
Hello all,
i have a quick question...
i need to create a "service-like" application in c# that will basiclly run in the background with no gui... like a console app that stays open untill the device has reset.
any ideas on how i could go accross this? its an app that will monitor the gps data and intercept sms messages that have commands etc...
i created a device app but the window will always show up (even though i tried this.hide() and this.visible = false in the onLoad)
Cheers!
|
|
|
|
|
Remove the call to Application.Run in the Main function. Instead, put your code in Main , in the same way that you would write a console application for the desktop.
Note that Windows CE (and hence Windows Mobile) only supports 32 processes, some of which are reserved for system processes. You should try not to create too many processes, so that the user isn't restricted too much (Windows CE will close processes that haven't been used recently, but only if they have a window, I believe). There is a model for loading code as a 'service', but this really requires writing your code as a native C++ DLL to a specific service model.
|
|
|
|
|
Does any one have experience using the microsoft embedded database engine (EDB) for CE?
Just wanted to get a feel of how reliable / efficient it is?
Did you have any problems / find any bugs?
Thanks in advance,
Tom
|
|
|
|
|
hi Programmers!
Does any body know what are the commands for sending and reading sms through Billionton GPRS wireless modem ?
the commands for gsm modem not working here ,
for ex AT+CMGL="ALL" to read sms giving error for above modem.
infact is it possible to send and receive sms through this modem using hyper terminal?
does any body have an idea?
waiting for response.
Nitin...
|
|
|
|
|
how to access the text messages in windows mobile 5 in .NET CF?
rgds,
S
|
|
|
|
|
Hello Every one,
I have developed an application that uses contact numbers stored in the mobile. I thought it would be good if i was able to dial a purticular contact number through my appliction when a click on the contact number is made .....
Hope this is possible ... if so kindly send your replys
Regards
Jayakumar
|
|
|
|
|
Try lineMakeCall Function
|
|
|
|
|
Hello, I would like to be able to simulate the traffic of SMS and voice calls (both incoming and outcoming).
I don't know if it is possible to debug the SMS and calling tasks on the emulator.
I have found nothing about it and I really need to know how to do it.
I guess if anyone could say me at least which are the classes/controls that manage this things.
Thanks in advance.
I hope I will be tomorrow answering other people's questions. By the moment, thanks.
|
|
|
|
|
Do you want to initiate a call / SMS ? Or be notified when it happens, so further action can be taken.
If the latter, check out the State and Notification Broker API, a good intro would be here
|
|
|
|
|
I need a simple software. I can develop it but I only know .NET (C# and VB.NET).
How I can write application for symbian 9.1?
If not what is name of symbian development IDE?
Thank you all
[CODE 4 NULL]
|
|
|
|
|
|
|
Hi ,
I am not able to retrive the recipient list through IMessage::GetRecipientTable().
It is returning MAPI_E_NO_RECIPIENTS even the messages has recipients in "To" and "Cc" field.
I am using this in smartphone.
The messages I had synchronised with the Microsoft Outlook to the
Smartphone.
For offline messages,which I am creating new and saving to the draft
folder, it is working fine.
The problem is there for all the messages which are synchronized to the
smartphone with the Microsoft Outlook.
Waiting for Reply.
Thanks,
shambhu
|
|
|
|
|
Hello I'm making an application which rec a call and answers it.
Can i use wave API such as WaveInStart to record phone conversation?
i have tried it by use wave API but it can record only my voice...
Please help me........ ;|
|
|
|
|
|
Hello!!
I am creating a game that will need to take input from the touch screen in order to play a game. Is there a tutorial on how to use the touch screen in the code (coordinates)? Or is it easier to make a bunch of buttons?
Also, how do I import sound effects into a game? Since I am using the CF can a modify how buttons appear (shape, size, color)?
I am using Visual Studio 2003.
Any help or advice appreciated-
|
|
|
|
|
Hello Groups
How to map the network drive? Or I want read/write text file from Remote server which is residing on the same LAN. It is very urgent, kindly please help me
Muru
|
|
|
|
|
Hi all, im getting started on Windows mobile, i have worked with win forms
What im trying to do is:
Connect to sql 2000 server on my desktop pc from my mobile device (emulator), populate a dataset and then save it as an xml file in my mobile device to work with it offline. (I dont want to install sql mobile on the device)
I have a code to connect to sql and populate a datatable wich is not working from my mobile app, but IT WORKS ON WIN FORMS
<br />
Dim T As New DataTable("Alumnos")<br />
'For the Data Source Ive tried: PCName and 127.0.0.1 (All of them work with win forms but not with mobile app)<br />
Dim conn As New SqlConnection("Data Source=127.0.0.1,1433;Initial Catalog=alumnos;Integrated Security=True")<br />
Dim da As New SqlDataAdapter("Select * from Alumnos", conn)<br />
Try<br />
conn.Open()<br />
da.Fill(T)<br />
Catch ex As SqlException<br />
MsgBox(ex.ToString)<br />
Finally<br />
conn.Close()<br />
End Try<br />
The error i get is: "SQl server does not exist or access denied"
As I told you, the server exist and i get acces from Win Forms code
Ive read that some people who has had this problem was because they were not using the ip address, ive havent been able to connect
Any suggestions?? Do i have to set iny parameters on the emulator??
I know my emulator is cradled and i still get an error
-- modified at 13:14 Thursday 19th October, 2006
Alexei Rodriguez
|
|
|
|