Solved

Perform action on Named Control

Posted on 2007-12-06
3
241 Views
Last Modified: 2012-05-05
It occurred to me that in Access 2000 you can essentially modify parts of a program via code, such as changing the querydef object on a query to alter its actions. Is there a way in VB.NET 1.1 that you can create a routine that would act on a variable name ?

Something like this:

var = "x_AR_GR1_PS07.BackColor = System.Drawing.Color.Yellow"

execute ? var
0
Comment
Question by:shelbyinfotech
3 Comments
 
LVL 3

Accepted Solution

by:
stephenbarrow earned 500 total points
ID: 20425635
Instead of
var = "x_AR_GR1_PS07.BackColor = System.Drawing.Color.Yellow"
execute ? var

you could use something like
var = System.Drawing.Color.Yellow
x_AR_GR1_PS07.BackColor = var

any reason you can't use this?
0
 
LVL 1

Expert Comment

by:Vee_Mod
ID: 20620286
Force accepted.
Vee_Mod
Community Support Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

919 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

12 Experts available now in Live!

Get 1:1 Help Now