By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,642 Members | 2,136 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,642 IT Pros & Developers. It's quick & easy.

Can I share VB project in a network

100+
P: 274
Hi all
I have one question: Can I use VB project in LAN environment? so that it can be shared by two different user simultaneously or solely.
Nov 22 '07 #1
Share this Question
Share on Google+
12 Replies


lotus18
100+
P: 866
Hi all
I have one question: Can I use VB project in LAN environment? so that it can be shared by two different user simultaneously or solely.
Correct me I'm wrong, are you saying that you want to shared the use of vb project over the LAN environment? I don't really think so.

I'm not sure about that but I guessed it won't work. You can only run VB project one at a time I guessed so.
Nov 22 '07 #2

P: 1
Hi all
I have one question: Can I use VB project in LAN environment? so that it can be shared by two different user simultaneously or solely.
Hi Creative1,

What you need is a "version control system" which will put a lock on a "checked out" code module preventing another user from checking a module out for edit.

Here's what not to use (by Alan de Smet)...
http://www.highprogrammer.com/alan/w...ourcesafe.html

Cheers, DonEMitchell
Nov 22 '07 #3

codegecko
Expert 100+
P: 533
Hi guys,

If you're working in VB.NET then I only need to say four words - Visual Studio Team System.

If you're working in VB6 then there's nothing that I know of that runs efficiently across a LAN to do the task you require.

medicineworker
Nov 23 '07 #4

100+
P: 274
In fact I want to implement my project in a LAN enviorment where differnet users want to use it.
Nov 23 '07 #5

P: 2
Its possible to share a VB Application in a network. The best way is when using a DSN Connection to your database. I have done it and it works so well.
Nov 23 '07 #6

lotus18
100+
P: 866
Its possible to share a VB Application in a network. The best way is when using a DSN Connection to your database. I have done it and it works so well.
Hi Everson

We're talking about the using of the same vb project that can be used by many users to have accessed with the codes with the same time and not on the database connection. : )
Nov 23 '07 #7

P: 2
But I think you are missing the point Lotus, Creative1's Last post just before my post that you responded to speaks of Implementing the Project so that others can access it over the LAN. Please refer back Lot.
Nov 23 '07 #8

lotus18
100+
P: 866
But I think you are missing the point Lotus, Creative1's Last post just before my post that you responded to speaks of Implementing the Project so that others can access it over the LAN. Please refer back Lot.
OK. We have different interpretation. Maybe I'm wrong but i still stick to mine : )
Nov 23 '07 #9

100+
P: 274
Hi guys
I think its my fault that I haven't explained what I really want. I am the only programmer of the software. I want to implement my project in an depot where only one person will be using it at a time for most of the time at checkout. However, there are chances that to use the same project to another location such at site to handle certain kind of transections. This access can be exclusive or may be not some times. I just want to know Is this possible to use the software in LAN enviornment to behave according to the requirments.
I hape it'll provide enough details of what I am actually looking for?

Thanks for your concern.
Nov 24 '07 #10

Mohan Krishna
100+
P: 115
Hi guys
I think its my fault that I haven't explained what I really want. I am the only programmer of the software. I want to implement my project in an depot where only one person will be using it at a time for most of the time at checkout. However, there are chances that to use the same project to another location such at site to handle certain kind of transections. This access can be exclusive or may be not some times. I just want to know Is this possible to use the software in LAN enviornment to behave according to the requirments.
I hape it'll provide enough details of what I am actually looking for?

Thanks for your concern.
I too am trying for the same.
Nov 24 '07 #11

100+
P: 114
I dont know what database u r using but if it is an Access database then "yes" its very much possible to share the project in a LAN. I did struggle a lot with the same thing sometime ago but now i m doing well.

actually everything needs to be done in the same manner, the way u do in developing the project for a single alone computer (coding part). But what u do is try to share the application folder for the LAN. When u install your application it might get installed in the directory C:\Program Files\your application folder. So share it, that way other LAN users can access the application. But make sure you install the same application in others system (PC) also as to give the runtime support in the client machine too. But after installing the application in every client, dont use the application installed in their own machine instead create the application (exe file) shortcut of the shared one to the users desktop and from their they can access your shared application.

In this case only the reporting part doesn't go well. i mean if u r using crystal report for reporting then you create a text file or INF file where you specify the path to the ur database. This way everytime your application tries to generate a report it first reads the path from the text or INF file and then use that path for the database. You can give the path name as \\Your Computer Name\Your application folder\Your database Name ..e.g \\Server\IMS\db.mdb.

So try it and Good Luck!
Nov 24 '07 #12

100+
P: 274
Thanks Raman for details I really appreciate your help. I am using Access as database and VB6 at front, and I haven't used Crystal Reports.
I am not at implementing stage yet;however, it will help me a ot I believe.
Thanks again
Nov 24 '07 #13

Post your reply

Sign in to post your reply or Sign up for a free account.