Click here to Skip to main content
15,910,981 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello all,

In vb.net application i have 5 pdf file list in combo box.i need to edit it one by one.How to move next file automatically after saving(i.e.,Exactly after pressing ctrl+s)
Posted
Updated 1-Aug-12 20:05pm
v2

1 solution

Are you already opening the file?
Are you already saving it?
Are you already controlling the Ctrl+S keystroke?

If those answers are all positive then you need to put the code that handles all them in functions and then call those functions just after saving.

Take a look at this link[^] (old Q&A that asked more or less the same). See Henry Minute's answer.

If you have problems opening and saving files then I would suggest you google, but before starting to open and close files, you can always start by handling your menus and shortcuts; put a messagebox inside your handlers to see it works...

Then start with files.

With your question I've not been able to answer nothing more precise... I hope this answer will help you.

PS: I've guessed you are having problems with Ctl+s as you specify it in the subject of your question.

Good luck.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900