Re: OpenNETCF and SetWirelessSettings

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Yes, generally you'd do this by making a C# ClassLibrary project to be added
to your workspace for the program. In this case, however, there are
internal classes which the Adapter.cs file can't access when compiled
outside of the namespace where it was designed to go. As I said, I wasn't
sure that it would work. Other than getting the source or waiting for the
next update of the binaries, I don't see a solution. Maybe someone who
knows more about the VS build system can recommend a way to get around
this...

Paul T.

"Kent Briggs" <kbriggs@xxxxxxxxxxx> wrote in message
news:NtEhg.19129$bk5.11121@xxxxxxxxxxxxxxxxxxxxxxx
Paul G. Tobey [eMVP] wrote:
That, as it turns out, is irrelevant. One of the nice capabilities of
the managed code scheme is that you can freely mix and match development
languages. If you add a .cs file to your project, it gets compiled just
like a .vb file does.

How do I do that exactly? With my VB project loaded, I can select
Project/Add_Existing_Item, and select the Adapter.cs file, but it just
adds it as a text file to my VB project. If I change the Build Action to
"Compile" then it just generates syntax errors on every line since it's
expecting VB code.


--
Kent Briggs, kbriggs@xxxxxxxxxxx
Briggs Softworks, http://www.briggsoft.com


.



Relevant Pages

  • Re: OpenNETCF and SetWirelessSettings
    ... managed code scheme is that you can freely mix and match development languages. ... If I change the Build Action to "Compile" then it just generates syntax errors on every line since it's expecting VB code. ... Kent Briggs, kbriggs@xxxxxxxxxxx ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: OpenNETCF and SetWirelessSettings
    ... managed code scheme is that you can freely mix and match development ... languages. ... I'm not sure how to compile that cs file. ... Kent Briggs, kbriggs@xxxxxxxxxxx ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Add my own bitmaps into a resource file?
    ... Recent versions of Delphi will compile the .rc to .res for you when you include the .rc file as part of the project. ... Kent Briggs, kbriggs@xxxxxxxxxxx ...
    (comp.lang.pascal.delphi.misc)
  • Re: Embed files
    ... When you add the rc file to your project, Delphi will compile it automatically. ... Kent Briggs, kbriggs@xxxxxxxxxxx ... Briggs Softworks, http://www.briggsoft.com ...
    (borland.public.delphi.non-technical)