VS 2008 - Route - Take For My Program As Far As UAC And Vista Is Concerned

Jun 1, 2009

This is an extension of this post: [URL]

The reason I am starting a new thread is to be more concise; explain the exact issue I now face in detail. Reading my last thread may help, but what I provide here should be sufficient. I am basically trying to find the best route I should take for my program as far as UAC and Vista is concerned. My program (SysPad) is accessible through my sig).

My program requires constant write access. The purpose of my program is to provide access to a quick notepad-esque program that is directly accessible from the Notification Area. It saves every time the user types into one of the textboxes.

The issue lies in the fact that when UAC is enabled on Vista, there is no folder that is writable to without elevation to Administrator rights. The hitch is that my program is designed to be a startup utility and the issue is that a user who has UAC enabled will have to allow my program through UAC confirmation every time my program runs at startup.

Basically, I am looking for options that will resolve this and make it less "painful" on the end user who uses UAC.

Basically, the only idea I've been able to come up with that is least annoying/intrusive, is to create a Launcher.exe program that does not require elevation and have it sitting in the Notification Area with the same icon as my program at startup. When the user goes to access the program, it then launches the actual program (exiting the launcher) thus invoking the UAC verification.

Of course this would happen every time they boot their PC or restart my program; but, at least they won't be asked for UAC verification as soon as their PC boots.

Does anyone have any other suggestions? I really would like to get this to work with UAC as best as possible. Otherwise, I could just make my program check if UAC is enabled, and if it is, tell them they can't use my program lol. But, I'd rather not do that.

View 18 Replies


ADVERTISEMENT

Use A Single RouteURL To Route To Different Pages Dependent On The Route Name?

Mar 22, 2012

I am trying to use a single RouteURL to route to different pages dependent on the Route name but when I click on a button within my aspx page the page gets routed back to itself:Here is what I have in my Global.asax

Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application startup
RegisterRoutes(RouteTable.Routes)[code].....

View 1 Replies

VS 2008 Compile On Vista For Vista Work Fine But On Vista For Xp NO

May 30, 2009

i compile my form with the below code when i run it on vista work fine without any problem but when i try to run in on XP cant run... that happened with any XP machine.[code]when i run my exe to other Vista machines work fine... but on xp NO.

View 1 Replies

Cannot Run .net 2008 Program In Windows Vista

Oct 5, 2009

I have a program that will process the files and produce the result in output file.When i publish and install the software in xp windows it run but in windows vista it read the file everything when i look for output file. The file is not created in vista. But other program which similar with previous one can run in windows vista expect one program. This is how i write the coding to create the file.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim OpenFileDialog1 As New OpenFileDialog
With OpenFileDialog1

[code]....

I dont know why it can not create a file in vista?

View 7 Replies

.net - Concerned With Writing Xml?

Apr 18, 2009

I have a mail application. While sending to each recipient I am writing to an XML file named mail.xml. I use the following code:

Dim from As String = txtFrom.Text
Dim txto As String = txtTo.Text
Dim subj As String = txtSubject.Text
Dim body As String = txtBody.Text

[Code]...

View 3 Replies

Trace Route In Vb 2008 Express

Dec 9, 2009

im looking to do a trace route to an ip (specified in a text box) and have the results displayed in a textbox. I know that this has been brought up in the forums before but im yet to find a version thats compatible with vb 2008 express edition. The vb.netmvps example is exactly the functionality im looking for but it throws up 80 +errors(*** is no longer supported etc)[URL]the host resolution isnt an issue becasue i already have the list of ip's and corresponding host names that i would be tracing in a db.

does anyone have a tracert app that is compatible with this version of vb or indeed know where i could find one ?

View 2 Replies

VS 2008 Program Running In Vista X64 - "missing Dll File"

Apr 11, 2009

I have a program that has been running well under both Windows XP and Vista. Recently I tried installing the software on a Vista x64 machine and the program keeps crashing at runtime. I have tried running in Windows XP compatability mode and other solutions but nothign works. If I run it on the machine under Virtual PC using Windows XP I have no problems. The only two clues I have are these 1)One of the error messages I got when the program crashed said "missing dll file" and 2) the error log viewer shows that the error involves kernel32.dll This problem feels like it is way out of my league ont face value.

View 13 Replies

Will An Program Built On Windows 7 Using Vs 2008 Or 2005 Have The Compatibility With Windows Xp Or Vista

Nov 15, 2009

will an program built on windows 7 using vs 2008 or 2005 have the compatibility with windows xp or vista

View 5 Replies

VS 2008 Expose "Stop" Properties In Route Class?

Jan 17, 2010

I have two classes clsRoute and clsStop. Each route has a collection of stops. So I created a Stops collection in the route class and a method to add stops and remove stopsThis seems to work for me. owever, the clsStop properties that I declared are not showing in intellisense.i.e. oRoute.Stops.item(i).StopName and oRoute.Stops(i).StopName

Public Class clsStops
Private _stopNumber As Integer = 0
Private _stopName As String = String.Empty

[code].....

View 4 Replies

Program For WS2003 On Win Vista

Nov 26, 2009

I need to create an application that is targetted for WS2003. I have my dev environment on Windows Vista, but im certain some of the locations are different for each environment.

What would be the best way to code on Vista but to be able to mimic WS2003 environment and how could i debug? I dont want to install VS 2008 on the server

View 3 Replies

Making A Program Compatible With Vista 64 Bit

Jan 17, 2010

Is anyone familiar with making a program compiled in visual basic .net compatible with windows vista 64 bit, The installer gets a runtime error initially but then If I runt it as administrator it runs fine, After it's installed I get a ocx error but when I run the program in admin mode again it works fine, How can I go about editing my program so that it doesn't come up with the errors. Can I get the program to initially run as the administrator?

View 1 Replies

Program Can't Function Fully In Vista

Aug 17, 2008

Back when VBStudio 2005 was the latest in .net programming, I created a program that, among other things, sets the user's system clock after obtaining certain code from time.gov and adjusting it according to a set of numbers. Due to a change in one of the websites with which the program works, it stopped working. I downloaded VB2005 Express (since I reinstalled WinXP since then and didn't feel like looking for MSVB Studio 2005), opened the source code, and made the correction. The program now works in what appears to be its entirety in WinXP. However, when it attempts to perform the function I mentioned earlier on a Vista machine, an error (a built-in error I included in the program) appears. Note that even on a Vista machine, the program does have some functionality. All requests that the program makes to access other websites is done using HTTP web requests.

View 2 Replies

Program Does Not Work On A Vista Machine

Jan 15, 2010

I made an application to give to my friends as practice for my learning, so the app works fine with XP but not on a Vista 64 bit machine. Will the app need re-coding? The app is used as a game mod, so it writes to process.

View 2 Replies

Run A Program That Runs Fine On XP OS But It Won't Run On Vista?

Jul 17, 2009

I'm trying to run a program that runs fine on XP OS, but it won't run on Vista. I've tried to install msinet.ocx in the system32 folder, but it never works.I've tried to register with regsvr32 but it gives error I've tried to register with regsvr32 with cmd as administrator it's register the Activex Control but it gives error " Unexpected error "

View 1 Replies

Updater On Vista (Uses Program Files)?

Aug 21, 2009

I have encountered a small problem with my application due to the updater I built in.Basically the way the updater works is:1) Check for updates2) Download the new .exe file as "tmpMyApp.exe"3) Download "Rename.exe"4) Launch "Rename.exe" and exit application.5) "Rename.exe" then deletes the old application and renames the tmp one with the origional name "MyApp.exe"6) Launches "MyApp.exe"This all works completely fine for me, except when the program is installed in "C:Program FilesTinyGrab" this causes my app

View 3 Replies

VS 2010 Program Hangs In Vista?

Aug 4, 2010

I have a heavily timer tick driven application that seems to randomly just stop on vista/w7 while minimized, sometimes it goes on for hours sometimes just minutes but the end result is same just stops for no apparent reason, the moment i unminimize it it keeps going. This never happens on xp tho where it works perfectly so what might be the problem?

View 1 Replies

Are 'Program Files' Write Permissions Different Between Vista / 7 Or X86 / X64?

Apr 10, 2010

I have a user of one of my programs reporting that they get an "access to the path...is denied" error during this section of [code]He's using Windows 7 x64 with UAC turned on. The location of "FilePath" is a subdirectory inside Program Files (x86) in this case.I tried to reproduce the error on my Windows 7 x64 system by enabling UAC (I usually have it off) but the program worked fine. However, in my case, "FilePath" is not in a protected system folder like Program Files (where write permissions are not given to normal users without admin elevation).So I tried to recreate this situation on one of my Vista x86 Virtual PCs where the "FilePath" would be inside Program Files. However, my program again worked fine. It had no problems writing to the Program Files folder with a normal user account, UAC turned on and no elevated permissions required.

Thus, I am confused. Why does it work for me and not for him? I want to try an x64 virtual machine but I can't with the software I have (Virtual PC doesn't support x64 guest OSs, VirtualBox won't run the software that my program interacts with). So maybe you guys can help me instead. Are the write permissions for the Program Files (x86) folder different between x86 and x64, or maybe even Vista and 7?

View 4 Replies

Imitate Vista Or 7 Window Border In Program?

Dec 30, 2009

Imitate Vista or 7 Window Border in program?

View 9 Replies

Made A Clone Of The Vista Contact Program?

Oct 28, 2009

I been trying to made a clone of the vista contact program to use in a address/phonebook application im tryin yto make for learning purposes. I have or think I have it almost licked but it seems there is a few buggs that does not work right.

what i want it to do is as i type characters into the textboxes it will automatically at the same time fill another control like a label.text or textbox.text. but ultimally the combined data will be added to a combobox.in the vista new contact program it automatically updates the full name combobox in realtime as you type each letter in 3 different format.

[Code]...

View 5 Replies

Make A Speech Recognition Program Without Using Vista?

Jul 20, 2009

How can you make a speech recognition program, without using vista.

Dim Talk as new system.recognize.speech()
textbox1.text = talk

View 1 Replies

Making A Vista Branding Logo Program?

Sep 22, 2011

make a windows vista branding logo changer like they have a windows 7 branding yes i have windows 7 but want to make one for vista had a few ppl ask me how so can some one plz help me here this is wot i want to do heres the windows 7 one want to do the same for vista?

View 3 Replies

Why Windows Vista Changed Arabic Program

Mar 18, 2010

I had every one of these words in arabic transcribed on a dictionary I made with visual basic. There was never a problem until I started using window vista. I had xp. You can see that the words arabic script is incorrect. Somehow the first and last position of the two symbols are reversed...How did this happen. My Arabic Dictionary was completed 3 years ago. I have never had a problem before with this program. Now I will have to do the entire program over agian. From scratch....

ﺮﻔﺻ[Sifr] zero
ﺮﻔﺻﺃ[aSfar] yellow
ﺪﺣﺍﻭ[waaHid] one
ﺪﺣﺍﻭ[waaHid] one

[code]....

View 2 Replies

Force Program To Run With Administrator Mode For Windows Vista/7?

Jul 27, 2010

We have developed a 'deployment tool' (say program A) which need to modify system registry, etc info which requires admin rights. This program will be triggered by another program (say program B).

Question, when B call A, how can B initiate A with admin rights? is there any command like A.exe /runas admin or any other way to achieve this. Please note that both programs are developed using VB6.

View 2 Replies

Use DirectX Audio Functions In Program For WinXP / Vista?

Apr 9, 2012

I've been fighting for weeks now to make a simple music playback program. It would function much like Windows Media Player without the visualisations and playlists. I'm writing this on a Win7 box, but it needs to work on XP and newer.

I say fighting because I'm severely annoyed at how MS has worked some items and it's taken many days to go through everything only to find that it doesn't work.

I started by using WMP in VB Express 2010 and having it play my music. Simple, but not portable. I copied my .exe to a WinXP machine and it blew up. I copied it to a different Win7 machine and it doesn't run (I can double-slick all day, nothing happens,
no log entries, nothing....)

Then I find that there is an issue with the GUID of media player on different computers, and it'll most likely fail to run when you try to use it on other machines than the one the program was built on.

So I gave up on that.

I then figured I'd use DirectX. It's on XP and newer already, and is supposed to be backwards compatibile so if I build my app on Win7 it should still run on XP and such. I did that, and it works fine on the machine I built it with (again). My shuffle works,loop/repeat works, got my own version of a playlist and it all works. I copy that to another Win7 box and it doesn't run at all. It's setup as .NET 3 so I can be sure of compatibilty with WinXP.

For grins, I gutted all the code in my VB app involving calls to Directx and built that. It runs fine on other computers, including my XP test box. So I know the problem revolves around DirectX somehow.[code]...

View 10 Replies

VB - Functions Of Word 2007 (in Vista 32) Hanged The Program

Mar 11, 2010

Suddenly some functions of Word 2007 (in Vista 32) hanged the program, such as Help or Search/Replace. When Word is reopen a message appears: microsoft visual basic. File not found. How can I solve this? I have uninstalled/reinstalled Word twice, but nothing happens.

View 1 Replies

Best Route For A Database?

Jul 3, 2009

Im a computer technician and deal with arounf 35 pcs a day that are all diff and all of them have a ID numbet that is unique. I want to keep track of the repairs on each of the ID's so i can search a ID and input different repairs each time that pc comes in. Im not sure what kind of DB would be suitable or how to do that. Im not asking for someone to do it for me but if you could give advice or examples that would help alot. I imagine a list of IDs and when i click one it brings up a history of the repairs done and i can create another one if needed.

View 3 Replies

Form.Webbrowser Control Different Between Vista 32bit And Vista 64bit?

Oct 11, 2009

I am been working on an a small app that has a Forms.Webbrowser control that navigates to a Adobe Flash program. I have developed the app on Vista 32bit platform and have had no problems. I have sent the app to a couple of people to test out and one is using Vista 64bit and is running into a problem. I know the webbrowser control just uses the underlying base framework of IE. The problem on the 64 bit machine is when the site is navigated to it says that it needs to have Flash installed. When the user goes to Adobe's site it says they need to use a 32bit browser.

As stated on Adobe site here:[URL] the Flash player need to be in a 32 bit browser. What options do I have to be able fix this problem? Is there another control that I can use that would be the same in a 32bit platform and 64bit platform? Besides navigating to the Flash program, the browser also goes to standard web pages.

View 4 Replies

From Multiple Addresses To A Route?

Jul 31, 2009

In the program that im working on for a friend, are a lot of addresses (ex: 123 henry blv, City, State, Zip, county)

This is all in database, but he want to be able, to select a few of them, for ex all the ones in one county, and than the program need to put them in order fot the shortest route btween them.

All i need is the list at the and, right now he does this in a routeplanner program, but take about two hours for 15 to 20 adresses,

Programes used: visual studio 2008 sql 05 express

View 3 Replies

Possible To Get Location Of Picture By Route?

Apr 23, 2012

i want to get location of all black pixel inside the picturebox like the picture2,3 and 4 belownd here's my code

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles b1.Click

[code]......

View 2 Replies

Route To Schedule To Run Automatically?

Aug 12, 2010

The current project I'm working on requires me to automate some VB.NET code to run every 24 hours. Currently I have everything tied to a local webpage and I've just been calling it all from a button click in a browser.

My question is....what is the best way for me to start getting this to run on a schedule time frame? I've been looking into triggers, but if I'm not mistaken those are supposed to execute when an event is taken on the actual database. No action is taking place, I just need the code to execute. I've executed SQL statements with VBScript and task manager, but I've never had to work with VB.NET and SQL Server (using 2008) in this manner.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved