473,799 Members | 3,298 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem in Visibility Of Some Controls In My Project

19 New Member
Hi everybody..
Just a Simple question. I'm having a form(Form1) with some controls(Button s,DatagridView, TextBoxes etc) added to it. At the form load event, I'v hide some of those(buttons, datagridview) Controls. Then from another Form(Form2) I'm calling the first form(Form1) by creating an object(My_Form) of it in form2
Expand|Select|Wrap|Line Numbers
  1. dim My_form As New Form1
  2. My_form.mdi_parent=Form_parent
  3. my_form.datagridview.visible= true
  4. My_form.show
  5.  
So, Will the Out Put be shown with the datagridview control on the Form1 or not?
Isn't it very simple??

Bt After almost creating project, suddenly some features of it is not working as stated above.Before It was working well. I'v Checked all the features, bt found no errors or sort of any problem. Could It be the problem of the system or manual error.
Jan 21 '11 #1
0 773

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1783
by: Nadav | last post by:
I have a strange problem with inherited controls: I have created two user controls called UserLoginA & UserLoginB. One of the properties of these controls is of type UserGroup ( a class I defined in another assembly). Then I show that UserLoginA & UserLoginB have a lot of common code, so I decided to inherit UserLoginB from UserLoginA. So I Created a new user control UserControlC that inherits from UserLoginA, added the code needed to...
0
879
by: Hayato Iriumi | last post by:
Hello, folks. I'm having a problem with loading Web project. Here is the situation. Windows Server 2003 VS .NET 2003 Source Safe 6.0d My IIS has a three sites.
2
1428
by: Michel Couche | last post by:
Hello! I am working on an on-line ASP.Net library. I would like to set up the visibility of some controls programmatically. My approach is to give an "admin_" prefix to some controls and to define their visibility by the procedure below .... Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load .....
1
1114
by: Cecilio | last post by:
Hello to everybody and sorry for my english. I have VS2003 installed on a XP Prof with IIS 5.1 running, but when i try to open an ASP.NET project VS shows this error message: "VS .Net has detected that web server is not running ASP NET version 1.1. You can´t run web application or ASP web services"
3
1275
by: Dave | last post by:
Hello. How can I set focus to some controls? For example I want to set focus to some textbox when the page is loaded or when I click on some button. And I have one more question: how can set some button as default button for the form? Thank you.
3
2346
by: Ankit Aneja | last post by:
I have a strange situation and I have no idea how to solve this. Its a Recruitment Search Page,in the Admin Page, for every button click event the Admin Person has to create a checkbox on the users page. So whenever the Admin person comes to know about the new category in the market he will be adding as different Sub-Categories for example ABAP, BDC etc..etc.. on every click event as Checkboxes. And these controls(checkboxes) should remain...
3
1177
by: dast | last post by:
Hi, I'm using a delegate to edit some controls on formA from another thread on formB. This works nicely the first time I run formA. But if I close formA and reopen it I get errors. When changing the checked state of a radiobutton I get an error saying that I cannot access the control since it is disposed. But I can still change the
0
1817
by: parekh | last post by:
Hi All , I am facing a problem wherein my VB project is not recognizing a change in the argument list of a method ( the method itself being declared and defined in another VC++ project and it is now updated to accept one more additional argument ). The problem in detail is as follows: I have a Class (named Student ) in an existing VC++ project. One of its Methods has the following signature and accepts 2 arguments ...
2
5324
by: Josh Carver | last post by:
Hi group, I'm trying to get the outputted html from some specific controls on a page, and I'm finding that some controls will render fine, while others will throw the error that " must be placed inside a form tag with runat=server." For example, a label control will render fine, but a button will not. It seems that any control that has a server-side click event will not accept being rendered in this way. Does anyone know what I can do...
2
1688
by: richard.martino | last post by:
Windows Experts: 1. I have a desktop application with a UserControl that contains controls: TextBoxes, RadioButtons, CheckBoxes and NumericUpDowns. 2. I want to warn the user that, if there is unsaved data within my UserControl when he tries to 'X' out of the entire application, to display a MessageBox. 3. Unfortunately, System.Windows.Forms.UserControl does not have a
0
9546
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10490
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10243
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9078
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5590
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.