Forms :: Windows Form Resizes On Different Computers

Oct 13, 2010

I have a small program that works just fine on my desktop (23 inch monitor). I programmed it on this computer as well. My laptop (17 inch monitor) works fine also, however, on a 15 inch monitor the picturebox's are off and not where they were when I programmed it. Also, some forms you can not see the entire form and the bottom is cut off.

[Code]...

View 4 Replies


ADVERTISEMENT

Windows Forms Application Hanging Regularly On Some Client Computers?

Nov 19, 2010

I have a vb.net 2010 windows forms application (32 bit) which is hanging regularly on SOME computers, mainly when minimised to the task bar

View 6 Replies

Resizes Images However In Windows If Right Click And Slect Properties On The Image File

Jul 2, 2011

I have made an app that resizes images however in windows if you right click and slect properties on the image file there is a details tab and it has lots of data, time created, what model of camera, exposure settings ..... ect. How can i read this in my application? This does not bring in the items in the details list. The image is a tiff file

[Code]...

View 2 Replies

Make Controls On Form Resize When Form Resizes?

Nov 21, 2009

How would i make so when the user resizes the form the controls on the form resizes to what ever(ex: form become full screen textbox is full screen.

View 2 Replies

IDE :: Window State Resizes When Loading Form?

Jun 15, 2010

When loading the form then my windows state is maximized (properties--windows state--maximized). After loading the form then if I press taskbar menu top(maximise button is disabled and minimize button is disabled on form) then size of form is changing. I have used screen.width,and height to restore when form resizes but still for the first time of form loading it moves and set to the boundaries. Atleast once also it should not move. How to stop changing the windows state from moving when we click task bar. Again in form properties -- application -- I have checked -- make single instance application. When if again any other path same form is opened. Then also it resizes to other state.

View 2 Replies

VS 2008 - Random Form Resizes After Calling?

Aug 4, 2009

For some reason, a certain Form in my project will change it's size all on it's own right after I call it. It's usually with small forms in the one I'm having a problem with is 95x25 pixels. The only thing on it is a Label with some text in the middle and this code

Public Class MessageForm
Private Time As Integer = 25
Private Sub fadeTimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles fadeTimer.Tick
Time -= 1
[Code] .....

As you can see the Form is meant to be a small pop-up that disappears on its own, like a balloon tip. Anyways I just added it to my project 5 minutes ago and as soon as I tested it out by displaying it with Form.Show(), it randomly changed to 123 by something else during runtime. I checked all the Form properties for any kind of resize properties and only found AutoScaleMode which was set on font, but set on None made no difference. Like I said I just added this form and have no code affecting it whatsoever in my entire project except for Form.Show and the code on that form. For the moment I'm just resizing the form on it's own Load event, and that seems to work, but I'd like to know what is causing this random form resize.

View 2 Replies

Listbox - Resizing ListBoxView Column When Form Resizes?

May 30, 2010

How can I have a single column resize with the form so that the ListView columns continue to fill the whole form?

View 1 Replies

Dynamically Increate The Listbox Column Width With Form Resizes?

Jan 8, 2010

I want the ability to auto stretch the listview control column when the form gets resized in vb.net 2008 These are the properties I am mentioning for the ListView now :

ListView1.View = View.Details
'ListView1.GridLines = True
ListView1.FullRowSelect = True

[code]....

I am increasing the width of control and not columns as I wanted. I am unable to find anything else than width.

View 1 Replies

Forms :: Startup A Second Windows Forms Inside The Parent Form?

Aug 26, 2010

I would like to know if its possible to start up a second windows forms inside the parent form. Ex: A button is pressed and a new form is showed. I would like to keep that new form inside the parent form, and have it not be able to go outside the parent form.

View 2 Replies

Inherits System.Windows.Forms.Form Is Missing In New Forms?

Mar 5, 2012

When I add a new, empty form to my VB.NET VS9 project, the linenherits System.Windows.Forms.Formis missing.What am I doing wrong here?I thought it would be added automatically.I experienced that some thing get weird if this line is not there (Form_Load is not firing, I think).

View 3 Replies

VS 2008 Passing A Form - Get The Error.'cmbDataTable' Is Not A Menber Of 'System.Windows.Forms.Form'?

Nov 26, 2010

I'm upgrading a project from VB6 to VB2008.I have a routine that clears a combo box, named 'cmbDataTable' which could be on any form. I pass the form and the combo box is cleared.


[code]...

I assumed it would be the same in VB2008 but I get the error.'cmbDataTable' is not a menber of 'System.Windows.Forms.Form'I am working my way through the project, first updating the global procedures - this is one - I haven't written the calls so cmbDataTable doesn't yet exist.

View 7 Replies

C# - Update And Get Values In Windows Forms While Moving One Form To Other Form?

Nov 30, 2009

How can I update and get values in a Windows Forms application while moving one form to other form (like cookies)?

I need to update the values to some variable and again I am going to refer stored values and need to do some calculations.

I have used cookies in ASP.NET but I am not able to find out the same concept in .NET Windows Forms (C#).

How can these issues be resolves?

View 4 Replies

Forms :: Create An Attendance Form In Windows Form?

Oct 1, 2009

How to create a Attendance form in windows form.The form should lookk like this:


1 2 3 4 5 6 7 ..........till 31 or 30 based on month selected
1. emp1

2. emp2

I shud be able to enter attendance for employees.....

View 7 Replies

Programs Can't Run On All Windows Computers

Mar 15, 2006

Run time error '339" Component 'COMDLG32.OCX ' or one of it's dependencies not correctly registered: a file is missing or invalid.

There is no HINT of how to fix this problem anywhere. I've searched the Visual Studio help, these forums and the Microsoft site.

View 5 Replies

Forms :: Pass Value From One Form To Another Form In .net Windows Form?

Jan 22, 2011

how to pass value from one form into another form...? for example if i have 1 mdiform and 2 form (form1, and form2) for load form1 i'm using system.reflection.assembly here is the code for load form1 :

Imports System.Reflection
Private Asm As Assembly
Private FrmNama As Form
Public Function GetForm(ByVal FormName As String) As Form

[code]....

after form1 load i call form2 from form1 and from form2 i want pass value, here is the code from form2 to pass value into form1 :

form1.textbox1.text = textform2.text

why value from form2 can't fill into textbox1 in form1?

View 15 Replies

Forms Exhibiting Strange Behavior On Different Computers

Dec 1, 2009

I have a VB 2008 program that has a number of forms. When I run the compiled program on a different computer, the form appears different. The relative position of various controls on the form are different. Its as if the controls have been repositioned. Resizing the form does not correct the problem. The only difference between the two machines is the size and resolution of the screens.

View 4 Replies

Forms :: Add Scrollbar In Windows Form?

Aug 12, 2009

How can I add a scrollbar to my form I tried the auto scrollbar option but is not working ?? Q2 How can I validate the user inpute inside a textbox to check that he type the desired word?? for Example validate if the user typed the word ( Bob)?

View 6 Replies

Forms :: Duplicating Windows Form?

May 5, 2010

I have a windows form that is set up like one big calendar for the month of may.when you click on May 1st...another form (form2) opens up with some combo boxes and a datagridView on it. What I need to do is on Form 1 (my calendar form)when you click on May 2nd...I want to open a duplicate form 2..the one with all the combo boxes on it.do I have to make 30 duplicate forms ( for 31 days of May)or is there an easier way to make sure that when the user clicks on May2...they dont get a form filled with May1 stuff.I can see that there is going to be a problem as it sits now because I am going to be adding to form 2 some kind of date box, or a date field in my gridview..So I need each form to display the right date?

View 8 Replies

Forms :: Open A Windows Form From Another?

May 10, 2010

I have two windows forms,say frm1 and frm2. I have to open frm2 from frm1 and frm1 from frm2.when one form opens other hide. But the the problem is that everytime when i open the form new object of the form is created which increase the memory usage of the application.What should be the efficient way to switch from one window form to another in vb.net.

View 2 Replies

How Does A Windows.forms.form Close Itself

May 30, 2012

I created a new windows form application using VB 2010. I added no controls to the form. This is right "out of the box" app created by the VB windows form app wizard. I next added a FormClosed event handler. The handler gets called whenever I click the "x" on the form.Later I needed to close the form programatically in response to an event from an automation client. So I did something apparently farily dumb. I called "Me.Close()" Nothing happens. The form stays up on the screen. My FormClosed event handler is NOT called.The MSDN entry for "Close" doesn't give me a clue as to why this call doesn't work. Indeed, it seems to imply it should work.So I added a couple of lines of code after calling "Close()" since when I stepped across that line of code it appears that no other code would execute. Sure enough, as soon as I step over the call to Close(), I cannot step through any other lines of code.

Then I found another piece of form code while searching around and I found the code had what appeared to be an odd keyword just dangling in the code. The keyword, colored by the IDE as a VB keyword?So I typed "End" into my method and intellisense shows me "End Statement. Stops execution immediately". And it does. But is my FormClosed event handler called. No.I added "Inherits System.Windows.Forms.Form" to see if that had any effect. No change.So how does a form close itself programatically?

View 1 Replies

C# - Make A Form Modal In Windows Forms?

Mar 23, 2010

I'm trying to create a child form that helps the user to enter data for a field in the parent form. I want this child form to be modal, but I don't know what I need to do to make this form modal. Perhaps there's a different type of item I need to use; if so,

View 2 Replies

Forms :: Apply Skin To Windows Form?

Jun 29, 2010

How to apply different skins to windows form in vb.net. if any one knows code or link then reply me soon.

View 1 Replies

Forms :: How To Make A Windows Form More Responsive

Aug 5, 2010

In my (VB.Net+VS2008) application, I want to make my windows form (splash) more responsive as there is some complex functionality is performing while loading splash form. Currently when any other application come in front of splash screen and then minimize then splash screen looses its proper visibility and showing some hang kind of state also.

I used Application.DoEvents(), but it doesnt work. I cant use background worker because it doesnt support UI related changes. i.e. Initializing some UI components on shown event of splash screen.

View 1 Replies

Forms :: Windows Form Border Style?

Feb 28, 2009

i set my forms FormBorderStyle to None in vb.net.i want to assign a border line in different colour which is not inside the form.

View 1 Replies

Forms :: Command Line Like Interface In A Windows Form?

Jun 27, 2010

I am working on an application and I want the user to be able to enter commands into a textbox, and when they press enter, the command is printed in a rich text box, executed, and the output is printed. For instance: the user types move{file1}, {location} into the text box and this happens:

>command: move{file1}, {location}
>$ moving file1 to location
>job completed

How would I write lines to the rtb and execute commands when the enter key is pressed?

This works, partly.
Private Sub TextBox1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles command.KeyPress
If e.KeyChar = Microsoft.VisualBasic.ChrW(Keys.Return) Then
RichTextBox2.Text = Environment.NewLine + command.Text
End If
End Sub

it erases everything in the textbox before adding the line... I would also like to be able to make a database of commands, maybe a .dll or something, so that when the user types in something, it checks that database to see if the command exists, if it does it executes, if not, error.

View 1 Replies

Forms :: Create A Basic Windows Form On VS2008?

Feb 4, 2009

I am trying to create a basic windows form on VS2008. I dont see intializecomponent() method in my form. Also, I added a few controls on to the forms and set few properties for those controls on design view. Where is that code getting stored?? it isnt on the code behind file.

I know thr is no html code behind file for window forms?? also, where is intializecomponent method. Please help me out. I have been trying to find this out for such a long time now.

View 6 Replies

Forms :: Create A Discussion Thread On A Windows Form?

May 13, 2010

I am currently creating an application which monitors any errors that occur in the other applications I have developed.

One thing that I want to try and do is add a sort of discussion thread into the form, so this allows for each member of IT to add comments/notes about the error that occurred.

Normally I would just use a DataGridView or a ListView, but I would like to have the capability for the comments/notes to be multi-lined so that the user can see what has been written without having to scroll sideways.

View 3 Replies

Forms :: Get With Windows Form Designer Generated Code?

Oct 6, 2009

I use the code about video capture of this site, it ran very well ! VB Helper: HowTo: Capture video from a video device such as a Webcam with VB .NET But I want to change the interface of form then after I customize my new one with button, picturebox (with the right name), copy the code again except this paragraph #Region " Windows Form Designer generated code "

[Code]...

View 6 Replies

Forms :: Missing Design View On Windows Form

May 6, 2011

I have a project which still runs fine without issue however i dont seem to be able to access the design view of Form1. The icon in soultions explorer has also changed from a form to a sinple vb reference. Im unable to right click in solutions explorer and view designer as there is no option there.

View 6 Replies

Forms :: Opening A New Application In A Panel Of A Windows Form?

May 14, 2010

i have a query of opening a new Application(eg. UgNx,Ansys)file with in a Panel (Which is already dropped on a Window Form).

For Example :-There in one Window Form and i have fixed a Panel there now with in the panel i want to open a new Application like other softwares UG NX or Ansys.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved