I have created a project of fetching data from a Url in VB.NET. Now I want that code to called in function Get data() in the class.
How can I do that??
PLZ help soon
:icon_rolleyes:

Hi,

I didn't get it you want to place the function in a module or calling it from there??

Please explain your self. If you want the Get_Data() function to be a generic public function then you can create a class file and place the code there.

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.