RE: base64 convertion
- From: wawang@xxxxxxxxxxxxxxxxxxxx (Walter Wang [MSFT])
- Date: Tue, 26 Sep 2006 07:05:37 GMT
Hi,
The sample code is provided as a Class Library, you can reference the
library in your VB.NET project. Here's the steps to create the assembly:
1) Extract the sample project to a local folder
2) Click on start menu "Start/Programs/Microsoft Visual Studio .NET
2003/Visual Studio .NET Tools/Visual Studio 2003 .NET Command Prompt": this
will open a command prompt with .NET 1.1 environment settings;
3) Change directory to the folder where you extracted the project files,
there should have two .cs and one .mk file; type command "nmake /f
base64.mk"
4) This will built the assembly base64stream.dll in current directory, you
can reference this assembly in your VB.NET project.
Directly converting C# code to VB.NET code is not easy, however, you can
find some online tools that claim they can convert between C# and VB.NET,
but the converted code needs lots of correcting.
Another approach would be to use Reflector to disassemble the built
assembly (from C#) and view the generated code in VB.NET. But it has its
drawback too. I can depict more on this method if you're interested.
Regards,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- RE: base64 convertion
- From: Walter Wang [MSFT]
- RE: base64 convertion
- From: Walter Wang [MSFT]
- RE: base64 convertion
- From: Komandur Kannan
- RE: base64 convertion
- From: Walter Wang [MSFT]
- RE: base64 convertion
- From: Walter Wang [MSFT]
- RE: base64 convertion
- Prev by Date: RE: MSBuild generates different files than Visual Studio 2005 ?
- Next by Date: Re: Question about VSPackages
- Previous by thread: RE: base64 convertion
- Next by thread: RE: base64 convertion
- Index(es):
Relevant Pages
|
Loading