Solved

Configuring/Alter Controls at Runtime

Posted on 2006-12-01
2
193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
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 …
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…

730 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