473,395 Members | 1,386 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

some basic dotnet questions

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!!!!!
--
Adam S
Jul 21 '05 #1
3 1291
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 Adam" <Ne********@discussions.microsoft.com> wrote in message
news:8B**********************************@microsof t.com...
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!!!!!
--
Adam S

Jul 21 '05 #2
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/de...alkthrough.asp

I hope this helps a little bit?

Cor
Jul 21 '05 #3
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??????
--
Adam S
"Cor Ligthert" wrote:
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/de...alkthrough.asp

I hope this helps a little bit?

Cor

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Steven O. | last post by:
First, this may not be the correct newsgroup. I have some relatively basic questions on SQL. I tried to find a newsgroup that was specifically just about SQL, and was surprised to find that all...
7
by: Steven O. | last post by:
I am basically a hobbyist programmer, at the moment doing a little work experimenting with some AI stuff. I learned C++, and then tried to teach myself MFC using MS Visual C++ 6.0. I swore off of...
11
by: fremenusul | last post by:
First let me say I am familar with programming, but not familiar with VB.net. I am loading an existing XML document with this procedure Dim xmlFile As String = "..\data\Products.xml" Dim...
193
by: Michael B. | last post by:
I was just thinking about this, specifically wondering if there's any features that the C specification currently lacks, and which may be included in some future standardization. Of course, I...
24
by: Kevin | last post by:
Hey guys. I'm looking to get together some VB programmers on Yahoo messenger. I sit at a computer and program all day. I have about 3 or 4 people already, but it would be really cool to have a...
3
by: Newbee Adam | last post by:
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? ...
5
by: Aussie Rules | last post by:
Hi, Having a mental block on this one. Have done it before but can't rack my brain on how... I have an object, with a bunch on property, and I add that object to a combo box. I want the...
3
by: aziz001DETESTSPAM | last post by:
I've been following some tutorials and reading books and have a basic grasp of the fundamental ADO.NET commands. But all the books I've read use a database with only 1 table. My database has many,...
4
by: Joe | last post by:
Hi all... In the old Quick Basic days there used to be 3 commands that seem to have disappeared from the new visual basic. I was wondering if there are equivalent commands to the VarPtr, Peek, and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.