CARI Infonet

 Forgot password?
 Register

ADVERTISEMENT

View: 3044|Reply: 5

asynchronous programming in vb.net --> need help

[Copy link]
Post time 6-11-2006 02:03 AM | Show all posts |Read mode
hello...

aku kena buat satu project nih yg aku rasa kena pakai multithreading n delegates... but since i'm new to both vb.net/vb and muiltithreading... i'm totally lost...

aku ada buat readings... dah lama buat readings n try nak paham... tp tak paham2 gak.. too much info smpi aku jadik pening.... and trasa sgt bengap.... nih stakat apa yg aku paham... kalau ada salah, tolong betolkan ek? tenkiu.... :tq:

okieh camnih, project aku nih ada kaitan ngan msn messenger server.... bila communicate ngan server nih, up to one point, lepas aku antar satu command nih.. server tuh akan antar semua info (contacts, personal info, status.. bla..bla..bla) yg berkaitan ngan account msn messenger aku... so info nih byk laaa....

so kat situhlaa aku rasa kena pakai multithreading kan? sbb kalau tak pakai nnt tergendala lak sumer benda lain kan?

part delegates nih lak aku konfius lagik.. kalau dah ada thread baru.. apsal kena pakai delegates lak? delegates nih cam pointer to a function kan? apsal tak panggil tros ja function tuh? sory laa kalau soklan nih cam bengap... tapi aku sungguh tak paham.. makin aku baca pasal delegates nih makin aku konfius n makin pening....

satu lagik... aku ada jumpa satu project yg ada kena buat benda camnih gak.. and dia ada pakai asynccallback laa.. iasynresult laa... tp bila aku try nak paham pasal delegates n muiltithreading nih.. takdalak cth2 yg pakai bendalah asynccallback nih sumer... so aku makin konfius... apa gunanya bendalah tuh sumer? nih pon aku dah try search n try baca articles sumer... pon sama gak... too much info sampai aku pening... ker aku perlu start ngan something else dulu baru cuba pahamkan bendalah multithreading, delegates n sync nih ?

bantuan anda2 semua amatlah dihargai..... huhuhuhu  :tq:

[ Last edited by  cyra at 7-11-2006 04:40 PM ]

Rate

1

View Rating Log

Reply

Use magic Report


ADVERTISEMENT


Post time 6-11-2006 01:31 PM | Show all posts
get a grasp on .net framework v2.0

sebab delegates are only introduced in .net 2, not 1.1

for a start you may look for microsoft book with exam code 70-536 to get you started
Reply

Use magic Report

 Author| Post time 7-11-2006 04:52 PM | Show all posts
hmm... ok.. thanks shahnazz for the advice..

lepas dah buat more and more readings... aku rasa nak tukar title thread nih to "asynchronous programming" .. rasa cam lagik sesuai kot...

okieh.. rasanyalaa kan... multithreading nih just one way of doing asyn. prog.. ke?
so kalau nak guna multithreading... kita guna thread pool laa kan?

tapi kalau tannak guna thread pool.. leh guna the alternative method which is guna IAsyncResult/AsyncCallback.. ke?

either method pon mesti akan utilize delegates... ke?

apa2 pon.. the concept of asyn. prog. nih ada 3 stage .. :

1 - starts an algorithm, implemented via a method, on a new thread
2 - dapatkan result of the method
3 - determine samada asyn. operation tuh dah abih

keih.. tuh jaa dulu yg aku paham.. betol ke pemahaman aku nih? nak start piece by piece.. semak tol... harap ada dpt membantu.. :tq:

ah yer.. juz found a good article on this topic at the following url:

http://www.knowdotnet.com/articles/delegates.html

baru baca the first few paragraphs.. cam okiehlaa.. leh follow the flow.. takdalaa trasa lost.. nnt pasnih i update lagik apa yg paham...
Reply

Use magic Report

kayos_rayos This user has been deleted
Post time 29-12-2006 10:18 AM | Show all posts
wokey....selow? yarr


Application Developer
IT.BaseLogger
0123959774
Reply

Use magic Report

 Author| Post time 28-10-2009 02:55 PM | Show all posts
nih topik lama, saja aku up kan balek... untuk sesiapa yg nak share pasal multithreading or socket programming or asynchronous programming... anyone?

nnt ada masa, aku citer pepanjang pasal socket programming and multithreading yg aku buat dlm vb.net nih dulu....
Reply

Use magic Report

 Author| Post time 28-10-2009 02:56 PM | Show all posts
alamak, baru nampak dah ada topik socket programming... mod, boleh mergekan tak? kalau rasa takda manfaat, delete jerlaa... nnt saya continue kat thread sana...
Reply

Use magic Report

Follow Us
You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

11-5-2024 02:14 AM GMT+8 , Processed in 0.647031 second(s), 33 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list