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: 8108

.

+ 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

Mahi Malik is now friends with Makhdoom Shahrukh Jamil and IBS
31 seconds ago
IBS replied to MIT's discussion Visual Programing (CS411) Assignment#01 Deadline Date = 18-11-2019 in the group CS411 Visual Programming
48 minutes ago
Ammara replied to + M.Tariq Malik's discussion MTH501 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 19-11-2019 in the group MTH501 Linear Algebra
50 minutes ago
kiran ashraf replied to + M.Tariq Malik's discussion MGT611 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 14-11-2019 in the group MGT611 Business & Labor Law
51 minutes ago
kiran ashraf joined + M.Tariq Malik's group
51 minutes ago
M IDREES replied to + M.Tariq Malik's discussion CS502 Fundamentals of Algorithms Assignment No 01 Fall 2019 Solution & Discussion in the group CS502 Fundamentals of Algorithms
57 minutes ago
°`·("آفروز") aFFrOzE·´° replied to + M.Tariq Malik's discussion CS401 Assignment No 01 Fall 2019 Solution & Discussion in the group CS401 Computer Architecture and Assembly Language Programming
1 hour ago
Profile Icon°`·("آفروز") aFFrOzE·´°, Aamir Abbas and Rizwan Ali joined + M.Tariq Malik's group
1 hour ago
M IDREES replied to + M.Tariq Malik's discussion CS502 Fundamentals of Algorithms Assignment No 01 Fall 2019 Solution & Discussion in the group CS502 Fundamentals of Algorithms
1 hour ago
M IDREES replied to + M.Tariq Malik's discussion CS502 Fundamentals of Algorithms Assignment No 01 Fall 2019 Solution & Discussion in the group CS502 Fundamentals of Algorithms
1 hour ago
Ammara commented on + M.Tariq Malik's group MTH501 Linear Algebra
1 hour ago
Ammara joined + M.Tariq Malik's group
1 hour ago
+ Haxan updated their profile
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" posted a discussion
2 hours ago
Fojjiii updated their profile
2 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion ENG101 English Comprehension Online Quiz No 01 Fall 2019 Solution Discussion Last Date: 14-11-2019 in the group ENG101 English Comprehension
2 hours ago
Aamir Abbas replied to + M.Tariq Malik's discussion CS401 Assignment No 01 Fall 2019 Solution & Discussion in the group CS401 Computer Architecture and Assembly Language Programming
2 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MGT602 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 15-11-2019 in the group MGT602 Entrepreneurship
2 hours ago
+ Iuuoɔǝut + posted videos
2 hours ago
+ M.Tariq Malik is now friends with Careerz360, Sabir Hussain, Gulzar Ahmed and 11 more
2 hours ago

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

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