Solved

Configuring/Alter Controls at Runtime

Posted on 2006-12-01
2
191 Views
Last Modified: 2010-04-23

Lets say I create a create and configure a data grid in Memory

How do I pass all the configuration I did on that Data grid in memory to the data grid  the form...


I tried something similar to this below, but it did not work... And I am not sure why?

For Example...

DIM DG as Data Grid

--Configure and Setup the Data Grid
With DG
     'Here would be code to configure it
End With

Me.InventoryDataGrid = DG

0
Comment
Question by:redmountainmachinery
2 Comments
 
LVL 10

Accepted Solution

by:
gangwisch earned 500 total points
ID: 18055426
the best thing to do would be to show all files in solution explorer and view your designer code for the statically made grid
then copy it to your with statement
0
 

Author Comment

by:redmountainmachinery
ID: 18118046
PLEASE CANCEL THIS QUESTION...

0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

803 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