Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Resource Error

Resource Error

Scheduled Pinned Locked Moved .NET (Core and Framework)
htmlhelplearningworkspace
4 Posts 4 Posters 6 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 12955539
    wrote on last edited by
    #1

    Hello, I have an error in the dll resource

    Spec.File.system.dll

    Dim filePath As String filePath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\Spec.File.system.dll" IO.File.WriteAllBytes(filePath, My.Resources.Spec.File.system) Process.Start(filePath) System.Threading.Thread.Sleep(200) End Sub 2daa1a6848e93373d6f08a0f50baea29-full.png | savepice.ru[^]

    L D J 3 Replies Last reply
    0
    • U User 12955539

      Hello, I have an error in the dll resource

      Spec.File.system.dll

      Dim filePath As String filePath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\Spec.File.system.dll" IO.File.WriteAllBytes(filePath, My.Resources.Spec.File.system) Process.Start(filePath) System.Threading.Thread.Sleep(200) End Sub 2daa1a6848e93373d6f08a0f50baea29-full.png | savepice.ru[^]

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Member 12988073 wrote:

      I have an error

      But it is so secret you are not going to tell us what it is?

      1 Reply Last reply
      0
      • U User 12955539

        Hello, I have an error in the dll resource

        Spec.File.system.dll

        Dim filePath As String filePath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\Spec.File.system.dll" IO.File.WriteAllBytes(filePath, My.Resources.Spec.File.system) Process.Start(filePath) System.Threading.Thread.Sleep(200) End Sub 2daa1a6848e93373d6f08a0f50baea29-full.png | savepice.ru[^]

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        First, you never said what the error is and showing a picture of it in Russian doesn't help. Second, you're writing a bunch of bytes to a .DLL file, then trying to launch the .DLL, which won't work. You cannot launch a .DLL file and expect it to do anything.

        Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
        Dave Kreskowiak

        1 Reply Last reply
        0
        • U User 12955539

          Hello, I have an error in the dll resource

          Spec.File.system.dll

          Dim filePath As String filePath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\Spec.File.system.dll" IO.File.WriteAllBytes(filePath, My.Resources.Spec.File.system) Process.Start(filePath) System.Threading.Thread.Sleep(200) End Sub 2daa1a6848e93373d6f08a0f50baea29-full.png | savepice.ru[^]

          J Offline
          J Offline
          Jin Vincent Necesario
          wrote on last edited by
          #4

          If you are trying to run a program using a .dll file extension. I'm sorry it doesn't work that way. You need an executable (*.exe) to start a process. However; if you want to use the functionality of the .dll file. What you can do is add it to your project reference and check the exposed API/Class helper so you can get started with it. Hopes this helps you. Thanks.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups