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


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

+ 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: 8109

.

+ 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

Aqsa Khan updated their profile
1 minute ago
+ IUUOƆƎUT + updated their profile
1 minute ago
+ M.Tariq Malik replied to Aijaz khan's discussion CS608 - Software Verification and Validation Assignment No. 2 Need Solution
9 minutes ago
+ M.Tariq Malik liked Aijaz khan's discussion CS608 - Software Verification and Validation Assignment No. 2 Need Solution
9 minutes ago
+ M.Tariq Malik replied to Waseem Aziz's discussion PROJECT MANAGEMENT (MGMT627)required Solution in the group MGMT627 Project Management
9 minutes ago
+ M.Tariq Malik liked Waseem Aziz's discussion PROJECT MANAGEMENT (MGMT627)required Solution
10 minutes ago
Ahsan Sandhu updated their profile
10 minutes ago
Ahsan Sandhu liked Ahsan Sandhu's profile
11 minutes ago
+ M.Tariq Malik replied to +¢αяєℓєѕѕ gιяℓ's discussion Best Places To Propose Someone :-P
11 minutes ago
+ M.Tariq Malik liked +¢αяєℓєѕѕ gιяℓ's discussion Best Places To Propose Someone :-P
12 minutes ago
+ M.Tariq Malik replied to waqas ahmad's discussion isl 201
12 minutes ago
+ M.Tariq Malik liked waqas ahmad's discussion isl 201
13 minutes ago
+ M.Tariq Malik replied to +¢αяєℓєѕѕ gιяℓ's discussion CS408 Human Computer Interaction Online Quiz No 01 Fall 2019 Solution Discussion Last Date: 21-11-2019 in the group CS408 Human Computer Interaction
16 minutes ago
+ M.Tariq Malik liked + IUUOƆƎUT +'s discussion List of Topics BNK619 by VU
16 minutes ago
+ M.Tariq Malik liked Azhar Sagar's discussion How to make srs Software Requirements Specification
17 minutes ago
+ M.Tariq Malik liked Ikra butt's discussion CS504 QUIZ NO 1 SOLUTION WITH COMPLETE GUIDELINES 2019
17 minutes ago
Azhar Sagar liked Azhar Sagar's discussion How to make srs Software Requirements Specification
17 minutes ago
+ M.Tariq Malik replied to Muhammad Younas Rajpoot's discussion ECO404 assignment 1 fall semester dated 19-11-2019
18 minutes ago
+ M.Tariq Malik liked Muhammad Younas Rajpoot's discussion ECO404 assignment 1 fall semester dated 19-11-2019
18 minutes ago
+ IUUOƆƎUT + added a discussion to the group BNKI619 Internship Report-Banking
19 minutes ago

Today Top Members 

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

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