vb.net global image filepath [closed] - vb.net

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Im trying to add pictures to an excel file, in this excel file command it asks for a image Path not the image...
i have added images to my resources but can't programatically find there path ( say it was installed on another machine )
anyone know how that would look ?
filepath of my.Resources.zoo_picture_1 . tostring??
any help is appreciated
ok i disagree with the downvote ... i just need to konw how to find out the imagepath of the my.resouces.zoo_picture_1 picture..... there not going to always be located on my c: drive...

Since embedded resources are not part of the file system hierarchy, there's no way to get a path to them. You'll need to distribute your images as files alongside your application.

Related

Writing to existing xlsm files [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Given the documentation above, does this mean it is not possible to write to an existing .xlsm file, not modifying previously existent information?
No, it means that if there is a file with the same name, it will not warn you, it will just replace the file.
You can modify existing excel files, however, it doesn't save modifications, rather it overwrites the old file with a new file with modifications.

Unreal Engine 4 In-game Screenshot [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Is there a way to take a screenshot in UE4 while in-game and save it somewhere so that I can use it again as an image or something?
There is a HighResShot solution, but that saves it somewhere outside the range of the editor (you cannot reach it programmatically), is there another way of doing it, that allows me to access it in-game?
I would recommend using HighResShot for taking the screenshots. As you mention, it saves this outside the range of the engine, in the "saved" folder. (In packaged builds, the saved content is in the user's appdata.) You can actually get this with ProjectSavedDir(), which returns this saved directory. https://docs.unrealengine.com/en-US/API/Runtime/Core/Misc/FPaths/index.html
It's C++, but you can expose this to Blueprints fairly easily. You can get the ProjectSavedDir()/Screenshots directory and load the images in-game. For doing this, I recommend the Ramas plugin (https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/4014-39-rama-s-extra-blueprint-nodes-for-you-as-a-plugin-no-c-required?3851-(39)-Rama-s-Extra-Blueprint-Nodes-for-You-as-a-Plugin-No-C-Required=)

Download file from URL through macro and save it on a location [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am trying to download a file from a website and want to save at a desired location, while doing this my code get stuck on the save as dialog box. After this I am not able to pass the location path after that dialog box get open.
If you are trying to download a file from a url then you can use the method in this blog.
Download a file from url using VBA
But you will need to change saving path, file type etc. accordingly. It will be helpful if you can post your current code.

How can I make a file that can only be read by my application? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I want to know if there's a way to create a file that only my application can read but other programs (eg: notepad) can't
For example:
i create a config file from my application, and if i open it with notepad it will be garbled nonsense, like:
½ÁoLG0%­Ö9)9Ìm•~0ý<öKfƒ”ü9´~<ƒ\,Aëxzºv‡#u}ž¹ñ7µK³¨]fÛn {盞Ժî*Ò\úǃ«E%ñ
x#Â˼†ZÜŸ¹>ÇðÏ•Þ¢dóü0¹ñS`|ÛV‰‡Fëm¬2°,üdVNÆ$å^Rf­¾!v¼ñ
¡ýù´ÿËjC&¤œšÍÉ]ËÈFæTñq%#++ÜÝ[êq"#hbÍj‰Œ‚äd¡†¸<×sæå‘óùOë\2rxy
You're looking for encryption, if you want something readable only to your application but not the end user.
I don't know VB.NET but a quick google search shows me this question which has a pretty well written answer, that seems to explain how to encrypt a file in VB.NET

File upload in ionic [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
How to upload any type of files like doc, pdf, image etc. in ionic?
can anyone tell me the right solution?
Thanks
you can use cordova file transfer plugin for uploading and downloading files from ionic application.Below is the link of its doc:-
https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file-transfer/
Note:- It won't work in browser.But works fine in device and emulator
I have uploaded a sample project in githubfor uploading different type's of files in a server.
Have a look and reply me if you have any queries