Solved

web interface to access VB program

Posted on 2006-11-03
6
208 Views
Last Modified: 2010-04-16
Hello,

I'm a vb programmer since 3 or 4 years. I have no experience in web programming. And now one of my clients wants me to write him a program that he will be able to access form the web w/ a web interface. He has an IIS server at his house that he can access from anywhere.

What would be the easiest way for me to achieve this?
Please give me advices, links, and examples.

Thank you
bob
0
Comment
Question by:bobsensor
6 Comments
 
LVL 20

Expert Comment

by:hes
Comment Utility
Why not make it a web program in asp with vbscript, since you already have most of the basics of vbscript down. What type of an app is it ?
Does he have a database networked to the IIS server ? or you can use access if needed.
0
 
LVL 2

Accepted Solution

by:
chrsmrtn earned 125 total points
Comment Utility
I'd use ASP.NET.  With ASP.NET you can debug you web form like you have with VB6 programs.  You can also have event handling for when users interact with the web form that you have created.

Here's a ASP.NET tutorial to help you out.

http://www.aspfree.com/c/a/ASP.NET-Code/ASPNET-Basics-part-1-Nothing-But-Net/

The .NET framework allows you to code in different languages if you want.  So don't get worried when you start reading about C#, the funtamentals of how the web form loads and works is the same in either C# or VB.

You can also google for example code snips all over the internet.

Hope this helps.
0
 

Author Comment

by:bobsensor
Comment Utility
My client is an IT pro that has several clients. When he goes on site to repair computers, he would like to be able to access the software in question from the web to report his work. After that, the work time and job details will be added to his database and a work order will be emailed from the software to the client.

there is no database setup yet... i'm thinking of ms acces or sql.

I have no experience w/ asp

thank you
bob
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 2

Expert Comment

by:chrsmrtn
Comment Utility
Well to work with a database securely and effectively you need some type of "Active Server Page".  A page that not only interacts with the user, but also interacts with other systems on the server, or on another server.  HTML pages only interact with the user, their data is not saved anywhere.

Based on your previous experience, it will take you less time to learn ASP.NET than say, jsp (java server page).  ASP.NET allows you to code in VB, so you will already know the syntax.  The only tricky part is understanding how the ASP.NET page works.  You can follow the above link to learn more, or you can do what i did and set up a very simple web page.  Place breakpoints throughout in the major events and play around in debug mode to learn how it works.
0
 
LVL 20

Expert Comment

by:hes
Comment Utility
Here are a few references for asp/asp.net
http://www.aspfree.com/
http://www.asp101.com/
http://www.aspin.com/
0
 
LVL 26

Expert Comment

by:Zberteoc
Comment Utility
Why doesn't he use remote desktop access to his home computer? Another ideea would be to use the free software RealVNC, http://www.realvnc.com/, which gives you access to a computer from anywhere in the world. The only think you need is to install the RealVNC server on your client's computer and tel him to set a password for remote access then he can access his home computer's desktop from anywhere in the world just from a browser using the address like

http://ip_address:9500 (RealVNC uses port 9500 for its server). He could even setup a dynamic DNS (free from www.no-ip.com) so that he doesn't even need to know his coputer ip address but could use an addres like www.your_client_name.no-ip.com

and he could run any software from his computer as he would be in front of his montor at home. It is extremely simple to install, setup and use.

0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

771 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

14 Experts available now in Live!

Get 1:1 Help Now