Re: converting int to char

From: Cablewizard (Cablewizard_at_Yahoo.com)
Date: 07/14/04


Date: Wed, 14 Jul 2004 16:21:30 -0600

heh, but as Jay pointed out, the VisualBasic libaries are part of the .Net
library, so you wouldn't be distributing that DLL anyway.
but writing utilities that use nothing more than the System.dll might be a fun
exercise.

Gerald

"The Grim Reaper" <grim_reaper@btopenworld.com> wrote in message
news:cd4aq6$8hg$1@titan.btinternet.com...
> I'm not sure of any performance issues - most of my stuff is utilities,
> nothing overly large or processor hungry.
> Obviously one less DLL in the bin folder when you're distributing apps is
> useful sometimes - might even fit on a floppy if you're lucky!!
> I suppose I was curious the first time to see how many imports and
> references I could remove.. lol.. I can actually get most programs to not
> use any VisualBasic libraries - I guess making a "pure" .NET app makes me
> feel just that little bit better :)
> ________________________________
> The Grim Reaper
>
> "Cablewizard" <Cablewizard@Yahoo.com> wrote in message
> news:ehx5%23VSaEHA.2408@tk2msftngp13.phx.gbl...
> > ah, hmm... good to know. however I have never had any reason to consider
> > removing it. since we are coding in VB, i'm curious as to why someone
> would want
> > to remove the reference. a comment was made about performance, does
> referencing
> > this dll somehow slow things down?
> >
> > Gerald
> >
> >
> > "The Grim Reaper" <grim_reaper@btopenworld.com> wrote in message
> > news:cd1k7u$ata$1@titan.btinternet.com...
> > > It appears in the Project Imports - Project Properties, Common, Imports.
> > > It can be removed from there. As a note to newbies reading this,
> looking
> > > through the task list after removing the Imports and References to
> > > Microsoft.VisualBasic, you can get an idea of which statements are now
> > > unavailable.
> > > ____________________________________
> > > The Grim Reaper
> > >
> > > "Cablewizard" <Cablewizard@Yahoo.com> wrote in message
> > > news:u3qqdmQaEHA.1356@TK2MSFTNGP09.phx.gbl...
> > > > I am a little confused however.
> > > > You posted to the VB group, but don't want to include the
> > > Microsoft.VisualBasic
> > > > dll?
> > > > You really can't do anything without that.
> > > > If you are running the IDE with a VB project open, that is
> automatically
> > > > referenced, and won't even appear in the references.
> > > > Are you confusing this dll with the Compatibility dll?
> > > >
> > > > Gerald
> > > >
> > > > "Nikhil Patel" <nikhil0100@aol.com> wrote in message
> > > > news:eHEtEiQaEHA.3708@TK2MSFTNGP10.phx.gbl...
> > > > > CableWizard,
> > > > > Thanks. It worked.
> > > > >
> > > > > "Cablewizard" <Cablewizard@Yahoo.com> wrote in message
> > > > > news:O4LuZfQaEHA.1248@TK2MSFTNGP11.phx.gbl...
> > > > > > You fail to mention the Text Encoding used, so I will assume the
> > > Integer
> > > > > in
> > > > > > question already represents ASCII.
> > > > > > Here is just a couple of the available methods, there are more
> > > depending
> > > > > upon
> > > > > > encoding.
> > > > > >
> > > > > > Dim intChar As Integer = 65 'ASCII "A"
> > > > > > Dim c As Char
> > > > > >
> > > > > > c = Chr(intChar)
> > > > > > c = Convert.ToChar(intChar)
> > > > > >
> > > > > > Gerald
> > > > > >
> > > > > > "Nikhil Patel" <nikhil0100@aol.com> wrote in message
> > > > > > news:enFkLTQaEHA.3708@TK2MSFTNGP10.phx.gbl...
> > > > > > > Hi all,
> > > > > > > How can I convert an integer to its equivalent ascii
> character
> > > > > without
> > > > > > > using Microsoft.VisualBasic dll or any other dll(I want to
> reference
> > > > > only
> > > > > > > System.dll).
> > > > > > >
> > > > > > > Thanks.
> > > > > > >
> > > > > > > -Nikhil
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Relevant Pages

  • VB FAQs (Interview Questions) lot lot
    ... Consider two objects, A and B. A holds a reference to B, ... Why do so many example programs not use the DLL name ... Private Declare Function SendMessage Lib "user32" ... Private Const BUFFER_LENGTH As Long = 255 ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Sharing Code
    ... What I found would happen is that when the device dll was built visual ... In the desktop project when you add a reference to the dll, ... > projects, one smart device and one desktop, but they're in the same ... > The 2 form projects have references to this class library projects. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Namespaces - broad question
    ... Reference the Class Library in your Page, ... > aspx pages that I know I want utilize a specific function within, ... > have the same codebehind page), how can I reference this function. ... >> A .Net assembly is a compiled DLL. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Namespace Question
    ... >>i saw that when i changed it to true my dll was copied to the bin folder ... >>the reference by looking in the following locations, ... Look for assemblies in directories specified with the Reference Path ... >> tried to use the GAC but the process to convert dll to be strong name ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Namespace Question
    ... >i saw that when i changed it to true my dll was copied to the bin folder ... >and only after i set the copylocal property to false and than to true ... >For the Reference Path Issue, ... Look for assemblies in directories specified with the Reference Path ...
    (microsoft.public.dotnet.languages.vb)