Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO 2.3]hyper link button.


DMF
 Share

Recommended Posts

this is a code that ive used for a few years. its worked on TE ,EE,ES,EO2.0, and EO2.3

and should work on all but idk didnt test them all.

first in the form that will have the link go to the top put this code under "Option Explicit"

```

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

```

now make a imagebutton like you have in eo ingame.

you can name it what you will. but for this i named it **lblLlink**.

now click your new button and add this code into it.

```

ShellExecute 0, "open", "http://www.touchofdeathforums.com/community/", vbNullString, vbNullString, 1

```

thats all there is too it.

now im not a programmer of any sorts im just sharing a code ive had a long wile. and i hope someone will find use for it.

-coookies- ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)

~DMF~
Link to comment
Share on other sites

I spent 10 minutes or so the other day googling for it. It is a nice piece of code, simple enough but also very useful if you have the right purposes.

Nice share ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)
Link to comment
Share on other sites

> thanks o-o but its just a simple thing i would think most people can think of this. o-o

[*cough*](http://www.touchofdeathforums.com/community/index.php?/topic/116120-hyperlinking-labels)
Link to comment
Share on other sites

Great ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png) I am using this function pretty often, but i always forgot how to use it and i am always again and again googling for it, or ripping it from there, where i used it. Thank you, this will save me from headache lol ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)
Link to comment
Share on other sites

thanks JC Denton Denton. ive had code long before TE was around and used it in all of my projects. didnt need to find this it was a well known code back then. o-o reason the shell code is under Option Explicit is to advoid errors. with my code i dont need an error handler since its not calling long distance.

(lock topic please)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...