References between projects that target different runtimes or.NET Framework profiles are not supported. This reference will be treated as a file assembly reference. When modifying code in the referenced project, you will need to rebuild it to update some Visual Basic features, such as IntelliSense and background error messages.
Methods which do not access instance data or call instance methods can be marked as static (Shared in Visual Basic). After doing so, the compiler will emit non-virtual call sites to these members which will prevent a check at runtime for each call that ensures the current object pointer is non-null. This can result in a measurable performance gain for performance-sensitive code. In some cases, the failure to access the current object instance represents a correctness issue.
Access can perform an evaluation of data, or of an SQL statement supplied by a local object reference, but it cannot evaluate data supplied by a function in Visual Basic for Applications (VBA). If the SQL statement in the function has syntax errors, or has a reference to a variable supplied by the user at runtime and the user provides an invalid response, this error message may appear.
Increase efficiency and save time by automating repetitive tasks using Visual Basic.
通过使用 Visual Basic 自动执行重复性的任务,从而提高效率,节约时间。
Conteúdo potencialmente sensível ou impróprio
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.