RE: base64 convertion



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.

.



Relevant Pages

  • Re: Pass object to another form?
    ... Objects in VB are always passed by reference. ... > Sample code is below and contains ALL the code in my test app. ... there is no need for parenthesis. ...
    (microsoft.public.vb.general.discussion)
  • RE: WSS QuickLaunch Headings
    ... the associated URL to the headings cannot be removed by WSS 3.0 OOB features. ... \par The sample code retrieves all the hyperlinks in the page, and removes the specific URL association matched with your condition. ... \par Please notice, the sample code is only for your reference, you need to change it based on your real requirement. ... \par var anchors = document.getElementsByTagName; ...
    (microsoft.public.sharepoint.portalserver)
  • Re: The Three Faces of Light Speed Unification.
    ... Tell us your reference where you extracted this ... you extract this information? ... Light consists of ballistic particles that carry an intrinsic wave. ...
    (sci.physics.relativity)
  • Re: Reading Compound Documents from Lotus Notes
    ... embedded object. ... For example in my sample jpeg embedded document, Lotus ... task of writing some code to extract embedded objects in Notes mail ... Sample code ...
    (microsoft.public.win32.programmer.ole)
  • Re: The Three Faces of Light Speed Unification.
    ... Tell us your reference where you extracted this ... you extract this information? ... Feynman appears to say something else ... that it dispensed with the wave part of particle-wave duality. ...
    (sci.physics.relativity)

Loading