Publishing Single Form Form A Group Of Forms?

May 28, 2009

In my ASP.NET(2.0),VB.NET Project,around Around 150 people are using this site inside the companyFrom these 40 Forms ,Can I to publish one Form (Visitor.aspx) to another site

View 1 Replies


ADVERTISEMENT

Forms :: Many Pages In Single Form?

Mar 1, 2010

i wants to load many pages in same form which each of the pages contains different messages.example....if i press more in the page no1(form 1) it should load the page no2 at the same form(form 1)...

View 1 Replies

MDI Single Form Or Multiple Forms

Mar 7, 2010

I've written an application with about 30 forms and am almost ready to publish, my biggest concern though is that i'm not sure if its a normal thing to do having all these forms and hiding, disposing and showing forms throughout the use of the application.I've toyed with the idea of converting to a MDI Child / Parent interface as well as having one form with lots of subcontainers that are hidden and then hiding / showing them as the navigational buttons are shown.Ive worked on this application for about 8 months now, but would be happy to rewrite the interface and appearance of it if i know that it is not generally an acceptable practice having forms flashing open and closed while navigating through the application.

View 3 Replies

VS 2010 : Make A Form With Multiple Buttons Opening Different Things Than Having A Form That Has Lots Group Boxes For Each Tab?

Jul 25, 2011

Is there a better way to make a form with multiple buttons opening different things than having a form that has lots group boxes for each tab. So in the begining each box will be invisible and when you click the button the corresponding group box will become visible. Is there any other way?It will be like a background image and it'll have buttons that will mask it with invisible buttons. when the button is clicked it will open the corresponding group box.

View 5 Replies

Forms :: Two Event Methods - Mouse Click And Mouse Down For A Single Button In A Form

Feb 1, 2009

I am new to VB.NET, Now i'm working with Events in VB.NET, I have two event methods, Mouse Click and Mouse Down for a single button in a form, I have displyed a message in each of these methods but only mouse down event is triggered. Why Mouse Click is not triggered? Similiarly I Did the same for Mouse Enter and Mouse Move for a particular button, in this case both the events are triggered.

View 2 Replies

Inter-form Communication - Form Being Called Form Several Forms Using ShowDialog()

Mar 28, 2011

I have a form being called form several forms using ShowDialog().

1. Is there a way for called form to know which form called it by receiving a code or key from the calling form?

2. The calling form has a gridview. How can the called form pick up a column's value from the currently highlighted row in gridview in the calling form?

View 4 Replies

Publishing Form : Default Certificate Could Not Be Created - Publish Stopping

Jan 25, 2012

I Can't Publish any form in visual basic 2008 express & i get the following error

"Default Certificate Could Not Be Created . Publish Stopping"

I also tried to install Windows Debugging tools & SDK But It dont works?

View 2 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

Creating Single Instance Form In MDI Application - Check Whether Form's Instance Created Or Not?

Feb 8, 2012

creating single instance form in MDI Application. How to check whether form's instance created or not?

View 6 Replies

Group Form In A Form?

Aug 30, 2009

Now I am trying to make it more customizable/unique. I have groupboxes on the main form that separate everything into categories. I am wondering if it is possible to have the groupboxes look like small forms, or if there is some sort of "form control" that simply acts like a groupbox. Or perhaps another way to spiffy up my program to make a more visally apealing interface?

I'd like to make it where the user can select different "schemes" for the colors of the form, or perhaps just have selectable pictures from a template to use. I somewhat have an idea on how to do that, it's just a lot of coding that I don't want to do right now .

Also, where to get ideas for unique looking forms?

One last thing... My program is a cake price calculator. The user selects the pan size for the cake, and it automatically calculates the total for that number of servings. There is an options to change the number of servings for any pan size, that automatically updates the corresponding label. I had the idea to have a picture show of the cutting guide for the selected pan, but if the user changes the number of servings, the picture would not correspond to the number of servings. For instance:

Selected 6" round pan at 4" high. Normally does 12 servings. I can show just a simple picture, but if the user decides to change the number of servings to 11 or something, the picture would not correspond to the 12 serving picture listed. So far there is about 8 pan shapes, 2 heights for each pan, each with between 4 to 8 sizes. 74 pans totalling right now. That would be a lot to have to design each picture to allot for any number of adjustable servings.

Is it possible to have something draw the shape, then divide it accordingly by the number of servings?

View 2 Replies

Using A Single Picture Box To Display A Single Picture Form A Bank Of Pictures?

Mar 22, 2011

I have a few problems i need to solve. Firstly, I am looking for a piece of code i can use to display a picture from a bank of pictures. It will work on the basis of generating a random number and loading a picture that corresponds to that number.

i.e. Dim RandNumber As Integer
Dim RandClass As New Random
RandNumber = RandClass.next(1, 10)
If RandNumber = 1 Then
Picturebox1.image = picture1

[Code]...

Secondly, can I then use subsequent picture boxes to display pictures from the same bank of images, without displaying the same image? Finally, I then need to be able to click the picture or a button beneath the picture to select it as an answer to a question and then the whole process starts again.

View 1 Replies

Forms :: Form Settings - Check If File Exist On Main Form

Apr 29, 2011

[Code] I want like to check if a file exist on main form, if not: force open settings form. And then when the user is closing the form with exit button = check if the file exist again. If it doesn't exist, close application. It's a huge application and I need optimized on most parts. Also, the settings form is asking the closing question two times.

View 1 Replies

Forms :: Press Down Key Shooter Moves Down The Form And Disappears Off Of The Bottom Of The Form

Apr 4, 2011

For a while i have been playing a guessing game with this line of code.

If Sdown = True And Shooter.Top >= Me.ClientRectangle.Height Then
Shooter.top += Shooterspeed
End If

Basically i have a shooter on the form and whenever i press the down key the shooter moves down the form and disappears off of the bottom of the form. I have been trying to get this to stop for some while.

View 5 Replies

Group Controls In Form?

Feb 8, 2011

How can I group controls in my Form?

I don't need groupbox or panels, just something in the code...

To make it clear:

I have one form, Form1.

I have 3 buttons: Button1, Button2 and Button3, and I have 2 labels, named Label1 and Label2.

I have 2 "groups", in group1 there is Button1, Button2 and Button3. In group2 there are the two labels (Label1 and Label2).

But how can I program that, that if I write (for example) "Group1.Hide()", then everything In Group1 hides (visible = false). And so on with group2.

View 4 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

Multiple Forms - Declare And Instantiate Second Form On Program Start - Use Button Simply To Show Form?

Jan 14, 2010

I have a program that uses two forms. The program opens to the Main form, and the user can navigate to the other form from the Main form through use of a button. Here's the way I've currently written it: When the Main form loads, it declares and instantiates the other form during the load procedure. When the user presses a button, the second form is displayed by means of the ShowDialog method. On the second form, there is a Return to Main Screen button which closes the second form, bringing the user back to the Main form.

So, here's the structure of the code:

Code:
Public Class frmMainForm

Dim frmSecondForm As New SecondForm

Private Sub btnSecondForm_Click(blah, blah, blah) Handles blah, blah, blah

[CODE]...

Here's my reasoning: Originally, I wrote the code so that a new instance of the second form was created every time the button was pressed. The problem was that whatever data was displayed on the second form, previously, was lost when the user returned to it a second time. Since the user would be switching back and forth between these forms, frequently, I needed that data to persist.

What is the best practice for accomplishing this:

1) Declare and instantiate the second form on program start, as I have done, and use the button simply to show the form?

2) Declare and instantiate the second form each time the button is pressed but maintain the variables on the Main form and pass them ByRef to a custom constructor for the second form? Is this even possible?

3) Something else?

View 5 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 :: Main Form Minimized After Opening Form In A Different Thread?

Jun 7, 2009

In the main form the user can choose to download information from a device.Since this request takes time, when "download information" is pressed I open new form in a separate thread: Private Sub RunDownload()

[Code]...

View 3 Replies

Forms :: Make A Model Form, And Copy That Form As Many Times?

Mar 28, 2009

I'm making a program like PostIt! Well, i want to make a model form, and copy that form as many times i want.I think it works with something like frmPostit1 = frmModel.clone()

View 2 Replies

Forms :: Open A Child Form - Main Form Is Unresponsive?

Apr 20, 2011

When I open my child form,

frm_Analogs.ShowDialog()

It opens up the new form, but now I can not interact with my main form. It will not accept focus or allow me to interact with it.

Do I need to change the form type?

View 4 Replies

Forms :: Update Data In A Text Box On Form 1 From A Textbox On Another Form?

May 15, 2011

I was using 2 forms, the first one has general data capture and the second one is a calendar form. On Form1 I have mulitple windows controls. A Textb ox and beside a Calendar button. When I click on a Calendar Command button, it should open calendar form and once the user selects the date, the date should be placed in the text box on the form1. Identical to this on Form1 I need multiple textboxes that needs date to be captured.I cannot use a global variable for this as I need to validate mulitple text boxes. To explain this, I have a Transaction Date and Date Received. I need to validate whether Transaction date is prior Date Received or not? I dont want to use several global variables b'coz I might need multiple validations as above. Please help me on this.

View 6 Replies

Forms :: [2005] Form-To-Form ComboBox Item Defaulting?

Jan 18, 2011

I have been creating a call management application and I am having a problem with something that I have spent weeks on trying to get working and nothing I try is working for me. My application is an MDI application written in VB.NET 2005 Professional, using .NET Framework 2.0. It uses a back end database using Microsoft SQL Server 2005.When the MDI application launches, a form is displayed to the end user asking for phone number (MaskedTextBox) and a partner name. The partner names are within a ComboBox.

When the end user types in the phone number and selects a value from within the ComboBox, s/he clicks on the start button. This then opens a second form. The phone number from the MaskedTextBox is to default in a second MaskedTextBox (this I am able to get working without issue.) The partner name selected from the ComboBox is to default on the second ComboBox. This is the part where I have been working on it for weeks and not able to get it to function.

The second form has many ComboBoxes, all of which pull down items from a particular table within the database. Some of them are editable and some are not. The ones that are editable are also auto complete Suggest/Append on the ListItems.I wrote a sub to handle the population of these ComboBoxes and also to handle if they are editable or not. All of this is working. However, my main issue is that I can't get the value on the second form to default to what ever was selected on the first form. I do not get any errors but regardless of what I do, the second form always stays as the first item in the list regardless.

The code I am using is as follows:

<CLSCompliant(True)> Public Sub PopulateDropDownListFromDB(ByVal cboName As Elegant.Ui.ComboBox, _
ByVal TableName As String, ByVal ColumnName As String, _
ByVal UseAutoComplete As Boolean, _
ByVal UseSQLDistinct As Boolean)

[code]....

View 2 Replies

Load A Group Of Pictures Into Form?

Feb 7, 2010

I'm trying to load a group of pictures into my form so the user can click a button to view the next picture. I am trying to use List to gather the pictures.

When I debug, the List is always empty thus giving me an index error.

Code:
Public Class frmChildrenToySel
Private list As New List(Of String), index As Integer
Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

[Code].....

View 8 Replies

Resizing Group Boxes On A Form?

Mar 26, 2012

I have a form that has group boxes of various controls for data input. One of the group boxes contains a user control. This user control can be 1 of 7 I have depending on the type of data I wish my user to load. The 7 user controls are all of various size. My form is a fixed size, and i have allowed room for the user control to fit the largest. However, the smallest one has a lot of space obviously. The resizing of the form itself I am struggling with. It has to be the size it is at now as there is a tab control,

View 1 Replies

Forms :: VB - MDI - Application That Consists Of Mainly One Main Form - Ranging Form Graphs, Tables, Dropdown Boxes, Print Preview

Apr 7, 2010

I have to write an application that consists of mainly one main form, but several different things I wanna display. Pretty standard I guess. So there is a menu, some controls, and the main stuff below (ranging form graphs, tables, dropdown boxes, print preview, etc). I would like to use it like one would use frames in html, design an object that is limited to a box or panel that I define. The literature I have does not give me a clear idea of how to do this (yet). The most obvious seem to be the use of MDI, open a predefined form with no borders, maximize it before showing and remove all minimize/maximize options. But that does not work so well. The form inside the MDI parent does not fit the size that is given for it when it is loaded. e.g.

[CODE]:......................

So my main question is: Is MDI the way to go here at all or are there better/easyer ways to achieve this? If MDI is the way to go, how do I sucessfully restrict a child form inside another object, without giving the user any opportunity to resize (i noticed that I have minnimize/maximize/close buttons, even if I disable them on the child forms themselves)

View 6 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

Forms :: Making Inactive One Form While Working On Another Form

Feb 12, 2010

suppose i have two forms form1 and form2

and i clicked on button which lead me to the form2

i want i shouldn't be able click on form1 untill and unless i close the existing form window(i.e form2)

View 2 Replies

Collapse Panel Or Group Box In A Windows Form?

Sep 29, 2011

May I know how can I collapse panel or group box in a windows form? I just want to put my datagridview in the panel or group box and collapse the panel..

View 2 Replies

Forms :: Calling A Function From A Form To Another Form?

Jul 22, 2009

how to call a function from a different form. Like the button click event. i have this scenario. I have a main form and a child form in the main form there is a navigation panel on the left side controlling the child form. What i want is if clicking the add record in my navigation panel will call a function in the child form to execute.

View 1 Replies

Forms :: Control Other Form From A Main Form?

Sep 3, 2009

How to control other form from a main form? For example :

I want to change background color in Form2 after a button in Form1 is clicked.

View 3 Replies







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