Jump to content

Recommended Posts

Posted

Hey,

 

So I was just making a GUI for some batch files we use and it works perfectly fine. The issue I have is there is a jpeg in the form and when you run it normally it appears, when you run it as administrator it doesnt seem to pick up the image and just display a red X in a white box, in order for the app to work correctly it needs to be run as administrator. Has any one had this issue before with images not appearing correctly while running an app as administrator?

 

Thanks for your help,

Knil

Posted

Hi Knil92, did you get this sorted in the end?

 

The only time I've ever seen images with a red X on is when that file could not be located or accessed. Does that image get copied to the Completed Project folder when you build the project? If so, is the path relative or absolute (i.e. does it go to your username somewhere, and it doesn't have access when it's run as administrator?)

 

Sorry, I've never seen the problem before personally, so just going through what I'd look into first. :)

Posted
Yeah I used the wrong area to put the file path for the image, it was labelled image location, but there wasnt a file browser thing so i just copied and pasted the file path and it worked when it wasnt run as administrator but was coming up with the X when i ran it as admin, turns out there is another place you can specify what file to use and there are the 3 little dots so you can browse to the jpeg file. But alas my free trial of visual studio has come to an end.
Posted

From their website (terms taken for 2017 version - I use the 2013 community edition not 2017 due to compatibility with older projects) (source https://www.visualstudio.com/vs/community/)

 

[h=3]Usage[/h]

[h=4]For individuals[/h]

[h=6]Any individual developer can use Visual Studio Community to create their own free or paid apps.[/h]

 

 

 

 

[h=4]For organizations[/h]

[h=6]An unlimited number of users within an organization can use Visual Studio Community for the following scenarios: in a classroom learning environment, for academic research, or for contributing to open source projects.[/h]

[h=6]For all other usage scenarios:

In non-enterprise organizations, up to five users can use Visual Studio Community. In enterprise organizations (meaning those with >250 PCs or >$1 Million US Dollars in annual revenue), no use is permitted beyond the open source, academic research, and classroom learning environment scenarios described above.[/h]

 

 

 

 

[h=6]For more information, see the Visual Studio Community license terms.[/h]

 

 

 

Posted
Yeah I work for an IT support company so we wouldnt be able to use it for free XD At best I'd be able to install it on my computer at home and remote to it, but then we wouldnt be able to release anything I create

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...