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

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.

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.

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

vb.net global image filepath [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 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.

Embed Google docs editor into webpage? [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
Is it possible to embed the Google Docs editor so that it reads a file, which is then uploaded to a server (not google docs server) and you can edit it and save back to same file?
Yes it is:
< iframe
height="300"
src="https://docs.google.com/spreadsheet/ccc?key=0AgRoqAerkV0-dE1TS1BKVGk0cUFSNi1HZG10dFNEU0E&usp=sharing&embedded=true"
width="75%" >
I don't think this is currently possible with Google Docs.
It's possible to edit an existing document. You must only put the following.
To save file in another server, you must capture event on click in the frame and if yoy want to create new, you must create the file on gmail server then download on to your server.