help me a bit

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts Page 1 of 1
Contributors
User avatar
Shim
VIP - Donator
VIP - Donator
Posts: 882
Joined: Wed Dec 14, 2011 5:02 am

help me a bit
Shim
hi guys ,


i really wanted to make a unicode string reader . it should be like this there is a richtext box , a button an a openfile dialog . when clicking the button , openfile dialog should be opened and any file can be selected and when clicking open on openfile dialog , the file you selecteds unicode strings should be in richtext bow . if anyone can help me i will be very happy
Find my programs on Softpedia
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: help me a bit
MrAksel
I hope you know how to use the OpenFileDialog and such. Button1's code
Code: Select all
If OpenFileDialog1.ShowDialog() = DialogResult.OK Then
   Dim data() As Byte = System.IO.File.ReadAllBytes(OpenFileDialog1.FileName)
   RichTextBox1.Text = System.Text.Encoding.Unicode.GetString(data)
End If
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
Shim
VIP - Donator
VIP - Donator
Posts: 882
Joined: Wed Dec 14, 2011 5:02 am

Re: help me a bit
Shim
thanks a lot MrAKSEL :-) . its working ! . you are a great coder . amazing . i am nominating you star award .
Find my programs on Softpedia
3 posts Page 1 of 1
Return to “Coding Help & Support”