<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب  - قسم أمثلة ومشاريع قواعد البيانات تحت بيئة الـ.NET]]></title>
		<link>https://vb4arb.com/vb/</link>
		<description><![CDATA[منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب  - https://vb4arb.com/vb]]></description>
		<pubDate>Wed, 22 Apr 2026 22:25:59 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[[جديد - بالنسبة لاخيكم] بضغطة زر انشاء ماتريد من جداول واعمدة واضافة بيانات اليها]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=48839</link>
			<pubDate>Thu, 23 May 2024 22:19:29 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=56138">justforit</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=48839</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align">بسم الله الرحمن الرحيم</div>
<div style="text-align: center;" class="mycode_align">السلام عليكم ورحمة الله وبركاته</div>
<div style="text-align: center;" class="mycode_align">افضل <a href="https://vb4arb.com/vb/showthread.php?tid=2340" target="_blank" rel="noopener" class="mycode_url">امثلتي </a>على الاطلاق  خصوصا من ناحية قواعد البيانات</div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/9XD4WvRG/p1.png" loading="lazy"  alt="[صورة مرفقة: p1.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/1Rb84Jwb/p2.png" loading="lazy"  alt="[صورة مرفقة: p2.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">كلمة المرور vb4arb</div>
<div style="text-align: center;" class="mycode_align">آمل ان يفيد احد هذا المثال</div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=29566" target="_blank" title="">dbmnger.zip</a> (الحجم : 26.27 ك ب / التحميلات : 56)
]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align">بسم الله الرحمن الرحيم</div>
<div style="text-align: center;" class="mycode_align">السلام عليكم ورحمة الله وبركاته</div>
<div style="text-align: center;" class="mycode_align">افضل <a href="https://vb4arb.com/vb/showthread.php?tid=2340" target="_blank" rel="noopener" class="mycode_url">امثلتي </a>على الاطلاق  خصوصا من ناحية قواعد البيانات</div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/9XD4WvRG/p1.png" loading="lazy"  alt="[صورة مرفقة: p1.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/1Rb84Jwb/p2.png" loading="lazy"  alt="[صورة مرفقة: p2.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">كلمة المرور vb4arb</div>
<div style="text-align: center;" class="mycode_align">آمل ان يفيد احد هذا المثال</div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=29566" target="_blank" title="">dbmnger.zip</a> (الحجم : 26.27 ك ب / التحميلات : 56)
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[مثال ارتجالي متصل باكسس واستخدام استعلام تحديث و تحديد]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=48444</link>
			<pubDate>Fri, 03 May 2024 14:17:46 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=56138">justforit</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=48444</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/9QbgJ6ck/999.png" loading="lazy"  alt="[صورة مرفقة: 999.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">الملف مرفق <a href="https://vb4arb.com/vb/showthread.php?tid=48442&amp;pid=197262#pid197262" target="_blank" rel="noopener" class="mycode_url">بالموضوع</a></div>
<br />
<br />
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">مثال ارتجالي لا صلة له بالواقع فقط لعله يوصل المطلوب</span></span><br />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">وفق المثال الان اضافة جديد فقط:</span></span><br />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">المنتج |العدد الموجود| سعر الوحدة</span></span><br />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">اما التحديث</span></span><br />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">يتم تعديل كل شيء باستثناء ما يقوم به الاجراء  myq الموجود كاستعلام في ملف الاكسس</span></span><br />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">بكل تاكيد المثال عديم الفائدة اذا تم الاعتماد عليه لكن آمل ان يوصل للمسار الصحيح</span></span><br />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">التحديث اجراء مخزن باسم:</span></span><br />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">myupdate</span></span></span><br />
<hr class="mycode_hr" />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b"><span style="font-family: Arial;" class="mycode_font"><span style="font-size: large;" class="mycode_size"><span style="color: #ff3333;" class="mycode_color">تم بيعه كتحديث اي ما يراد بيعه</span></span></span></span></span></div>]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/9QbgJ6ck/999.png" loading="lazy"  alt="[صورة مرفقة: 999.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">الملف مرفق <a href="https://vb4arb.com/vb/showthread.php?tid=48442&amp;pid=197262#pid197262" target="_blank" rel="noopener" class="mycode_url">بالموضوع</a></div>
<br />
<br />
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">مثال ارتجالي لا صلة له بالواقع فقط لعله يوصل المطلوب</span></span><br />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">وفق المثال الان اضافة جديد فقط:</span></span><br />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">المنتج |العدد الموجود| سعر الوحدة</span></span><br />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">اما التحديث</span></span><br />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">يتم تعديل كل شيء باستثناء ما يقوم به الاجراء  myq الموجود كاستعلام في ملف الاكسس</span></span><br />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">بكل تاكيد المثال عديم الفائدة اذا تم الاعتماد عليه لكن آمل ان يوصل للمسار الصحيح</span></span><br />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">التحديث اجراء مخزن باسم:</span></span><br />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">myupdate</span></span></span><br />
<hr class="mycode_hr" />
<span style="color: #333333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b"><span style="font-family: Arial;" class="mycode_font"><span style="font-size: large;" class="mycode_size"><span style="color: #ff3333;" class="mycode_color">تم بيعه كتحديث اي ما يراد بيعه</span></span></span></span></span></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[نسخ جداول اكسس الى اكسل]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=48390</link>
			<pubDate>Sat, 27 Apr 2024 04:38:42 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=56138">justforit</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=48390</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align">السلام عليكم ورحمة الله و بركاته</div>
<div style="text-align: center;" class="mycode_align">صباح الخير  ومساء الخير</div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/YqBPyRHq/12.png" loading="lazy"  alt="[صورة مرفقة: 12.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">هذا مثال بسيط لنسخ الجداول من اكسس الى اكسل اما العكس فلسهولته لم اكتب اكواده بالمثال.</div>
<br />
<br />
<div style="text-align: center;" class="mycode_align"><span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b"><span style="color: #ff3333;" class="mycode_color">تنبيه</span>!</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="font-size: large;" class="mycode_size"><span style="color: #ff3333;" class="mycode_color">بعد ان تنسخ الجداول , مباشرة قم بترتيبها في اكسل  كما هي باكسس حتى تكون الخطوة الثانية مناسبة لانك لو لم تقم بهذه الخطوة و اقصد اعادة ترتيب الاعمدة في اكسل فستكون الصفوف غير مناسبة لاعمدتها  مثل ان ترى الاسم تحت عمود الترقيم التلقائي و هكذا</span></span></div>
<br />
<div style="text-align: center;" class="mycode_align"><span style="font-size: large;" class="mycode_size"><span style="color: #333333;" class="mycode_color">لا ادري لماذا ترتيب الاعمدة ليس مضبوطا كما هو في اكسس</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="font-size: large;" class="mycode_size"><span style="color: #333333;" class="mycode_color">حاولت وبحثت و لم اتوصل لحل الا بالخطوة اليدوية بعد نسخ الجداول و قبل نسخ الصفوف</span></span></div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=29518" target="_blank" title="">Access_To_Excel_And_Excel_To_Access.zip</a> (الحجم : 18.05 ك ب / التحميلات : 24)
]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align">السلام عليكم ورحمة الله و بركاته</div>
<div style="text-align: center;" class="mycode_align">صباح الخير  ومساء الخير</div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/YqBPyRHq/12.png" loading="lazy"  alt="[صورة مرفقة: 12.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">هذا مثال بسيط لنسخ الجداول من اكسس الى اكسل اما العكس فلسهولته لم اكتب اكواده بالمثال.</div>
<br />
<br />
<div style="text-align: center;" class="mycode_align"><span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b"><span style="color: #ff3333;" class="mycode_color">تنبيه</span>!</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="font-size: large;" class="mycode_size"><span style="color: #ff3333;" class="mycode_color">بعد ان تنسخ الجداول , مباشرة قم بترتيبها في اكسل  كما هي باكسس حتى تكون الخطوة الثانية مناسبة لانك لو لم تقم بهذه الخطوة و اقصد اعادة ترتيب الاعمدة في اكسل فستكون الصفوف غير مناسبة لاعمدتها  مثل ان ترى الاسم تحت عمود الترقيم التلقائي و هكذا</span></span></div>
<br />
<div style="text-align: center;" class="mycode_align"><span style="font-size: large;" class="mycode_size"><span style="color: #333333;" class="mycode_color">لا ادري لماذا ترتيب الاعمدة ليس مضبوطا كما هو في اكسس</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="font-size: large;" class="mycode_size"><span style="color: #333333;" class="mycode_color">حاولت وبحثت و لم اتوصل لحل الا بالخطوة اليدوية بعد نسخ الجداول و قبل نسخ الصفوف</span></span></div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=29518" target="_blank" title="">Access_To_Excel_And_Excel_To_Access.zip</a> (الحجم : 18.05 ك ب / التحميلات : 24)
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[مثالين للتعامل مع الاكسل]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=48264</link>
			<pubDate>Fri, 19 Apr 2024 19:55:04 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=56138">justforit</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=48264</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align">السلام عليكم ورحمة الله و بركاته</div>
<div style="text-align: center;" class="mycode_align">الملف المرفق لمشروعين</div>
<div style="text-align: center;" class="mycode_align">واحد يتعامل مع الـReference بشكل كامل و هو باسم <span style="font-size: small;" class="mycode_size">OtherExcelApp</span></div>
<div style="text-align: center;" class="mycode_align"><span style="font-size: small;" class="mycode_size">اما الاخر فقط الانشاء والصيانة يتعامل مع الـ الـReference  اما الاشياء الاخرى مع oledb provider و هو باسم Phone_Book_Using_Excel_vbnet</span></div>
<div style="text-align: center;" class="mycode_align"><span style="font-size: small;" class="mycode_size"><img src="https://i.postimg.cc/NjbfzV87/333.png" loading="lazy"  alt="[صورة مرفقة: 333.png]" class="mycode_img" /></span></div>
<div style="text-align: center;" class="mycode_align"><span style="font-size: small;" class="mycode_size"><img src="https://i.postimg.cc/mrD2fw8x/444.png" loading="lazy"  alt="[صورة مرفقة: 444.png]" class="mycode_img" /></span></div>
<div style="text-align: center;" class="mycode_align"><span style="font-size: small;" class="mycode_size">آمل ان يفيد احدا من زوار المنتدى او اعضائه</span></div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=29509" target="_blank" title="">Two_projects.zip</a> (الحجم : 185.11 ك ب / التحميلات : 72)
]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align">السلام عليكم ورحمة الله و بركاته</div>
<div style="text-align: center;" class="mycode_align">الملف المرفق لمشروعين</div>
<div style="text-align: center;" class="mycode_align">واحد يتعامل مع الـReference بشكل كامل و هو باسم <span style="font-size: small;" class="mycode_size">OtherExcelApp</span></div>
<div style="text-align: center;" class="mycode_align"><span style="font-size: small;" class="mycode_size">اما الاخر فقط الانشاء والصيانة يتعامل مع الـ الـReference  اما الاشياء الاخرى مع oledb provider و هو باسم Phone_Book_Using_Excel_vbnet</span></div>
<div style="text-align: center;" class="mycode_align"><span style="font-size: small;" class="mycode_size"><img src="https://i.postimg.cc/NjbfzV87/333.png" loading="lazy"  alt="[صورة مرفقة: 333.png]" class="mycode_img" /></span></div>
<div style="text-align: center;" class="mycode_align"><span style="font-size: small;" class="mycode_size"><img src="https://i.postimg.cc/mrD2fw8x/444.png" loading="lazy"  alt="[صورة مرفقة: 444.png]" class="mycode_img" /></span></div>
<div style="text-align: center;" class="mycode_align"><span style="font-size: small;" class="mycode_size">آمل ان يفيد احدا من زوار المنتدى او اعضائه</span></div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=29509" target="_blank" title="">Two_projects.zip</a> (الحجم : 185.11 ك ب / التحميلات : 72)
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[عرض جدول في الليست فيو Listview]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=47517</link>
			<pubDate>Tue, 21 Nov 2023 12:00:47 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=56138">justforit</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=47517</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/sX44yN40/111.png" loading="lazy"  alt="[صورة مرفقة: 111.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">عرض البيانات في الليست فيو و ايضا التصفح  كما هو واضح بالصورة</div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=29270" target="_blank" title="">MyListview.zip</a> (الحجم : 27.01 ك ب / التحميلات : 58)
]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/sX44yN40/111.png" loading="lazy"  alt="[صورة مرفقة: 111.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">عرض البيانات في الليست فيو و ايضا التصفح  كما هو واضح بالصورة</div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=29270" target="_blank" title="">MyListview.zip</a> (الحجم : 27.01 ك ب / التحميلات : 58)
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[أسرع طريقة للحذف او اقصر استعلام للحذف او كما تراها]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=47505</link>
			<pubDate>Sun, 19 Nov 2023 16:58:53 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=56138">justforit</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=47505</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align">سبب الموضوع هو في الرابط التالي:</div>
<div style="text-align: center;" class="mycode_align">[VB.NET] <a href="https://vb4arb.com/vb/thread-47503.html" target="_blank" rel="noopener" class="mycode_url">حذف اكثر من سطر محدد في جرد فيو</a></div>
<div style="text-align: center;" class="mycode_align">فبحثت قليلا عن ترجمة للسؤال و تفاجات باستعلام مذهل</div>
<div style="text-align: center;" class="mycode_align">هنا <a href="https://vb4arb.com/vb/thread-47503-post-195025.html#pid195025" target="_blank" rel="noopener" class="mycode_url">مشاركتي </a>و فيها المثال</div>
<br />
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/59w6PYqj/999.png" loading="lazy"  alt="[صورة مرفقة: 999.png]" class="mycode_img" /></div>]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align">سبب الموضوع هو في الرابط التالي:</div>
<div style="text-align: center;" class="mycode_align">[VB.NET] <a href="https://vb4arb.com/vb/thread-47503.html" target="_blank" rel="noopener" class="mycode_url">حذف اكثر من سطر محدد في جرد فيو</a></div>
<div style="text-align: center;" class="mycode_align">فبحثت قليلا عن ترجمة للسؤال و تفاجات باستعلام مذهل</div>
<div style="text-align: center;" class="mycode_align">هنا <a href="https://vb4arb.com/vb/thread-47503-post-195025.html#pid195025" target="_blank" rel="noopener" class="mycode_url">مشاركتي </a>و فيها المثال</div>
<br />
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/59w6PYqj/999.png" loading="lazy"  alt="[صورة مرفقة: 999.png]" class="mycode_img" /></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ادارة بسيطة لملف الاكسس]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=45926</link>
			<pubDate>Wed, 19 Apr 2023 20:16:02 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=21">سعود</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=45926</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/hv6CytvZ/app1.png" loading="lazy"  alt="[صورة مرفقة: app1.png]" class="mycode_img" /><img src="https://i.postimg.cc/pV61XqCQ/app2.png" loading="lazy"  alt="[صورة مرفقة: app2.png]" class="mycode_img" /></div>
<br />
<div style="text-align: center;" class="mycode_align"><iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/vXcC3hq8aYI" frameborder="0" allowfullscreen="true"></iframe></div>
<div style="text-align: center;" class="mycode_align">السلام عليكم ورحمةالله وبركاته</div>
<div style="text-align: center;" class="mycode_align">آمل ان يفيد هذا المثال احد كفكرة او تطبيق وهذا نسخة محدثة <a href="https://vb4arb.com/vb/thread-37538.html" target="_blank" rel="noopener" class="mycode_url">لفكرة </a>اقل منها عملتها سابقا</div>
<div style="text-align: center;" class="mycode_align">المشروع افضل بكثير اضافة ملف قاعدة اكسس جديدة و عدة جداول واعمدة في الاطار الاول الرئيسي</div>
<div style="text-align: center;" class="mycode_align">اما الاطار الاخر فهو للتعديلات كما يظهر الصورتين اعلى هذا الكلام</div>
<div style="text-align: center;" class="mycode_align">password:-sarab</div>
<hr class="mycode_hr" />
<div style="text-align: center;" class="mycode_align">هذا الموديول به كافة العمليات لمن يحب الاكتفاء بها</div>
<div class="codeblock phpcodeblock"><div class="title">PHP كود :</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">Imports&nbsp;System</span><span style="color: #007700">.</span><span style="color: #0000BB">Data</span><span style="color: #007700">.</span><span style="color: #0000BB">Common<br />Imports&nbsp;System</span><span style="color: #007700">.</span><span style="color: #0000BB">Data</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDb<br />Imports&nbsp;System</span><span style="color: #007700">.</span><span style="color: #0000BB">Runtime</span><span style="color: #007700">.</span><span style="color: #0000BB">InteropServices<br />Imports&nbsp;System</span><span style="color: #007700">.</span><span style="color: #0000BB">Xml<br />Module&nbsp;Module1<br />&nbsp; &nbsp; Public&nbsp;config&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">IO</span><span style="color: #007700">.</span><span style="color: #0000BB">Path</span><span style="color: #007700">.</span><span style="color: #0000BB">GetDirectoryName</span><span style="color: #007700">(</span><span style="color: #0000BB">Application</span><span style="color: #007700">.</span><span style="color: #0000BB">ExecutablePath</span><span style="color: #007700">)&nbsp;&amp;&nbsp;</span><span style="color: #DD0000">"&#092;config.txt"<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Public&nbsp;Sub&nbsp;rep</span><span style="color: #007700">(</span><span style="color: #0000BB">ByRef&nbsp;frm&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Form</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; If&nbsp;frm</span><span style="color: #007700">.</span><span style="color: #0000BB">Left&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">Or&nbsp;</span><span style="color: #0000BB">frm</span><span style="color: #007700">.</span><span style="color: #0000BB">Right&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">Screen</span><span style="color: #007700">.</span><span style="color: #0000BB">PrimaryScreen</span><span style="color: #007700">.</span><span style="color: #0000BB">Bounds</span><span style="color: #007700">.</span><span style="color: #0000BB">Right&nbsp;Then&nbsp;frm</span><span style="color: #007700">.</span><span style="color: #0000BB">Left&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0<br />&nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;frm</span><span style="color: #007700">.</span><span style="color: #0000BB">Top&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">Or&nbsp;</span><span style="color: #0000BB">frm</span><span style="color: #007700">.</span><span style="color: #0000BB">Bottom&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">Screen</span><span style="color: #007700">.</span><span style="color: #0000BB">PrimaryScreen</span><span style="color: #007700">.</span><span style="color: #0000BB">Bounds</span><span style="color: #007700">.</span><span style="color: #0000BB">Bottom&nbsp;Then&nbsp;frm</span><span style="color: #007700">.</span><span style="color: #0000BB">Top&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0<br />&nbsp; &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;</span><span style="color: #007700">Function&nbsp;</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">st&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Optional&nbsp;ByVal&nbsp;password&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"vb4arb"</span><span style="color: #007700">)&nbsp;As&nbsp;</span><span style="color: #0000BB">String<br />&nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp;</span><span style="color: #DD0000">"provider=microsoft.ace.oledb.12.0;data&nbsp;source="&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">st&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">";jet&nbsp;oledb:database&nbsp;password="&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">password&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">""<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; End&nbsp;</span><span style="color: #007700">Function<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Public&nbsp;</span><span style="color: #007700">Function&nbsp;</span><span style="color: #0000BB">createdb</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)&nbsp;As&nbsp;</span><span style="color: #0000BB">Boolean<br />&nbsp; &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;objConnection&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">CreateObject</span><span style="color: #007700">(</span><span style="color: #DD0000">"ADOX.Catalog"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;str&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objConnection</span><span style="color: #007700">.</span><span style="color: #0000BB">Create</span><span style="color: #007700">(</span><span style="color: #0000BB">str</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp;True<br />&nbsp; &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp;False<br />&nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; End&nbsp;</span><span style="color: #007700">Function<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Public&nbsp;</span><span style="color: #007700">Function&nbsp;</span><span style="color: #0000BB">GetTables</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)&nbsp;As&nbsp;</span><span style="color: #0000BB">DataSet<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;str&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Dim&nbsp;ds&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">DataSet<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;dt&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">DataTable<br />&nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;conn&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDbConnection</span><span style="color: #007700">(</span><span style="color: #0000BB">str</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;conn</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Closed&nbsp;Then&nbsp;conn</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">conn</span><span style="color: #007700">.</span><span style="color: #0000BB">GetSchema</span><span style="color: #007700">(</span><span style="color: #DD0000">"TABLES"</span><span style="color: #007700">,&nbsp;{</span><span style="color: #0000BB">Nothing</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Nothing</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Nothing</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"TABLE"</span><span style="color: #007700">})<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; For&nbsp;Each&nbsp;dr&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">DataRow&nbsp;In&nbsp;dt</span><span style="color: #007700">.</span><span style="color: #0000BB">Rows<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ds</span><span style="color: #007700">.</span><span style="color: #0000BB">Tables</span><span style="color: #007700">.</span><span style="color: #0000BB">Add</span><span style="color: #007700">(</span><span style="color: #0000BB">dr</span><span style="color: #007700">(</span><span style="color: #DD0000">"TABLE_NAME"</span><span style="color: #007700">))<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Next<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;conn</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;conn</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp;ds<br />&nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Function<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Public&nbsp;Sub&nbsp;createcolls</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">colname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">coltype&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Using&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbConnection</span><span style="color: #007700">(</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">))<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;cm&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbCommand</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">con</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;cn&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">""<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;ct&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cn&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">colname<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ct&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">coltype<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">CommandText&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"ALTER&nbsp;TABLE&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;ADD&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">cn&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">ct<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Closed&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">ExecuteNonQuery</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #DD0000">"تم&nbsp;اضافة&nbsp;عمود:&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">colname&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;الى&nbsp;جدول:&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;بنجاح&nbsp;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Information</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"save&nbsp;colls"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Finally<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;</span><span style="color: #007700">Function&nbsp;</span><span style="color: #0000BB">isdbfount</span><span style="color: #007700">(</span><span style="color: #0000BB">adbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)&nbsp;As&nbsp;</span><span style="color: #0000BB">Boolean<br />&nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp;IO</span><span style="color: #007700">.</span><span style="color: #0000BB">File</span><span style="color: #007700">.</span><span style="color: #0000BB">ReadAllLines</span><span style="color: #007700">(</span><span style="color: #0000BB">config</span><span style="color: #007700">).</span><span style="color: #0000BB">Contains</span><span style="color: #007700">(</span><span style="color: #0000BB">adbpath</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; End&nbsp;</span><span style="color: #007700">Function<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Public&nbsp;</span><span style="color: #007700">Function&nbsp;</span><span style="color: #0000BB">isdbfountreal</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)&nbsp;As&nbsp;</span><span style="color: #0000BB">Boolean<br />&nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp;IO</span><span style="color: #007700">.</span><span style="color: #0000BB">File</span><span style="color: #007700">.</span><span style="color: #0000BB">Exists</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; End&nbsp;</span><span style="color: #007700">Function<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Public&nbsp;</span><span style="color: #007700">Function&nbsp;</span><span style="color: #0000BB">alldbs</span><span style="color: #007700">()&nbsp;As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Return&nbsp;IO</span><span style="color: #007700">.</span><span style="color: #0000BB">File</span><span style="color: #007700">.</span><span style="color: #0000BB">ReadAllLines</span><span style="color: #007700">(</span><span style="color: #0000BB">config</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; End&nbsp;</span><span style="color: #007700">Function<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Function&nbsp;isendwithnewline</span><span style="color: #007700">()&nbsp;As&nbsp;</span><span style="color: #0000BB">String<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;rcount&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Integer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">IO</span><span style="color: #007700">.</span><span style="color: #0000BB">File</span><span style="color: #007700">.</span><span style="color: #0000BB">ReadAllLines</span><span style="color: #007700">(</span><span style="color: #0000BB">config</span><span style="color: #007700">).</span><span style="color: #0000BB">Count<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;t&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">IO</span><span style="color: #007700">.</span><span style="color: #0000BB">File</span><span style="color: #007700">.</span><span style="color: #0000BB">ReadLines</span><span style="color: #007700">(</span><span style="color: #0000BB">config</span><span style="color: #007700">)(</span><span style="color: #0000BB">rcount</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Return&nbsp;t<br />&nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Function<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Public&nbsp;Sub&nbsp;create_Table</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Using&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbConnection</span><span style="color: #007700">(</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">))<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;cm&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbCommand</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">con</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">CommandText&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"create&nbsp;table&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">tbname<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Closed&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">ExecuteNonQuery</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #DD0000">"تم&nbsp;حفظ&nbsp;الجدول"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Information</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"حفظ&nbsp;جدول"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Finally<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;Sub&nbsp;renametable</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">oldtb&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">newtb&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">ADODB</span><span style="color: #007700">.</span><span style="color: #0000BB">Connection<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con</span><span style="color: #007700">.</span><span style="color: #0000BB">ConnectionString&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;ax&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">ADOX</span><span style="color: #007700">.</span><span style="color: #0000BB">Catalog<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ax</span><span style="color: #007700">.</span><span style="color: #0000BB">ActiveConnection&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">con<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ax</span><span style="color: #007700">.</span><span style="color: #0000BB">Tables</span><span style="color: #007700">(</span><span style="color: #0000BB">oldtb</span><span style="color: #007700">).</span><span style="color: #0000BB">Name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">newtb<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #DD0000">"تم&nbsp;تعديل&nbsp;الاسم&nbsp;بنجاح&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">oldtb&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;الى&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">newtb</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;Sub&nbsp;dropColumn</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ColName&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Using&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbConnection</span><span style="color: #007700">(</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">))<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;cm&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbCommand</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">con</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">CommandText&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"alter&nbsp;table&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;drop&nbsp;Column&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">ColName<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Closed&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">ExecuteNonQuery</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #DD0000">"تم&nbsp;حذف&nbsp;العمود&nbsp;بنجاح"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Information</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"حذف"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Finally<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;Sub&nbsp;droptable</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Using&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbConnection</span><span style="color: #007700">(</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">))<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;cm&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbCommand</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">con</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">CommandText&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"drop&nbsp;table&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">""<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Closed&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">ExecuteNonQuery</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #DD0000">"تم&nbsp;حذف&nbsp;الجدول&nbsp;بنجاح"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Information</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"حذف"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Finally<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;Sub&nbsp;change_column_name</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ColName&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">newcolname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">ADODB</span><span style="color: #007700">.</span><span style="color: #0000BB">Connection<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con</span><span style="color: #007700">.</span><span style="color: #0000BB">ConnectionString&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;ax&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">ADOX</span><span style="color: #007700">.</span><span style="color: #0000BB">Catalog<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ax</span><span style="color: #007700">.</span><span style="color: #0000BB">ActiveConnection&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">con<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ax</span><span style="color: #007700">.</span><span style="color: #0000BB">Tables</span><span style="color: #007700">(</span><span style="color: #0000BB">tbname</span><span style="color: #007700">).</span><span style="color: #0000BB">Columns</span><span style="color: #007700">(</span><span style="color: #0000BB">ColName</span><span style="color: #007700">).</span><span style="color: #0000BB">Name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">newcolname<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #DD0000">"تم&nbsp;تعديل&nbsp;الاسم&nbsp;بنجاح&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">ColName&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;الى&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">newcolname</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;Sub&nbsp;retypecolumn</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ColName&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">coltype&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Using&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbConnection</span><span style="color: #007700">(</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">))<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;cm&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbCommand</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">con</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;cn&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">""<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;ct&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cn&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ColName<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ct&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">coltype<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">CommandText&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"ALTER&nbsp;TABLE&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;ALTER&nbsp;COLUMN&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">cn&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">coltype&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">""<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Closed&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">ExecuteNonQuery</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #DD0000">"تم&nbsp;تغيير&nbsp;نوع&nbsp;عمود:&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">ColName&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;الى&nbsp;نوع:&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">coltype&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;بنجاح&nbsp;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Information</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"save&nbsp;colls"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Finally<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;</span><span style="color: #007700">Function&nbsp;</span><span style="color: #0000BB">getColls</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)&nbsp;As&nbsp;</span><span style="color: #0000BB">DataTable<br />&nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbConnection</span><span style="color: #007700">(</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">))<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;dt&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">DataTable<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;cm&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbCommand</span><span style="color: #007700">(</span><span style="color: #DD0000">"select&nbsp;*&nbsp;from&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">con</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Closed&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dt</span><span style="color: #007700">.</span><span style="color: #0000BB">Load</span><span style="color: #007700">(</span><span style="color: #0000BB">cm</span><span style="color: #007700">.</span><span style="color: #0000BB">ExecuteReader</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Finally<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp;dt<br />&nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Function<br /></span><span style="color: #0000BB">End&nbsp;Module&nbsp;<br /></span></code></div></div></div><div style="text-align: center;" class="mycode_align">اول مرة استفيد من هذه الفكرة اذ انه الان ليس لدي اي اوفيس مثبت فيه الاكسس المتوفر عندي يخلو من الاكسس فقلت لن اتخلى عن الاصدار الحديث اللذي امتلكه(اشتريته ظنا مني انه يحتوي الاكسس و ان الفرق فقط الدفع باشتراك او الدفع مرة واحدة) لانه باصدار 64 بت والقديم لدي 2007 32 بت والنظام 64 بت وفيجوال استوديو 64 بت فليس امامي الا هذه الفكرة فاحببت ان تفيد احد كفكرة او تطبيق.</div>
<div style="text-align: center;" class="mycode_align">اسال الله ان يغفر لي ولكم </div>
<div style="text-align: center;" class="mycode_align">و كل عام وانتم بخير</div>
<div style="text-align: center;" class="mycode_align">هذه عيدية لكل الاعضاء</div>
<hr class="mycode_hr" />
<div style="text-align: center;" class="mycode_align"><span style="color: #ff3333;" class="mycode_color"><span style="font-size: large;" class="mycode_size"><span style="font-family: Arial;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">تنبيه!</span></span></span></span></div>
عن طريق الخطأ اضفت كلمة المرور لاجراء اسناد مسار ملف القاعدة constr فقم بازالتها واجعلها فارغة ان شئت لانها ستحول ملف الاكسس المفتوح الى مغلق بكلمة مرور <span style="font-weight: bold;" class="mycode_b"><span style="color: #ff3333;" class="mycode_color">vb4arb</span></span><br />
<div style="text-align: center;" class="mycode_align"><span style="color: #ff3333;" class="mycode_color"><span style="font-size: x-large;" class="mycode_size"><span style="font-family: Arial;" class="mycode_font">تنبيه!</span></span></span></div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=28870" target="_blank" title="">CustomAccdbManager.zip</a> (الحجم : 28.71 ك ب / التحميلات : 132)
]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/hv6CytvZ/app1.png" loading="lazy"  alt="[صورة مرفقة: app1.png]" class="mycode_img" /><img src="https://i.postimg.cc/pV61XqCQ/app2.png" loading="lazy"  alt="[صورة مرفقة: app2.png]" class="mycode_img" /></div>
<br />
<div style="text-align: center;" class="mycode_align"><iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/vXcC3hq8aYI" frameborder="0" allowfullscreen="true"></iframe></div>
<div style="text-align: center;" class="mycode_align">السلام عليكم ورحمةالله وبركاته</div>
<div style="text-align: center;" class="mycode_align">آمل ان يفيد هذا المثال احد كفكرة او تطبيق وهذا نسخة محدثة <a href="https://vb4arb.com/vb/thread-37538.html" target="_blank" rel="noopener" class="mycode_url">لفكرة </a>اقل منها عملتها سابقا</div>
<div style="text-align: center;" class="mycode_align">المشروع افضل بكثير اضافة ملف قاعدة اكسس جديدة و عدة جداول واعمدة في الاطار الاول الرئيسي</div>
<div style="text-align: center;" class="mycode_align">اما الاطار الاخر فهو للتعديلات كما يظهر الصورتين اعلى هذا الكلام</div>
<div style="text-align: center;" class="mycode_align">password:-sarab</div>
<hr class="mycode_hr" />
<div style="text-align: center;" class="mycode_align">هذا الموديول به كافة العمليات لمن يحب الاكتفاء بها</div>
<div class="codeblock phpcodeblock"><div class="title">PHP كود :</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">Imports&nbsp;System</span><span style="color: #007700">.</span><span style="color: #0000BB">Data</span><span style="color: #007700">.</span><span style="color: #0000BB">Common<br />Imports&nbsp;System</span><span style="color: #007700">.</span><span style="color: #0000BB">Data</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDb<br />Imports&nbsp;System</span><span style="color: #007700">.</span><span style="color: #0000BB">Runtime</span><span style="color: #007700">.</span><span style="color: #0000BB">InteropServices<br />Imports&nbsp;System</span><span style="color: #007700">.</span><span style="color: #0000BB">Xml<br />Module&nbsp;Module1<br />&nbsp; &nbsp; Public&nbsp;config&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">IO</span><span style="color: #007700">.</span><span style="color: #0000BB">Path</span><span style="color: #007700">.</span><span style="color: #0000BB">GetDirectoryName</span><span style="color: #007700">(</span><span style="color: #0000BB">Application</span><span style="color: #007700">.</span><span style="color: #0000BB">ExecutablePath</span><span style="color: #007700">)&nbsp;&amp;&nbsp;</span><span style="color: #DD0000">"&#092;config.txt"<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Public&nbsp;Sub&nbsp;rep</span><span style="color: #007700">(</span><span style="color: #0000BB">ByRef&nbsp;frm&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Form</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; If&nbsp;frm</span><span style="color: #007700">.</span><span style="color: #0000BB">Left&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">Or&nbsp;</span><span style="color: #0000BB">frm</span><span style="color: #007700">.</span><span style="color: #0000BB">Right&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">Screen</span><span style="color: #007700">.</span><span style="color: #0000BB">PrimaryScreen</span><span style="color: #007700">.</span><span style="color: #0000BB">Bounds</span><span style="color: #007700">.</span><span style="color: #0000BB">Right&nbsp;Then&nbsp;frm</span><span style="color: #007700">.</span><span style="color: #0000BB">Left&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0<br />&nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;frm</span><span style="color: #007700">.</span><span style="color: #0000BB">Top&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">Or&nbsp;</span><span style="color: #0000BB">frm</span><span style="color: #007700">.</span><span style="color: #0000BB">Bottom&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">Screen</span><span style="color: #007700">.</span><span style="color: #0000BB">PrimaryScreen</span><span style="color: #007700">.</span><span style="color: #0000BB">Bounds</span><span style="color: #007700">.</span><span style="color: #0000BB">Bottom&nbsp;Then&nbsp;frm</span><span style="color: #007700">.</span><span style="color: #0000BB">Top&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0<br />&nbsp; &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;</span><span style="color: #007700">Function&nbsp;</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">st&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Optional&nbsp;ByVal&nbsp;password&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"vb4arb"</span><span style="color: #007700">)&nbsp;As&nbsp;</span><span style="color: #0000BB">String<br />&nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp;</span><span style="color: #DD0000">"provider=microsoft.ace.oledb.12.0;data&nbsp;source="&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">st&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">";jet&nbsp;oledb:database&nbsp;password="&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">password&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">""<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; End&nbsp;</span><span style="color: #007700">Function<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Public&nbsp;</span><span style="color: #007700">Function&nbsp;</span><span style="color: #0000BB">createdb</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)&nbsp;As&nbsp;</span><span style="color: #0000BB">Boolean<br />&nbsp; &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;objConnection&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">CreateObject</span><span style="color: #007700">(</span><span style="color: #DD0000">"ADOX.Catalog"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;str&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objConnection</span><span style="color: #007700">.</span><span style="color: #0000BB">Create</span><span style="color: #007700">(</span><span style="color: #0000BB">str</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp;True<br />&nbsp; &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp;False<br />&nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; End&nbsp;</span><span style="color: #007700">Function<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Public&nbsp;</span><span style="color: #007700">Function&nbsp;</span><span style="color: #0000BB">GetTables</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)&nbsp;As&nbsp;</span><span style="color: #0000BB">DataSet<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;str&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Dim&nbsp;ds&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">DataSet<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;dt&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">DataTable<br />&nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;conn&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDbConnection</span><span style="color: #007700">(</span><span style="color: #0000BB">str</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;conn</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Closed&nbsp;Then&nbsp;conn</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">conn</span><span style="color: #007700">.</span><span style="color: #0000BB">GetSchema</span><span style="color: #007700">(</span><span style="color: #DD0000">"TABLES"</span><span style="color: #007700">,&nbsp;{</span><span style="color: #0000BB">Nothing</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Nothing</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Nothing</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"TABLE"</span><span style="color: #007700">})<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; For&nbsp;Each&nbsp;dr&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">DataRow&nbsp;In&nbsp;dt</span><span style="color: #007700">.</span><span style="color: #0000BB">Rows<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ds</span><span style="color: #007700">.</span><span style="color: #0000BB">Tables</span><span style="color: #007700">.</span><span style="color: #0000BB">Add</span><span style="color: #007700">(</span><span style="color: #0000BB">dr</span><span style="color: #007700">(</span><span style="color: #DD0000">"TABLE_NAME"</span><span style="color: #007700">))<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Next<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;conn</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;conn</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp;ds<br />&nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Function<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Public&nbsp;Sub&nbsp;createcolls</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">colname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">coltype&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Using&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbConnection</span><span style="color: #007700">(</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">))<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;cm&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbCommand</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">con</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;cn&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">""<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;ct&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cn&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">colname<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ct&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">coltype<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">CommandText&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"ALTER&nbsp;TABLE&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;ADD&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">cn&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">ct<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Closed&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">ExecuteNonQuery</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #DD0000">"تم&nbsp;اضافة&nbsp;عمود:&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">colname&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;الى&nbsp;جدول:&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;بنجاح&nbsp;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Information</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"save&nbsp;colls"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Finally<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;</span><span style="color: #007700">Function&nbsp;</span><span style="color: #0000BB">isdbfount</span><span style="color: #007700">(</span><span style="color: #0000BB">adbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)&nbsp;As&nbsp;</span><span style="color: #0000BB">Boolean<br />&nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp;IO</span><span style="color: #007700">.</span><span style="color: #0000BB">File</span><span style="color: #007700">.</span><span style="color: #0000BB">ReadAllLines</span><span style="color: #007700">(</span><span style="color: #0000BB">config</span><span style="color: #007700">).</span><span style="color: #0000BB">Contains</span><span style="color: #007700">(</span><span style="color: #0000BB">adbpath</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; End&nbsp;</span><span style="color: #007700">Function<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Public&nbsp;</span><span style="color: #007700">Function&nbsp;</span><span style="color: #0000BB">isdbfountreal</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)&nbsp;As&nbsp;</span><span style="color: #0000BB">Boolean<br />&nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp;IO</span><span style="color: #007700">.</span><span style="color: #0000BB">File</span><span style="color: #007700">.</span><span style="color: #0000BB">Exists</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; End&nbsp;</span><span style="color: #007700">Function<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Public&nbsp;</span><span style="color: #007700">Function&nbsp;</span><span style="color: #0000BB">alldbs</span><span style="color: #007700">()&nbsp;As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Return&nbsp;IO</span><span style="color: #007700">.</span><span style="color: #0000BB">File</span><span style="color: #007700">.</span><span style="color: #0000BB">ReadAllLines</span><span style="color: #007700">(</span><span style="color: #0000BB">config</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; End&nbsp;</span><span style="color: #007700">Function<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Function&nbsp;isendwithnewline</span><span style="color: #007700">()&nbsp;As&nbsp;</span><span style="color: #0000BB">String<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;rcount&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Integer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">IO</span><span style="color: #007700">.</span><span style="color: #0000BB">File</span><span style="color: #007700">.</span><span style="color: #0000BB">ReadAllLines</span><span style="color: #007700">(</span><span style="color: #0000BB">config</span><span style="color: #007700">).</span><span style="color: #0000BB">Count<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;t&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">IO</span><span style="color: #007700">.</span><span style="color: #0000BB">File</span><span style="color: #007700">.</span><span style="color: #0000BB">ReadLines</span><span style="color: #007700">(</span><span style="color: #0000BB">config</span><span style="color: #007700">)(</span><span style="color: #0000BB">rcount</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Return&nbsp;t<br />&nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Function<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; Public&nbsp;Sub&nbsp;create_Table</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Using&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbConnection</span><span style="color: #007700">(</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">))<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;cm&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbCommand</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">con</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">CommandText&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"create&nbsp;table&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">tbname<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Closed&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">ExecuteNonQuery</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #DD0000">"تم&nbsp;حفظ&nbsp;الجدول"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Information</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"حفظ&nbsp;جدول"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Finally<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;Sub&nbsp;renametable</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">oldtb&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">newtb&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">ADODB</span><span style="color: #007700">.</span><span style="color: #0000BB">Connection<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con</span><span style="color: #007700">.</span><span style="color: #0000BB">ConnectionString&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;ax&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">ADOX</span><span style="color: #007700">.</span><span style="color: #0000BB">Catalog<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ax</span><span style="color: #007700">.</span><span style="color: #0000BB">ActiveConnection&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">con<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ax</span><span style="color: #007700">.</span><span style="color: #0000BB">Tables</span><span style="color: #007700">(</span><span style="color: #0000BB">oldtb</span><span style="color: #007700">).</span><span style="color: #0000BB">Name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">newtb<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #DD0000">"تم&nbsp;تعديل&nbsp;الاسم&nbsp;بنجاح&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">oldtb&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;الى&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">newtb</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;Sub&nbsp;dropColumn</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ColName&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Using&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbConnection</span><span style="color: #007700">(</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">))<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;cm&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbCommand</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">con</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">CommandText&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"alter&nbsp;table&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;drop&nbsp;Column&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">ColName<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Closed&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">ExecuteNonQuery</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #DD0000">"تم&nbsp;حذف&nbsp;العمود&nbsp;بنجاح"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Information</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"حذف"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Finally<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;Sub&nbsp;droptable</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Using&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbConnection</span><span style="color: #007700">(</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">))<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;cm&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbCommand</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">con</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">CommandText&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"drop&nbsp;table&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">""<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Closed&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">ExecuteNonQuery</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #DD0000">"تم&nbsp;حذف&nbsp;الجدول&nbsp;بنجاح"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Information</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"حذف"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Finally<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;Sub&nbsp;change_column_name</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ColName&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">newcolname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">ADODB</span><span style="color: #007700">.</span><span style="color: #0000BB">Connection<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con</span><span style="color: #007700">.</span><span style="color: #0000BB">ConnectionString&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;ax&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">ADOX</span><span style="color: #007700">.</span><span style="color: #0000BB">Catalog<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ax</span><span style="color: #007700">.</span><span style="color: #0000BB">ActiveConnection&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">con<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ax</span><span style="color: #007700">.</span><span style="color: #0000BB">Tables</span><span style="color: #007700">(</span><span style="color: #0000BB">tbname</span><span style="color: #007700">).</span><span style="color: #0000BB">Columns</span><span style="color: #007700">(</span><span style="color: #0000BB">ColName</span><span style="color: #007700">).</span><span style="color: #0000BB">Name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">newcolname<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #DD0000">"تم&nbsp;تعديل&nbsp;الاسم&nbsp;بنجاح&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">ColName&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;الى&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">newcolname</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;Sub&nbsp;retypecolumn</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ColName&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">coltype&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; Using&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbConnection</span><span style="color: #007700">(</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">))<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;cm&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbCommand</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">con</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;cn&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">""<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;ct&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cn&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ColName<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ct&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">coltype<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">CommandText&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"ALTER&nbsp;TABLE&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;ALTER&nbsp;COLUMN&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">cn&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">coltype&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">""<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Closed&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cm</span><span style="color: #007700">.</span><span style="color: #0000BB">ExecuteNonQuery</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #DD0000">"تم&nbsp;تغيير&nbsp;نوع&nbsp;عمود:&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">ColName&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;الى&nbsp;نوع:&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">coltype&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">"&nbsp;بنجاح&nbsp;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Information</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"save&nbsp;colls"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Finally<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; End&nbsp;Sub<br />&nbsp; &nbsp; Public&nbsp;</span><span style="color: #007700">Function&nbsp;</span><span style="color: #0000BB">getColls</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">)&nbsp;As&nbsp;</span><span style="color: #0000BB">DataTable<br />&nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;con&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbConnection</span><span style="color: #007700">(</span><span style="color: #0000BB">constr</span><span style="color: #007700">(</span><span style="color: #0000BB">dbpath</span><span style="color: #007700">))<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim&nbsp;dt&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">DataTable<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Using&nbsp;cm&nbsp;</span><span style="color: #007700">As&nbsp;New&nbsp;</span><span style="color: #0000BB">OleDb</span><span style="color: #007700">.</span><span style="color: #0000BB">OleDbCommand</span><span style="color: #007700">(</span><span style="color: #DD0000">"select&nbsp;*&nbsp;from&nbsp;"&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">tbname&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">con</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Closed&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Open</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Try<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dt</span><span style="color: #007700">.</span><span style="color: #0000BB">Load</span><span style="color: #007700">(</span><span style="color: #0000BB">cm</span><span style="color: #007700">.</span><span style="color: #0000BB">ExecuteReader</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Catch&nbsp;ex&nbsp;</span><span style="color: #007700">As&nbsp;</span><span style="color: #0000BB">Exception<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox</span><span style="color: #007700">(</span><span style="color: #0000BB">Err</span><span style="color: #007700">.</span><span style="color: #0000BB">Description</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MsgBoxStyle</span><span style="color: #007700">.</span><span style="color: #0000BB">Critical</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"error"</span><span style="color: #007700">)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Finally<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Try<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">State&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ConnectionState</span><span style="color: #007700">.</span><span style="color: #0000BB">Open&nbsp;Then&nbsp;con</span><span style="color: #007700">.</span><span style="color: #0000BB">Close</span><span style="color: #007700">()<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp;dt<br />&nbsp; &nbsp; &nbsp; &nbsp; End&nbsp;Using<br />&nbsp; &nbsp; End&nbsp;</span><span style="color: #007700">Function<br /></span><span style="color: #0000BB">End&nbsp;Module&nbsp;<br /></span></code></div></div></div><div style="text-align: center;" class="mycode_align">اول مرة استفيد من هذه الفكرة اذ انه الان ليس لدي اي اوفيس مثبت فيه الاكسس المتوفر عندي يخلو من الاكسس فقلت لن اتخلى عن الاصدار الحديث اللذي امتلكه(اشتريته ظنا مني انه يحتوي الاكسس و ان الفرق فقط الدفع باشتراك او الدفع مرة واحدة) لانه باصدار 64 بت والقديم لدي 2007 32 بت والنظام 64 بت وفيجوال استوديو 64 بت فليس امامي الا هذه الفكرة فاحببت ان تفيد احد كفكرة او تطبيق.</div>
<div style="text-align: center;" class="mycode_align">اسال الله ان يغفر لي ولكم </div>
<div style="text-align: center;" class="mycode_align">و كل عام وانتم بخير</div>
<div style="text-align: center;" class="mycode_align">هذه عيدية لكل الاعضاء</div>
<hr class="mycode_hr" />
<div style="text-align: center;" class="mycode_align"><span style="color: #ff3333;" class="mycode_color"><span style="font-size: large;" class="mycode_size"><span style="font-family: Arial;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">تنبيه!</span></span></span></span></div>
عن طريق الخطأ اضفت كلمة المرور لاجراء اسناد مسار ملف القاعدة constr فقم بازالتها واجعلها فارغة ان شئت لانها ستحول ملف الاكسس المفتوح الى مغلق بكلمة مرور <span style="font-weight: bold;" class="mycode_b"><span style="color: #ff3333;" class="mycode_color">vb4arb</span></span><br />
<div style="text-align: center;" class="mycode_align"><span style="color: #ff3333;" class="mycode_color"><span style="font-size: x-large;" class="mycode_size"><span style="font-family: Arial;" class="mycode_font">تنبيه!</span></span></span></div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=28870" target="_blank" title="">CustomAccdbManager.zip</a> (الحجم : 28.71 ك ب / التحميلات : 132)
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[البحث في مكانين في ملف القاعدة و في الـ DataTable حال وضع التصفح]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=45920</link>
			<pubDate>Tue, 18 Apr 2023 02:50:04 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=21">سعود</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=45920</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align">بسم  الله الرحمن الرحيم</div>
<div style="text-align: center;" class="mycode_align">البحث في مكانين في ملف القاعدة و في الـ DataTable حال وضع التصفح حيث انه بطبيعة الحال لا يجلب كل البيانات</div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/zvSvF8gd/sss.png" loading="lazy"  alt="[صورة مرفقة: sss.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/L5j5CgyS/ddd.png" loading="lazy"  alt="[صورة مرفقة: ddd.png]" class="mycode_img" /></div>
<br />
<div style="text-align: center;" class="mycode_align">هذا المثال البسيط حسسني اني مبدع<img src="https://vb4arb.com/vb/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" /></div>
<div style="text-align: center;" class="mycode_align">كل عام و انتم بخير قبل الجميع</div>
<hr class="mycode_hr" />
اضفت مربع نص لوضع رقم للمتغير Pagesize لتحديد عدد الصفوف المطلوب عرضها.<br />
<div style="text-align: center;" class="mycode_align"><iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/_3S2RnQc7Dc" frameborder="0" allowfullscreen="true"></iframe></div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=28864" target="_blank" title="">saveIfnotexist.zip</a> (الحجم : 26.66 ك ب / التحميلات : 119)
]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align">بسم  الله الرحمن الرحيم</div>
<div style="text-align: center;" class="mycode_align">البحث في مكانين في ملف القاعدة و في الـ DataTable حال وضع التصفح حيث انه بطبيعة الحال لا يجلب كل البيانات</div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/zvSvF8gd/sss.png" loading="lazy"  alt="[صورة مرفقة: sss.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/L5j5CgyS/ddd.png" loading="lazy"  alt="[صورة مرفقة: ddd.png]" class="mycode_img" /></div>
<br />
<div style="text-align: center;" class="mycode_align">هذا المثال البسيط حسسني اني مبدع<img src="https://vb4arb.com/vb/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" /></div>
<div style="text-align: center;" class="mycode_align">كل عام و انتم بخير قبل الجميع</div>
<hr class="mycode_hr" />
اضفت مربع نص لوضع رقم للمتغير Pagesize لتحديد عدد الصفوف المطلوب عرضها.<br />
<div style="text-align: center;" class="mycode_align"><iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/_3S2RnQc7Dc" frameborder="0" allowfullscreen="true"></iframe></div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=28864" target="_blank" title="">saveIfnotexist.zip</a> (الحجم : 26.66 ك ب / التحميلات : 119)
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[جديد ] التحرير في ملف اكسل]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=45660</link>
			<pubDate>Sun, 12 Mar 2023 08:54:31 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=21">سعود</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=45660</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/4xVBJ0cC/sss.png" loading="lazy"  alt="[صورة مرفقة: sss.png]" class="mycode_img" /></div>
<br />
<div style="text-align: center;" class="mycode_align">السلام عليكم ورحمة الله و بركاته</div>
<div style="text-align: center;" class="mycode_align">أقصد بالجديد علي شخصيا<img src="https://vb4arb.com/vb/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" /></div>
<div style="text-align: center;" class="mycode_align">بصراحة ماكنت اتوقع سهولة التعامل مع الاكسل وانه لا يحتاج الا خطوتين فقط لتتعامل معه وكانك تتعامل مع الاكسس وبنفس ال_ provider  مع اضافة لنص الاتصال في آخر جملة الاتصال</div>
<div style="text-align: center;" class="mycode_align">كلمة المرور sarab</div>
<div style="text-align: center;" class="mycode_align">صباح الخير</div>
<div style="text-align: center;" class="mycode_align"><span style="font-weight: bold;" class="mycode_b"><span style="color: #ff3333;" class="mycode_color">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span></span></div>
<div style="text-align: center;" class="mycode_align">نسيت ان انبه الى انه لا بد من اضافة التالية كمرجع:</div>
<div style="text-align: center;" class="mycode_align">Microsoft.Office.Interop.Excel</div>
<div style="text-align: center;" class="mycode_align">ووصفها ضمن تبويب الـCom الخاص بالـReference التالي:</div>
<div style="text-align: center;" class="mycode_align">Microsoft Excel 12.0 Object Library</div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=28749" target="_blank" title="">ExcelBook.zip</a> (الحجم : 25.17 ك ب / التحميلات : 65)
]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/4xVBJ0cC/sss.png" loading="lazy"  alt="[صورة مرفقة: sss.png]" class="mycode_img" /></div>
<br />
<div style="text-align: center;" class="mycode_align">السلام عليكم ورحمة الله و بركاته</div>
<div style="text-align: center;" class="mycode_align">أقصد بالجديد علي شخصيا<img src="https://vb4arb.com/vb/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" /></div>
<div style="text-align: center;" class="mycode_align">بصراحة ماكنت اتوقع سهولة التعامل مع الاكسل وانه لا يحتاج الا خطوتين فقط لتتعامل معه وكانك تتعامل مع الاكسس وبنفس ال_ provider  مع اضافة لنص الاتصال في آخر جملة الاتصال</div>
<div style="text-align: center;" class="mycode_align">كلمة المرور sarab</div>
<div style="text-align: center;" class="mycode_align">صباح الخير</div>
<div style="text-align: center;" class="mycode_align"><span style="font-weight: bold;" class="mycode_b"><span style="color: #ff3333;" class="mycode_color">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span></span></div>
<div style="text-align: center;" class="mycode_align">نسيت ان انبه الى انه لا بد من اضافة التالية كمرجع:</div>
<div style="text-align: center;" class="mycode_align">Microsoft.Office.Interop.Excel</div>
<div style="text-align: center;" class="mycode_align">ووصفها ضمن تبويب الـCom الخاص بالـReference التالي:</div>
<div style="text-align: center;" class="mycode_align">Microsoft Excel 12.0 Object Library</div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=28749" target="_blank" title="">ExcelBook.zip</a> (الحجم : 25.17 ك ب / التحميلات : 65)
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[لا جديد الا في كود البحث(محاولة ايجاد اقصر كود للحفظ)]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=45649</link>
			<pubDate>Fri, 10 Mar 2023 14:26:41 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=21">سعود</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=45649</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/GtfTVSB8/form.png" loading="lazy"  alt="[صورة مرفقة: form.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">السطر التالي يطلب تنفيذ اجرائين لتحديد الصف والحقل</div>
<div style="text-align: center;" class="mycode_align">اضافة الى اشياء اخرى معروفة تكمل بعضها اضفتها ليكتمل المثال</div>
<div style="text-align: center;" class="mycode_align">الموجود اكواد الاضافة والتحرير او التحديث فقط</div>
<div class="codeblock phpcodeblock"><div class="title">PHP كود :</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; dg</span><span style="color: #007700">.</span><span style="color: #0000BB">CurrentCell&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">dg</span><span style="color: #007700">.</span><span style="color: #0000BB">Rows</span><span style="color: #007700">(</span><span style="color: #0000BB">trowindex</span><span style="color: #007700">(</span><span style="color: #0000BB">txtsearch</span><span style="color: #007700">.</span><span style="color: #0000BB">Text</span><span style="color: #007700">)).</span><span style="color: #0000BB">Cells</span><span style="color: #007700">(</span><span style="color: #0000BB">cellindex</span><span style="color: #007700">(</span><span style="color: #0000BB">txtsearch</span><span style="color: #007700">.</span><span style="color: #0000BB">Text</span><span style="color: #007700">))&nbsp;<br /></span></code></div></div></div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=28739" target="_blank" title="">SaveMoreOne.zip</a> (الحجم : 44.22 ك ب / التحميلات : 46)
]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/GtfTVSB8/form.png" loading="lazy"  alt="[صورة مرفقة: form.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">السطر التالي يطلب تنفيذ اجرائين لتحديد الصف والحقل</div>
<div style="text-align: center;" class="mycode_align">اضافة الى اشياء اخرى معروفة تكمل بعضها اضفتها ليكتمل المثال</div>
<div style="text-align: center;" class="mycode_align">الموجود اكواد الاضافة والتحرير او التحديث فقط</div>
<div class="codeblock phpcodeblock"><div class="title">PHP كود :</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; dg</span><span style="color: #007700">.</span><span style="color: #0000BB">CurrentCell&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">dg</span><span style="color: #007700">.</span><span style="color: #0000BB">Rows</span><span style="color: #007700">(</span><span style="color: #0000BB">trowindex</span><span style="color: #007700">(</span><span style="color: #0000BB">txtsearch</span><span style="color: #007700">.</span><span style="color: #0000BB">Text</span><span style="color: #007700">)).</span><span style="color: #0000BB">Cells</span><span style="color: #007700">(</span><span style="color: #0000BB">cellindex</span><span style="color: #007700">(</span><span style="color: #0000BB">txtsearch</span><span style="color: #007700">.</span><span style="color: #0000BB">Text</span><span style="color: #007700">))&nbsp;<br /></span></code></div></div></div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=28739" target="_blank" title="">SaveMoreOne.zip</a> (الحجم : 44.22 ك ب / التحميلات : 46)
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ارتجال برنامج طلاب ومواد ودرجات]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=45626</link>
			<pubDate>Sun, 05 Mar 2023 20:55:26 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=21">سعود</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=45626</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/y6TyxWsw/dbb.png" loading="lazy"  alt="[صورة مرفقة: dbb.png]" class="mycode_img" /></div>
<br />
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/Z5WQ66q9/dd.png" loading="lazy"  alt="[صورة مرفقة: dd.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/4dFGJsLq/f1.png" loading="lazy"  alt="[صورة مرفقة: f1.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/C53VqJV4/f2.png" loading="lazy"  alt="[صورة مرفقة: f2.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/XJBMzWqv/bestform.png" loading="lazy"  alt="[صورة مرفقة: bestform.png]" class="mycode_img" /></div>
<br />
<div style="text-align: center;" class="mycode_align">السلام عليكم و رحمة الله و بركاته</div>
<div style="text-align: center;" class="mycode_align">ليست لدي اي خبرة بموضوع قواعد بيانات المدارس او الطلاب و لكن ارتجلت هذا المثال البسيط لعلها تجد من تفيده </div>
<div style="text-align: center;" class="mycode_align">و من يجد الوقت لتحسينه لعلي و غيري استفيد / يستفيد فبارك الله فيه</div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/tJL4MDpK/ccc.png" loading="lazy"  alt="[صورة مرفقة: ccc.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">آمل ان تكون بداية مفيدة  لاي مبتديء</div>
<div style="text-align: center;" class="mycode_align">و السلام عليكم و رحمة الله و بركاته</div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=28726" target="_blank" title="">Students_Class_Courses.zip</a> (الحجم : 73.97 ك ب / التحميلات : 99)
]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/y6TyxWsw/dbb.png" loading="lazy"  alt="[صورة مرفقة: dbb.png]" class="mycode_img" /></div>
<br />
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/Z5WQ66q9/dd.png" loading="lazy"  alt="[صورة مرفقة: dd.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/4dFGJsLq/f1.png" loading="lazy"  alt="[صورة مرفقة: f1.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/C53VqJV4/f2.png" loading="lazy"  alt="[صورة مرفقة: f2.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/XJBMzWqv/bestform.png" loading="lazy"  alt="[صورة مرفقة: bestform.png]" class="mycode_img" /></div>
<br />
<div style="text-align: center;" class="mycode_align">السلام عليكم و رحمة الله و بركاته</div>
<div style="text-align: center;" class="mycode_align">ليست لدي اي خبرة بموضوع قواعد بيانات المدارس او الطلاب و لكن ارتجلت هذا المثال البسيط لعلها تجد من تفيده </div>
<div style="text-align: center;" class="mycode_align">و من يجد الوقت لتحسينه لعلي و غيري استفيد / يستفيد فبارك الله فيه</div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/tJL4MDpK/ccc.png" loading="lazy"  alt="[صورة مرفقة: ccc.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">آمل ان تكون بداية مفيدة  لاي مبتديء</div>
<div style="text-align: center;" class="mycode_align">و السلام عليكم و رحمة الله و بركاته</div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=28726" target="_blank" title="">Students_Class_Courses.zip</a> (الحجم : 73.97 ك ب / التحميلات : 99)
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[نسخ جداول و اعمدة قاعدة الى قاعدة اخرى فارغة]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=42015</link>
			<pubDate>Sun, 24 Jul 2022 21:46:09 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=21">سعود</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=42015</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align">بسم الله الرحمن الرحيم<br />
السلام عليكم ورحمة الله وبركاته<br />
الحمدلله رب العالمين الرحمن الرحيم و الصلاة والسلام على اشرف الانبياء و المرسلين نبينا محمد و على آله و صحبه اجمعين اما بعد:</div>
<br />
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/c1ppvnHP/v.jpg" loading="lazy"  alt="[صورة مرفقة: v.jpg]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/X79TdYBq/v2.jpg" loading="lazy"  alt="[صورة مرفقة: v2.jpg]" class="mycode_img" /></div>
<br />
<div style="text-align: center;" class="mycode_align">اذا واجهت خطا بتعريف الحقل فتاكد من تسميتها عندي ظلت تظهر رسالة الخطا هذه الى ان اصلحتها و ربما ما صح بجهازي لا يصح بجهازك و الله اعلم</div>
<div style="text-align: center;" class="mycode_align">المهم انها سهلة</div>
<div style="text-align: center;" class="mycode_align">كلمة المرور vb4arb</div>
<br />
<div style="text-align: center;" class="mycode_align">معذرة فلم اتطرق لنقل البيانات فقط الاسماء والاعمدة الخاصة بالجداول اما لو تبقى شيء غير هذه باستثناء البيانات فلا اعرف لها طريقة</div>
<div style="text-align: center;" class="mycode_align">استثنيت البيانات لانها بسيطة ومتعودين عليها شبه يومي</div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=28017" target="_blank" title="">Tablescopyer.zip</a> (الحجم : 15.76 ك ب / التحميلات : 78)
]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align">بسم الله الرحمن الرحيم<br />
السلام عليكم ورحمة الله وبركاته<br />
الحمدلله رب العالمين الرحمن الرحيم و الصلاة والسلام على اشرف الانبياء و المرسلين نبينا محمد و على آله و صحبه اجمعين اما بعد:</div>
<br />
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/c1ppvnHP/v.jpg" loading="lazy"  alt="[صورة مرفقة: v.jpg]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/X79TdYBq/v2.jpg" loading="lazy"  alt="[صورة مرفقة: v2.jpg]" class="mycode_img" /></div>
<br />
<div style="text-align: center;" class="mycode_align">اذا واجهت خطا بتعريف الحقل فتاكد من تسميتها عندي ظلت تظهر رسالة الخطا هذه الى ان اصلحتها و ربما ما صح بجهازي لا يصح بجهازك و الله اعلم</div>
<div style="text-align: center;" class="mycode_align">المهم انها سهلة</div>
<div style="text-align: center;" class="mycode_align">كلمة المرور vb4arb</div>
<br />
<div style="text-align: center;" class="mycode_align">معذرة فلم اتطرق لنقل البيانات فقط الاسماء والاعمدة الخاصة بالجداول اما لو تبقى شيء غير هذه باستثناء البيانات فلا اعرف لها طريقة</div>
<div style="text-align: center;" class="mycode_align">استثنيت البيانات لانها بسيطة ومتعودين عليها شبه يومي</div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=28017" target="_blank" title="">Tablescopyer.zip</a> (الحجم : 15.76 ك ب / التحميلات : 78)
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[الجديد حاجة واحدة بالنسبة لي بخصوص التعامل مع  الداتاتيبل]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=42012</link>
			<pubDate>Sun, 24 Jul 2022 16:12:24 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=21">سعود</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=42012</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align">بسم الله الرحمن الرحيم<br />
السلام عليكم ورحمة الله وبركاته<br />
الحمدلله رب العالمين الرحمن الرحيم و الصلاة والسلام على اشرف الانبياء و المرسلين نبينا محمد و على آله و صحبه اجمعين اما بعد:</div>
<br />
<br />
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/Y2Tjr9HC/dgv.jpg" loading="lazy"  alt="[صورة مرفقة: dgv.jpg]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">نفس موضوعي التالي:</div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">[مشروع] </span></span></span><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b"><a href="https://vb4arb.com/vb/thread-42011.html" target="_blank" rel="noopener" class="mycode_url"><span style="color: #0072bc;" class="mycode_color">الجديد حاجة واحدة بالنسبة لي بخصوص التعامل مع الملفات النصية</span></a></span></span></span></div>
<br />
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">لكن مع اكسس حيث بعد الاضافة لن يتم جلب كل البيانات فقط ماتم ادخاله وايضا هذا له ثمن في موضوع الترقيم لكن وضعت ترقيم مؤقت  وعند التحميل مرة اخرى يتم وضع كل شيء بمكانه</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">كلمة المرور vb4arb</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">ملاحظة!</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">في فورم رقم 2</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">Form2</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">هذا خاص بموضوع هنا:</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><a href="https://vb4arb.com/vb/thread-42003.html" target="_blank" rel="noopener" class="mycode_url"><span style="color: #0072bc;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">نسخ محتويات جدول الى قاعدة جديدة بنفس الجدول</span></span></span></a></span></span></div>
<br />
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">لكن لم افهم بشكل كامل ماهو المطلوب خشيت ان لديه كود افضل ويود تعديله فقط</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">على كل حال الفورم رقم 2 ينسخ الجداول واعمدتها اذا حدث خطا بموضوع تنسيق الحقل فالمشروع مفتوح المصدر يمكن لاي شخص اضافة او تعديل مسمى من المسميات مثل</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">oleobject</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">datetime</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">counter</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">int</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">string</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"> و غيرها</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">والسلام عليكم و رحمة الله و بركاته</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">عغ يحطخغ ب يحهدااج حث اعاق جث غيهوا حخث اعاق جث ظزيقها</span></span></div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=28015" target="_blank" title="">withmydgv.zip</a> (الحجم : 41.26 ك ب / التحميلات : 42)
]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align">بسم الله الرحمن الرحيم<br />
السلام عليكم ورحمة الله وبركاته<br />
الحمدلله رب العالمين الرحمن الرحيم و الصلاة والسلام على اشرف الانبياء و المرسلين نبينا محمد و على آله و صحبه اجمعين اما بعد:</div>
<br />
<br />
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/Y2Tjr9HC/dgv.jpg" loading="lazy"  alt="[صورة مرفقة: dgv.jpg]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">نفس موضوعي التالي:</div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">[مشروع] </span></span></span><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b"><a href="https://vb4arb.com/vb/thread-42011.html" target="_blank" rel="noopener" class="mycode_url"><span style="color: #0072bc;" class="mycode_color">الجديد حاجة واحدة بالنسبة لي بخصوص التعامل مع الملفات النصية</span></a></span></span></span></div>
<br />
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">لكن مع اكسس حيث بعد الاضافة لن يتم جلب كل البيانات فقط ماتم ادخاله وايضا هذا له ثمن في موضوع الترقيم لكن وضعت ترقيم مؤقت  وعند التحميل مرة اخرى يتم وضع كل شيء بمكانه</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">كلمة المرور vb4arb</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">ملاحظة!</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">في فورم رقم 2</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">Form2</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">هذا خاص بموضوع هنا:</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><a href="https://vb4arb.com/vb/thread-42003.html" target="_blank" rel="noopener" class="mycode_url"><span style="color: #0072bc;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">نسخ محتويات جدول الى قاعدة جديدة بنفس الجدول</span></span></span></a></span></span></div>
<br />
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">لكن لم افهم بشكل كامل ماهو المطلوب خشيت ان لديه كود افضل ويود تعديله فقط</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">على كل حال الفورم رقم 2 ينسخ الجداول واعمدتها اذا حدث خطا بموضوع تنسيق الحقل فالمشروع مفتوح المصدر يمكن لاي شخص اضافة او تعديل مسمى من المسميات مثل</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">oleobject</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">datetime</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">counter</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">int</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">string</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"> و غيرها</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">والسلام عليكم و رحمة الله و بركاته</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">عغ يحطخغ ب يحهدااج حث اعاق جث غيهوا حخث اعاق جث ظزيقها</span></span></div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=28015" target="_blank" title="">withmydgv.zip</a> (الحجم : 41.26 ك ب / التحميلات : 42)
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ترقيم تلقائي لرقم ضمن نص]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=40024</link>
			<pubDate>Thu, 18 Nov 2021 05:59:37 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=21">سعود</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=40024</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/59g0QB6c/22.png" loading="lazy"  alt="[صورة مرفقة: 22.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">[سؤال] </span></span></span><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b"><a href="https://vb4arb.com/vb/showthread.php?tid=40020" target="_blank" rel="noopener" class="mycode_url"><span style="color: #0072bc;" class="mycode_color">زيادة رقم واحد بعد اكبر رقم في العمود</span></a></span></span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">اساس الفكرة من الرابط</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">وهو زيادة رقم بمقدار +1 على رقم محفوظ بصيغة نصية مثل ماهو ظاهر بالصورة</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">والمشروع مرفق بدون كلمة مرور</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">حي يقغا حجيفي وزص يحثيظ حي الو يث اثدغ عغ طخغي جز يثت حي اخحذت طائي.</span></span></div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=27249" target="_blank" title="">increasenumber.zip</a> (الحجم : 30.79 ك ب / التحميلات : 71)
]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/59g0QB6c/22.png" loading="lazy"  alt="[صورة مرفقة: 22.png]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">[سؤال] </span></span></span><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b"><a href="https://vb4arb.com/vb/showthread.php?tid=40020" target="_blank" rel="noopener" class="mycode_url"><span style="color: #0072bc;" class="mycode_color">زيادة رقم واحد بعد اكبر رقم في العمود</span></a></span></span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">اساس الفكرة من الرابط</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">وهو زيادة رقم بمقدار +1 على رقم محفوظ بصيغة نصية مثل ماهو ظاهر بالصورة</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">والمشروع مرفق بدون كلمة مرور</span></span></div>
<div style="text-align: center;" class="mycode_align"><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size">حي يقغا حجيفي وزص يحثيظ حي الو يث اثدغ عغ طخغي جز يثت حي اخحذت طائي.</span></span></div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=27249" target="_blank" title="">increasenumber.zip</a> (الحجم : 30.79 ك ب / التحميلات : 71)
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[ليس جديد](انشاء قاعدة بيانات اكسس و جداولها واعمدتها وقت التشغيل) <أدخل لتعرف>]]></title>
			<link>https://vb4arb.com/vb/showthread.php?tid=37538</link>
			<pubDate>Tue, 19 Jan 2021 23:34:13 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://vb4arb.com/vb/member.php?action=profile&uid=21">سعود</a>]]></dc:creator>
			<guid isPermaLink="false">https://vb4arb.com/vb/showthread.php?tid=37538</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align">بسم الله الرحمن الرحيم</div>
<div style="text-align: center;" class="mycode_align">السلام عليكم ورحمة الله وبركاته</div>
<div style="text-align: center;" class="mycode_align">مثال على السريع ليس القصد تقديم أداة و انما الافكار تتطاير و احب ان اوثقها قبل نسيانها</div>
<div style="text-align: center;" class="mycode_align">افضل تطبيق للفكرة <a href="https://vb4arb.com/vb/thread-45926-post-191701.html#pid191701" target="_blank" rel="noopener" class="mycode_url">هنا</a></div>
<br />
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/xjPFtFLM/form2021.jpg" loading="lazy"  alt="[صورة مرفقة: form2021.jpg]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/vTXqTcG3/db2021.jpg" loading="lazy"  alt="[صورة مرفقة: db2021.jpg]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">اسال الله جل وعلا ان يوفق الجميع لكل خير</div>
<div style="text-align: center;" class="mycode_align">password:vb4arb;</div>
<div style="text-align: center;" class="mycode_align"><span style="font-weight: bold;" class="mycode_b"><span style="color: #ff3333;" class="mycode_color">فيه نوع نسيته وهو </span></span></div>
<div style="text-align: center;" class="mycode_align">oleobject</div>
<div style="text-align: center;" class="mycode_align">والسلام عليكم ورحمة الله و بركاته</div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="" border="0" alt=".rar" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=26341" target="_blank" title="">with_form_2021.rar</a> (الحجم : 28.84 ك ب / التحميلات : 175)
]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align">بسم الله الرحمن الرحيم</div>
<div style="text-align: center;" class="mycode_align">السلام عليكم ورحمة الله وبركاته</div>
<div style="text-align: center;" class="mycode_align">مثال على السريع ليس القصد تقديم أداة و انما الافكار تتطاير و احب ان اوثقها قبل نسيانها</div>
<div style="text-align: center;" class="mycode_align">افضل تطبيق للفكرة <a href="https://vb4arb.com/vb/thread-45926-post-191701.html#pid191701" target="_blank" rel="noopener" class="mycode_url">هنا</a></div>
<br />
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/xjPFtFLM/form2021.jpg" loading="lazy"  alt="[صورة مرفقة: form2021.jpg]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align"><img src="https://i.postimg.cc/vTXqTcG3/db2021.jpg" loading="lazy"  alt="[صورة مرفقة: db2021.jpg]" class="mycode_img" /></div>
<div style="text-align: center;" class="mycode_align">اسال الله جل وعلا ان يوفق الجميع لكل خير</div>
<div style="text-align: center;" class="mycode_align">password:vb4arb;</div>
<div style="text-align: center;" class="mycode_align"><span style="font-weight: bold;" class="mycode_b"><span style="color: #ff3333;" class="mycode_color">فيه نوع نسيته وهو </span></span></div>
<div style="text-align: center;" class="mycode_align">oleobject</div>
<div style="text-align: center;" class="mycode_align">والسلام عليكم ورحمة الله و بركاته</div><br />
<br />
<img src="https://vb4arb.com/vb/images/attachtypes/zip.gif" title="" border="0" alt=".rar" />
&nbsp;&nbsp;<a class="attachembed" href="attachment.php?aid=26341" target="_blank" title="">with_form_2021.rar</a> (الحجم : 28.84 ك ب / التحميلات : 175)
]]></content:encoded>
		</item>
	</channel>
</rss>