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

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

+ How to Follow the New Added Discussions at Your Mail Address?

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

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 8097

.

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

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

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

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 ',':
commas++;
break;
case '.':
fStop++;
break;
...............

}

 ----------------------------------------------------------------------------

//create result text file with output

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

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

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

Good Luck

please help out

Attachments:

@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

RSS

Latest Activity

+ ! ! ! ! Noor E Kayenat posted a discussion
9 minutes ago
Profile IconSiddiq khan kakar, NABEEL AMJAD, Mehreen Awan and 1 more joined Virtual University of Pakistan
25 minutes ago
+ Adeeena replied to + Iuuoɔǝut+'s discussion Aurat ki soch
42 minutes ago
Shine--Ex-VUStudent liked BIA's blog post Totay Bhe Jo Tara Toh Zamee p Nahi Girta.....
45 minutes ago
Shine--Ex-VUStudent liked BIA's blog post Hamari Buri Adaton Main Say Aik Buri Adat. . .
46 minutes ago
Shine--Ex-VUStudent liked + Iuuoɔǝut+'s discussion Tum Theak ja Rhe ho
47 minutes ago
+ Iuuoɔǝut+ replied to + !! SARAH's discussion hahhahahahaha!!!!!!
1 hour ago
+ Iuuoɔǝut+ replied to + Iuuoɔǝut+'s discussion جیسے جیسے پڑھتے گئے۔۔۔۔۔۔۔ڈوپٹے۔۔۔۔
1 hour ago
+ Iuuoɔǝut+ liked + Iuuoɔǝut+'s discussion جیسے جیسے پڑھتے گئے۔۔۔۔۔۔۔ڈوپٹے۔۔۔۔
1 hour ago
+ Iuuoɔǝut+ posted discussions
1 hour ago
+ ! ! ! ! Noor E Kayenat updated their profile
1 hour ago
+ Iuuoɔǝut+ replied to + Iuuoɔǝut+'s discussion Mind blowing mehndi design ...
1 hour ago
+ Adeeena replied to + Iuuoɔǝut+'s discussion Mind blowing mehndi design ...
1 hour ago
+ Iuuoɔǝut+ liked + Iuuoɔǝut+'s discussion Mind blowing mehndi design ...
1 hour ago
+ Iuuoɔǝut+ replied to + Iuuoɔǝut+'s discussion Tum Theak ja Rhe ho
2 hours ago
+++Mahoo+++ liked + M.Tariq Malik's discussion Kamyab Jawan Program Prime Minister (Loan) Youth Entrepreneurship Scheme (YES)
2 hours ago
+++Mahoo+++ commented on BIA's blog post Rat Ki Tanhai Main....
2 hours ago
+++Mahoo+++ replied to + !! SARAH's discussion hahhahahahaha!!!!!!
3 hours ago
+++Mahoo+++ replied to +++STUDENT+++'s discussion Allah kin sy muhabat krta ha
3 hours ago
+++Mahoo+++ liked +++STUDENT+++'s discussion Allah kin sy muhabat krta ha
3 hours ago

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

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