Changeset 19738 for lang/vb2008
- Timestamp:
- 09/22/08 23:28:01 (5 years ago)
- Files:
-
- 1 modified
-
lang/vb2008/TweenUp/TweenUp/Form1.vb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/vb2008/TweenUp/TweenUp/Form1.vb
r17494 r19738 1 Public Class Form1 1 Imports System.Diagnostics 2 3 Public Class Form1 2 4 3 5 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load … … 90 92 System.IO.File.Delete(System.IO.Path.Combine(Application.StartupPath, My.Resources.FilenameNew)) 91 93 94 ' ネイティブイメージにコンパイル 95 Call GenerateNativeImage() 96 92 97 ' 「新しいTweenを起動しています」 93 98 BackgroundWorker1.ReportProgress(0, userState:=My.Resources.ProgressExecuteTween) … … 118 123 End Sub 119 124 125 Private Sub GenerateNativeImage() 126 ' Tween.exeをプリコンパイル 127 Try 128 Dim psi = New ProcessStartInfo() 129 130 psi.Arguments = "/nologo /silent " + Chr(34) + System.IO.Path.Combine(Application.StartupPath, My.Resources.FilenameTweenExe) + Chr(34) 131 psi.FileName = System.IO.Path.Combine(System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory(), "ngen.exe") 132 psi.WindowStyle = ProcessWindowStyle.Hidden 133 Process.Start(psi).WaitForExit() 134 Catch 135 136 End Try 137 138 End Sub 139 120 140 End Class
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)