saurabh.sauron
Ambassador of Buzz
I am facing two problems in VB 2005
1.)I want to change color of the form when I use the horizontal scrollbar. the code i use is
this doesnt work, though it works in VB 6.0
2.)I want to load a picture in a picture box when i click on a button. The code for the command button is:-
This doesnt work either.
pls help
thnx
1.)I want to change color of the form when I use the horizontal scrollbar. the code i use is
Code:
Me.backcolor=RGB(Hscrollbar1.value,Hscrollbar2.Value,Hscrollbar3.Value)
this doesnt work, though it works in VB 6.0
2.)I want to load a picture in a picture box when i click on a button. The code for the command button is:-
Code:
Picturebox1.Picture=LoadPicture("path")
This doesnt work either.
pls help
thnx