Duplicate programs running on top of each other

When I run a simple application to open an Access program file remotely the program opens two of the exact same Access files one on top of the other.

The code I use to find and open the file is:

My.Computer.Filename.FileExists("D:/filename.mde") Then
Process.Start("D:/filename.mde")

Is there any reason this code should return two open files? Is there another process to run the files.

Doug

[404 byte] By [mydoug] at [2007-12-16]
# 1
Hi Doug,

I ran your code and it launches only one instance of the file in my case.
Check if it opens two copies of a text file also or this behavior happening only for .MDE files?

Regards,
Vikram

Vikram at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...
# 2
I rechecked my original code and the wizard for Visual 2005 placed a second Mybase.load in the original declarations. It would have been the correct code for the comparison if it were not for the fact I wanted a single program running. I deleted the additional Mybase.load and the program works fine.

Thanks for your assistance. I appreciate the confirmation on the original code.

Doug

mydoug at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...

.NET Development

Site Classified