Chương trình Tô mỳ Minh duy

Giải quyết hiệu quả vấn đề trong những mối quan hệ

registerDLLsilently.vbs

Set sh = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
sys = fso.GetSpecialFolder(1)
DLLPath = "C:\test\vb\WindowsSolution1\" & _
"WindowsApplication1\bin\Debug\WindowsApplication1.dll"
sh.Run(sys & "\regsvr32.exe /S /U " & Chr(34) & DLLPath & Chr(34))
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Information

This entry was posted on 22-07-2011 by in Minh Duy.
%d bloggers like this: