|
How can transfer my data from Pocket PC sdf file into my SQL Table?
I Love SQL
|
|
|
|
|
When you move a dialog (or a CWnd object) your dialog's background will be repainted. It make some unsmooth effects when you have to move your Window too much times (for example you build a drop down window).
Have any solutions for this problem ?
Nothing Is Impossible !
|
|
|
|
|
This isn't an easy question to answer, because it depends on how your application is structured. Fundamentally, you need to minimize the amount of painting you do.
If you implement a WM_PAINT handler to paint the dialog's surface yourself, you should look into the GetUpdateRect or GetUpdateRgn functions to determine the area of the surface which actually needs to be repainted, and only perform painting operations that affect this area. (Windows clips painting to this area anyway, so any painting operations which go outside this area simply waste time). You can find out whether a rectangle will be drawn using the RectVisible function. Alternatively, use IntersectRect to find out if any part of one rectangle is within another (and the area that is within both), RectInRegion to find out if any part of a rectangle is in that region, or PtInRect and PtInRegion to check whether a point is in the rectangle or region.
If doing your own painting, it may be better to do as much painting as possible with one set of graphics objects rather than constantly swapping between different objects (for example, if you want two black lines and a red line, select a black pen, draw the two black lines, then select a red pen and draw the red line, rather than drawing the red line in between the two black ones).
If you're overpainting the entire background of the window, consider implementing a handler for WM_ERASEBKGND and returning TRUE . This prevents some flicker generated by Windows painting the window background with the default background brush, then your painting code painting the actual desired result over the top.
If you're not doing your own painting, consider reducing the number of controls on your dialog. When Windows has an invalid region on the screen, it has to generate a WM_PAINT for every window that intersects the invalid region. The overhead can cause the overall painting operation to take a long time. You should ensure that any controls that aren't visible because another control is obscuring them are actually hidden (call ShowWindow with the SW_HIDE flag). If these are controls that are part of the dialog template, hide any controls not initially active in the template.
|
|
|
|
|
Windows CE does not support the following methods of the CRgn class:
CreateEllipticRgn
CreateEllipticRgnIndirect
CreatePolygonRgn
CreatePolyPolygonRgn
CreateRoundRectRgn
So how can I create my own custom region for my dialog (for example a heart shape region) (in Windows CE)?
I just mean custom region.
Do you have any solutions for this proplem ?
Thank you.
Nothing Is Impossible !
|
|
|
|
|
You'll have to build a region from rectangles using ExtCreateRegion . I'm not honestly sure if that will work either, but that's the one region-manipulating function that exists on CE.
|
|
|
|
|
You can find a sample program that shows how to create an irregular shaped window on smart devices here http://www.opennetcf.org/PermaLink.aspx?guid=f0abe92f-6e94-4a19-b0e3-11d1bdb3c9f0
|
|
|
|
|
Can any one tell me what is action script slicing and how it is done
|
|
|
|
|
Can someone explain me about the role of MMI( Memory management interface ) in flashlite.
|
|
|
|
|
Hi!
Mobile development is new area for me, so excuse me for my ignorrance.
This is what I'm trying to do: Poorman's data transfer between mobile device and Desktop PC.
These are my limitations:
On desktop I have SQL Express server and Express Managemet studio. Server instance has a name. So way for RDA and no way for merge replication (I think, you correct me).
And no pocket Access aswell.
!!!Potential user doesn't like the idea of messing around ActiveSync, nor likes idea of manualy copying files via Windows explorer!!!
So my idea was to just copy XML files with data via IIS to virtual folder, so I can use that data in my Desktop app.
1. Is it possible?
2. I've created virtual folder and tested it, but I can't copy file from mobile app, nor I can access it from mobile app.
I've used File.Copy(...), but all I get is IO exception. I've used same path to virtual folder as in web browser (http://computer_name/vfolder/filename).
3. Help!
|
|
|
|
|
I've just downloaded MS mobile power toys. Is there a light at the end of tunnel?
|
|
|
|
|
hi
how can draw a chart (for reporting) in "pocket pc" application?
tanks
|
|
|
|
|
hi
my application has a menubar displayed in the bottom of the dialog.
it runs on WINCE5.0.
when i hide the taskbar of windows, the menu bar doesn't slide down instead stays at the same position.
how do i handle this???
|
|
|
|
|
I have one mp3 player .
But I need to change firmware.
For exmaple >
When start mp3 player , That screen have shown "login Window".
How about change the mp3 firmware.
Who 's that know that.
And Mp3 Player firmware Developement Kit.
I very need that
Thank you.
If you know , Send me thank you.
|
|
|
|
|
How can I connect into MS Access dabatase from Pocket PC application??
I Love SQL
|
|
|
|
|
|
Hi all,
we are going develop a project for the hand held device in vs2005,c#.net and sqlserver ce basically i am application programmer that's what for my reference plz any body tell which books are the suitable for success fully complete this project it is very use full to me plz give books list with authors
THANKS IN ADVANCE
REGARDS,
GSKUMAR
|
|
|
|
|
How could I detect the screen change? We want to write a software like remote desktop(but no control). I mean capture the desktop(Server) and then send the data to client. As we are under wince, we were needed to sent at least 2~5 whole screen data per second to satify the quality of software. When the screen change, the data of screen is also change, what should i do for this software? Any tips or address will be helpful. 3ks^_^.
One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...
|
|
|
|
|
hello,
i am thinking of doing a mobile application for my mini project using VB.
is it possible? can anyone guide me?
|
|
|
|
|
Hi.Can anyone tell me how i can draw on a mobile web form?i've tried this code and doesn't work
Bitmap bm = new Bitmap(100,100);
Graphics g = Graphics.FromImage(bm);
SolidBrush whiteBrush = new SolidBrush(Color.White);
g.FillRectangle(whiteBrush, 0, 0, 100, 100);
Pen redPen = new Pen(Color.Red, 10);
g.DrawEllipse(redPen, 5, 5, 30, 30);
bm.Save(Response.OutputStream,System.Drawing.Imaging.ImageFormat.Bmp);
Returns the error "A generic error occurred in GDI+".
Thanks
|
|
|
|
|
hi
i require the steps to connect my mobile with the bluetooth... its like i was able to transfer my mobile info to my pc, but was unable to access my info from PC.
please do reply. thanks in advance.....
hari
|
|
|
|
|
I already writed an application using with smartphone 2003 in VB.NET 2005. I want to create setup file for installing in my smartphone but i don't know how i do it. Please help me about this problem.
thanks
sophy
|
|
|
|
|
http://msdn2.microsoft.com/en-us/library/aa457836.aspx
|
|
|
|
|
I already writed an application using with smartphone 2003 in VB.NET 2005. I want to create setup file for installing in my smartphone but i don't know how i do it. Please help me about this problem.
thanks
|
|
|
|
|
Is i need to transfer any files to my pocket pc to make sockets work?
i have an error message "no such host is known".
|
|
|
|
|
Does anyone can tell or suggest me how can i develop simple Application for Pocket PC? How can I install on my Pocket PC ?
I Love SQL
|
|
|
|