TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kavya S
NA
26
5.6k
Related to size of the file
Apr 4 2019 12:50 AM
Hi all, I need to get as "4" in "txtnumbytes" when i write data to the location "800" as well as when am reading it from the location "804", the size of the file should be converted to hex and put it back in "txtnumbytes". Need help, how do i do this...As of now i have just written the code just to take the characters from file and put it into the file size.
if(openfiledialog1.showdialog() == DialogResult.OK)
{
textbox1.text = openfiledialog1.FileName;
long filesize = new FileInfo(textBox1.Text).Length;
textBox2.Text = filesize.ToString();
}
Thank you in advance
Reply
Answers (
1
)
Take too much delay to show tooltip on button C#
Updating an array of controls