Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

VBÀïÈçºÎÖÆ×÷Ò»¸ö±äÁ¿µÄ¸Ä±äÒý·¢Ò»¸öʼþ???

ÒÔǰÔÚVBÀï¶¼ÊÇÓÃTIMERÀ´¼ì²âijЩ±äÁ¿µÄ¸Ä±ä £¬È»ºó¶Ô³ÌÐò½øÐд¦Àí  ÕâʹµÄ³ÌÐò´¦Àí·´Ó³±äÂý  £¬²»ÖªµÀÓÐû°ì·¨ÖÆ×÷Ò»¾Í¸ö±äÁ¿¸Ä±ä¾ÍÄÜÒý·¢Ò»¸öʼþ£¬°ÝÍи÷λÁË

Õâ¸öû°ì·¨£¬
×Ô¼ºÐ´¸öÀ࣬Ū¸ö¶¨Ê±Æ÷£¬µ±·¢ÏÖij¸öÐèÒª¼à¿ØµÄ±äÁ¿±ä»¯£¬¾Íraiseevent°É¡£

¶Ô×űäÁ¿µãÓÒ¼ü²Ëµ¥ÀïÑ¡Ôñ¡°Ìí¼Ó¼àÊÓ¡±¾Í¿ÉÒÔÁË

ÎÒÈ¥ÊÔÊÔ

ÓÖѧµ½Ò»ÕÐ

²»Ðа¡  ÄǸöºÃÏñÊÇÓÃÀ´²é´íµÄ

²ì¿´±äÁ¿±ä»¯Õâ¸ö¿Ï¶¨¿ÉÒԵ쬳ý·ÇÊÇÄãûÓöÔ

Ö÷ÒªÊÇÎÒÏëÔÚ±äÁ¿¸Ä±äʱ²úÉú¸ö¶ÔÓ¦µÄ´¦Àíʼþ ÀýÈ絯³ö¸öMSGBOXÁË¡£  ʹÓÃÄãµÄ·½·¨ÎÒ¾ÍÖ»²úÉúÁËÒ»¸öÖжϠ ¾Í²»ÖªµÀ½ÓÏÂÀ´¸ÃÔõô´¦Àí

¹þ¹þÓÐÁËÖжϾͺðìÁ˰¡
¼ÇµÃÀÏÂíǰ¶Îʱ¼äÓÐÆª¹ØÓÚÖжϵÄÎÄÕÂ

ÎÒÈ¥ÕÒÕÒ  ºÇºÇ~~

·Å¸öÒþ²ØÎı¾¿ò´úÌæ±äÁ¿£¬ÓÃÎı¾¿òµÄChange()ʼþ£¬µ÷Íê³ÌÐòÔٸĻØÀ´



Private WithEvents Class As UserControl ÕâÒ»¾äûÓã¬ÊÇÕ³´íÁË

лл´ó¼ÒÁË    ÎÒÔÙÈ¥¿´¿´  ÏÈ·Ö·Ö°É~~~

ÒýÓÃ
ÒýÓà 12 Â¥ aisac µÄ»Ø¸´:
д¸öÀ࣬Ȼºó½«±äÁ¿¸Ä³ÉÊôÐÔ£¬ÔÙset/letÊôÐԵķ½·¨Àï¼ÓÉÏÄãÒªµÄʼþ¡£
VB codeprivate sNameasstringpublicpropertylet ClsName(byval s_nameasstring)
sName= s_name'ÄãµÄʼþ´úÂëend property

°´ÕÕÂ¥ÉÏ˵µÄʵ¼ùÁËÒ»ÏÂÊDz»ÊÇÕâÑù£º
ÀàÎļþ£ºmycalss
VB codePrivate WithEvents ClassAs UserControlPrivate mvarIntValueAsIntegerPublic Event IntChange()PublicPropertyLet IntValue(ByVal vDataAsInteger)
    mvarIntValue= vData
    RaiseEvent IntChange


Ïà¹ØÎÊ´ð£º

VB »ñÈ¡ÍøÒ³Ô´´úÂë

Ò»¸ö²éѯijÐÅÏ¢µÄASPÍøÒ³£¬Ìá½»²ÉÓõÄÊÇpost·½·¨£¬²éÕÒ½á¹ûµÄÍøÒ³±ØÐëÓÒ¼üµã»÷¡°²é¿´Ô´Îļþ¡±²ÅÄÜ¿´µ½ÕæÕý²éѯ½á¹ûÍøÒ³µÄÔ´´úÂ룬ÓÃä¯ÀÀÆ÷²Ëµ¥¿´µ½µÄÊDzéѯǰµÄÔ´´úÂë
ÓÃVBÓÐʲô°ì·¨¿ÉÒÔ»ñÈ¡µ½Õâ¸ö²éѯºóµÄÔ´´ú ......

VBÈçºÎ×èֹij³ÌÐòÔËÐС££¿

±ÈÈç½ø³Ì¼ÓÔØÐµijÌÐò¡£

ÔÚÆäÔËÐÐ֮ǰ×èÖ¹¡£

È»ºóÔÊÐíºó·ÅÐС£


±ÈÈç³ÌÐòÖ÷Îļþ·¾¶ÊÇc:\test\test.exe£¬½¨Á¢ÄÚÈÝÈÎÒâµÄÎļþc:\test\test.exe.manifest¡£

¾ÍÊDz»ÖªµÀ³ÌÐòÎļþ·¾¶¡£

ÉèÖ ......

vb´òÓ¡

ÒªÓÃvb´òÓ¡Ò»ÌõÏߣ¬³¤¶ÈÊÇ100ºÁÃ×Ôõôд£¿
¹Ø×¢

VB code:
Printer.ScaleMode = vbMillimeters
Printer.Line (10, 10)-(110, 10)

    Printer.ScaleMode = vbMillimeters
    Print ......

vbÖÐsqlÓï¾äÒýºÅÎÊÌâ

"insert into user1(name,age) values('" & Text1.Text & "','" & Text2.Text & "' )"
ÎÊÌ⣺¶ÔsqlÓï¾äÖе¥¡¢Ë«ÒýºÅÄ£ºý¡£¼ÈÈ» Text1.Text¾Í±íʾ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ