Solved

VB.NET - Display of windowS form as per our convenience

Posted on 2006-07-20
5
365 Views
Last Modified: 2012-05-05
Hi all !

I am very new to VB.NET. Here is a query concerning to display of windows form.

I have created a windows form having one component as BUTTON.
On the click event of that button, am gonna display another form . I want this new form to be actually displayed at the extreme right of our monitor screen. So is there any code for pixel adjustment for this form on the screen?

Or can we display a form within form (i.e nested form) itself? And, if so, is there any code for pixel adjustment of this inner form within main form?

Responses are always appreciable.

Thanks,
Manasi
0
Comment
Question by:wadwekarg
5 Comments
 
LVL 15

Expert Comment

by:bpmurray
ID: 17144274
in VB.Net you use the setBounds method to move and resize a control, includeing the form itself. This means that you use:
        Me.SetBounds(400, 400, 300, 300)

To move the form to pixel address (400, 400) and make its size 300x300.
0
 
LVL 1

Accepted Solution

by:
Techno_sol earned 500 total points
ID: 17150951
You can use mdi forms , nested concept is almost same but MDI forms are better is usage and can be controlled easily,

so the form which u want to use as MDI parent  in its properties click MDIParent = true



then You can place this code

dim abc as new formname
abc.mdiparent = me
abc.show


hope this helps

0
 

Author Comment

by:wadwekarg
ID: 17370700

Hi !!

I acknowlede the comment from your end. But I would appreciate if you don't put this question in the CLEANUP, and let make it un-abondoned.

Thnaks,
Girish
0
 
LVL 20

Expert Comment

by:Venabili
ID: 17371347
The question IS abandoned. 21 days after the last comment the question is abandoned and shouild be closed.  And this one has no comments for 32 days. This is a violation of the rules to leave an open question that long. Read the help pages....

One more thing: You MUST answer to the experts so they know if you need more help.

To the Moderators: IF the Asker do not answer, please close the question.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Excel object stays open 19 65
object oriented javascript web form 8 71
nestparen challenge 4 56
Arduino EDI - Programming language 3 61
Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

706 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