We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.


+ Link For Assignments, GDBs & Online Quizzes Solution


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

Visual Programming (CS411) Assignment # 4 (GRADED) Solution & Discussion Due Date Feb 18, 2016

+ 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)

Views: 6103


Replies to This Discussion

can anyone please share complete solution

The below video on YouTube will help you to clear your concept related to threading,


My suggestion is not to wait for solution instead watch the above video and follow the steps given by _Dastgeer on page 1 of this discussion - I hope you will be able to solve the assignment. Try whatever you can do and submit i you could not get full marks at least you will secure some marks that will be better then zero. 

Hi Xafeer Ahmed I hope your issue have been resolved if not yet then search the bellow error on google the solution of this error is available there.

"The calling Thread cannot access this object because a different thread owns it"

I encountered the same issue and found the solution by searching on google.

Best wishes to all

All Done Bro Thanks . 

solution koi bhai upload krdy... mera to demag e kharb ooo gya ...:(

Xafeer Ahmed bhai kese solve ki ye exception? I have same problm plz tel me

process mein thread ke exe chal rhe hoti ha usy end krty 

i am facing 5 errors while using this coding.experts,plz help

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace MultiThread
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
public MainWindow()
Thread myThread_1;
Thread myThread_2;
private void Start_T1_Click(object sender, RoutedEventArgs e)
public void myThread_1()
//for loop to that will run for 10,000 times
for(int i=0;i<=10000;i++)
OutPut_T1.TextInput += ("T1: Execution Count> " + i);
//and here is the sleep method
ListBoxItem mySelectedItem = box1.SelectedItem as ListBoxItem;
string value = mySelectedItem.Content.ToString();
private void Start_T2_Click(object sender, RoutedEventArgs e)
public void myThread_2();
for(int i=0;i<=10000;i++);
OutPut_T2.TextInput += ("T2: Execution Count> " + i);
//and here is the sleep method
ListBoxItem mySelectedItem = box2.SelectedItem as ListBoxItem;
string value = mySelectedItem.Content.ToString();


Solution PLZZZ... 

Uff khudaya ....koi to help kr dey ! time boht kam reh gya hai .plz share the solution file ...please please !!!!! tohanu rabb da wasta j

daisy mujy source file bejo main apny aik dost sy check karwata hoon.....

zzzebkhan@gmail.com  par

But aaj nahi, kal main usko dekhaonga, OK


Looking For Something? Search Here


This is a member-supported website. Your contribution is greatly appreciated!

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

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