Solved

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

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

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 …
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 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

20 Experts available now in Live!

Get 1:1 Help Now