|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Question about changing executable name in VS.NetHi Folks
I changed the name of the executable that gets created for my project. Once I change the name, it takes a really long time (several minutes) to actually load from both VS.Net and running the exe outside of VS.Net It seems to sit on the following line, where I check for duplicate instances. If (UBound(Diagnostics.Process.GetProcessesByName(Diagnostics.Process.GetCurren tProcess.ProcessName)) > 0) Then Any ideas why this would happen? thanks LDD LDD,
Did you try already this method for single instance of a program. http://www.vb-tips.com/default.aspx?ID=59135549-e5dd-4501-9526-343ac05a7617 It is probably easier to implement this than searching for your current problem. I hope this helps, Cor Show quoteHide quote "LDD" <largedoubledou***@gmail.com> schreef in bericht news:NKCdnZowB-aGVEveRVn-sw@magma.ca... > Hi Folks > > I changed the name of the executable that gets created for my project. > Once I change the name, it takes a really long time (several minutes) to > actually load from both VS.Net and running the exe outside of VS.Net > > It seems to sit on the following line, where I check for duplicate > instances. > If > (UBound(Diagnostics.Process.GetProcessesByName(Diagnostics.Process.GetCurren > tProcess.ProcessName)) > 0) Then > > Any ideas why this would happen? > > thanks > LDD > >
Show Modal, then Again
TopMost without SetFocus Get associated icon for a file A question about finding class methods in the Help Assigning a Value to a Structure Pointed to by a Tag ? VB.NET profiler DUMB question about IndexOf What is the correct case convention for Set? Listbox idiotic example progress bar right to left |
|||||||||||||||||||||||