|
Hi
I buield WebService, and i need to transfer sdf file from the server
to PPC. How can i do it with the WS ?
thank's in advance
|
|
|
|
|
Hi, I am developing application for WindowsCE 6.0 I am very confused that, which .net compact version i have to use. Please update me.........
|
|
|
|
|
Hi,
It depends on you which version you are using. because win 6.0 support both version CF 2.0 an CF 3.0.
Thanks
~Khatri Mitesh
khatrimitesh@hotmail.com
Bikaner (Rajasthan)
INDIA
|
|
|
|
|
Thanks a lot for your reply
But in .net 2005 i dont get any option for WindowsCE 6.0
When i open .net -> create project -> Visual C# -> Smart Device -> Windows Ce 5.0
It only shows Windows Ce 5.0!
How can i get Windows Ce 6.0 under .net 2005
|
|
|
|
|
Install Window mobile 6.0 SDK.
Then Try...
Thanks
~Khatri Mitesh
khatrimitesh@hotmail.com
Bikaner (Rajasthan)
INDIA
|
|
|
|
|
ok fine i will check it.........
|
|
|
|
|
You can use any version of .net CF
If you are using earlier version of .net compact framework (i.e .net 2.0), there is no need to install it on Win mobile 6.0 as it already supports it. But if you are using .net 3.5, you need to install its cab file Win mobile 6.0.
To get Win mobile 6.0 Emulator you need to install its SDK from Microsoft Download center.
Hope this helps you.
|
|
|
|
|
Ok,I will try with Windows mobile 6.0 SDK........
|
|
|
|
|
Hi!
Im developing in for windows mobile 6 and Im using native C++ code with msxml2.h, to receive xml objects from RSS.
When an rss-server doesnt send out a header content-type with MIME-type of xml (like "Content-Type: text/xml") I get problems when trying to fetch the xml object from the request object (pIXMLHTTPRequest->responseXML;) and the xml doesnt seem to include any tree-data.
I can still see the actual source-xml data through pIXMLHTTPRequest->GetresponseText();
When the content-type header is set to an xml mime-type I can retrieve the tree-structure from pIXMLHTTPRequest->responseXML. One solution would be to change the server content-type but that is not always possible, and content type from rss is nowadays "application/rss+xml".
Example theese 2 rss are identical but only one is fetched correctly in responseXML
http://91.90.27.250/panel/working.php
http://91.90.27.250/panel/notworking.php
My code is basically (the rss includes "item" tags)
HRESULT hr;
MSXML2::IXMLDOMDocumentPtr pXMLDoc = NULL;
MSXML2::IXMLHTTPRequestPtr pIXMLHTTPRequest = NULL;
hr=pIXMLHTTPRequest.CreateInstance("Msxml2.XMLHTTP");
hr = pIXMLHTTPRequest->open("GET", L"http://test/~joynes/rssValid.php", false);
hr = pIXMLHTTPRequest->send();
pXMLDoc=pIXMLHTTPRequest->responseXML;
MSXML2::IXMLDOMNodeListPtr nlItems;
nlItems = pXMLDoc->getElementsByTagName("item");
MSXML2::IXMLDOMNodePtr nodeItem2;
while(SUCCEEDED (nodeItem2 = nlItems->nextNode()) && nodeItem2 != NULL)
{
printf("SUCCESS!!!!!\n");
}
/Br Johannes
modified on Friday, April 3, 2009 8:43 AM
|
|
|
|
|
I have developed an application for Win Mobile 5.0 in Visual Studio 2008. My application involves an access of data from SQL server mobile database. My application can access the data from the database when deployed on the Win mobile 5.0 pocket pc emulator. Now i have created a CAB file of my project in Visual Studio 2008 and then deployed this CAB file on Windows Mobile 6.0 (I am using HTC P3450 handset). When i run my application on the Win mobile handset i cannot access the data from sql server mobile database. What is the reason? Do i have to copy the SQL server mobile database to the Win mobile?
When i deploy the application on the emulator i can see the database in Query Analyser 3.5. I then connect the database to the project through Query Analyser 3.5. I am using .Net CF 3.5 and hence i have installed its cab file on the handset. But i could not see the Query Analyser 3.5 on the handset. Please help.
Thanks in advance
|
|
|
|
|
Hi Deepali Khalkar,
If your are able to view your database then your application should be access the Database through application. I Hope your database path is some different location.
Let me know whats exception you are getting.
Pavan Pareta
|
|
|
|
|
We are getting the following error on handset
File/Assembly name 'System.data.SqlServerCe,version=3.5.0.0,Culture=Neutral,Public key token=3BE235DF1C8D2AD3',or one of its dependencies was not found.
Thank You
|
|
|
|
|
Hi,
Install the sqlce30.cab on your mobile.
may be it solve your problem.
Thanks
~Khatri Mitesh
khatrimitesh@hotmail.com
Bikaner (Rajasthan)
INDIA
|
|
|
|
|
SqlCeCommand cmd = new SqlCeCommand("select count(*) from diet where uname=@uname,day=@dy,month=@mnth,year=@yr", conn);
cmd.Connection = conn;
SqlCeParameter para = new SqlCeParameter();
para.ParameterName = "@uname"
para.Value = uname;
cmd.Parameters.Add(para);
SqlCeParameter para12 = new SqlCeParameter();
para12.ParameterName = "@dy"
para12.Value = dy1;
cmd.Parameters.Add(para12);
SqlCeParameter para13 = new SqlCeParameter();
para13.ParameterName = "@mnth";
para13.Value = mnth;
cmd.Parameters.Add(para13);
SqlCeParameter para4 = new SqlCeParameter();
para4.ParameterName = "@yr";
para4.Value = yer1;
cmd.Parameters.Add(para4);
count = System.Convert.ToInt32(cmd.ExecuteScalar().ToString());
I have tried this code but getting an exception- An error parsing the query.
How to pass multiple parameters to the query which counts the rows from a table?
Please help.
Thanks in advance.
|
|
|
|
|
Hi,
I develop a window mobile software using vb.net and web service. and i want to update my project from when new update is available on the web. how i update the my project.
please suggest.
Thanks
~Khatri Mitesh
khatrimitesh@hotmail.com
Bikaner (Rajasthan)
INDIA
|
|
|
|
|
Hi Mitesh,
what you want exactly let me know, do you want to update your application in side the mobile, when you are getting any new update in your application or in your methods.
you need to clear all these thing while posting your question that would be more convenient.
Pavan Pareta
|
|
|
|
|
Hi Pavan
Actually i develop a Wm 5.0 Application using vb.net and web service. and i also upload my .cab file and .exe file on the web. and i want to update my mobile application when the new version is available on the web. so how i update my application. please suggest.
Thanks
~Khatri Mitesh
khatrimitesh@hotmail.com
Bikaner (Rajasthan)
INDIA
|
|
|
|
|
Hi Khatri Mitesh,
In this case you have to make version system in your application when your application run check your own version with web service method, if the version is different then download your application and install it self.
see this link
1) Creating Self-Updating Applications With the .NET Compact Framework[^]
Hope that this may be help.
Pavan Pareta
|
|
|
|
|
Hello ,I am developing a product device where i am using wince 5.0 ,with the help of Microsoft file viewer ,i could open PPT succesfully .As i migrated to Wince 6.0 for further advanced features ,found there is no Microsoft file viewer .Hence, am using Third party viewer and with the help of it tried to access PPT where encountered an error says :--
Error :function @ ordinal 959 missing
!!! please check your sysgen variable !!!
where as ,i could succesfully access PDF ,DOC,and XLS files.
Could anyone help me on his aspect and ,please let me know ...wht can be done to access PPT i.e wch Sysgen variable to be added ASAP.
|
|
|
|
|
I am creating smart device application using .net compact frame work 2.0
Please update me for "How to get drive free space in smart device application".
modified on Wednesday, April 1, 2009 8:57 AM
|
|
|
|
|
Hi
You can use P/Invoke method GetDiskFreeSpaceEx() to do that, it's very useful.
See Below Link[^]
Hope this may be help.
Pavan Pareta
|
|
|
|
|
ok i will check it........
|
|
|
|
|
got an error with following code
Error: Can't find entry point
<DllImport("CoreDll.dll", EntryPoint:="GetDiskFreeSpaceExA")> _
Private Shared Function GetDiskFreeSpaceEx(ByVal lpDirectoryName As String, ByRef lpFreeBytesAvailableToCaller As Long, ByRef lpTotalNumberOfBytes As Long, ByRef lpTotalNumberOfFreeBytes As Long) As Long
End Function
Public Shared Function GetInfo(ByVal drive As String, ByRef available As Long, ByRef total As Long, ByRef free As Long) As Long
Return GetDiskFreeSpaceEx(drive, available, total, free)
End Function
Public Shared Function GetInfo(ByVal drive As String) As DriveInfoSystem
Dim result As Long, available As Long, total As Long, free As Long
result = GetDiskFreeSpaceEx(drive, available, total, free)
Return New DriveInfoSystem(drive, result, available, total, free)
End Function
please help me on this.
|
|
|
|
|
Hi all,
I am working with Visual Studio .Net 2005. I have created new Smart Device Project with MFC smart Device application. I have selected SDK application option. It should display the inbuilt menu, but the application is not displaying the menu. How to enable menu. please help.
|
|
|
|
|
Hi
Want to show popup notification for "low battery" in .net compact frame work 1.0, is there any notification class in .net compact frame work 1.0
Thanks in advance
Yogesh R.
|
|
|
|