Click here to Skip to main content
15,898,035 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Moving buttons Pin
Tom Deketelaere28-Oct-07 21:41
professionalTom Deketelaere28-Oct-07 21:41 
GeneralRe: Moving buttons Pin
matjame28-Oct-07 21:43
matjame28-Oct-07 21:43 
GeneralRe: Moving buttons Pin
Christian Graus29-Oct-07 0:14
protectorChristian Graus29-Oct-07 0:14 
GeneralRe: Moving buttons Pin
Paul Conrad29-Oct-07 17:17
professionalPaul Conrad29-Oct-07 17:17 
QuestionNavigation of Internet connection Pin
ankur010128-Oct-07 19:39
ankur010128-Oct-07 19:39 
AnswerRe: Navigation of Internet connection Pin
Dave Kreskowiak29-Oct-07 4:37
mveDave Kreskowiak29-Oct-07 4:37 
Questionimage editor Pin
Aamir Mustafa28-Oct-07 18:16
Aamir Mustafa28-Oct-07 18:16 
AnswerRe: image editor Pin
Dave Kreskowiak29-Oct-07 4:33
mveDave Kreskowiak29-Oct-07 4:33 
Aamir Mustafa wrote:
1. When I click on new there should be dialogue appear (Resolution Form)
In it I can set height and width of form and then I click on OK,new window should open according to these setting. And the caption of new form (image form) should change as Image1,image2 and so on.


So create a form that asks for this information. If your code that starts creating a new document, create a new instance of this form and show it using ShowDialog. The user enters the details and clicks OK. You then get the data from that form and pass it along to the method that creates a new document.


Aamir Mustafa wrote:
2. When I click on open it should load the image into the form (Image Form) what resolution image has.
It should load the form in active window(i.e. image1).If there is no open window already then it should load the image in new window(i.e. Image1).If there is new window already(i.e. image1,image2) but non of them is active then it should also open a new window and load the image in it.(i.e. Image1,image2)


So what's the problem??


Aamir Mustafa wrote:
3. When I click on close menu, it should close the active window .for example image1 window.


If you're using an MDI layout, then the currently active child form will be in the MdiParent form's ActiveMdiChild property.



Now that I get to the bottom of your post, I see that you don't have much experience with designing an application, let alone designing a moderately complex one like this. You've got a LOT of learning to do, and you're not going to get it from a bunch of forum posts. You're asking a bunch of questions on how to implement very basic functionality, like putting up a small form to ask for resolution values and tracking windows you have open. These are things that you should already know how to do before moving on to implementing actual drawing on a form.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


QuestionHow to Create a Reverse Index by VB.NET? Pin
Asianhawk28-Oct-07 16:18
Asianhawk28-Oct-07 16:18 
AnswerRe: How to Create a Reverse Index by VB.NET? Pin
Dave Kreskowiak28-Oct-07 16:52
mveDave Kreskowiak28-Oct-07 16:52 
QuestionDatagrid Column Width Pin
ejaz_pk28-Oct-07 15:44
ejaz_pk28-Oct-07 15:44 
AnswerRe: Datagrid Column Width Pin
Dave Kreskowiak28-Oct-07 16:41
mveDave Kreskowiak28-Oct-07 16:41 
AnswerRe: Datagrid Column Width Pin
Salman Sheikh28-Oct-07 18:35
Salman Sheikh28-Oct-07 18:35 
QuestionTutorial beginner on Web Services using VB.NET 2003 Pin
kendo1728-Oct-07 13:49
kendo1728-Oct-07 13:49 
AnswerRe: Tutorial beginner on Web Services using VB.NET 2003 Pin
Paul Conrad28-Oct-07 14:17
professionalPaul Conrad28-Oct-07 14:17 
GeneralRe: Tutorial beginner on Web Services using VB.NET 2003 Pin
kendo1728-Oct-07 14:26
kendo1728-Oct-07 14:26 
GeneralRe: Tutorial beginner on Web Services using VB.NET 2003 Pin
Dave Kreskowiak28-Oct-07 16:38
mveDave Kreskowiak28-Oct-07 16:38 
QuestionSQL to Excel data downloader Pin
selvarajaguru28-Oct-07 7:18
selvarajaguru28-Oct-07 7:18 
AnswerRe: SQL to Excel data downloader Pin
selvarajaguru28-Oct-07 8:01
selvarajaguru28-Oct-07 8:01 
GeneralRe: SQL to Excel data downloader Pin
Paul Conrad28-Oct-07 9:23
professionalPaul Conrad28-Oct-07 9:23 
QuestionClient/Server Pin
Bismark Appah28-Oct-07 3:48
Bismark Appah28-Oct-07 3:48 
AnswerRe: Client/Server Pin
nishkarsh_k28-Oct-07 6:32
nishkarsh_k28-Oct-07 6:32 
GeneralRe: Client/Server Pin
Bismark Appah1-Nov-07 10:38
Bismark Appah1-Nov-07 10:38 
GeneralRe: Client/Server Pin
nishkarsh_k2-Nov-07 6:36
nishkarsh_k2-Nov-07 6:36 
AnswerRe: Client/Server Pin
Paul Conrad28-Oct-07 7:18
professionalPaul Conrad28-Oct-07 7:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.