Click here to Skip to main content
15,899,679 members

Comments by Member 14766911 (Top 6 by date)

Member 14766911 8-Oct-20 13:15pm View    
I'm using the If-statements after the for-loop to check for that
Member 14766911 8-Oct-20 10:53am View    
I need two dialogs because I want to user to save a single page PDF that has been converted into an image using the "SaveFileDialog" and if the PDF is multi-page, I want the user to save those images into a folder using the "FolderBrowserDialog".
Member 14766911 1-Jun-20 12:50pm View    
Hi, thanks for your suggestion. I have moved the loop and the saveFileDialog codes and placed them inside - where I'm creating the zip file, but I'm still having the same result.
It still converts all the pages in the PDF into images but I have to constantly click on the Ok button as the next SaveFileDialog box pops up in order to save the next image that has been converted.

Member 14766911 5-Apr-20 12:57pm View    
The problem was with my select statement.
Thanks for the help!
Member 14766911 3-Apr-20 6:30am View    
I changed:

command.Parameters.AddWithValue("@Password", hc.IsValidPassword(TxtBox_Password.Txt));

To:

command.Parameters.AddWithValue("@Password", hc.GetHashPassword(TxtBox_Password.Txt));

And I entered the correct password, but I'm now getting an error msg that I set if the passwords don't match.