|
I am unable to run sub-query in my pocket pc application.
Do I have to install any ServicePack or any pathc for SQL Server Comapact Edition or what should I do to be able running my SQL query inside dsf file?
I have tested query in SQ Server 2000 and it works perfectlly but inside sdf file doesn't.
Regards
I Love SQL
|
|
|
|
|
SQL Server CE has an extremely restricted query language compared to SQL Server 2000. If you have MSDN Library for Visual Studio 2005, go to the Contents tab, then in the tree go to Enterprise Servers and Development, SQL Server, SQL Server 2005 Documentation, SQL Server 2005 Mobile Edition Books Online, SQL Server Mobile Programming, SQL Reference for SQL Server Mobile, or look online here[^].
If you run a project referencing SQL Server Mobile/SQL Server CE from Visual Studio, it will deploy a package containing a CE version of Query Analyzer. You can try out queries from here. Best used on the emulator because you can use your real computer keyboard to enter the query.
SQL Server 2005 Management Studio can load SQL Server 2005 Mobile Edition/SQL Server Compact Edition 3.1 .sdf files and query them. At the 'Connect to Server' prompt, select 'SQL Server Mobile' from the Server Type drop-down list.
|
|
|
|
|
Hi everyone.
I am trying to build a file system filter on Windows 5.0 pocket PC Emulator.
I am using sample code of FSDSPY which i got from following path
%_WINCEROOT%\public\common\oak\drivers\fsd\fsdspy\
I have created a MyFilter.dll.
Then I created another application which register, and copy DLL in
/Windows directory.
I put the registry key as
HKEY_LOCAL_MACHINE\System\StorageManager\Filters\MyFilter
Given two value as MyFilter.dll and order value 4.
After executing this application, I had soft reset my emulator,
But my file system filter has not been loaded.
In Remote Process viewer, I can't see my MyFilter.dll used by filesys.exe.
Does fsdmgr.dll exist on Windows 5.0 pocket PC Emulator?
If any one have idea about this then please reply.
Pocket PC Development
|
|
|
|
|
Hello,
I have problems with cabwiz.exe and .inf file.
When my program is installed in Smartphone, it is absent in add/remove
programs list. But in PocketPC it is.
I think there is something with cabwiz.exe and .inf file.
Can anybody help me?
Thanks.
a_sklyar
|
|
|
|
|
Hi,
I have a palm Pc (Looket G8) and I want to install a program in it.But I cannot see the Setup File of the program that I want to install in G8.Because when I open the G8 I see
only "IMAGE VIEWER","NAVIGATION","MUSIC","SETUP" buttons as the
interface.And none of them shows me the setup file.How can I install the program.Someone can help me?
Thanks
ibrahim
|
|
|
|
|
i am Surjeet Singh Sidhu.
any can help simple application create for nokia 7610 and codes of simple application. please please----------
surjeet_sidhu2007@hotmail.com
surjeet singh
|
|
|
|
|
I am working on a project that requires customization of a mobile device (a smart phone seems logical) to run a simple program. The program only needs to prompt the user (Enter a number btw 0-9) and then send a message that contains information about the user (pre-stored on the phone) as well as the value just entered. The message could be simple SMS messaging to another mobile user or an email account. This application DOES NOT have to be portable to other devices. I'm looking for advice on the choice of particular devices and programming environemnts to do the above. I don't know JAVA and it has been over a decade since I did any C or C++ programming so I would prefer the simplest programming environemnt possibe (VB?). Any suggestions are most welcome.
|
|
|
|
|
I have a multithreaded COM object I want to convert to Pocket PC. I have added the build type and appropriate build options but I find that there is no _beginthread function.
Does the pocketPC support multiple threads and if so, can you point me to an example.
Hell I thought it was funny .....
|
|
|
|
|
_beginthread is a function in the desktop C runtime which wraps up the underlying CreateThread operating system function. On the desktop, you should always use _beginthread or _beginthreadex to ensure that the C runtime is properly initialised.
On Windows CE, the C runtime is integrated into the OS, as part of the core system DLL coredll.dll . CreateThread handles initialising the C runtime for the new thread in addition to its other tasks. Therefore _beginthread is not necessary and is omitted. You should use CreateThread .
|
|
|
|
|
Thank you, and of course.
Hell I thought it was funny .....
|
|
|
|
|
Is it possible, from within a desktop application, to force activesync not to run?
I have a desktop application that will have problems if a handheld device is cradled and synchronized while the desktop application is running.
|
|
|
|
|
I'm finding how to set password and lock a folder in Win CE?
Can someone show me which book I should read or where to start?
Nothing Is Impossible !
|
|
|
|
|
Hello,
My program in not in Add/Remove Programs list on Smartphone, but in Pocket PC is.
So I can't uninstall it.
I think it is something with .inf file while creating a .cab file.
I use CabWiz.exe tool.
Can somebody help me?
Windows Mobile 5.
Thanks.
a_sklyar
|
|
|
|
|
Dear All,
I need to create an application for folder selection dialog.
Can anyone give me a sample code for Cfolderdialog inherited from Cfiledialog in embedded vc++ or pls suggest me a method to create a folder selection dialog in Embedded VC++ Thanks in Advance.
-- modified at 8:09 Tuesday 20th March, 2007
|
|
|
|
|
Hi, in order to test my application on some other device I have created a .CAB to pass to some friend… but I have had some difficulty because if the PDA of the friend does not have the runtime installed and tries to install it from my PC, comes given the already present message of version in the system. What's the corrected procedure to execute? Naturally excluding the deploy from VS…
Alex
Alex
|
|
|
|
|
Best practice is probably to use Microsoft's end-user redistributable. Download .NET CF 2.0 SP1 from here[^].
If required you can simply grab the CAB from the install folder. The filename to use depends on the exact device you're installing on. For Windows Mobile 2003 and 2003 SE Pocket PCs, use NETCFv2.ppc.armv4.CAB . For Windows Mobile 5.0, use NETCFv2.wm.armv4i.CAB . These are also part of the Visual Studio 2005 install, under C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE, wce400\armv4 and wce500\armv4i respectively. If you installed Visual Studio to a different folder, you'll need to change that path appropriately.
|
|
|
|
|
Perfect! Thanks a lot!
Alex
|
|
|
|
|
Hi
I'm developing a program based on Client-Server porgramming in embedded VC++ 3.0 with pocket PC 2000 emulator. I'm using Winsock API's. Client and Server both are running on different Pocket PC emulator. But i'm not able to estabilsh a connection between the Server and Client. Server program is blocking at "accept" API. Client program is waiting for some time and its showing 10060 error.
When i checked the status of the particular PORT which i'm using in the Server program, in command window using "netstat -n" command, it's not listed in the LISTENING PORT list.
Can anybody help me to resolve this?
|
|
|
|
|
Dear All,
We need to create an application for folder selection dialog and we have creted using SHBrowseForFolder concept.Using this concept we were able to compile and run the application in Emulator.Whereas when we are trying to run the application in CEPC(x86 processor), it just hangs and shows the message as "Unknown: DEBUGCHK failed in file C:\WINCE500\PUBLIC\SHELL\OAK\HPC\CESHELL\API\.\api.cpp at line 385".It happens when the application issues the api SHBrowseForFolder.Can anyone suggest an idea to solve this problem.
Thanks in Advance.
|
|
|
|
|
If this is a custom platform - which it must be, because Windows Mobile doesn't run on x86 processors - you should have the CE shared source code. That will tell you, if you look at the source file and line mentioned, that you've passed an invalid parameter into SHGetFileInfo . Specifically, either the path is NULL , the pointer to the SHFILEINFO structure is NULL , or you've passed an unexpected size in the cbFileInfo parameter.
|
|
|
|
|
Hi,
Iam using CEPC with x86 procesor booted with wince 5.0 image.I need to open a folder selection dialog in my application and for this purpose i have used the following code
BROWSEINFO bi = { 0 };
bi.lpszTitle = _T("Pick a Directory");
LPITEMIDLIST pidl = SHBrowseForFolder ( &bi );
if ( pidl != 0 )
{
// get the name of the folder
TCHAR path[MAX_PATH];
if ( SHGetPathFromIDList ( pidl, path ) )
{
_tprintf ( _T("Selected Folder: %s\n"), path );
}
// free memory used
IMalloc * imalloc = 0;
if ( SUCCEEDED( SHGetMalloc ( &imalloc )) )
{
imalloc->Free ( pidl );
imalloc->Release ( );
}
}
On compiling this code iam able to run the application successfully in emulator.But while running the application in a device it got strucked at a parameter checking in api.cpp file.This happens when SHBrowseForFolder is issued.I don't know how SHBrowseForFolder links with the function SHGetFileInfo.What parameters should i pass to overcome this problem.
Thanks in Advance
|
|
|
|
|
You may find that your problem is simply that the debugger has stopped due to the assertion, and simply issuing the Run command will cause your program to continue running.
It appears to be a bug in the implementation of SHBrowseForFolder . Consult the people who developed the platform - this might be another team or your OEM - about getting it fixed.
Line 177 of browse.cpp (in the same folder as api.cpp) calls SHGetFileInfo , passing a NULL as the first parameter. The aim seems to be to get a handle to the system small-icon image list. The code could instead pass a single backslash (i.e. _T("\\") ) as the first parameter, or even an empty string, which will prevent the assertion.
|
|
|
|
|
Is there any way to use .NET remoting in .net compact framework?
I read somewhere that this was not possible. I'm currently creating an application, and it works with remoting, but the client should be ported to Smartphone or PDA or some other handheld. Will I have to rewrite my entire remoting layer? Hope my question makes sense... :->
thanks in advance
public object BufferOverFlow<br />
{<br />
__get { return BufferOverFlow; }<br />
__set { BufferOverFlow = value; }<br />
}
|
|
|
|
|
You can use SOAP on the device. But the Remoting namespace isn't available in the Compact Framework. Tcp sockets are also available. But are you talking about accessing an object on a network from the device? Or an object on the device itself?
This statement was never false.
|
|
|
|
|
I have one file with extension sdf in my device and how can I get path of file.
If file is in \Program Files\MyData\MyDB.sdf how can i get path \Program Files\MyData\
I Love SQL
|
|
|
|