|
The problem is this:
I wish to create a folder inside the 'My Documents' folder.
I am fairly sure that it must be done via MAPI but all the documentation I have found relates to using messages such as email, SMS, etc.
I have initialized COM and MAPI and have opened a session with MAPILogonEx() but from here I'm stumped.
How do I access the IMAPIFolder interface from my session pointer?
Help...
|
|
|
|
|
Hello !
I have a SDI app (view derived from CFormView) in wich I repainted the background in grey (instead of white). I have a static text on it and of course the background color is white...
I want to color it in grey. Who can I do it? Can I send a message to the control or do I need to subclass the control ?
Thanks
|
|
|
|
|
Write a handler for OnCtlColor (MFC). You will be able to specify the device context's colors (text and background).
Regards,
João Paulo
|
|
|
|
|
Great !!
Thank you
|
|
|
|
|
Hello !!
My program need to do somme processing that takes quite a long time. I want to show the typical "wait cursor" on the screen. How can I do this ?
Thanks
Ced
|
|
|
|
|
MFC:
{
...
CWaitCursor wc;
...
}
win32:
...
HCURSOR hc = LoadCursor(NULL, IDC_WAIT);
if (hc)
SetCursor(hc);
if (hc)
SetCursor(LoadCursor(NULL, IDC_ARROW));
...
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
Wooooww !!
That's realy easy
Thanks
|
|
|
|
|
In Windows CE.NET 4.2, when I Call the CMyPropSheet::DoModal(), it cause an exception at the function call as below:
int CPropertySheet::DoModal()
{
...
==> HWND hWnd = (HWND)::PropertySheet((AFX_OLDPROPSHEETHEADER*)psh);
...
};
The description as below is copy from the online help of CPropertySheet member function DoModal:
{
The first time a property page is created from its corresponding dialog resource, it may cause a first-chance exception. This is a result of the property page changing the style of the dialog resource to the required style prior to creating the page. Because resources are generally read-only, this causes an exception. The exception is handled by the system, and a copy of the modified resource is made automatically by the system. The first-chance exception can thus be ignored.
}
but the system seem did not handle this exception, this would never happen in Windows CE.NET 4.1.
I need somebody to help me to solve this problem, thanks in advance!
|
|
|
|
|
hello friends,
I would like to run an application( which is in the web server) on the pocket pc using bluetooth technology. Please tell me your valuable suggestions.
Thanks
JP
|
|
|
|
|
Hello,
Can someone please tell me why my SDI application in MFC is always closing whenever the VK_RETURN "Enter Key" is pressed on the SIP Keyboard, or when I press my PDA select button. How can I stop this from happing.
Also, how can I detect when the enter key has been pressed in a listCtrl?
Thanks,
James
|
|
|
|
|
This behaviour is typical of dialog applications, not SDI (non-doc/view). What is the top-right button: (ok) or (X)?
Regards,
João Paulo
|
|
|
|
|
Hi !
I have this behaviour in a SDI document/view application also !!
I tried to override :
void CMainFrame::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags) <br />
{<br />
<br />
}<br />
<br />
void CMainFrame::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) <br />
{<br />
<br />
}
But this doesn't work !!
Any idea how this can be solved ?
Thanks (and thanks James also for helping to discover this bug )
Ced
|
|
|
|
|
Hi
I have recently pickedup visual studio.net professional
and i see i can dev apps for mobile device in c#.
I also have evc4.0, am i correct in recalling that i am able to install evc4.0 and have it integrate itself with vs.net so i can develop my pocket pc apps in c++ inside vs.net?
regards
Bryce
---
Publitor, making Pubmed easy.
http://www.sohocode.com/publitor
|
|
|
|
|
I think you've misunderstood. (Of course on the other hand, if I'm wrong I'd like to know, too.) To develop apps in C++, you still need to use the eVC4 IDE. To target the pocketpc 2002 and below, use eVC3.
|
|
|
|
|
I am attempting to access these functions through a .NET wrapper. I am using P/Invoke, but I am having very little success. Does anyone out there have an example of how to do this? When I can get it compiled and the call made, I get a NotSupportedException returned with very little explanation. Other times, I can't get it to compile because I have been unable to fill the Long variable (acting as a LPWIN32_FIND_DATA object) I am passing to the function call properly prior to use.
Any thoughts on this?
Thanks
Dan
|
|
|
|
|
Hi,
FindFirstFlashCard and FindNextFlashCard would be very difficult to P/Invoke in the .NET Compact Framework.
But there is an answer on this here:
http://www.cjcraft.com/DesktopDefault.aspx?tabid=38
Q. How do I find any removable storage devices that may be installed on the Pocket PC device in the .NET Compact Framework.
DirectoryInfo rootDir = new DirectoryInfo(@"\");
FileAttributes attrStorageCard = FileAttributes.Directory |
FileAttributes.Temporary;
foreach( FileSystemInfo fsi in rootDir.GetFileSystemInfos() )
if ( (fsi.Attributes & attrStorageCard) == attrStorageCard )
//Found storage card
|
|
|
|
|
THANK YOU, THANK YOU, THANK YOU! I couldn't understand why there wasn't a way implemented in managed code to find them.
Thanks again
Dan
|
|
|
|
|
Can anyone shade some light, in simple language....what is Symbian OS? Plase also let me know where the potential of Symbian is.
I am a programmer in VB.NET (still on the learning curve). I have read a short article saying VB.NET can be used as a front-End for Symbian. that's where my curiousity comes from.
all your additional comments will be well appreciated.
Ben
|
|
|
|
|
|
Thank you for you reply. Well, to me it appears that CrossFire may be having jobs for VB.NET programmers in the very near future. Working as a programmer in Mobile phone platforms. Is that so?
|
|
|
|
|
This is really strange. I am using Vis. Studio, compact framework, and C#. When I am connected to my network, the emulator comes up, the program starts and Vis studio goes into debug mode, stopping at appropriate break points.
If I disconnect my network (Home LAN), the emulator pops up, the program is loaded, and Vis Studio does not go into debug mode. I can go to the emulator and start the program (by opening file explorer and working my way to the appropriate program file).
I have no idea where to begin looking. Any suggestions???
Thank you
Martin.
camasmartin
hobby programmer
|
|
|
|
|
Try installing the Microsoft Loopback Adapter. This way you wil always have an active TCP/IP connection, even if you unplug the network cable.
Regards,
João Paulo
|
|
|
|
|
THANK YOU. IT WORKED.
I'd still like to figure out what is really happening, but it did work. It took me a while to (1) read your suggestion, (2) unsuccessfully find a loopback adapter, (3) find instructions on the web for making one (Simple!!), and testing it.
Thanks again. I just went on a trip and was able to work detached.
camasmartin
hobby programmer
|
|
|
|
|
I would like to know the java VM for Microcontrollers ?
regards,
karthik bala guru
|
|
|
|
|
I asked a number of weeks ago about a way to remove links from the start menu in Windows CE. The response was:
enumerate the .lnk files in \windows\start menu with findfirst/findnext and then move the ones you dont want there to \windows\start menu\programs
Which seems helpful, but I don't know how to go about doing this using InstallScript. Could someone give me an example of how to do this using InstallScript? Also any other method would be appreciated.
Thanks!
Kelly Ryan
|
|
|
|