按下Ctrl + s后如何自动移动下一个文件 [英] How to move next file automatically after pressing ctrl+s

查看:100
本文介绍了按下Ctrl + s后如何自动移动下一个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

在vb.net应用程序中,我在组合框中有5个pdf文件列表.我需要一个一个地编辑它.如何在保存后自动移动下一个文件(即,完全按ctrl + s后)

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)

推荐答案

您已经打开文件了吗?
您已经保存了吗?
您已经控制Ctrl + S按键了吗?

如果所有答案都是肯定的,则需要将处理所有这些问题的代码放入函数中,然后在保存后立即调用这些函数.

看看此链接 [ ^ ](旧的问与答或多或少都要求相同).请参阅Henry Minute的答案.

如果您在打开和保存文件时遇到问题,那么我建议您使用google,但是在开始打开和关闭文件之前,您始终可以从处理菜单和快捷方式开始;在您的处理程序中放置一个消息框,以查看它的工作原理...

然后从文件开始.

关于您的问题,我无法回答更精确的信息……希望该答案对您有所帮助.

PS:我猜想您在问题主题中指定的Ctl + s存在问题.

祝你好运.
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.


这篇关于按下Ctrl + s后如何自动移动下一个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆