Hi,

I would like to know about difference between Function and module and Procedure for making and use module in visual basic 6.0

Recommended Answers

All 2 Replies

Function and Procedure is a Method...
Function and Procedure is much the same. Function must return a value, procedure doesn't need to return value.

Module uses for declaration place (method and variable), with module you can access every method and variable from any form.

You can assume that function name is variable which can store a value (byte, string, integer, single, etc)

You can use function name as a varibale in the function so that it can return a value to the back so that you can do it whatever you want.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.