Re: My Computer & Recycle Bin by Paul
Paul
Mon Aug 02 14:38:32 CDT 2004
Not for CE there aren't. You cannot program in C++ from VS.NET for Windows
CE. It's not an option. You can use C# or VB.NET to write .NET (managed)
applications for Windows CE; not C++, though.
If you are using VS.NET 2003 Pro or better, which you must be, set the
language to C# or VB.NET. Choose Smart Device Application from the list of
possible project types, then select whichever general format for your
application fits (form-based, console, etc.)
Paul T.
"Ken Beauchesne" <kbeauchesne@monarchinstrument.com> wrote in message
news:u5OqXkmdEHA.3148@TK2MSFTNGP10.phx.gbl...
> my question was a little more generic, i'm using visual studio 2003 when I
> create
> a project there are 5 choices for c++ .NET, ATL, MFC, Win32, General
> and under those there are console or windows form etc..
>
> this has to operate under the CF so my other code is all C# , just not
sure
> what
> type of project to use to achieve this.
>
> thanks
> Ken
> "A.User" <a_user@home.com> wrote in message
> news:%237D8z1ldEHA.3392@tk2msftngp13.phx.gbl...
> > a snippit ...
> >
> > #define REG_SUBKEY_MYCOMPUTER_ICON
> > (TEXT("{000214A0-0000-0000-C000-000000000046}"))
> >
> > #define REG_SUBKEY_RECYCLEBIN_ICON
> > (TEXT("{000214A1-0000-0000-C000-000000000046}"))
> >
> >
> >
> > int WINAPI WinMain(HINSTANCE hInst,
> >
> > HINSTANCE hInstPrev,
> >
> > LPWSTR lpCmdLine,
> >
> > int nCmdShow
> >
> > )
> >
> > {
> >
> > HKEY hKey = NULL;
> >
> > // remove My Computer and Recycle Bin desktop icons
> >
> > if (ERROR_SUCCESS != RegOpenKeyEx( HKEY_LOCAL_MACHINE,
> > L"\\Explorer\\Desktop", 0, 0, &hKey))
> >
> > RETAILMSG(1, (TEXT("Launch: Could not open \\Explorer\\Desktop
> key!\r\n")));
> >
> > else
> >
> > {
> >
> > if (ERROR_SUCCESS != RegDeleteValue(hKey, REG_SUBKEY_MYCOMPUTER_ICON))
> >
> > RETAILMSG(1, (TEXT("Launch: Could not delete My Computer icon!\r\n")));
> >
> > if (ERROR_SUCCESS != RegDeleteValue(hKey, REG_SUBKEY_RECYCLEBIN_ICON))
> >
> > RETAILMSG(1, (TEXT("Launch: Could not delete Recycle Bin icon!\r\n")));
> >
> > RegCloseKey( hKey);
> >
> > }
> >
> > // park cursor to extream right
> >
> > SetCursorPos(320,0);
> >
> > ....
> >
> >
> >
> >
> >
> > "Bruce Eitman (eMVP)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net>
wrote
> in
> > message news:OnN4qEkdEHA.2688@TK2MSFTNGP10.phx.gbl...
> > > What is C++.NET?
> > >
> > > Specifically, what was undefined? You may need to look some functions
> up
> > in
> > > help to see which header files to include and which libraries to link
> > with.
> > >
> > > --
> > > Bruce Eitman (eMVP)
> > > Senior Engineer
> > > beitman AT applieddata DOT net
> > >
> > > Applied Data Systems
> > > www.applieddata.net
> > > An ISO 9001:2000 Registered Company
> > > Microsoft WEP Gold-level Member
> > >
> > >
> > >
> >
> >
>
>