How can I make a file that can only be read by my application? [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 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

Related

Disable or stop blocking content in Objective-C [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
Is it possible to stop or disable a content blocker from an app without using the safari section in the settings app?
EDIT:
You can use NSFileManager to open the blockerList.json file and modify it's content. Just remove the blocks in the file when you want your blocker to be disabled and add it back when you want to enable it.
You should also keep a backup of your blockers in a second file just in case.
I haven't tried this but I figure it should be possible.

File Transfer over ip in vb [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 8 years ago.
Improve this question
in Visual basic there is a function called file copy
filecopy(source,destination)
is it possible to copy from my computer to another over ip?
ex:
filecopy("C:\User\name\Desktop\test.txt",//192.168.x.x)
if yes what is the correct syntax?
You need to specify the UNC path correctly, for example:
filecopy("C:\User\name\Desktop\test.txt","\\192.168.x.x\c$\User\name\Desktop")
Also it's better to use File.IO.Copy instead of the old VB6 syntax.

Is there a way to save a process and retrieve it after a reboot? [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 9 years ago.
Improve this question
I know that the best way of accomplishing similar tasks is to save intermediate results into a file and restore the state from that file. But out of curiosity, I just wonder whether there is a way to save a process and retrieve it after a reboot. That's all.
Problem solved. I create a dump file of my process and get the address of my variables. Then I extract all the data I need from the file.

Recently Opened Apps [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 there any way of getting a list of, say 4, recently opened Applications? If so, how?
(Cocoa Mac)
Have a look at the LaunchServices/LSSharedFileList.h header file. Unfortunately, the functions in this file are not documented in the Xcode docs, but the comments in the file are very good. Basically, you create a reference to the list of recently opened applications by passing kLSSharedFileListRecentApplicationItems to LSSharedFileListCreate(). Then get an array of the current contents of the list with LSSharedFileListCopySnapshot().

how to post the code to some host [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 8 years ago.
Improve this question
how to post my web application and also the source code to a host..i want every one can see my project..i'm just know how to post an image..how to do that?
You can share your project using code.google.com click here where you can put all your code so that other peoples can also see your project.There is another option also that is GitHub you can also use that but it is having limited space.One thing which very important that is before committing your source code prepare proper documentation for your project because if documentations are not proper then it is of no use for other even if you written best quality code.