VS 2005 Form Icon In MDI Form?

Aug 11, 2010

I'm going mad about a simple (???) problem in my VB.NET application migrated from an old VB6 application.In the old one, this is how the MDI form is when there is no form opened:and this is how the MDI form is when there is the form openedThe 3 spot icon is the icon of the form.Then, this is the situation in my new VB.NET app (I've changed the main icon of the app):no form opened

View 3 Replies


ADVERTISEMENT

VS 2005 How To Show Search Icon Before Form Loading

Dec 18, 2009

i'm doing Advance search in my applications(vb.net,MS-Access) ,the results display form is quite heavy so i thought before loding the form i want to show some search icon

View 10 Replies

Programatically Obtain Icon From Resource Manager And Set To Form Icon Property?

Nov 19, 2010

I currently have the following code but I would like to get away from going to a physical location. If I have the icon as a resource, how can I programatically add the icon? I don't want to use the form's designer to do this.

Sub Form1_Load()
Dim ico As New System.Drawing.Icon("C:Resourcesicon.ico")
Me.Icon = ico
End Sub

View 2 Replies

Get The Icon Of Website To A Picturebox ( Or To Form Icon )?

Mar 25, 2010

How to get the Favicon or deffault websites icon to my Picturebox in vb2008 ?

View 1 Replies

Make The An Icon For The Form Work With My Own Icon

May 29, 2009

Im trying to make the an icon for the form work with my own icon, because all programs have their own(like ie hat the e and paint.net has their logo), but whenever I put in my icon phote(and it is saved as .Ico) it comes up with the error: Argument 'picture' must be a picture that can be used as an icon. I have the same measurments as the defult one(32 by 32) so what am i doing wrong?

View 8 Replies

VB 2005 - Register Form - Store The Added Username And Pasword To The Login Form?

Mar 11, 2010

i have a main menu on my program which has the option of registering. I have enter name and password ..and a button Confirm

i want to be able to store the added username and pasword to the login form so that it will work...

what must i do? also where would this data be stored...

View 4 Replies

VS 2005 Child Form Remain Enabled While Modal Form Displayed?

Oct 28, 2010

I have a VB. Net App where I want the user to open a modeless form which contains reference information about items in a select box. If the user double clicks the item selected in the list box a modal form is opened to edit the item.I want the previously opened reference form to remain active/enabled, that is, I want the user to be able to click on it, move it, etc.I was able to get the form to at least show up on the task bar by setting it's "ShowInTaskBar" property to true, however, when it comes to the front the user can still not move it to the side to view all of the Edit Forms information.

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

VS 2005 Moving Rich Text Box String From Form To Form?

Apr 15, 2009

simple problem Basically in form1 i have a line of SQL code in a rich text box called rtb_select

what i would like..This code to run under a connection string called strSQLSelectQuery in form2

I have been told someting like strSQLselectQuery = rtb_select.text would work however because rtb_select is in a different form in the same project it does not recognise rtb_Select

View 2 Replies

VS 2005 - Generate Form Code - Put The Buttons On The Form

Oct 30, 2009

I'm making a game maker, and I just need to know how to put the buttons on the form. where to add the button code in the Form1.Designer.vb file? I just need to know what the syntax of InitializeComponent is.

View 7 Replies

VS 2005 Event Is Lost When A Second Form Is Called From The First Form

Dec 31, 2009

I have two forms. Form1 and Form2. The user is supposed to fill out some information in form2 which then will be used to compute some data in form1. However when I used the code, Form2.Show, within a function in form1, the form2 is diplayed but when the user fills the data and submits them using the ok button, the code does not return back to the function in Form1.

View 3 Replies

VS 2005 Form Load Vs Form Shown Events?

Aug 25, 2010

aside from the difference mentioned below, what are other difference the two events might have and how will affect the application as a whole? What is more preferred to use and why?

Form Load:
*Do stuff*
Form shows up on monitor
Form Shown:
Form shows up on monitor
*Do stuff*

View 9 Replies

VS 2005 Pass A Value From An Independent Form To A Child Form?

Nov 24, 2009

how to pass a value from an Independent form to a Child form...

here whis is the data from..

the indenpendent data is selected from the datagridview by just double clicking the cell the selected data will pass into the combox of child form (Note: this is combobox not textbox)...

i'm done with textbox it work fine..

look:

Independent form when user duble click the datagridview

Private BoxToUpdate As TextBox
Public Sub Start(ByRef DescItem As TextBox)
' Me.Close()

[Code]....

how could i able the value into combobox from independent form into child form...

View 1 Replies

[2005] How To Use Bindingsources From Main Form On Dialog Form?

Mar 2, 2009

My project has a single dataset with about 6 datatables. Each of those datatables has a TableAdapater and a Bindingsource on the main form (due to various databound controls).

Now, I want to have a second form for adding a new record. If I bind the controls to the datasource it creates new TableAdapaters and new Bindingsources on that form. I was wondering if it's possible to simply use the ones from the main form instead like this

[code...]

View 3 Replies

Change Icon For Form?

Aug 12, 2009

I want to change icon of my form with a specified icon . How can i do that ?

View 1 Replies

Changing The Icon In A Form?

Feb 15, 2009

how do you change the Icon in the top left of a form? I tried to change it and it couldn't find any of my pictures. Do they have to be a particular size or file type?

View 15 Replies

IDE :: Animate Form Icon?

Oct 2, 2010

I would like my form icon to be an animated GIF. is this possible? I can change the icons easily enough but cannot see how to change

View 4 Replies

IDE :: Animate The Form Icon?

Jan 10, 2012

I would like my form icon to be an animated GIF. is this possible? I can change the icons easily enough but cannot see how to change the icon to a GIF. I am using VS2008?

View 1 Replies

Save Form Icon To Ico?

Sep 2, 2009

I am trying to develope a icon extractor program..

I've coded all the function exept the save as .ico ...

My Code works 50% The saved file color get mixed up, just like if you take a picture on a Camra with a negative function.[code]...

View 2 Replies

Use PNG Resource As Form ICON?

Jan 28, 2011

I have a good batch of PNGs in my resources (with alpha transparencies) that I use on various controls in my program. However, I would like to be able to use some of those same images as form icons.

How can I convert the PNGs into a usable format so they can be assigned to the forms icon on the fly?

[code]...

View 2 Replies

Assign A Icon For Form By CODE?

Dec 5, 2009

How can i do that in vb.net . I saw this in my designer but i cant file that icon in my resource. How did it store and where [cod]e....

View 3 Replies

Change Icon Of Form Dynamically?

May 20, 2009

How to change Icon of my form dynamically suppose when form load i want to check two flags

if flag=1
me.icon= BrandIcon
if flag=2
me.icon=ProductIconadil

View 3 Replies

Change The Default Form Icon?

Feb 12, 2009

How do you change the default form icon in vb.net 2003 form?

View 2 Replies

Drawing Icon On Form Border?

Apr 14, 2012

i have the blow code that draws forms border with custom color and title.

'A form with custom border and title bar.
'Some functions, such as resize the window via mouse, are not implemented yet.
Public Class CustomBorderColorForm

[Code]....

View 2 Replies

How To Minimize Form When Clicking On Icon

Oct 15, 2011

How to minimize the form It's borderless and I need to minimize it while clicking on the Icon. Example: [URL].

View 4 Replies

Icon Change As Form Resize?

Apr 14, 2011

need to change the icon of different size on the application when it is opened in different resolutions like in a 21 inch screen , a tablet . I have 16X16,32x32 icons . How to achieve it. Is it possible

View 3 Replies

Load Form Icon From File

Jan 7, 2011

before in VB6 quite simple, so i try learn .net version. so I write this code

[Code]...

View 3 Replies

VS 2010 Form Icon For All Forms?

Apr 4, 2012

I have one program with many, many forms in it and the same program is used for two companies. Basically, when a user starts the program the data location is set depending on which of the two companies is being used. Therefore, I am trying to dynamically set the icon for each form based upon which company is being used. I didn't want to add code on every form to set the icon, which is mostly what I found when I was searching for a solution.

View 2 Replies

VS 2010 Using A PNG Resource As Form ICON?

Feb 11, 2009

I have a good batch of PNGs in my resources (with alpha transparencies) that I use on various controls in my program. However, I would like to be able to use some of those same images as form icons.How can I convert the PNGs into a usable format so they can be assigned to the forms icon on the fly?*_users is the name of the png in this example*I thought this would work, but it doesntMe.Icon = CType(My.Resources._users, System.Drawing.Icon)and also this does not workMe.Icon = My.Resources._users

View 2 Replies

Display An Icon At 48x48 Resolution On A Form?

May 27, 2009

How would I display an Icon at 48x48 resolution on a form in vb.net? I looked at using imagelist , but I don't know how to display the image that I add to the list using code and how to specify it's coordinates on the form. I did some google searching but none of the examples really show what I need to know.

View 3 Replies







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