some basic dotnet questions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

If I program in vb.net will my program be accessible via a browser, or do I
need to use the webbrowser active x control like in vb 6. would the program
reside on a webserver like IIS or apache?

let me reword this. what are the essential things I need to make a program
webbased using vb.net.

If I wrote a program in vb6 that calculate arcade machine sales at each
different locations and this info is also saved on the same computer to
microsoft access.

Now it needs to be webbased and I want to save to sql server.

what elements do I need?
writie the program in vb.net or do I have to use html/xml/asp.net.
I am clearly a newbee here.
can anyone tell me what I need to make this work.
thanks!!!!!
 
Hello Adam,

VB.Net is a .Net language. You can use VB.Net to create applications that
run as a windows form app, or as a web app. Once an app has been written as
a windows form app, it is not usually simple to rewrite it as a web app, and
vice versa, so pick carefully.

If you have a VB6 app written that does something useful, and you need to
make a VB.Net web app to do the same thing, you are mostly starting over.
You can use the logic (in your head). You can even use the Access upsizing
wizard to create the tables in SQL Server, assuming you like the database
design. However, your code is only minimally portable. Also, since VB.Net
is a considerably different language than VB6, porting the code directly may
not be the best option anyway.

ASP.Net will host your VB.Net "codebehind" automatically when you use Visual
Studio, which I strongly recommend.

HTH

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 
Newbee,

In addition to Nick.

I don't know if it was the biggest mistake from Microsoft, however ActiveX
will have a good high place on that list.

All the security issues have in my opinion changed the use of the Web.
AspNet offers you a system that does the processing on Server Side however
does not allow you to do much on the clientside beside nice painting using
by instance csv and javascript.

It is possible to create rich clients, but those are only usable inside your
"own" organisation (here partially windowsforms controls are used).

However, maybe you can succeed in what you want by creating a distributed
application. See this greath walkthrough for that.

http://msdn.microsoft.com/library/d...atingDistributedWebApplicationWalkthrough.asp

I hope this helps a little bit?

Cor
 
I cannot find my thread now. But some answering my questions (Newbee)about
the elements needed for web app. they said they use
database - Data Layer - Business layer - Presentation Layer

I was hoping to not be too much of a pain and help me through the tunnel of
lessening darkness to examples of these layers.
//
My web app needs for arcade machine vendors to count machines and use the
web app and also a windows form to calculate total coins per machine , do
some calacs, print sales report and save location sales record to sql server
2000. Currently the are using a vb6 app I wrote that works just dandily but
now they want web based and local windows based app to do this.
\\

Database layer- In my case I guess this is sql server 2000 itself??

Data layer - is this the actual tables and data, dataset

business layer - business logic such as totalling the machine and figuring
taxes and gross. -
this logic would be written in vb.net (vb my language strenght)and reside in
IIS home/bin directory? as a compiled executable??????
 
Back
Top