473,657 Members | 2,294 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Does not run our app on Windows Vista

When there is a shortcut of our app on the desctop, the app is not run until
all the security in control panel of win vista is cleared. What to do to not
have this problem. We do not want to tell the customers to do this.
--
Mike
Aug 2 '07 #1
19 2245

"Mike9900" <Mi******@discu ssions.microsof t.comwrote in message
news:5A******** *************** ***********@mic rosoft.com...
When there is a shortcut of our app on the desctop, the app is not run
until
all the security in control panel of win vista is cleared. What to do to
not
have this problem. We do not want to tell the customers to do this.
You need to explain this better. What do you mean the security in Control
Panel is cleared? What does the Control Panel have to do with the running
of some program that has a Short=cut sitting on the Vista desktop?

Aug 2 '07 #2
When double clicking the windows the app starts, but before the app finishes
loading it exits. This happends on Vista only. One our support team changed
Vista security and it worked. But this is not a good solution for all
customers.
--
Mike
"Mr. Arnold" wrote:
>
"Mike9900" <Mi******@discu ssions.microsof t.comwrote in message
news:5A******** *************** ***********@mic rosoft.com...
When there is a shortcut of our app on the desctop, the app is not run
until
all the security in control panel of win vista is cleared. What to do to
not
have this problem. We do not want to tell the customers to do this.

You need to explain this better. What do you mean the security in Control
Panel is cleared? What does the Control Panel have to do with the running
of some program that has a Short=cut sitting on the Vista desktop?

Aug 2 '07 #3
"Mike9900" <Mi******@discu ssions.microsof t.comwrote in message
news:6D******** *************** ***********@mic rosoft.com...
When double clicking the windows the app starts, but before the app
finishes
loading it exits. This happends on Vista only. One our support team
changed
Vista security and it worked. But this is not a good solution for all
customers.
Vista is very different from earlier versions of Windows, especially with
respect to security, folder structure, Registry access etc.

What happens when your developers run the app in VS.NET 2005 on Vista and
step through the startup routine...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Aug 2 '07 #4
Hi Mike,

Add a manifest to the assembly. See
http://blogs.msdn.com/shawnfa/archiv...06/568563.aspx

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Mike9900" <Mi******@discu ssions.microsof t.comwrote in message
news:5A******** *************** ***********@mic rosoft.com...
When there is a shortcut of our app on the desctop, the app is not run
until
all the security in control panel of win vista is cleared. What to do to
not
have this problem. We do not want to tell the customers to do this.
--
Mike

Aug 2 '07 #5

"Mike9900" <Mi******@discu ssions.microsof t.comwrote in message
news:6D******** *************** ***********@mic rosoft.com...
When double clicking the windows the app starts, but before the app
finishes
loading it exits. This happends on Vista only. One our support team
changed
Vista security and it worked. But this is not a good solution for all
customers.
You may need to post to MS.Public.Windo ws.Vista.Securi ty or General NG.

I'll assume you are aware of the Vista UAC Manifest that a program may need
to use to present security credentials to Vista.

There could also be a .NET application trust issue that can exist on the
client machine, and .NET could be stopping the program from running.

You might want to look into something like Caspol.exe to set a program's
..Net security policy for an application via an install package on the
client's computer.


Aug 2 '07 #6
Hi,

"Mike9900" <Mi******@discu ssions.microsof t.comwrote in message
news:5A******** *************** ***********@mic rosoft.com...
When there is a shortcut of our app on the desctop, the app is not run
until
all the security in control panel of win vista is cleared. What to do to
not
have this problem. We do not want to tell the customers to do this.
you need to provide more details, I have recently deployed an app in vista
and had no such a problem (I had several others though).
Aug 2 '07 #7
Hi,

"Mike9900" <Mi******@discu ssions.microsof t.comwrote in message
news:6D******** *************** ***********@mic rosoft.com...
When double clicking the windows the app starts, but before the app
finishes
loading it exits. This happends on Vista only. One our support team
changed
Vista security and it worked. But this is not a good solution for all
customers.
Believe it or not sometimes there is nothig else you can do. I got this
problem firsthand. I've an application that integrate with QuickBooks, well
it only works if UAC is active. Otherwise it fails.

The same application has a windows service that access the network and start
with the system. Well the only way you can install it is with UAC turned
off. :), otherwise it fails.
AFAIK there is nothing you can do to avoid escenarios like the above. Except
maybe running XP :)
Aug 2 '07 #8
No, I was not aware of UAC in Vista. Will embeding this manifest affect the
app running in XP?
--
Mike
"Mr. Arnold" wrote:
>
"Mike9900" <Mi******@discu ssions.microsof t.comwrote in message
news:6D******** *************** ***********@mic rosoft.com...
When double clicking the windows the app starts, but before the app
finishes
loading it exits. This happends on Vista only. One our support team
changed
Vista security and it worked. But this is not a good solution for all
customers.

You may need to post to MS.Public.Windo ws.Vista.Securi ty or General NG.

I'll assume you are aware of the Vista UAC Manifest that a program may need
to use to present security credentials to Vista.

There could also be a .NET application trust issue that can exist on the
client machine, and .NET could be stopping the program from running.

You might want to look into something like Caspol.exe to set a program's
..Net security policy for an application via an install package on the
client's computer.


Aug 2 '07 #9
"Mike9900" <Mi******@discu ssions.microsof t.comwrote in message
news:E7******** *************** ***********@mic rosoft.com...
No, I was not aware of UAC in Vista.
In which case, you really need to build a machine (a virtual machine will be
fine) and install Vista, then Visual Studio.NET 2005, then SP1, then the
Vista Update Patch and run your app in that environment to see what it is
doing.

You simply *cannot* assume that any app developed under XP will run
unmodified on Vista. Most will, but some will not - you just can't make the
assumption that yours will... This is especially true if your app writes to
the Registry, or needs write access to any of the folders which have more
restricted privileges in Vista...

Even some of the major app vendors (e.g. Adobe) struggled to get
Vista-compliant versions of their apps to market...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Aug 2 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
477
by: typingcat | last post by:
I'd heard and believed that Microsoft .NET Framework 2.0 would be shipped with Windows Vista(Longhorn). Not as an 'additional' component, but, you know, already installed so that developers don't have to nag their users to download and install .NET Framework Redistributable. Recently, I heard that it will NOT shipped with Windows Vista. Is it true?
6
4270
by: j2ee.singh | last post by:
Hi, I'm looking to buy a new laptop primarily to learn & practice .NET and C#. My Question is: Is there any requirement for .NET and C# in terms of the following Operating Systems: - Windows Vista Home Basic - Windows Vista Business
4
5823
by: =?Utf-8?B?Q2FybGFKYWRl?= | last post by:
Can anyone help me? I need to use picture it 2000 every day and use to use it on Windows XP and had NO problems at all. If I would open up windows explorer i could be in my folder that has all of my picture it files in there, .mix files and even though they were not jpegs etc.. windows explorer would show the thumbnail of all of these projects saved so i could quickly look for something and double click to open. Since installing...
1
3589
by: nilart | last post by:
Hi, I have an installer application (Installshield) which installs postgre DB programmatically on windows: I have a requirement where postgre DB is expected work after upgrading OS from windows XP to Vista However once I upgrade to vista somehow ./postgre windows user's password is chnaged or not working If I try to start service Postgre SQL database it gives me "Logon failure" If I manually set password & start a sevice it comes up...
12
2581
by: Alan M Dunsmuir | last post by:
After having worked with Apache/MySQL/PHP for a year or so under Linux I need, purely for convenience, to set up a parallel platform under Windows. Unfortunately, since I last did this (using Windows XP Pro) I've moved on to Windows Vista (Home Premium). MySQL and Apache2 have both installed satisfactorily, but I'm having problems with PHP5. I downloaded the PHP5 Windows installer (the .msi file) for 32-bit Windows, which is supposed...
4
1386
by: James | last post by:
Hi, I have just upgraded a user machine to Vista (our first) as a test. Unfortunately a couple of our apps are failing due to Vista... 1. One app that loads an assembly from an Intranet website now fails with FileNotFound on a call to Assembly.LoadFrom(url). This still works fine on all XP SP2 systems in the company. 2. Maybe related... Our Intranet hosts a couple of csharp user controls in
2
2387
by: =?Utf-8?B?TG9yZW4=?= | last post by:
I have a brand new Dell computer right out of the box. It was purchased with Windows Vista Basic. I have also separately purchased Windows Vista Ultimate and I want to install it on this new computer. What is the best approach to accomplish this task? Should I start up the new Dell computer and have it go through its Windows Vista Basic setup then upgrade to Vista Ultimate? Or should I start by inserting the Windows Vista Ultimate...
1
2091
by: Frank van Eijkelenburg | last post by:
Hi, I have to develop an application which must run on .net 2.0 on a Windows XP SP2 and Windows Vista Business OS. Is .net 2.0 supported at Windows Vista? If I see the supported OS at the download page of microsoft, Windows Vista is not in the list. Are there risks for strange behavior under Windows Vista? TIA, Frank
1
3467
by: Prats | last post by:
I have an application developed in C++/CLI using dot NET 3.5 I tested on windows XP, Windows Vista Basic and Vista Home premium It does not run on vista Home Premium. The application installed successfully, dot Net 3.5 also installed, but when I run the application, it says application failed to start. Are there any knows bugs woth 3.5 and Vista Premium. TIA
0
8319
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8837
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8512
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8612
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7347
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2739
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.