Visual Basic ndihme per XP....

Scherzzi6

Primus registratum
Visual Basic ndihme per XP....

Neqoftese dikush nga ju ka ndonje manual per VB 6 /pf/images/graemlins/frown.gif ngaqe nuk kuptoi si funksionojne DLL me VB.
P.SH.
Private Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long
Private Const EWX_LOGOFF = 0
Private Const EWX_SHUTDOWN = 1
Private Const EWX_REBOOT = 2
Private Const EWX_FORCE = 4

Si mund ti gjeje une keto:
Private Const EWX_LOGOFF = 0
Private Const EWX_SHUTDOWN = 1
Private Const EWX_REBOOT = 2
Private Const EWX_FORCE = 4

Me ndimoni...
Ka ndonje program per per ti pare?
une kam nje program ShowDLL qe te tregon funksionet e nje DLL. P.sh
ExitWindowsEx
Ne qoftes e doni lini e-mailin tuaj .
i imi eshte scherzzi6@hotmail.com
/pf/images/graemlins/laugh.gif
 

a-alket

Primus registratum
Re: Visual Basic ndihme per XP....

hap excel, shko tek Tools->Macro->Visual Basic Editor

kur te jesh ne VB editor, shko tek View->Object Browser


Ose, nqs ke Visual Studio mund te hapesh Object Browser.

Gjithashtu mund te perdoresh dhe OLE/COM browser, megjithese ai eshte per perdorim nga ata qe merren me COM/COM+ design sepse eshte shume i detajuar.
 

Scherzzi6

Primus registratum
Re: Visual Basic ndihme per XP....

bscemscs nuk e kuptova mire si perdoret object Browser. mund me thash ku mund te gjej nje manual.
pune te mbare
 

a-alket

Primus registratum
Re: Visual Basic ndihme per XP....

per te perdorur dll ne VBasic, duhet ti shtosh si referenca ne project.

Ashtu sic ben

Dim a As Long

nqs nje dll te jep nje objekt te tipit 'email' atehere ti mund te deklarosh:

Dim b As Email
Set b = New Email

cdo objekt ka veti (properties) dhe funksione qe mund te kryeje (methods)

b.ToAddress = "a@b.com" 'property
b.CCAddress = "b@c.com" 'property
b.Body = "Mesazh per te testuar VB" 'property
b.Send 'method


website per me shume:

www.codeguru.com
www.experts-exchange.com
http://msdn.microsoft.com/vbasic/


ose kerko ne google per "Visual Basic Manual"
 

a-alket

Primus registratum
Re: Visual Basic ndihme per XP....

se harrova, Object Browser te tregon se c'funksione dhe veti ka nje objekt i krijuar nga dll.
 
Top