PC - pocketpc data access

pocket pc


  • 1. How to create Menubar with Toolbar? PPC2003
    Hello all, I've been trying to figure out for days on how to create a menu bar with a toolbar of icons. I figured out how to add a menu resource using the following code: memset(pMenuBar,0,sizeof(SHMENUBARINFO)); pMenuBar->cbSize = sizeof(SHMENUBARINFO); pMenuBar->hwndParent = hWnd; pMenuBar->dwFlags = SHCMBF_HMENU; pMenuBar->hInstRes = hInstance; pMenuBar->nToolBarId = IDR_mnuNSMenu; SHCreateMenuBar(pMenuBar); This works just fine and displays my menu, but I need to add some icons (like in pocket word). I tried setting the other members of the SHMEUBARINFO which are cBmpImages, nBmpId but nothing happens. If anybody has any good source that incorporates a toolbar with menu items like in pocket word please let me know. Again, I'm using Pocket PC 2003 and any source i've seen that is out there is in Pocket PC 2002 or earlier. Also I'm NOT USING MFC. Thanks, Geno
  • 2. XML Driven Application
    are there any sample Pocket PC applications that are written based on XML as the underlying data source ? Thanks.
    How can I ADD an ITEM to TODAY area on POCKET PC? OR How can I ADD an APPOINTMENT to CALENDAR? I want use EVB. Thanks. Davide
  • 4. ListView control Remove mothod cause hang up
    Hi My problem is when I run following code, my application mostly but not always will hang up. foreach (ListViewItem lvi in listView1.Items) if (lvi.Text == deviceName) listView1.Items.Remove(lvi); What is wrong? Thanks. Sophie
  • 5. SQL CE Transaction Problem
    I am trying to start a transaction and I am getting this error: BeginTransaction requires an open and availible Connection. The connection's current state is Open, Fetching. I have executed previous SQL statements, but they should have been completed several lines before I try to start the transaction. Here is my code to start the transaction: 'start the transaction Try i = 0 SQLCmd = New SqlServerCe.SqlCeCommand i = 1 SQLCmd.Connection = SqlConn i = 2 trans = SqlConn.BeginTransaction i = 3 SQLCmd.Transaction = trans Catch ex As Exception MsgBox("Error with trans " & i & vbCrLf & DBOpen) MsgBox(ex.Message) End Try SQLConn is a global varialbe that I am using for my connection. I thought that this was the best way to do it. Can SQL CE databases have multiple connections open at once? Also, what is the maximum number of queries that can be part of a transaction? My program could possibly add about 32,000 for a transaction. Do I need to break it into smaller peices? Thanks for the help.

PC - pocketpc data access

Postby Kuba » Sat, 08 Nov 2003 21:45:24 GMT


How do I access pocket access database, from an application running on a 
desktop computer ?
Something like ActiveSync does, but I need to integrate it into my own 


Re: PC - pocketpc data access

Postby Girish NS » Sat, 08 Nov 2003 22:32:27 GMT


u have to use Remote Application Programming Interface (RAPI ) provided with
MS Activesync SDK to integrate the functionality in ur own application.

Check out the following implementation of RAPI in .NET by opennetcf.org

Hope this helps.


Re: PC - pocketpc data access

Postby Kuba » Sat, 08 Nov 2003 22:46:08 GMT

Thanks for a quick answer.
At least I know what I'm looking for -> RAPI.

Frankly speaking, I hoped I'll just need to create a COM object, which 
will let me connect to a pocketaccess db on my PDA.
Is there such way to do this ?

Are there non .NET implementations of RAPI ?


Re: PC - pocketpc data access

Postby Kuba » Sat, 08 Nov 2003 22:52:44 GMT

one more thing
I have on iPAQ with Pocket PC 3.0
So it's not .NET


Re: PC - pocketpc data access

Postby Thomaz » Sun, 09 Nov 2003 02:42:11 GMT

There's no way to run queries from your desktop using an Access Database on
your iPaq. You have to use RAPI to copy (and convert) the database to your
desktop and then run the queries/inserts/etc.. locally on the desktop.

Re: PC - pocketpc data access

Postby Mike » Sun, 09 Nov 2003 03:59:07 GMT

You don't have to use RAPI.  You could use the DEVICETODESKTOP() function in
the ActiveSync DLL.


Re: PC - pocketpc data access

Postby Kuba » Tue, 11 Nov 2003 23:19:53 GMT

Can You tell me a bit more about it ?
I'm currently playing with the RAPI, and I'm almost there :-),
but if there's a better way to do it.....


Re: PC - pocketpc data access

Postby Mike » Tue, 11 Nov 2003 23:28:56 GMT


function in

Re: PC - pocketpc data access

Postby Kuba » Tue, 11 Nov 2003 23:35:24 GMT



Similar Threads:

1.Does Pocket PC 2003 or the latest vesion of CE support MS Access Data Access Pages

I created a simple Data Access Page and it views fine in Internet
Explorer 5.5 on my PC.  But when I try to view it on my Pocket PC
running Pocket PC 2002 operating system, I get the error message that
the page needs Internet Explorer 5.5 or higher to display.  Does anyone
know if the version of Internet Explorer that comes with Pocket PC 2003
or the latest version of Windows CE supports Data Access Pages?

2.Replace the data on a pc from the data on a PocketPC

I have my contacts / everything on a pocketpc
I would like to copy that to my pc... I can't... my only options are:
 - Combine
 - Replace items on my device
 - dont sync

How can I upload the info on my pocket to go to my pc ? How can I clear my
pc's contacts ?

3.Data Access to Access database

Is there any sample that show how to access a Microsoft 
Access Database ?

4.Data Access Page and Pocket PC

What do I have to do to make a Data Access Page work in a Pocket PC through 
Internet Explorer Mobile? Is there anything I can just install in the Pocket 
PC so they work? Or do I have to start programming... which I know nothing 

Thanks for any help you can provide!


5.Data Access Page on Pocket PC

6. how to access the Pocket PC outlook data???

7. [Pocket PC Phone Edition] accessing the modem/data stream

8. Data Access Page (DAP) viewable from Pocket PC needs IE 5.5 or higher

Return to pocket pc


Who is online

Users browsing this forum: No registered users and 31 guest