We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

+ Click Here To Join also Our facebook study Group.

..How to Join Subject Study Groups & Get Helping Material?..

See Your Saved Posts Timeline

Views: 8078


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)


Replies to This Discussion

Plz share idea

Helping code for Assignment

//open file dialog and select the text file

OpenFileDialog file = new OpenFileDialog();

if (file.ShowDialog() == true)
path = file.FileName;
fName = System.IO.Path.GetFileName(path);


//read all text from text file
string readText = File.ReadAllText(path);

foreach (char readChar in readText)

   //Apply all condition to read characters from string.... 

switch (readChar)
case ',':
case '.':



//create result text file with output

String resultFilePath = @"F:\Solution\MCXXXXXXXX-result.txt";
if (!File.Exists(resultFilePath))
//create new text file
//write in text file
using (StreamWriter writetext = new StreamWriter(resultFilePath))

writetext.WriteLine("My ID is MCXXXXXXXX");
writetext.WriteLine("Selected file name is " + fName);
writeProgress.Value = 100;

else if (File.Exists(resultFilePath))
using (StreamWriter writetext = new StreamWriter(resultFilePath, true))
writetext.WriteLine("My ID is MCXXXXXXXX");
writetext.WriteLine("Selected file name is " + fName+"\n");
writeProgress.Value = 100;

Good Luck

please help out


@Yuneeb code dakh e pata chaly ga kiya issue hai

thanks hacker

u welcome

@hacker bro assignment share kr doo plzzz

@hacker bro interface ka code to kuch share kr do plzzzzz!!!!!!!

+ɹǝʞɔɐɥ bhai yar ab to upload kr do. 

ok where are you ?

bro es code ko kis software men run krn please help.
visual studio or any other

visual srudio


Latest Activity

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service