Search results for query: *

  • Users: SSb
  • Order by date
  1. S

    calling startup forms of imported projects

    I found a way to do that. Thanks, Saurabh
  2. S

    calling startup forms of imported projects

    System.Diagnostics.Process.Start(filename) Won't that require the exe of my projects P1 and P2 ? I have those projects compiled and working fine. Now I want to just have 1 exe file which can do both their works. One way I was trying was to make a new project, import these two projects into it...
  3. S

    calling startup forms of imported projects

    Hi all, I have two projects P1 and P2 and I created another project Main. Within Main I imported the projects P1 and P2. What I want is that when Main runs a form should comes up with two buttons. When one of the buttons is clicked P1 must run and when the other button is clicked P2 must run. In...
  4. S

    area wiped by new form

    code Hi, Here is a simplifed version of my program. Form 1 has a PictureBox1 with a white background and a red filled ellipse. This background and ellipse are drawn from within the paint Sub of Form 1. By clicking a button on Form 1 anothe form Form 2 comes up and it can be closed. What...
  5. S

    area wiped by new form

    Hi, application.Doevent did not help. I even tried Me.Invalidate and Me.Refresh just to trigger the pain event after closing and disposing the old form. However each time the old form closes it still wipes out the area of the plot which lies behind it. Saurabh
  6. S

    area wiped by new form

    plotting through the Paint Sub Hi, I tried to use the paint routine. I call the function which I use to plot on the picturebox from within the Paint Sub of the form. However each time I minimize the form and maximize it again the plots seem to be drawn for just a split second and then they...
  7. S

    area wiped by new form

    Hi all, Here is what I'm doing briefly, There is a Form-A maximized on the screen, the user clicks a button and a new form comes up 'Within the buttons Click Sub I have these lines Dim sfrm As New SettingsForm 'The new form sfrm.ShowDialog() ' User gives values and closes it by clicking Ok...
  8. S

    Plot on frm A when frm B is closed

    Hi all, In one of my programs I have a form A which remains maximized throughout. By clikcing on a button on this form another form B comes up (using ShowDialog) covering part of form A. The user enters some data in this form and then clicks "Ok". After which form B closes. What I would like...
  9. S

    passing variable values between forms

    Hi all, How can I pass variable values between two forms when its not a MDI application i.e. no parent-child thing. In particular, I have two forms Form1 and Form2. There is a variable in Form1 say 'choice' When a button on Form1 is pressed, Form2 comes up and the user is asked to input some...
  10. S

    GroupBox background

    Hi all, I have a GroupBox whose background I would like to make white. If I simply set the BackgroundColor property to white the background does becomes white but it always seem to be bigger than the actual box i.e. the white background extends outside the horizontal lines that mark the edges of...
  11. S

    Resizing image along with PictureBox

    Hi all, I have a PictureBox with a picture in it which fills the box completely. I need to change the size of the PictureBox dynamically. The height of the PictureBox changes as I want it to using PictureBox.Height. But the picture in the box remains at its original size. Is it possible to have...
  12. S

    Drawing rectangle when the form loads

    Hello All, In my windows form I have a picture-box PB1, and a button Bdraw. I want that (1) when the form loads a rectangle is drawn on PB1 (2) later if the button Bdraw is pressed another rectangle is drawn. The latter part (2) is ok, it works. However I cannot get (1) to work. The...
  13. S

    forcing user to click Ok to proceede

    [RESOLVED] forcing user to click Ok to proceede Hi All, This is what I'm trying to do, when the MDI application runs it should open, and show a form (say Form1) with some information about the application. I want the user to click on the "OK" button in order to proceed using the application...
  14. S

    Animation - Vibrating string

    Hello, I'm trying to explore animations in VB.net, in particular to animate a vibrating string. One way I could think of is to draw successive images of the string while erasing the previous ones. Any ideas about a better way? Also, is it possible to move (translate) rotate stretch graphical...
Back
Top