Windows 8 and Windows 7 Errors

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
9 posts Page 1 of 1
Contributors
User avatar
Mark
VIP - Donator
VIP - Donator
Posts: 372
Joined: Mon Aug 17, 2009 10:35 pm

Windows 8 and Windows 7 Errors
Mark
Hello Guys,

Does any of you guys know how to solve these errors.?

It seems to work on my computer but not on someone else's I have attached the images below.

I hope someone can help me please?.
You do not have the required permissions to view the files attached to this post.
http://www.mbappz.com
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4392
Joined: Tue Aug 04, 2009 1:47 am

Unsure what the problem is but things you can check are making sure the correct .Net Framework is installed/updated on the other machines, does your app use any special components like dotnetbar and if so have you included them on the other machines?
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
Mark
VIP - Donator
VIP - Donator
Posts: 372
Joined: Mon Aug 17, 2009 10:35 pm

Re: Windows 8 and Windows 7 Errors
Mark
I only use the stndard vb controls.

It works on mine but not on someone elses.

I wonder to create a folder in win 7 would u need admin privlages for it to work if its being created in the c drive?.

Theh aldo say ghey havr .net 4 installed aswell.
http://www.mbappz.com
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

Re: Windows 8 and Windows 7 Errors
Dummy1912
to create new folders on someone's pc i think you need to have admin privileges to do that.
you can easily do that into your project :)

just use that :)
in your project press right mouse click properties
and then application tap / view windows settings
change that
Code: Select all
<requestedExecutionLevel  level="asInvoker" uiAccess="false" />
to this
Code: Select all
<requestedExecutionLevel  level="requireAdministrator" uiAccess="false" />
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
User avatar
Mark
VIP - Donator
VIP - Donator
Posts: 372
Joined: Mon Aug 17, 2009 10:35 pm

Re: Windows 8 and Windows 7 Errors
Mark
Ill try when I get home and send u it to see if it works.

Maybe thats what is doing the error
http://www.mbappz.com
User avatar
Mark
VIP - Donator
VIP - Donator
Posts: 372
Joined: Mon Aug 17, 2009 10:35 pm

Re: Windows 8 and Windows 7 Errors
Mark
This is the code i use to load the file in to the list box.

Form_Load()
Code: Select all
        Dim r As New IO.StreamReader("C:\Bookmarks\bookmarks.dat")
        While (r.Peek() > -1)
            lstUrls.Items.Add(r.ReadLine)
        End While
        r.Close()
This is the code i use to write to the file when i click the finished button

cmdFinish Button
Code: Select all
  IO.Directory.CreateDirectory("C:\Bookmarks\")
        Dim w As New IO.StreamWriter("C:\Bookmarks\bookmarks.dat")
        Dim i As Integer

        For i = 0 To lstUrls.Items.Count - 1
            w.WriteLine(lstUrls.Items.Item(i))
        Next
        w.Close()



        Me.Close()
http://www.mbappz.com
User avatar
Mark
VIP - Donator
VIP - Donator
Posts: 372
Joined: Mon Aug 17, 2009 10:35 pm

Re: Windows 8 and Windows 7 Errors
Mark
Can anyone help with the above code?
http://www.mbappz.com
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

there is nothing wrong with the above code

you only need permission for admin
like i said in my demo

use that and you will not having those problems again.
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
User avatar
Shim
VIP - Donator
VIP - Donator
Posts: 882
Joined: Wed Dec 14, 2011 5:02 am

Re: Windows 8 and Windows 7 Errors
Shim
if your still unable to fix that admin thing you may read this article http://www.ultimateprogrammingtutorials ... am-to.html
Find my programs on Softpedia
9 posts Page 1 of 1
Return to “Coding Help & Support”