如何在vb.net中制作在线软件? [英] How I can make online software in vb.net?

查看:53
本文介绍了如何在vb.net中制作在线软件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的意思是说,当我需要在线软件时,必须为安装数据库的服务器计算机购买一个IP.
我想问一下,如果我购买了一个IP,然后制造了一个服务器并安装了一个数据库,那么客户端将打开他的软件并直接工作.
还是他们必须做任何其他事情意味着要与网络中的特定计算机建立任何连接?

我是计算机科学学士学位的学生.我正在开发软件.我正在使用计算机语言vb.net.我正在开发的软件是会计软件,其中有一个数据库和某些表格.
有一个在sql server 2000中建立的数据库,并且有很多表.
我的问题是我将用于客户端和数据库的软件安装在计算机中.
我和客户端都都在使用DSL互联网.
我想当我的客户打开该软件,然后他在该软件中工作时,他保存了记录,因此将其保存在我的计算机数据库中.
请告诉我完整的方法.
我看到的软件与bat格式的文件相同,我必须先运行它,然后运行成功,然后才能打开软件.
在我的软件中有下面的连接.请把这个告诉我.

I mean to say that when I want online software so I have to buy a ip for a server computer where my database is installed.
I want to ask that if I buy a ip and then I make a server and installed a databse then client opens his software and work directly.
Or do they have to do any other thing mean make any connection to particular computer in the network?

I am student of bachelor of computer science. I am working on a software. I am using the computer language vb.net. I am working on software that is Accounts Software there a database and some forms.
There is a database which is made in sql server 2000 and there are many tables.
My question is that I make that software for a Client and database will be attached in my computer.
Both are using DSL internet, me and Client too.
I want to that when my Client open that software and then he works in the software then he saves record so it is saved in my computer database.
Please tell me complete way of that.
I saw software same as there is a bat format file I have to run first it then it successful then I can open software.
There is bellow my connection which I am using in my software. Please tell me about it please.

Public Function connection() As SqlConnection
  con = New SqlConnection("server=(local);database=shaan;integrated security=true")
  Return con
End Function



这仅当软件在我自己的计算机上运行时使用,但是当我的客户端使用软件并且他也使用DSL互联网连接时如何连接,因此如何在服务器和客户端之间建立连接

客户端向服务器发送请求.



This is just use when software is running in my own computer but what will be connection when my Client will use software and he is also using DSL internet connection so how can create connection between server and Client

Client send request to sever

推荐答案

如果您正在开发Web应用程序(如标记ASP.Net所示),则需要在服务器中安装Web应用程序.现在,从您的Internet连接提供商处购买一个静态IP地址.然后从您的客户端计算机在浏览器中键入http://000.000.000.000/YourSite.在这种情况下,您的应用程序将在服务器本身上运行,并且您的数据库也将在服务器上运行,因此您无需担心数据库连接. server=(local)还将连接您的数据库.
If you are developing a web application (as the tag suggest ASP.Net), then you install your web application in your server. Now purchase a static IP address from your internet connection provider. And then from your client computer type http://000.000.000.000/YourSite in your browser. In this case your application will run from your server itself and as you have your database in your server too so you don’t need to worry about database connection. server=(local) will also connect your database.


这篇关于如何在vb.net中制作在线软件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆