ParsX.com
پذیرش پروژه از دانشجویی ... تا سازمانی 09376225339
 
   ProfileProfile   Log in to check your private messagesLog in to check your private messages  |  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups Log inLog in   RegisterRegister 

ocx برای Search File

 
Post new topic   Reply to topic    ParsX.com Forum Index -> ويژوال بيسيك .NET
View previous topic :: View next topic  
Author Message
paul
مهمون يكي دو روزه


Joined: 14 May 2005
Posts: 9

PostPosted: Sat May 14, 2005 4:53 pm    Post subject: ocx برای Search File Reply with quote

من بدنبال کدی بودم در vb که با هاش بتوانم بدنبال فایل ها بگردم

Last edited by paul on Mon May 30, 2005 8:07 am; edited 3 times in total
Back to top
vahid
بي تو هرگز


Joined: 26 Nov 2004
Posts: 3067
Location: Tehran

PostPosted: Sat May 14, 2005 7:34 pm    Post subject: Reply with quote

ocx زیر رو دانلود کن .
http://www.martin2k.co.uk/vb6/ocxs/filesearch.zip
بعد توی پروژه ات ببر و بعد هم مثل شکل زیر کنترلها رو بساز .
که توی readme هم گفته که چه کنی و چه نکنی ...


Private Sub Command1_Click()
If Text1.Text = "" Then Exit Sub 'If the textbox is empty, then nothing can be searched for
List1.Clear 'Clear any previous searches
Me.Enabled = False
FS1.SearchFile List1, Text2.Text, Text1.Text, Me
Me.Enabled = True
Me.Caption = "Form1" 'Clear the status bar after the search
End Sub
Back to top
paul
مهمون يكي دو روزه


Joined: 14 May 2005
Posts: 9

PostPosted: Sun May 15, 2005 11:36 am    Post subject: Reply with quote

اقا وحید سلام
من OCX را گرفتم ام کار کرد
مطابق همان چیزی هم که گفته بودی عمل کردم
متشکرم


Last edited by paul on Fri Jun 10, 2005 10:39 am; edited 1 time in total
Back to top
vahid
بي تو هرگز


Joined: 26 Nov 2004
Posts: 3067
Location: Tehran

PostPosted: Sun May 15, 2005 1:15 pm    Post subject: Reply with quote

راه دیگه که پره ...
اما اسانترین راهش همینه باور کن :
ببین کد رو تشریح میکنم :
text1 همونیه که توش مثلا *.* میریزی .
text2 همونیه که توش ادرس رو میدی مثلا درایو
یک لیست باکس هم میسازی به نام list1
بعد هم F5 کن ببین کار میکنه !
OCX رو میتونی وارد پروژه ات بکنی ؟
Back to top
slimshady
مهمون يكي دو روزه


Joined: 18 May 2005
Posts: 1

PostPosted: Wed May 18, 2005 9:53 pm    Post subject: Reply with quote

Paul من از این OCX استفاده کردم کار کرد.
Back to top
paul
مهمون يكي دو روزه


Joined: 14 May 2005
Posts: 9

PostPosted: Mon May 30, 2005 8:02 am    Post subject: Ocx برای Search File Reply with quote

paul wrote:
من بدنبال کدی بودم در vb که با هاش بتوانم بدنبال فایل ها بگردم
Back to top
unknown
مدير بخش ويژوال بيسيك
مدير بخش ويژوال بيسيك


Joined: 05 Dec 2004
Posts: 439
Location: Tehran

PostPosted: Tue Jun 21, 2005 10:28 am    Post subject: Reply with quote

اگر در این زمینه هم مشکلت حل نشده بگو کمکت کنم
Back to top
Display posts from previous:   
Post new topic   Reply to topic    ParsX.com Forum Index -> ويژوال بيسيك .NET All times are GMT + 3.5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum