Silverlight apps are delivered via the web, you are correct. I only mentioned it because it does support a type of vector graphics and will be available for some mobile devices in the future. This is great for me personally because I have invested a lot of time learning how to take advantage of the desktop Silverlight and related tools. The desktop Silverlight version 3, which recently released a public Beta, gives the apps the ability to install on the desktop and launch offline. I have no idea if or when this feature will translate to mobile.
Sorry I don't have better suggestions for vector graphics right now. I'm interested in learning more as your experiments and research progress.
I would like to determine which Item and SubItem has been hit within a ListView control.
C# Windows applications has a MouseDown event for ListView which can be used to retrieve the e.X and e.Y coordinates. The same event handler is not available for SmartDevice applications. Also, there is a GetItemRect() method for Windows applications which is not available for Smart Device.
The event handler along with GetItemRect can be used to determine which Item and SubItem has been hit within a ListView. How can I implement the same functionality on a SmartDevice?
Thanks for your reply. I am sure that this is the right solution but I do not know how to implement the subclass for listview with VS2005. The opennetcf domain seems to be expired so I can not follow any links. I have read some additional documentation but I am new to this and am stuck on how to proceed. Any additional information is appreciated.
Well, I have been at this for several hours now and feel like I am close but have one step to go.
1) Created a class:
public class asdf : ListView
ListViewSubclass asdf = new ListViewSubclass(new ListView());
public class ListViewSubclass : NativeWindow
. . .
2) Add a reference to the class in a new device application
3) Add a user control to the toolbox from this class
Now, I can add the new user control (asdf) to the device application. But I do not know how to trap the mousedown event.
I added an event handler to the device application as shown below. The asdf control has all the events and properties of a ListView plus mouse events . But the MouseEventHandler is never detected. In other words, when I run the application and click on the control asdf1_MouseDown is not called. What am I missing?
asdf1.MouseDown += new MouseEventHandler(asdf1_MouseDown);
If you follow links that take you to opennetcf.net, change it to .com and they should show up. That way you can download the example code and play around with it (you'll also need their Smart Device Framework to compile).
I have a bunch of LabelFields on a Panel. The Panel's parent is a Form.
The Panel has the AutoScroll property set to true, and when the app. is run,
the vertical scrollbar is displayed. However, I am not able to scroll the
Panel using the up/down keys of the DPAD. Anyone know how I can make this
Right-click on your project, select "Add New Item" and then choose "Icon" as the item type. After editing your icon right-click on the project and select "Properties." There will be a drop-down that you can use to select the icon you just added.
I am developing an Win32 smart device console application for Windows mobile based smart phone. In my application I am sending a virtual key codes to the smart phone using SendInput() API to test different applications by capturing the screen shots for each screen after execution of every event.
In testing the contacts application I am sending VK_F3(Talk key) to make a call . Here I am getting three screen shots for one execution of this VK_F3 as "dialing ", "calling","callending" so how can I capture all the three screen shots for one event.
Can we get any notification that call has been ended from the underlying layers of the system ??
If so, can anybody suggest me a way or an API to use for this.
If u give me sample code then also it will be useful.
Please let me know how to view command line on Win mobile 5.0 emulator in Visual Studio 2008?
I want to upgrade SQL server compact 2.0 so that it can be used with SQL server compact 3.5. Please let me know how to upgrade.
How to view a command line on Win mobile 5.0 emulator in Visual Studio 2008. I read about upgradation of SQL server 2005 on MSDN and found that an upgrade command has to be executed on the command line of an emulator.
Excuse me, please! I have been developing an email application on Windows Mobile 6.1. But there was a problem bugs me so much. I could get all informations of a local email successfully. I use IMessage method GetProps() with tag PR_BODY to get the body as an IStream object, and GetRecipientTable() to get the recipients' address. However, when I tried to get the body and recipients of inbox emails, it failed. It seems that mails are formated as MIME style on WM6.1. But I still don't how to get the MIME file and how to parse it. There are .mpb files contain all the above informations under path of "\\windows\\messaging". Their file names are very familar with an email's oid, which we can get by using CEDB to retrive emails. Then if I know an email's oid, I can get all the informations. But if I use MAPI and therefore I only know an email IMessage pointer, how can I get its oid?
I have been trying to create a merge replication from the last week and till now no success. Before i had created a merge replication with IIS and Database in same machine. But now the requirement is changed hence i am stuck.
The procedure i followed are as follows
After going through alot of research i found out the link.
and i read all the chapters and seems to be preety much helpful but i am not able to get the snapshot.
Here are my steps
1. i click ConnWiz30.exe
SQL Server Mobile Edition --> create a new Virtual directory --> Alias='Synchronization' --> do not require SSL --> clients will connect anonymously --> share='\\192.168.1.239\repldata' finished
Everything is created successfully.
when i use the link.
SQL Server Mobile Server Agent Diagnostics
Server Name lakpa
Authentication Type Anonymous
Server Port 80
Server Software Microsoft-IIS/5.1
Logging Level 1
Impersonation and Access Tests
Action Status ErrorCode
Impersonate User SUCCESS 0x0
ReadWriteDeleteMessageFile SUCCESS 0x0
SQL Server Mobile Modules Test
Module Status ErrorCode Version
SQLCERP30.DLL SUCCESS 0x0 3.0.5207.0
SQLCESA30.DLL SUCCESS 0x0 3.0.5207.0
Reconciler Status ErrorCode
9.0 Database Reconciler SUCCESS 0x0
8.0 Database Reconciler FAILURE 0x8007007E
In MSSQL management studio i get the error
1. The schema script 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\ReplData\unc\BYPROXY-O07W0EZ_PDA_DISTRIBUTOR_DISTRIBUTOR\20090306164659\Gebruikers_2.sch' could not be propagated to the subscriber. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147024893)
Get help: http://help/MSSQL_REPL-2147024893
2. The merge process was unable to deliver the snapshot to the Subscriber. If using Web synchronization, the merge process may have been unable to create or write to the message file. When troubleshooting, restart the synchronization with verbose history logging and specify an output file to which to write. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147201001)
Get help: http://help/MSSQL_REPL-2147201001
Is this error due to security problem? Both the computer don't have any domain.
My computer -->(Right click) properties --> Computer name
Full computer name : lakpa
Workgroup : WORKGROUP
How to allow the User of IIS machine to access Publisher Machine that don't have any domain. The user of IIS machine doesn't exists in Publisher machine
Thank you in advance
Last Visit: 31-Dec-99 18:00 Last Update: 26-Sep-23 0:10