[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Configuring/Alter Controls at Runtime

Posted on 2006-12-01
2
Medium Priority
?
201 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month19 days, 18 hours left to enroll

872 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