Python Forum
[split] Could you please clarify where i did mistake also how run without admin right
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Could you please clarify where i did mistake also how run without admin right
#1
Could you please clarify where i did mistake also how run without admin right

import winreg as wreg import webbrowser def newregkey(): key = wreg.CreateKey(wreg.HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Silverlight") wreg.SetValue(key, 'NewSubkey','AllowElevatedTrustAppsInBrowser') wreg.SetValueEx(key, 'ValueName', 0, wreg.REG_DWORD, '00000001') key.Close() key = wreg.CreateKey(wreg.HKEY_LOCAL_MACHINE, "SOFTWARE\\WOW6432Node\\Microsoft\\Silverlight") wreg.SetValue(key, 'NewSubkey', 'AllowElevatedTrustAppsInBrowser') wreg.SetValueEx(key, 'ValueName', 0, wreg.REG_DWORD, '00000001') key.Close() iexplore = "C:\Program Files\Internet Explorer\iexplore.exe" webbrowser.get(iexplore).open_new_tab("https://heliwise.agustawestland.com/OnlineHelp/OnlineHelp.htm")
Yoriz write Jun-14-2021, 07:18 AM:
Please post all code, output and errors (in their entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Reply
#2
what error messages are you getting?
what's happening that makes you feel there is something wrong?
Please read: https://python-forum.io/misc.php?action=help&hid=19
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Solved] Please, help me find a simple mistake AlekseyPython 2 2,946 Jun-17-2021, 12:20 PM
Last Post: AlekseyPython
  Please help to me to find my mistake in code leonardin 2 3,068 Nov-29-2020, 04:17 PM
Last Post: Larz60+
  minor mistake in code for factorial spalisetty06 2 3,210 Aug-22-2020, 05:00 PM
Last Post: spalisetty06
  Simple mistake about for Nomatter 4 3,830 Jul-16-2020, 02:24 PM
Last Post: Nomatter
  Install Mistake jlerette5 1 2,888 Feb-18-2020, 12:19 AM
Last Post: jefsummers
Question Please clarify variables tonycstech 3 3,458 Nov-25-2019, 02:59 PM
Last Post: buran
  What was my mistake in this Python code (easy)? voltman 4 5,164 Nov-19-2019, 09:58 PM
Last Post: snippsat
  countdown script not working..plz help what is mistake randyjack 1 3,197 Oct-28-2019, 06:57 AM
Last Post: perfringo
  Beginner mistake. bbweeg 1 2,929 Aug-17-2019, 07:27 AM
Last Post: perfringo
  Help to understand my mistake TeeMan 8 6,548 Jul-05-2019, 01:42 PM
Last Post: TeeMan

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020
This forum uses Lukasz Tkacz MyBB addons.
Forum use Krzysztof "Supryk" Supryczynski addons.