Print Page | Close Window

just something simple....

Printed From: Mirage Source
Category: Tutorials
Forum Name: Temporary Archive (Read Only)
Forum Discription: Temporary 3.0.3 archive tutorials, will be deleted when converted.
URL: http://ms.shannaracorp.com/backup-forums/forum_posts.asp?TID=156
Printed Date: 20 December 2006 at 5:52pm
Software Version: Web Wiz Forums 8.01 - http://www.webwizforums.com


Topic: just something simple....
Posted By: Sync
Subject: just something simple....
Date Posted: 11 February 2006 at 3:10pm
lol.......i am bored.......:P.........here u go to all the noobs(no offense) that are learning........this is cool to have on ur client..............its just a link to a website (whatever website u want)

make a command wherever in frm mirage called cmdlink.......and make the caption whatever u want it to say.link to

at the very top of frmmirage code under option explicit add

Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Const SW_SHOWNORMAL As Long = 1


then somewhere in frmmirage type this code

Private Sub cmdLink_Click()
Call ShellExecute(0&, vbNullString, "your website", vbNullString, vbNullString, SW_SHOWNORMAL)
End Sub



then ur done........just a simple link to ur website but it looks cool......
u can make as many as u like............i made one goin to bugreport section in my forums, one to the main forums page of mine and one to my main website...................have fun with this little code....



Print Page | Close Window

Bulletin Board Software by Web Wiz Forums version 8.01 - http://www.webwizforums.com
Copyright ©2001-2006 Web Wiz Guide - http://www.webwizguide.info