 |
|
|
|
| Author |
Message |
Sucheen
Joined: 08 Jan 2008 Posts: 3
|
Posted: Tue Jan 08, 2008 9:29 am Post subject: Reg VB6 Exe usage |
|
|
Is it the right practice to share a VB6 exe froma single PC ?
The exe is kept in one PC and short cuts are created in other pcs and the
application is used. What are the implications of this? If a same screen is
used by two users from two PCs at the same time, what will happen?
Thanx in advance..
Archived from group: microsoft>public>vb>directx |
|
| Back to top |
|
 |
Ralph
Joined: 04 Oct 2007 Posts: 4148
|
Posted: Tue Jan 08, 2008 3:17 pm Post subject: Re: Reg VB6 Exe usage |
|
|
"Sucheen" wrote in message@microsoft.com...
> Is it the right practice to share a VB6 exe froma single PC ?
> The exe is kept in one PC and short cuts are created in other pcs and the
> application is used. What are the implications of this? If a same screen
is
> used by two users from two PCs at the same time, what will happen?
>
> Thanx in advance..
Assuming you are not talking about some kind of ActiveX/DCOM distributed
sort of configuration. Then the server (in this case the 'single PC') will
act as a 'file server'. Each PC (local PC) will have access to the program,
and the program will be run in the Address Space of the PC that downloads
it.
Each local PC will have to have access to any components the original
program uses. Either installed locally or in the case of ActiveX Dlls,
configured 'remote'. Even then everything runs in the local PC's Address
Space.
Each local PC will have to have access to any 'hard-coded' resources
(external files, etc).
hth
-ralph |
|
| Back to top |
|
 |
Sucheen
Joined: 08 Jan 2008 Posts: 3
|
Posted: Wed Jan 09, 2008 1:49 am Post subject: Re: Reg VB6 Exe usage |
|
|
Hi Ralph,
Yes I am using a simple exe. The exe is stored in a PC ans is shared from
amny other PCs. The exe is connecting to a Data base Server aslo. What will
happen if the SAME SCREEN of the exe is used by two different users from two
different PCs at a time..? What are the implications , if they save the data
at the same time?
Is this a right practice for using VB6 exes ?
"Ralph" wrote:
>
> "Sucheen" wrote in message
> @microsoft.com...
> > Is it the right practice to share a VB6 exe froma single PC ?
> > The exe is kept in one PC and short cuts are created in other pcs and the
> > application is used. What are the implications of this? If a same screen
> is
> > used by two users from two PCs at the same time, what will happen?
> >
> > Thanx in advance..
>
> Assuming you are not talking about some kind of ActiveX/DCOM distributed
> sort of configuration. Then the server (in this case the 'single PC') will
> act as a 'file server'. Each PC (local PC) will have access to the program,
> and the program will be run in the Address Space of the PC that downloads
> it.
>
> Each local PC will have to have access to any components the original
> program uses. Either installed locally or in the case of ActiveX Dlls,
> configured 'remote'. Even then everything runs in the local PC's Address
> Space.
>
> Each local PC will have to have access to any 'hard-coded' resources
> (external files, etc).
>
> hth
> -ralph
>
>
> |
|
| Back to top |
|
 |
Ralph
Joined: 04 Oct 2007 Posts: 4148
|
Posted: Wed Jan 09, 2008 8:23 pm Post subject: Re: Reg VB6 Exe usage |
|
|
"Sucheen" wrote in message@microsoft.com...
> Hi Ralph,
>
> Yes I am using a simple exe. The exe is stored in a PC ans is shared from
> amny other PCs. The exe is connecting to a Data base Server aslo. What
will
> happen if the SAME SCREEN of the exe is used by two different users from
two
> different PCs at a time..? What are the implications , if they save the
data
> at the same time?
>
> Is this a right practice for using VB6 exes ?
>
This is a case where it would take longer to list the scenarios than if you
just 'played' with it.
The program will 'run' within each PC. It is as if you loaded a program from
a CD and ran it on the PC. The program will be loaded into the address space
of the local PC. Therefore it doesn't matter if you are using the same
screen or not. Each PC would have a different instance of the program.
In the case where the program uses a common resource (database), each PC
will have to have access to that resource. Each PC accessing the database
separately.
Multiple access to the same database CAN be a problem. Depending on what you
are doing the solutions will vary and can employ mulitple strategies from
normalization, to locks, to complex transaction handling - using Data Server
mechanisms (SPs, Triggers, etc) to using more complex application
architectures such as n-tier intermediate components and services.
Compounded by the fact that no ONE solution will ever be the perfect fit for
every problem.
You probably need to find a couple of good books. The Wrox books have a good
selection of titles for various databases and provide an easy guide from
beginner subjects to the advanced.
hth
-ralph |
|
| Back to top |
|
 |
Sucheen
Joined: 08 Jan 2008 Posts: 3
|
Posted: Thu Jan 10, 2008 1:41 am Post subject: Re: Reg VB6 Exe usage |
|
|
Hi Ralph,
As you hinted, I am getting problems in the Saved Data in the Database. Your
reply tells that "this also can be a method" of accessing exes. But I
strongly believe this is not the ideal method to distribute exes in working
environments. When you suggests, that the different instances of the exe are
created in this scenario,what is the benifit of one going for Com or Dcom
Applications in Vb6?
"Ralph" wrote:
>
> "Sucheen" wrote in message
> @microsoft.com...
> > Hi Ralph,
> >
> > Yes I am using a simple exe. The exe is stored in a PC ans is shared from
> > amny other PCs. The exe is connecting to a Data base Server aslo. What
> will
> > happen if the SAME SCREEN of the exe is used by two different users from
> two
> > different PCs at a time..? What are the implications , if they save the
> data
> > at the same time?
> >
> > Is this a right practice for using VB6 exes ?
> >
>
> This is a case where it would take longer to list the scenarios than if you
> just 'played' with it.
>
> The program will 'run' within each PC. It is as if you loaded a program from
> a CD and ran it on the PC. The program will be loaded into the address space
> of the local PC. Therefore it doesn't matter if you are using the same
> screen or not. Each PC would have a different instance of the program.
>
> In the case where the program uses a common resource (database), each PC
> will have to have access to that resource. Each PC accessing the database
> separately.
>
> Multiple access to the same database CAN be a problem. Depending on what you
> are doing the solutions will vary and can employ mulitple strategies from
> normalization, to locks, to complex transaction handling - using Data Server
> mechanisms (SPs, Triggers, etc) to using more complex application
> architectures such as n-tier intermediate components and services.
> Compounded by the fact that no ONE solution will ever be the perfect fit for
> every problem.
>
> You probably need to find a couple of good books. The Wrox books have a good
> selection of titles for various databases and provide an easy guide from
> beginner subjects to the advanced.
>
> hth
> -ralph
>
>
> |
|
| Back to top |
|
 |
Ralph
Joined: 04 Oct 2007 Posts: 4148
|
Posted: Thu Jan 10, 2008 8:21 pm Post subject: Re: Reg VB6 Exe usage |
|
|
"Sucheen" wrote in message@microsoft.com...
> Hi Ralph,
>
> As you hinted, I am getting problems in the Saved Data in the Database.
Your
> reply tells that "this also can be a method" of accessing exes. But I
> strongly believe this is not the ideal method to distribute exes in
working
> environments. When you suggests, that the different instances of the exe
are
> created in this scenario,what is the benifit of one going for Com or Dcom
> Applications in Vb6?
>
Yes. But a specific answer can get quite complex. For example, for a complex
transaction process such as a Bank Account (deposits, withdraws, ...) I
would like incorporate a MTS solution. For a simple collision where one user
is attempting to update address information while another is creating an
invoice - simple normalization and locking may be effective. It is just
depends - I mean - there are shelves books in IT libraries on this subject.
I suggest you cross-post (don't multiple-post) to the following newsgroups,
with more details concerning the database (???) and what you are
experiencing problems with.
Microsoft.vb.general.discussion
Microsoft.vb.database
This will open your question to a wider audience.
-ralph
|
|
| Back to top |
|
 |
|
|
| Related Topics: | CPU Usage Is there a way to tell how much CPU time a process is taking? Simular to Task Manager? I am trying to test to see if a program is hung and using all the CPU. Charles
Memory Usage Hi, I have a Module with alot of functions. Let's say I have 3 functions - F1, F2, and F3. Within each of the functions, I have the same constants but with different values. Like: F1: const x = 1.234 F2: const x = 3.456 F3: const x = 5.678 F1,F2,F3 all ca
CPU usage from process id VB6 .. Is there a very way to get the cpu usage value if I know the ProcessID? I have the PID, but need to CPU usage value. .. I have seen multiple ways to do this, but am looking for a very direct method. Thank you.
SetupChangeFontSize Usage I am attempting to create an application which changes the display DPI settings on Windows XP Pro to a specific DPI setting. Normally this is done through Display Settings - Advanced - General tab and using the DPI Setting drop-down list to choose Custom
GDI usage in windows 98/ME Hi guys, I'm working on resolving a problem in which my application uses a large amount of GDI resources when ran in 98/ME. The application is very complex, consisting of a login form, a main form with 4 aggregate user controls on it. Each UC represents |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|