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 自动执行重复性的任务,从而提高效率,节约时间。
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple