English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

VB ==> how can i set a background image? (code plz)

2006-09-21 02:01:45 · 6 answers · asked by aryaxt 3 in Computers & Internet Programming & Design

lol ok VB is visual basic.
and i want bacvkground image for visual basic

2006-09-21 02:04:43 · update #1

Thx for the help but im looking for the (((code)))
:)

2006-09-21 06:10:48 · update #2

6 answers

i wont give u the code but can hint u a logic ..

using registrys u can change the background, u can also change it from c:\windows\win.ini
(open and see win.inin and u will discover how u can do it manually and can find the logic for changing it thru ur code)

now look for VB syntaxes for editing registrys and/or files and make ur own code.

Its really fun to programm, so u should do it urself.
I created that programm in C.

2006-09-21 03:32:11 · answer #1 · answered by Digitally Й!Й 3 · 0 0

Your question is not clear to me. From what I understand, you want to set an image background of a form or MDI form. See the code below:

'-->MDI FORM
'-->NOTE: imlLogo is ImageList control with 2 jpg picture. One has 800x600 pixel and another is 1024X700 pixel dimension. mdiMain is an MDI form.
Private Sub MDIForm_Load()
If Screen.Height > 9000 Then
mdiMain.Picture = imlLogo.ListImages(2).Picture
Else
mdiMain.Picture = imlLogo.ListImages(1).Picture
End If
End Sub

'-->FORM
Private Sub Form_Load()
Form1.Picture = LoadPicture("C:\kabalweg\gvms.JPG")
End Sub

For more free VB source codes, visit: http://smartcoder.awardspace.com


KaBalweg
http://smartcoder.awardspace.com

2006-09-21 23:33:31 · answer #2 · answered by dabsani 3 · 0 0

Well dont first click on the form then in its properties scroll down till you get pictures and then type the path nam of th background you wanna use. Or move the arrow towards the right of the "Picture option's entry box till a box with three dots appear (Same when you choose the font) Then click on that box and then on the pic of your choice.

2006-09-21 09:28:41 · answer #3 · answered by K 3 · 0 0

Your Question was not clear

According to my understand

I give you to set image to the Form

Click the Form once
1. Press F4 to view the properties window
2. Doubleclick the picture property
3. One dialog box will display
4. From the dialog box you select ur wanted picture and press ok

Now the select picture willl set as ur background
Then u proceed with the other controls.

2006-09-21 11:20:59 · answer #4 · answered by Evergreen 2 · 0 0

www.Background.com or go to image on yahoo and type background

2006-09-21 09:03:02 · answer #5 · answered by t(-_-)y 3 · 0 0

You really did not specify a version.

But here is this : http://vbnet.mvps.org/index.html?code/forms/tileform.htm

2006-09-21 09:13:24 · answer #6 · answered by Special Ed 5 · 0 0

fedest.com, questions and answers