Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now