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

+ Iuuoɔǝut + added a discussion to the group MGT101 Financial Accounting
1 minute ago
Rameesha left a comment for Safdar rehman
1 minute ago
+++ Little ChAmp=== updated their profile
2 minutes ago
stylo liked stylo's discussion entazar
3 minutes ago
Babar ali updated their profile
6 minutes ago
+ ! ! ! ! ! AaiMa AnsaRi liked + M.Tariq Malik's group MGT211 Introduction To Business
10 minutes ago
Purple Work replied to + M.Tariq Malik's discussion MGT503 Assignment No 01 Fall 2019 Solution & Discussion in the group MGT503 Principles of Management
22 minutes ago
Rameesha joined + M.Tariq Malik's group
22 minutes ago
Rameesha replied to + M.Tariq Malik's discussion MGT211 GDB Fall 2019 Solution & Discussion in the group MGT211 Introduction To Business
23 minutes ago
Rameesha joined + M.Tariq Malik's group
25 minutes ago
ghazni replied to + M.Tariq Malik's discussion CS311 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 15-11-2019 in the group CS311 Introduction to Web Services Development
27 minutes ago
ghazni joined + M.Tariq Malik's group
27 minutes ago
Rameesha posted a status
"Plz moje b reply kar do koi"
34 minutes ago
ghazni left a comment for Nabeel Ahmed
34 minutes ago
Sana fatima replied to + M.Tariq Malik's discussion CS304 Assignment No 01 Fall 2019 Solution & Discussion in the group CS304 Object Oriented Programming
36 minutes ago
Rameesha replied to + M.Tariq Malik's discussion Criteria Required for Award Badges, Featured Members & Moderators
40 minutes ago
Rameesha posted a status
"Plz send me solution of assignment no 1 of mth202"
46 minutes ago
Rameesha commented on + M.Tariq Malik's page Past Papers
48 minutes ago
Hamza - BCS (6th) and Saleem Maheen are now friends
51 minutes ago
Rameesha liked Ayaat's profile
52 minutes ago

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

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