startup

Is it possible to run a VBA function whenever Outlook starts up?

我们两清 提交于 2019-11-30 14:14:07
I would like to have a VBA function run as soon as Outlook starts up. Is this possible and if so, what do I need to do? My searches on Google have failed me. I don't mind that the security alert will pop up. Use the Application_Startup event in ThisOutlookSession : Private Sub Application_Startup() MsgBox "Foo" End Sub Have you looked at the Application_Startup() event? 来源: https://stackoverflow.com/questions/1565231/is-it-possible-to-run-a-vba-function-whenever-outlook-starts-up

Launch Window on Windows startup

半城伤御伤魂 提交于 2019-11-30 13:48:43
I want that my application (a WPF Window ) is launched on Windows startup. I tried different solutions, but no one seems to work. What i have to write in my code to do this? You are correct when you say that you must add a key to the registry. Add a key to: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run if you want to start the application for the current user. Or: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run If you want to start it for all users. For example, starting the application for the current user: var path = @"SOFTWARE\Microsoft\Windows

Spring component annotation compile time scan

半腔热情 提交于 2019-11-30 12:59:53
My belief is that the Spring bootstraps ContextLoaderListener DispatcherServlet due to the instruction <context:component-scan base-package=" ..... " /> would perform component scans at app startup (or whenever instructed to) during run-time. Is there a way to instruct the compiler (perhaps thro a maven build plugin) to perform a one time static scan of annotated spring components during build/compile time, so that the bootstrap component scan is not performed, WITHOUT abandoning the use of component annotation? As a way to reduce startup load and latency. Spring 5 Has added a new feature to

How to increase the startup speed of the delphi app?

 ̄綄美尐妖づ 提交于 2019-11-30 11:09:06
问题 What do you do to increase startup speed (or to decrease startup time) of your Delphi app? Other than application specific, is there a standard trick that always works? Note: I'm not talking about fast algorithms or the likes. Only the performance increase at startup, in terms of speed. 回答1: Try doing as little as possible in your main form's OnCreate event . Rather move some initialization to a different method and do it once the form is shown to the user. An indicator that the app is busy

How to force Android Studio to start with the welcome screen?

非 Y 不嫁゛ 提交于 2019-11-30 10:21:11
问题 is it possible to let Android Studio start into the welcome screen instead of directly loading the last recent project? I´ve not really the fastest pc and I often need to switch between projects, its really annoying sometimes. 回答1: Go to (as of July 25, 2015) File -> Settings -> Appearance & Behavior -> System Settings -> Un-check "Reopen last project on startup" -> Click apply (old version) File -> Settings -> General -> Startup/shutdown -> Reopen last project on startup. Un-Check the

Start application with parameters on Windows start

天涯浪子 提交于 2019-11-30 08:44:26
问题 I am trying to have my application automatically launch and run the log-in logic when Windows starts up. I've got it working with a shortcut in the startup folder with parameters but I was wondering if there is some way to set a registry key that can start my program and pass it parameters like a shortcut would? I'm using Inno Setup for the installer and I was using this line: Name: "{commonstartup}\AppNameHere"; Filename: "{app}\AppNameHere.exe"; \ Parameters: "/login"` But I want to be able

求助tomcat启动出现乱码

家住魔仙堡 提交于 2019-11-30 08:06:54
tomcat启动出现乱码问题,搜索网上,似乎没有这样的问题,我却出现了,而且没有解决,求助好心人!! 我下载的是tomcat7,环境变量配置完善,启动start.bat后可以使用,但是启动start.bat弹出的命令行中文乱码 将tomcat配置到idea中也是同样的问题,有没有人也遇到过? NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED 12鏈?17, 2018 9:09:20 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Server version: Apache Tomcat/7.0.92 12鏈?17, 2018 9:09:20 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Server built: Nov 9 2018 11:07:44 UTC 12鏈?17, 2018 9:09:20 涓嬪崍 org.apache

tomcat启动web项目时出现乱码

大城市里の小女人 提交于 2019-11-30 08:05:47
在启动web项目时出现乱码: 22-Apr-2019 11:11:35.376 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.鏈嶅姟鍣ㄧ増鏈�: Apache Tomcat/9.0.14 22-Apr-2019 11:11:35.381 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.鏋勫缓: Dec 6 2018 21:13:53 UTC 22-Apr-2019 11:11:35.381 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.14.0 22-Apr-2019 11:11:35.381 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10 22-Apr-2019 11:11:35.381 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.鐗堟湰:

Set that a program has to run at startup from an installer

蹲街弑〆低调 提交于 2019-11-30 07:00:39
I've a C# .net 4 application, I'm starting to create the installer. The installed program works fine, but my customer want that the application start with window(it's an "Always of top" toolbar which help them to manage their call). I thought to create a "Class Installer", and in it insert a key in the registry. I've two problems: First: How can I find the executable path? It can change between installation. I found somewhere a Application.ExecutablePath, but it seems it located into Application.Window.Forms so I think its not compatible with WPF Second: I need to insert this key in the

Start up script for node.js repl

瘦欲@ 提交于 2019-11-30 06:22:55
Is there a way configure node.js's repl? I want to require jquery and underscore automatically whenever the repl starts. Is there a file (noderc?) that node.js loads when it starts the repl? The equivalent in Python is to edit ~/.ipython/ipy_user_conf.py with: import_mod('sys os datetime re itertools functools') I don't know of any such configuration file, but if you want to have modules foo and bar be available in a REPL, you can create a file myrepl.js containing: var myrepl = require("repl").start(); ["foo", "bar"].forEach(function(modName){ myrepl.context[modName] = require(modName); });