Visual Basic 6.0 translation

Tuesday, February 21, 2012

VB 0.6 TreeView Control lesson Part5

بسم الله الرحمن الرحيم

توقفنا فى الجزء الرابع السابق عند خواص الـ Node
و موضوع اليوم ان شاء الله عن ربط الـ Tree-view بقاعدة بيانات MS Access 2003
TreeView & MS Access2003 Database
 و المثال سيكون عباره عن : لدينا قاعدة بيانات Access 2003 سنقوم بعرض اسماء الجداول على شكل Root و اسماء الحقول على شكل Child و البيانات فى Text-boxes قابل للتعديل ( اضافة و حذف ) .
أى أننا سنقوم بعمل برنامج يقوم باستدعاء أى قاعدة بيانات Access 2003 و تعديلها كما نحب , و سنبدأ بمشروع جديد .
حيث سيكون شكل البرنامج النهائى كما بالشكل رقم (1) .
شكل البرنامج النهائى
1) قاعدة البيانات :
قم بتصميم أى قاعدة بيانات Access 2003 , فى المثال قاعدة البيانات باسم (Employees.mdb) تحتوى على جدولين (Info - Salary)
حيث Info عبارة عن 4 حقول هى
(ID P.Key Text 50 - Name Text 50 - Age Text 50 - Section Text 50)
و Salary عبارة عن 5 حقول هى
(ID P.Key Text 50 - Total Number Double - Cuts Number Double - Net Number Double - Month Date/Time)
يتم التوصيل بقاعدة البيانات باستخدام تقنية ADO 2.8 
2) الشرح :
عند بداية البرنامج تختار أى قاعدة بيانات و لتكن قاعدة البيانات التى صممناها عن طريق مفتاح Browse حيث يظهر مسارها فى TextBox ثم نضغط على Connect لتوصيلها بالبرنامج حيث تظهر محتوياتها فى الـ TreeView
عند الضغط على أى Root اذا كان به Child s يقوم بعرضهم فى مستوى أقل منه و تكون عباره عن اسماء الجداول ثم على اسم الجدول عند الضغط عليه يقوم بعرض Child فى مستوى أقل منه و تكون اسماء الحقول ثم عند الضغط على اسم الحقل اذا كان به Child تظهر فى مستوى أقل منه و تكون عباره عن القيمة التى تعرض فى الـ TextBox الثانى .
عند ظهور القيمة فى الـ TextBox يمكن تحديثها , و يمكنك اضافة الاكواد و الافكار كما تشاء حيث يمكنك عمل مشروعات كامله من هذا المثال ....
3) رابط المشروع
4) اذا كان لديك أى سؤال أضف تعليق و سيتم الرد عليه ان شاء الله فى اقرب وقت

Visual Basic 6.0 Lessons, Tricks, Tutorials and help links :
- Visual Basic 6.0 TreeView Control lesson (Part1 - Part 2 - Part3 - Part4 - Part5) Arabic.


  1. What's up to all, it's really a fastidious for me to pay a
    visit this site, it contains important Information.

    Here is my page ... ClintNStanbaugh

  2. If you are going for most excellent contents like I do, just go to see this site all the time as it offers
    quality contents, thanks

    My weblog - ErnestoZMcneeley

  3. Ahaa, its good discussion about this post here at this blog, I
    have read all that, so at this time me also commenting
    at this place.

    Also visit my web blog; CandanceMSaults

  4. I'm not sure exactly why but this blog is loading
    very slow for me. Is anyone else having this problem or is it a problem
    on my end? I'll check back later and see if the problem still exists.

    Look into my web page; AntoneJNiedzwiecki

  5. Hey there fantastic website! Does running a blog like this take a massive amount work?

    I have no knowledge of computer programming but I was hoping to
    start my own blog soon. Anyway, should you have any ideas or tips for new blog owners please
    share. I know this is off subject however I simply had to ask.
    Thanks a lot!

    Feel free to surf to my webpage ... XiomaraEHolihan

  6. I’m not that much of a online reader to be honest but your blogs
    really nice, keep it up! I'll go ahead and bookmark your website to come back later.
    All the best

    Visit my webpage: JacintaEStinton

  7. I'd like to find out more? I'd love to find out some
    additional information.

    Here is my web site - CarollKNeblett

  8. I am actually grateful to the holder of this web site who has
    shared this enormous paragraph at here.

    Also visit my blog - NatishaGMolima

  9. Hmm is anyone else experiencing problems with
    the pictures on this blog loading? I'm trying to figure out if its a problem on my
    end or if it's the blog. Any feed-back would be greatly appreciated.

    Have a look at my web blog :: LauraleeSMaedche

  10. Thanks for sharing your thoughts on books. Regards

    Feel free to visit my web page: TennieOBlazosky


visual basic 6 source code says (Hi)

Visual Basic Online Course

vb6 (63) Application Development (45) Visual Basic Online Course (45) Online Visual Basic Course (44) Visual Basic Help (44) Visual Basic Programming (42) IT Jobs (39) VB6 developer (38) Visual Basic Course (38) Visual Basic 6.0 (26) Microsoft Visual Basic 6.0 (25) VB6.0 (24) Visual Basic Programmers (24) vb 6.0 (24) visual basic programming tutorial (19) Third lesson (16) Source code download for Visual Basic 6.0 (14) Source code for Visual Basic 6.0 (10) visual basic tutorial (9) Visual Basic 6 (5) Visual Basic Courses (5) Lesson 3 (4) VB 0.6 - TreeView control (4) VB 0.6 With TreeView Control (4) VB6 Course (3) Create ActiveX (2) How to automate MS-Access from Visual Basic 6.0 (2) Add controls at runtime (1) Back up your Database (1) Change ActiveX icon (1) Change screen resolution (1) Create FTP (1) Crystal Reports 4.6 (1) Crystl32.ocx could not be loaded (1) DataGrid Columns re-size (1) Date Calculation (1) DateAdd Function (1) DateDiff function (1) FTP (1) Marquee Title Bar (1) Marquee VB 6.0 TitleBar (1) Method 'Action' of object 'CrystalCtrl' Failed (1) Microsoft Access with Visual Basic 6.0 (1) OpenSchema method (1) Save File Using CommonDilog (1) Track Database path (1) VB 0.6 - Registry (1) VB 0.6 With Registry Editor (1) VB 6.0 Access (1) VB 6.0 OOP (1) VB6 Access2003 ADO Like % (1) VB6 Add Date (1) VB6 Add Time (1) VB6 Date calculation (1) VB6 Subtract Date (1) Visual Basic Remote (1) Win7 (1) Windows7 (1) ms access networking details (1) remote Visual Basic DB (1) rounded and transparent forms (1) vb 0.6 style (1) vb 6.0 Remote Database (1)