Solved

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

Posted on 2010-09-22
3
271 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

679 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