How to start a program with a start form?

bonef 2004-12-31 11:16:30
I design two form, startForm and mainForm.

I want to start this program with startForm. A few seconds later start mainForm.

How to code it?

Thanks!
...全文
83 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
GnuDoyng 2004-12-31
  • 打赏
  • 举报
回复
Start your program in the Sub Main
beiguren 2004-12-31
  • 打赏
  • 举报
回复
To: mademelaugh(五朝臣子)
what?you mean me?
It's better not to talk bt or not here,don't u think so?
mademelaugh 2004-12-31
  • 打赏
  • 举报
回复
oh! you yi ge bt.
beiguren 2004-12-31
  • 打赏
  • 举报
回复
I'd like to give u a suggestion:
It's better to question if you're Chinese.I think you'll get more replies!
netFei 2004-12-31
  • 打赏
  • 举报
回复

application.run(form1)

写延时函数

from1.hide

form2.show
landlordh 2004-12-31
  • 打赏
  • 举报
回复
Public Sub Main()
Dim main As New mainfrm
main.Hide()
Dim splashForm As New loading
splashForm.Show()
Application.DoEvents()
Thread.Sleep(3000) '3 s, changed it
splashForm.Close()
Application.Run(main)
End Sub

but your question is →→→"How to start a program with a start form?"
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
"how to start a form with a start form?"

16,554

社区成员

发帖
与我相关
我的任务
社区描述
VB技术相关讨论,主要为经典vb,即VB6.0
社区管理员
  • VB.NET
  • 水哥阿乐
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧