Solved

Assign A string To an Object

Posted on 2006-06-26
2
192 Views
Last Modified: 2010-04-23
How I will Assign A string To an Object
0
Comment
Question by:lincyelias
2 Comments
 
LVL 19

Expert Comment

by:arif_eqbal
ID: 16989867
dim obj as Object
obj="Some String"
0
 
LVL 7

Accepted Solution

by:
pradeepsudharsan earned 40 total points
ID: 16990332
Hi,
Use CObj() method.

 Dim str As String
        str = "ABCDEFRGHJJ"
        Dim l As Object
        l = CObj(str)
        MessageBox.Show(l.ToString())

0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now