Solved

Creating a DLL from a form and dataset (vb.net)

Posted on 2010-09-22
3
270 Views
Last Modified: 2012-08-14
Hi,

My application uses a webservice to transfer files from and to a server, now this code is contained within a Form.vb that uses a datagrid with as its datasource a dataset.

Now to make all this more modular I'm trying to create a dll with these elements that performs the same functionalities but I'm struggling with this.

Can anyone give any pointers?
0
Comment
Question by:MrFawlty
3 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 33732583
What exactly do you want in your dll ? Just the call to the webservice and return the data to the gui ?
If so, you actually want to create some kind of data (or business) layer between the gui and the webservice ?
0
 

Accepted Solution

by:
wengwashere earned 500 total points
ID: 33732669
im not sure of what youre trying to do

If you want to reuse a form, you can explore the windows control library (im not sure on how you would be using this via web service)

if you want it more modular, you separate each in layers (like what Dhaest mentioned) thru Class Library
0
 

Author Comment

by:MrFawlty
ID: 33744584
The problem I have is the following:

While uploading/downloading/moving/copying/ etc. the different stages are stored in a dataset as well as in a sql database via webservice. The datagrid has as its datasource this dataset, how can I create a dll where I'm able to tell the dll use datagridX(located in the project where I'd be using the dll)?
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question