|
Many thanks. You gotta wonder why MS doesn't just include that on the freakin DVD...
------- sig starts
"I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hi all,
I'm trying to programmatically remove or disable the Remove Programs options in start->settings.
A lot of the settings are contained in registry keys which I can disable but Remove Programs doesn't seem to be.. I was thinking about either removing whatever it is, or writing a stub program to overwrite it on the installation of my software.
Either way, does anyone know where/what it is? Is it an executable or a key or what?
Thanks!
Kelly Ryan
|
|
|
|
|
Hi all~
How to add tag pages which place on the top of the tag control?
Also, can the location of the tag control not be started at the top corner(0,0) of the form? I cannot change the location. It changes back to (0,0) if I change it.
thanks~
|
|
|
|
|
If you find code warrior , J2me or Visual Studio are too complicated and you feel that you need to learn just one tool that is a lot easier, instead of three then, look up the Mobile Application development tool called GoDb which is similar to VB in look and feel but allows you to create Powerful Mobile Applications for PALM, POCKET PC, Symbian , Nokia. The tool comes with it own IDE , Gbasic - a language similar to VB ( infact if you know VB you can start programming in it instantly) and Simulators and Sync server .
|
|
|
|
|
Hi,
Is there any way to put the main menu & toolbar on the top of the Form in C#?
Thanks.
|
|
|
|
|
Hi,
How can i write new language for PPC ?!!!
What i want to do is Adding new language keyboard to WinCE ...
Please introduce to me some links about it.
Regards,
Hadi
|
|
|
|
|
Read Doug Boling's book on Windows CE development. It has some sample code on how to write a new keybaord.
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Thanks a lot
|
|
|
|
|
I am student of Aptech and this days i am doing a project on .Net. In this project i am tryiny to creat Mobile application where i am tryiny do that user access my application by mobile and he can select one ringtone after that he or she can install that bell on his or her mobile just like mobile compnies do on there web site. So tell me is that possible if possible then tell me how i nead your help pleaszzzzzzzzz help me i am wating for your replay
Masood Lodhi
Masood Lodhi
|
|
|
|
|
Hi all,
is dynamic loading of appDomains also work in compact framework .net ?
I have run example in dynamic loading in .net framework,
but since compact framework dont have AppDomainSetup Class,
so what can I do ?
The code in dynamic loading in .net framework is in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp05162002.asp
but when the port the code to compact framework, the code doesn't work coz AppDomainSetup Class is missing in .net CF.
Can anyone point to sample code or articles on it ?
Thanks
|
|
|
|
|
Hi all,
I've run into a little problem, I'm drawing a zone on a CDC and would like to fill the zone in with a colour, most likely black.
I collect the points and store them in a CArray of CPoints and draw the zone like...
<br />
typedef CArray<CPoint, CPoint&> CPointList;<br />
CPointList Points;<br />
<br />
<br />
int numPoints = Points.GetSize();<br />
<br />
if(numPoints>1)<br />
{ <br />
for(int i=0;i<numPoints-1;i++)<br />
{<br />
pDC->MoveTo(Points.GetAt(i).x, Points.GetAt(i).y);<br />
pDC->LineTo(Points.GetAt(i+1).x, Points.GetAt(i+1).y); <br />
}<br />
}<br />
This just draws the zone, I did try using Polyline() and PolylineTo() but the starting point is always coming from the side of the display instead of the first point in the array, the code I used with the Poly methods was something like...
<br />
int numPoints = Points.GetSize();<br />
<br />
if(numPoints>1)<br />
{ <br />
CPoint* pts = new CPoint[numPoints];<br />
<br />
for(int i=0;i<numPoints-1;i++)<br />
{<br />
pts[i].x = Points.GetAt(i).x;<br />
pts[i].y = Points.GetAt(i).y;<br />
}<br />
<br />
pDC->MoveTo(pts[0].x, pts[0].y);<br />
pDC->PolylineTo(pts, numPoints);<br />
<br />
delete [] pts;<br />
}<br />
and even with PolyPolygon() i got very strange drawings using the following code
<br />
int numPoints = Points.GetSize();<br />
<br />
if(numPoints>1)<br />
{ <br />
CPoint* pts = new CPoint[numPoints];<br />
int tmp[2];<br />
<br />
tmp[0] = numPoints;<br />
tmp[1] = numPoints;<br />
<br />
for(int i=0;i<numPoints-1;i++)<br />
{<br />
pts[i].x = Points.GetAt(i).x;<br />
pts[i].y = Points.GetAt(i).y;<br />
}<br />
<br />
pDC->PolyPolygon(pts, tmp, 2);<br />
<br />
delete [] pts;<br />
}<br />
If anyone has some input which could help I'd be very intrested to hear it. Also I'm working with the PocketPC SDK so things like FloodFill() cant be used ;(
Regards
ar
|
|
|
|
|
coding-nastypcs wrote:
Also I'm working with the PocketPC SDK so things like FloodFill() cant be used
No, they can't be used. But they can be implemented...
QA: Where is the DC FloodFill method?[^]
Have fun!
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Thanks João,
I have since added the class to my project but have run into a little problem.
My project has 2 CDC's, one is in the main View class and the other I use in my Zoning Class.
When I draw my zone I draw the zone on both CDC's but the second CDC in the Zoning Class will get filled in.
I then use this CDC as a hidden CDC to check if I'm still in a zone, using the likes of GetPixel() to find out if I have left the zone.
My problem now is that it's always returning true, as in I have left the zone, so I now need to display the second CDC to the screen to verify that the zone has been set up right, but when I do I just get a blank display, all white.
I'm using code like the following...
<br />
ColorZone = new CDC();<br />
ColorZone->CreateCompatibleDC(NULL);<br />
int numPoints = Points.GetSize();<br />
<br />
if(numPoints>1)<br />
{<br />
for(int i=0;i<numPoints-1;i++)<br />
{
ColorZone->MoveTo(Points.GetAt(i).x, Points.GetAt(i).y );<br />
ColorZone->LineTo(Points.GetAt(i+1).x*, Points.GetAt(i+1).y);<br />
}<br />
<br />
if(CZone::IsComplete)<br />
{
CPoint point = Points.GetAt(0);<br />
point.x+=1;
point.y+=1;<br />
CRect rect;<br />
GetClientRect(NULL, &rect);<br />
CFloodFill<CDC, COLORREF> flood(*pDC, rect);<br />
flood.Fill(point, RGB(255, 0, 0));<br />
<br />
CMyBaseView* pView = (CMyBaseView*)((CMainFrame*)AfxGetApp()->m_pMainWnd)->GetActiveFrame()->GetActiveView();<br />
pView->GetDocument()->mapDC = ColorZone;<br />
}<br />
}<br />
As I'm very new to PocketPC development I'm a little unsure if the above code should do what it's meant to be doing, any input would be grateful!
Thanks again,
ar
|
|
|
|
|
hello geniusES!
i need help in choosing a final year project title. i wud like to do somethin in mobile java. please if ny1 of u hav got ne idea lemme know. or mail me at bsc_imz@yahoo.co.uk
da project time completion is within 3 months.
really appreciate if you can help,
Cheers
Imz.
Imran Mamdani!
Imran Mamdani!
|
|
|
|
|
Hi
Could anyone point me in the direction of information regarding the creation of a virtual com port. I have searched with little success...
Many thanks
Tom
|
|
|
|
|
Hi,
I have Embedded 4 and it it has no option to open solution files - only VC 6.
What are my options? The app is not .NET just written with .NET IDE.
What is the quickest way to port it to Embedded VC++ 4.0?
Thanks,
|
|
|
|
|
So it seems I need .NET 2003. Bugga is I have .NET 2002.
How do I downgrade a solution file to vc 6 project file given that I am not using any
.NET code?
Thanks
|
|
|
|
|
I'm porting an existing NT application to Pocket PC. On NT/XP I setup a direct pc to pc connection type for the application to establish a PPP connection via RasDial() and then connect a socket to get TCP/IP up.
I would like to use port the existing code but on the Pocket PC connection settings there is no direct connection allowed, only a Hayes Compatible modem option which dictates I need a modem connected to the COM port.
Is there anyway to setup a direct connection or change the RasDial() settings to use a VPN connection to the COM port to setup PPP ??
|
|
|
|
|
Dear All,
I need to set/pass cursor type and lock type in OLEDB interface. I opened the table/SQL statement successfuly. I am not able to find in which interafce i have to pass/set cursor type and lock type in it.
Any body is having any idea about this problem ?
If so, provide some input and it will be of an immense help for me to solve this problem.
Regards,
AKS
|
|
|
|
|
Cursor and lock information are passed on the property set of type DBPROPSET_ROWSET . If you are using SQL CE, check out the online docs.
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Hi there,
I've installed VS 2003 .Net, Pocket PC 2003 SDK and ActiveSync 3.7.1 on my PC.
I also intalled Microsoft Loopback Adapter service on my OS ( WinXP ), So now my programs run without any problem.
The problem is the Emulator use TCP/IP for transfering files between PPC and PC, and now I'm not able to use ActiveSync to connect to PPC
How can I get ActiveSync to work with Emulator ?!
Regards,
Hadi
|
|
|
|
|
Read this article:
Migrating to the eVC 4.0 Environment[^]
Check the section on "ActiveSync Via Ethernet":
You can now connect ActiveSync to the emulator without a loopback serial cable. Compared to the previous version of the emulator this is faster and configuration is simpler, and you do not need a loopback cable and a PC with two serial ports. Now you can more easily test your desktop installations, ActiveSync filters/providers, and RAPI applications against the emulator. (...)
You can follow the configuration link here:
Using ActiveSync over Virtual Switch[^]
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Dear João,
Thanks alot for help
Regards,
Hadi
|
|
|
|
|
Hi~
However, when you config the virtual switch in eVC++, the emulator can be connected with activesync only when the emulator is launched by eVC++. If the emulator is launched by VS .NET, it still cannot be connected with activesync.
|
|
|
|
|
hello all,
at present i am getting training on 8 bit controllers. but my doubt is that am i easily migrate to 16,32 and 64 bit controllers, with out having assistance.
Thanking u.
ComputerNewton
|
|
|
|