• Log in or sign up for an account here: https://www.sythe.org/login

a question and is it possible

kharg0

Active Member
Joined
Feb 25, 2007
Sythe Gold
0
Messages
131
a question and is it possible
is it possible to make like an msn with visual basic and how do you make it so when you press a button the button will bring up a form called options and in options there's a textbox1 witch i want to make it so when you press that button it opens yada yada yada..you type a place like E:\My Documents\My Pictures\start.bmp then it makes panel1 change its backround to that image???


thx :)

probably an easier question i knew how to do this with a listbox but not with a multiline textbox i want to press a button and that button will copy textbox1.text to textbox2

thx :)
 
a question and is it possible
the first question, i guess what you are trying to do is setup a bacground image to the form?

Me.BackgroundImage = Image.FromFile("E:\My Documents\My Pictures\start.bmp")

that will set the back ground image, if you are not in the same form then instead of "me" use the form name

the second one, if you have a multiline text box just copy the text, the lines will be separated by a vbcrlf
 
a question and is it possible
Yer. vbCrlf stands for Visual Basic Carriage Return Line-Feed. vbNewLine is just a new line ... however both do their jobs.

The above questions have been answered I presume?
 
a question and is it possible
also, making a MSN Client would require learning the MSN Protocol used by the server.
 
a question and is it possible
wouldn't it much like an irc chat?

Nop, MSN now uses a different protocol, I remember doing some stuff like that a few years ago and it was similar to IRC but then MS changed all of that

here are some samples on MSN

if you go to like http://www.planetsourcecode.com and search for MSN you will find some nice code there
 
a question and is it possible
ok thanks every one but dodge you said for the first question ..... i want to type like e:\blahblahblah in the textbox and press ok then the backround image will change to that image
 
a question and is it possible
ok thanks every one but dodge

ok sry man, my bad then. I guess I did not get your question right, I thought you wanted to change the background image on a form
 
a question and is it possible
Erm, without being able to test it (I use linux, but vb.net is what we're currently being taught at school) I think you could something like this...
dim i as string
i = textbox1.text
Me.BackgroundImage = Image.FromFile(i)

Might not work, but try it anyway... I'll have a looky next time I'm at school for you if you still need a solution.
 
a question and is it possible
no point using the i variable though. Just make it:
Code:
Me.BackgroundImage = Image.FromFile(TextBox1.Text)
 
a question and is it possible
thx and sry about how that sounded dodge i meant thanks everyone, but dodge i have a question for u
sry
 
a question and is it possible
no like wat i said sounded mean like i as saying thx everyoneBUT DODGE but what i maent was that and the question was answered thx sry man
 
a question and is it possible
hey np, any time i can help lep me know
 
a question and is it possible
k thx man

alright i figured something out if you can use microsoft minsock control to make an msn with vb 6 then it should work for 2005 it does but i don't know the code..
 
Runescape Gamblingrunescape gambling
Back
Top