Follow these Steps:-
1.Open ActiveX DLL
2. write some code under any UserDefined Function
public sub display()
msgbox "Welcome"
end sub
3.Save This File with .cls extension
4.Make this as DLL
5. Open Standard Exe
Go to Project Properites under Project and...
two ways are there
1. in the designing it self mention BorderStyle = 0-None
so that that menu will disappear.
or
2. Restrict users to quit in the Form_Unload function
whenever they Click X it will call Form_Unload function
u have to write some code under this method in order to restrict.
First of all you have to add " Microsoft ActiveX Data Objects 2.1 " Library from your VB references.
They Try with the following simple code :-
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
If rs.State = adStateOpen Then rs.Close
rs.Open...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.