Solved

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

Posted on 2010-09-22
3
274 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 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