You are on page 1of 3

TO PERFORM STOCK AND WEATHER

1) module <weather> or <stock>


2) server implementation
3) This program contains three sub programs namely
4) client implementation
o this coding have to be typed in a notepad and saved in D:

To execute follow these steps

o first the module part have to be executed for that “ idlj –fall –
oldImplBase <weather> or <stock> “. Have to be given in the
command prompt.
o The give “ cd weather or stock” ie to execute the java file present in
that particular folder is created automatically.
o after entering into that folder “ javac *.java” and then in next line give
“cd .. “.
o Then execute the “ javac weatherserverimpl.java” and the client
program “javac weatherclientimpl.java”.
o Finally invoke the orb as “ start orbd –ORBInitial port 2003
localhost”
o After the execution of above statement a window have been open
automatically, we have to minimize it and give the below line in the same
command prompt were we have been running the coding.
o Then “ start java weatherserverimpl –ORBInitial port 2003
localhost” after the execution of this statement a window opens with the
output.
TO PERFORM FILE OPERATION
o First vb 6.0 -> new project -> activex control-> click ok.
o Then assign the user defined name for project and the form name. and
then click the project tab -> project properties -> provide the project
description in it.
o Then design the form and in file menu -> make <project name> .oxc
and again file menu -> save project.
o Then open another visual basic window in that choose standard exe and

in that project menu-> components-> in that choose the component that


is our project name that we gave in the activex control form.
o Select that component ,then that component will be available in the
toolbar just drag and drop that component and save the form and
execute.
TO PERFORM CURRENCY, ENCRYPTION AND
STUDENT
INFORMATION USING MESSAGE BOX
o First vb 6.0 -> new project -> activex DLL -> click ok.

o Then assign the user defined name for project and the form name. and
then click the project tab -> project properties -> provide the project
description in it.
o Then design the form and in file menu -> make <project name> .ocx

and again file menu -> save project.


o Then open another visual basic window in that choose standard exe

and then design the form ,then click F2 button select our class ie
libraries is get open in that choose our class name that we gave in
activex DLL class.
o Then type the coding in the coding part first line is “ dim c as new
class 1” this class1 is nothing but our class name in DLL coding.
This is shown automatically while we type NEW.