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

BIA posted discussions
31 seconds ago
+ !! SARAH liked BIA's discussion Aurat ko khelona smjhny waly. . . . .
10 minutes ago
+ !! SARAH liked BIA's discussion Ehsaas...
10 minutes ago
+ !! SARAH replied to BIA's discussion Ehsaas...
11 minutes ago
+ !! SARAH posted discussions
14 minutes ago
+ !! SARAH replied to + Iuuoɔǝut+'s discussion Mind blowing mehndi design ...
19 minutes ago
+ !! SARAH liked + Iuuoɔǝut+'s discussion Mind blowing mehndi design ...
27 minutes ago
+ !! SARAH liked + Iuuoɔǝut+'s discussion دولت کی اہمیت۔۔۔۔۔۔
27 minutes ago
+ !! SARAH liked + Iuuoɔǝut+'s discussion آپ کی آنکھیں وہی کھولتے ہیں۔۔۔۔۔۔۔۔
27 minutes ago
+ !! SARAH liked + Iuuoɔǝut+'s discussion جیسے جیسے پڑھتے گئے۔۔۔۔۔۔۔ڈوپٹے۔۔۔۔
27 minutes ago
BIA liked + ! ✨ ░S░I░N░G░E░R's discussion Competitions on Anti-Corruption Awareness, 2019
31 minutes ago
+ !! SARAH liked + ! ✨ ░S░I░N░G░E░R's discussion Competitions on Anti-Corruption Awareness, 2019
32 minutes ago
+ !! SARAH liked + ! ✨ ░S░I░N░G░E░R's discussion Issuance of First Voucher to Continuing Students (Fall, 2019)
32 minutes ago
BIA liked BIA's discussion Zuban Bhe Milta Hai.. :P:P
32 minutes ago
BIA liked BIA's discussion Al Quran. <3
32 minutes ago
BIA liked BIA's discussion Surat Ale Imran 3:150
32 minutes ago
BIA liked BIA's discussion QURAN 9:38
33 minutes ago
BIA liked BIA's discussion Who is ALLAH.?
33 minutes ago
+ !! SARAH liked + !! SARAH's discussion hahhahahahaha!!!!!!
34 minutes ago
+ !! SARAH replied to + !! SARAH's discussion hahhahahahaha!!!!!!
34 minutes ago

Today Top Members 

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

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