Solved

Assign A string To an Object

Posted on 2006-06-26
2
196 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
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 …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 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