Solved

VB - unit test tools, source codes management tools, ActiveX DLL, ActiveX Exes

Posted on 2003-11-13
1
893 Views
Last Modified: 2013-12-03
Hi guys, Anyone kind soul to help? I just migrated to VB Programming and there are some questions eating me inside.
Those are:
1. What are the testing tools used in VB development - Unit testing tools, any freewares? Standards tools used by most developer and companies?

2. What are the source codes management tools?

3. How do we create resource files for VB application?

4. In client server environment, i.e working with a remote database in the network, how does the ActiveX DLL & ActiveX Exes are deployed and used? Any proper implementation concept in this matter

5. What is the clear cut difference between activex DLL and acitveX Exes, I thought they can be used in many the same ways, as far as background processing is concerned or in other means

6. If I create an exe or dll files how do i deploy it in the server to be accessible by my ASP pages?

any of these questions may be answered, please
0
Comment
Question by:gainingam
[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
1 Comment
 
LVL 3

Accepted Solution

by:
daffyduck14mil earned 126 total points
ID: 9739565
Hi,

To answer your questions:

1) There are some standard testing tools and methods for free. Any testing method can be used with VB, and some tools are written for VB. One method is unit testing, it is called ComUnit and you can find it http://comunit.sourceforge.net/ at that site. It is free to take and use, and if you are into unit-testing, it is based on JUnit or NUnit. Also, Compuware has a great suite of testing and proofing tools, called DevPartner Studio. The web-site is http://www.compuware.com.

2) There are actually two basic and general sourcecode control systems. One is Visual SourceSafe and is a microsoft product, tightly integrated with the VB IDE. Another one is CVS. Now, SourceSafe is a product you must buy from Microsoft (or if you have the Enterprise Edition of VB, it's included). The biggest difference is that SourceSafe is Server based, meaning that you get life updates from other developers. CVS is client based. That means you take a working copy and work on it, and update the branch of development with your changes, merging with other developers work. For information on SourceSafe, visit Microsoft. For information on CVS, goto http://cvsgui.sourceforge.net/. The great advantage of getting SourceSafe, it comes with documentation. Drawback of CVS, you will need to dig into it before you can set it up and start working with it. Personally, I go with CVS (because it offers client based view, and because it's free and I didn't get budget for SourceSafe). Both systems are good, it's up to you to decide wich one suits your case best.

3) There is a resource editor add-in for VB 6. You can add it with the Add-In manager. Just look for VB 6 Resource Editor and load it into VB. Using the resource is pretty straight forward. Good help is included with the Add-in and in the MSDN library.

4) Working in Client/Server environments can be done in VB. It depends on what type of environment you got, and how deep your knowledge of those systems go. Basically, any design pattern can be used in VB. For basic database access you will probably be using ADO. This question can't be answered by simple answers. It depends greatly on what you are trying to do.

5) The clear cut difference is that a DLL can't be executed stand-alone (doesn't have a gui) and Exe's can be executed stand-alone (has a GUI). Both contain classes you can create and instaniate (DLL as an object in memory, EXE as an object with a GUI you can manipulate). Both the DLL and the Exe can be used to provide back-ground processing of program tasks. You will need to read up on them in the documentation and gain a good understanding before attempting such things.

6) If you want to create objects that you can manipulate and interact with ASP, you will be creating ActiveX Dll's and put those in MTS (Transaction Server) on the web-server. There, you can call CreateObject and create the object of your interest. MTS will take care of processing, and you can interact with it in the same way you interact with the object in VB.

I hope these pointers can guide you to a sound set-up. If there are any questions or if I didn't make myself clear enough, feel free to ask them.

Grtz.©

D.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

739 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