Click here to Skip to main content
16,005,206 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: I need a suggestion Pin
Sascha Lefèvre31-May-15 4:57
professionalSascha Lefèvre31-May-15 4:57 
Questionsearch in datagridview Pin
Member 1171143728-May-15 3:21
Member 1171143728-May-15 3:21 
AnswerRe: search in datagridview Pin
Eddy Vluggen29-May-15 2:24
professionalEddy Vluggen29-May-15 2:24 
QuestionCan we have same story name in a MOS rundown.runorder Pin
Ankush Seth27-May-15 19:48
Ankush Seth27-May-15 19:48 
QuestionCreating B2B using AS2 protocol Pin
Kamel J27-May-15 3:28
Kamel J27-May-15 3:28 
AnswerRe: Creating B2B using AS2 protocol Pin
Mycroft Holmes27-May-15 13:04
professionalMycroft Holmes27-May-15 13:04 
QuestionCompress a file with password ? Pin
satc26-May-15 10:09
satc26-May-15 10:09 
AnswerRe: Compress a file with password ? Pin
Dave Kreskowiak26-May-15 10:25
mveDave Kreskowiak26-May-15 10:25 
That's depends on exactly what you're talking about.

No, VB.NET and the .NET Framework do not have anything built in to do this. YOU have to write the code to do it.

Now, in precise terms, what do you mean by "encrypt a file with a password"? Sure you can do that. Just pick an encryption algorithm and write an app that can accept a password and a source file, do the encryption using the password as a key or and/or salt and output an encrypted file.

Obviously, the app would also need to do the reverse.

Now, what exactly are you doing with the encrypted file and what do you hope to prevent?
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Compress a file with password ? Pin
satc26-May-15 11:54
satc26-May-15 11:54 
GeneralRe: Compress a file with password ? Pin
Dave Kreskowiak26-May-15 12:23
mveDave Kreskowiak26-May-15 12:23 
QuestionAre there Resources for creating VBA/VB6 IDE Panes to Jump to Module Code Pin
LukeVA26-May-15 6:20
LukeVA26-May-15 6:20 
AnswerRe: Are there Resources for creating VBA/VB6 IDE Panes to Jump to Module Code Pin
Dave Kreskowiak26-May-15 9:24
mveDave Kreskowiak26-May-15 9:24 
QuestionDetect a Word or Excel file regardless of extension Pin
satc25-May-15 23:27
satc25-May-15 23:27 
AnswerRe: Detect a Word or Excel file regardless of extension Pin
Richard MacCutchan26-May-15 3:12
mveRichard MacCutchan26-May-15 3:12 
AnswerRe: Detect a Word or Excel file regardless of extension Pin
Dave Kreskowiak26-May-15 3:16
mveDave Kreskowiak26-May-15 3:16 
AnswerRe: Detect a Word or Excel file regardless of extension Pin
Sascha Lefèvre26-May-15 3:24
professionalSascha Lefèvre26-May-15 3:24 
GeneralRe: Detect a Word or Excel file regardless of extension Pin
satc26-May-15 22:13
satc26-May-15 22:13 
GeneralRe: Detect a Word or Excel file regardless of extension Pin
Sascha Lefèvre27-May-15 3:19
professionalSascha Lefèvre27-May-15 3:19 
QuestionDrag & drop operation details Pin
satc25-May-15 22:08
satc25-May-15 22:08 
AnswerRe: Drag & drop operation details Pin
Dave Kreskowiak26-May-15 3:08
mveDave Kreskowiak26-May-15 3:08 
GeneralRe: Drag & drop operation details Pin
satc26-May-15 17:59
satc26-May-15 17:59 
GeneralRe: Drag & drop operation details Pin
Dave Kreskowiak27-May-15 2:19
mveDave Kreskowiak27-May-15 2:19 
QuestionEntity Framework : Too slow when executing the first query Pin
satc24-May-15 16:22
satc24-May-15 16:22 
AnswerRe: Entity Framework : Too slow when executing the first query Pin
Richard MacCutchan24-May-15 21:42
mveRichard MacCutchan24-May-15 21:42 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
satc24-May-15 21:50
satc24-May-15 21:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.