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. Visual Basic
  4. Help on Using Resources in VB.NET

Help on Using Resources in VB.NET

Scheduled Pinned Locked Moved Visual Basic
questioncsharphardwarehelp
1 Posts 1 Posters 0 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.
  • D Offline
    D Offline
    Dan Suthar
    wrote on last edited by
    #1

    Hi everyone, In one of my project I have to work with embedded resources in VB.NET. I have 2 Problems: (1) In my project I have added a 5 MB movie file as a resource. Now I want to copy that one to localdisk "C:\sample.avi". I wrote the following code. But I don't know what to use in place of "x" where "x" is the path of the file to copy. Any suggestions? Code: Imports System.Io Button1_click() File.copy("x","C:\sample.avi") End sub So in short I want to know what is the path of that file? (2) How to do the same with more than one files. I want to copy them all (at least 6 files!) to localdisk. Can anyone suggest the code for it ? I will be helpful to me. Thanks, Dan

    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