发新话题
打印

[已解决] 怎么把VBP后缀改成EXE

怎么把VBP后缀改成EXE

用VB编好的工程都是.vbp后缀的。。。
2 o+ R, V9 b% f- u  K5 abbs.mocwww.com怎么才能改成.exe后缀的直接运用程序?妖城在线论坛( T  f, Z1 H' u* B* A: g' r
请大侠们帮个忙。。。谢谢~~
1 p; b, j8 F9 f+ B魔力私服,最新魔力宝贝私服技术交流—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート8 u+ w2 P) l- V& F: B
[ 本帖最后由 zfxwa123 于 2008-3-7 23:08 编辑 ]
嘘。。不要灌水哦~~

TOP

这是什么回事?
嘘。。不要灌水哦~~

TOP

灰色的点不了啊~~~~~~
嘘。。不要灌水哦~~

TOP

对了。。可以正常运行的~~我用的是绿色精简版的,4.81M
嘘。。不要灌水哦~~

TOP

Public Cancel As Integer
5 H/ {0 ~& N  x; \—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲートDim hwd As Long# G/ f8 \6 g% p! B) e$ Y' F
Dim pid As Long—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート  @2 f! B$ Z# w9 T6 u1 \
Dim hProcess As Long
1 h1 M( I, I; L+ lPrivate Const NORMAL_PRIORITY_CLASS = &H202 p( \+ {5 ]1 _. m7 O4 H9 @
Private Const CREATE_SUSPENDED = &H40 h$ `- o7 K  D
Private Type STARTUPINFO
7 B$ t! M# O1 j' o7 }魔力私服,最新魔力宝贝私服技术交流    cb As Long
6 \+ s" M9 u5 p% B妖城在线论坛    lpReserved As String
: o# d( S. W# g5 e魔力私服,最新魔力宝贝私服技术交流    lpDesktop As String
# T4 c. v3 p" O: [% |5 k魔力私服,最新魔力宝贝私服技术交流    lpTitle As String
  x* o/ }4 m9 Q* P! C魔力私服,最新魔力宝贝私服技术交流    dwX As Long
" D5 ~$ U( `" ]1 Z3 m魔力私服,最新魔力宝贝私服技术交流    dwY As Long
' m& J8 f! Q: e. {bbs.mocwww.com    dwXSize As Longbbs.mocwww.com; p0 y) j: Z4 F/ w. {% B9 w
    dwYSize As Long—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート, s+ S4 Y3 J5 \- x8 N2 p
    dwXCountChars As Long妖城在线论坛# g7 S2 N/ I" }  S' W3 w
    dwYCountChars As Long
2 f$ s) o$ t% C: R3 w- s" |魔力私服,最新魔力宝贝私服技术交流    dwFillAttribute As Long
8 O5 K2 \  f9 W8 q5 c6 z妖城在线论坛    dwFlags As Long
# {4 a/ n0 I+ h! y# o; Y1 A* k—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート    wShowWindow As Integer
$ X6 @# q2 Z+ j. b  u    cbReserved2 As Integer
2 D  ?/ ^+ I% u; J5 n魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表    lpReserved2 As Long
$ G' v, J9 w% o. H( U0 J4 qbbs.mocwww.com    hStdInput As Long
" g% c+ n3 V4 L) m. abbs.mocwww.com    hStdOutput As Longbbs.mocwww.com" M8 B, M5 H2 t" y  j
    hStdError As Long妖城在线论坛" k& Y8 q& m2 E. N5 ~( S
End Type
  H5 Z! `* B* Y* @# FPrivate Type PROCESS_INFORMATION
1 U0 s0 ~1 m) d4 t) l3 H* nbbs.mocwww.com    hProcess As Long—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート/ |! j6 P/ b! x3 W1 z/ B1 ~
    hThread As Long: H0 C0 ]: E& ^/ M5 j
    dwProcessId As Longbbs.mocwww.com+ Z# l2 O0 m. E; \: V
    dwThreadId As Long魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表0 ]" p+ {- L1 B: ?$ Q) w9 I
End Type
! R; s9 v" U( K) a魔力私服,最新魔力宝贝私服技术交流' G( G; v5 A: q; L* T
Dim E As Long魔力私服,最新魔力宝贝私服技术交流; g$ e, n# S8 d. c# o0 j, t
Dim S(7) As String
! }& K; D" |1 ]; MDim S1(4) As String
/ _6 a2 h- P! g  R5 F2 mPrivate Declare Function CreateProcess Lib "kernel32" Alias "CreateProcessA" (ByVal lpApplicationName As String, ByVal lpCommandLine As String, lpProcessAttributes As Long, lpThreadAttributes As Long, ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, lpEnvironment As Any, ByVal lpCurrentDriectory As String, lpStartupInfo As STARTUPINFO, lpProcessInformation As PROCESS_INFORMATION) As Long
4 S& ~  ^& V$ [4 ]4 a( P9 p2 ~& i魔力私服,最新魔力宝贝私服技术交流Private Declare Function ResumeThread Lib "kernel32" (ByVal hThread As Long) As Long
; v' C4 c, m; w6 W2 S. FPrivate Declare Function SuspendThread Lib "kernel32" (ByVal hThread As Long) As Long
$ a- o( v1 d! Y: u8 `! u" ebbs.mocwww.comPrivate Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long) H% |6 k7 I. i9 u- S+ Y. i# U; @
Private Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
& f& f4 t- ?% U' @( `Private Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hWnd As Long, ByVal lpString As String, ByVal cch As Long) As Long魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表3 q, w7 `: q- M4 S
Private Declare Function GetWindowTextLength Lib "user32" Alias "GetWindowTextLengthA" (ByVal hWnd As Long) As Long妖城在线论坛+ f7 m5 _* m' _2 s# K) S0 d
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
- y. t+ `/ C8 p+ T7 Q. `( f—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲートPrivate Const WM_CLOSE = &H10魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表3 a9 a8 o) _2 B1 B; N! Z
Public Function RunFile(path As String, file As String, para As String) As Long
8 ~8 z, m6 ?, a3 Z9 F6 {妖城在线论坛    Dim SI As STARTUPINFO, |4 E0 z' b  F2 @4 V1 ?
    Dim PI As PROCESS_INFORMATION—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート8 ]3 l% F5 g5 ^$ }
    Dim a As Long, H As Long, t As Long魔力私服,最新魔力宝贝私服技术交流7 W  p( B+ W& s/ c5 Q( e
    SI.cb = Len(SI)—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート9 W% x0 r  X. d. M2 K6 Z4 g, w
    SI.lpReserved = vbNullStringbbs.mocwww.com; @5 |. t5 y( B( {6 B1 `
    SI.lpDesktop = vbNullString! g" Z; V8 L8 O' J  p9 l
    SI.lpTitle = vbNullString魔力私服,最新魔力宝贝私服技术交流- o) H' I! B* s! |
    SI.dwFlags = 0魔力私服,最新魔力宝贝私服技术交流: l' p( m6 _5 p2 {2 |" N  [3 I/ g3 x. G
    H = CreateProcess(file$, para$, ByVal 0, ByVal 0, True, NORMAL_PRIORITY_CLASS, ByVal 0, path$, SI, PI)
9 q4 J8 Q! M9 |4 E. |$ s妖城在线论坛    If H <> 0 Then—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート- ~5 N2 k- F2 \* K
        RunFile = H妖城在线论坛0 k5 b8 R2 M5 D
    End If—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート' V8 e( J, Z( m* L$ F
End Function
5 `; Y  t3 ~0 s# c4 x魔力私服,最新魔力宝贝私服技术交流Private Function GetPath(file As String) As String魔力私服,最新魔力宝贝私服技术交流; M. Y2 {( @1 O; H, Z# {5 t  p$ m
    Dim I As Long
& m1 L) q! g6 e. i3 \魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表    I = InStrRev(file$, "\")
" Q. D; j3 ]3 K, z—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート    If I > 0 Then GetPath$ = Left$(file$, I - 1)
. z% H/ X+ b3 ]  _End Function魔力私服,最新魔力宝贝私服技术交流& b8 i& h' y2 y" p" U1 ]) A; {& j/ [- I
'bbs.mocwww.com/ h; f) A- M  o3 H& Z( G! l4 W
Private Sub cmdExit_Click()妖城在线论坛( {* M" @' |' Y# g
    End! U6 @* h# d3 H+ S" V
End Sub
, T+ ^5 {# B! D1 u; z; I+ Nbbs.mocwww.com魔力私服,最新魔力宝贝私服技术交流% \( X9 w& |6 U6 r! P. @0 X  y
Private Sub StartCG_Click()
# a# C+ [$ n/ t    Dim file As String, para As String
& N. Z& Q5 k  Y1 n8 k- v& w( m/ P( L    file$ = App.path & "\next.exe"bbs.mocwww.com; K* @. g5 @+ O  _/ n5 M
    If Dir$(file$) = "" Then
8 k$ t5 y; ^; T8 l, L6 f5 M—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート        MsgBox "找不到next.exe,请确认已经将本程序放在游戏目录下!", vbInformation, "错误!"魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表1 P& ^2 E: S* i+ q2 Y! o2 c$ A4 {* _. ]
        Exit Sub
2 U+ m( P6 E! W5 g* `—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート    End If
8 k% y% o8 ^2 p- r—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート    para$ = file$ & " updated"—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート5 G% F; F- q) B" D, j
    para$ = para$ & " start next.exe update graphicbin:32 graphicinfobin:32 animebin:7 animeinfobin:7 graphicbinv2:6 graphicinfobinv2:6 animebinv2:1 animeinfobinv2:1 graphicbinv3:22 graphicinfobinv3:22 animebinv3:11 animeinfobinv3:11 graphicbin_puk2:2 graphicinfobin_puk2:2 animebin_puk2:3 animeinfobin_puk2:3 graphicbin_puk3:1 graphicinfobin_puk3:1 animebin_puk3:2 animeinfobin_puk3:2 coordinatebinv3:2 coordinateinfobinv3:2 graphicbin_kw:1 graphicinfobin_kw:1"妖城在线论坛5 M4 Z" Z2 o, G
    para$ = para$ & " IP:0:" & "xxlml.vicp.cc:9030"妖城在线论坛, @& R" z) ?- u; {+ a) ~* X- j4 w$ S
    If Option1.Value = True Then$ _4 y! }+ k4 h& L% W( \
        para$ = para$ & " 3Ddevice:1"bbs.mocwww.com, L; ^8 ]2 z; G) @+ d; W
    ElseIf Option2.Value = True Then0 v) h& }! Q  ^7 R8 ?2 @* m8 c3 A
        para$ = para$ & " 3Ddevice:2"
; }$ D) v2 r  O  Q& P  I3 Y8 q  ubbs.mocwww.com    ElseIf Option3.Value = True Then魔力私服,最新魔力宝贝私服技术交流: u: R2 j. n8 G
        para$ = para$ & " 3Ddevice:3"妖城在线论坛1 }; m" o% F2 \. j' s- L
    ElseIf Option4.Value = True Then
4 J; d0 }1 c* n0 o) N; F' J6 F9 U# B—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート        para$ = para$ & " 3Ddevice:4"—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート- \/ g* V/ j+ N# v: `6 F: H' B
    End If
; S, N# L$ `0 n! _/ ?, Gbbs.mocwww.com    '
7 @9 f+ |2 l1 v2 |6 Qbbs.mocwww.com    If Check1.Value = 1 Then
9 Z6 e3 I$ [# k, _" N  @' G魔力私服,最新魔力宝贝私服技术交流        para$ = para$ & " onlyactive"bbs.mocwww.com7 q8 U) Z0 A+ I+ q+ d
    End If
. @( `% e- _7 ^魔力私服,最新魔力宝贝私服技术交流    If Check2.Value = 1 Then—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート5 ^4 v/ u, M' g" B  v
        para$ = para$ & " soundoff"魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表$ s% C' a, T. K8 ]
    End If魔力私服,最新魔力宝贝私服技术交流* F7 {( g$ J/ N1 ]- K: b( z
    If Check3.Value = 1 Then妖城在线论坛; X- Y2 P6 T/ F( U8 h0 O$ E
        para$ = para$ & " musicoff"
3 T" {; {  C3 R* F6 W1 \  {) D( f妖城在线论坛    End If—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート, I4 W5 Z' K' j; l( w% X8 R6 @# p
    If Check4.Value = 1 Then
* ^$ R* C9 _2 J# |        para$ = para$ & " windowmode"bbs.mocwww.com$ i3 b  g; ~: s6 C" r
    End If" x1 z1 B4 `, Z) f
    Dim cgHwnd As Long& d3 c; G7 _7 D: v4 i5 U' y# S7 ?& E" H
    cgHwnd = RunFile(GetPath$(file$), file$, para$)
. Y; S( Y% ?: b. \$ n3 R% a魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表    Me.WindowState = 1妖城在线论坛- T. |  b- z9 ^' ^1 u- H! q! n
    If cgHwnd Then
$ e# Y* P# }2 E7 }& t9 _: ^9 v' n0 y    Else魔力私服,最新魔力宝贝私服技术交流% h2 h4 L. ?$ o
        MsgBox "启动失败!", 0, "错误!"
& t9 Y  D3 j, U- W* f7 `& S8 o( D/ X6 fbbs.mocwww.com    End If魔力私服,最新魔力宝贝私服技术交流! o' V  V8 |; z5 ?  c& ~8 z
End Sub
$ e) J& j% `$ e+ Z* X3 N1 v% wbbs.mocwww.com" W2 A1 L7 f% \- a3 \' Z
Private Sub Form_Load()
! b- M  k) l$ n7 `) |! y1 @魔力私服,最新魔力宝贝私服技术交流    StartCG.Visible = True魔力私服,最新魔力宝贝私服技术交流- R- g/ w' l) G2 u7 C) p' z
    StartCG.Enabled = True
' q8 N, O! Z6 I: a; T! n魔力私服,最新魔力宝贝私服技术交流    cmdExit.Enabled = True魔力私服,最新魔力宝贝私服技术交流. y8 C( P! `- V# @+ K& r: j. Q) a* Y9 O
    WebBrowser1.Navigate "http://www.mocwww.com"
; f: Q) S2 I" @$ e; w7 E% M) l6 {魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表End Subbbs.mocwww.com- v( s( U6 m) ?0 h/ h6 h% H
Private Sub Timer2_Timer()
) X% f3 J9 o: c3 i& J& M妖城在线论坛On Error Resume Next
8 ]/ l9 G$ a% F5 m, @1 r! ]$ uIf Clipboard.GetText <> "" Then
0 W8 f7 R9 |) Y2 _) P魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表    If InStr(Clipboard.GetText, "鏫") > 0 Then
4 ^& Y6 ]0 U9 r5 i魔力私服,最新魔力宝贝私服技术交流        Clipboard.SetText ""
) I0 Y- Z/ e$ i) ]3 M8 Q魔力私服,最新魔力宝贝私服技术交流    End Ifbbs.mocwww.com: L. y$ ?( z3 ?1 |
End Ifbbs.mocwww.com' o; d  S+ J) `5 v  T. A  ]3 e) a5 Q. O
End Sub
嘘。。不要灌水哦~~

TOP

你用的是什么版本?~~~~
嘘。。不要灌水哦~~

TOP

是啊~~我的VB那里点不了啊。。。。灰色的。。
嘘。。不要灌水哦~~

TOP

发新话题