473,498 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with Flash screen form

i've created a flash screen form with the follw. code;
dim obj as new form2()
private sub form1_load( By val sender.....
me.timer1.start()
obj.showdialog()
end sub

private sub timer1_tick (By val Sender......
me.timer1.stop()
obj.close()
end sub

The flash screen form is appearing, but i've to close it manually and then the next form appears. it should halt based on the Milisec time specified in the timer.property. plz help. 10x.
--------------------------------
From: Rehan Shaikh

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>VUT6hX0uGU+A0Z/kvxS3KQ==</Id>
Nov 20 '05 #1
2 2244
"Rehan Shaikh via .NET 247" <an*******@dotnet247.com> schrieb
i've created a flash screen form with the follw. code;
dim obj as new form2()
private sub form1_load( By val sender.....
me.timer1.start()
obj.showdialog()
end sub

private sub timer1_tick (By val Sender......
me.timer1.stop()
obj.close()
end sub

The flash screen form is appearing, but i've to close it manually and
then the next form appears. it should halt based on the Milisec time
specified in the timer.property. plz help. 10x.


I can not reproduce it. If the Timer's interval property is set to 3000,
Form2 closes after 3 sec as expected.
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2
Rehan Shaikh via .NET 247 wrote:
i've created a flash screen form with the follw. code;
dim obj as new form2()
private sub form1_load( By val sender.....
me.timer1.start()
obj.showdialog()
end sub

private sub timer1_tick (By val Sender......
me.timer1.stop()
obj.close()
end sub

The flash screen form is appearing, but i've to close it manually and then the next form appears. it should halt based on the Milisec time specified in the timer.property. plz help. 10x.


Don't use Form.ShowDialog(). If a form is displayed as modal, the code
following the ShowDialog method is not executed until the dialog box is
closed. However, when a form is shown as modeless, the code following
the Show method is executed immediately after the form is displayed.

http://msdn.microsoft.com/library/?u...delessform.asp

Simply use Show() or (even better) start your splash-screen in its own
thread:

http://www.gotdotnet.com/Community/U...4-ab9233f4dc17
http://www.gotdotnet.com/community/u.../?query=splash

Cheers

Arne Janning
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1964
by: Huw Lloyd | last post by:
I am developing a windows application and want to display a flash animation in a splash screen. I have the .fla file but i dont know how to load it into the shockwave flash object that I have on...
0
1599
by: Doug Berrett | last post by:
Easy. I assume you want to add it to a Windows Form. Just add the "Shockwave Flash Object" to you toolbox and drag it onto a new form. This will then allow you to embed the Flash Active-X...
9
2495
by: Theodore A. Jencks | last post by:
Hi All, I have a problem that is two fold. First a little about the enviroment I'm using; I am running Microsoft Windows XP with all security patches applied. I use Mozilla 1.6 for all testing...
2
1524
by: Mark | last post by:
Hi all, This is what I'm trying to do. I'm trying to load a flash movie transparently over my existing html page (not covering the full screen, but 75% of it), so it is kind of similar to a...
3
7662
by: VMI | last post by:
I asked this question some time ago, and I received a reply, but I never followed up on the suggestion. That's why I'm posting again... I'm trying to add a Macromedia Flash movie to my C# windows...
115
13179
by: post2google | last post by:
I was thinking about where to go for lunch the other day, so I went to hardees.com to see what the menu looked like these days. What comes up is a big note that my flash version is not new enough...
20
1685
by: Pete Marsh | last post by:
Wondering if anyone can see an error with this script. I get a server configuration error. THat could mean a module is not being loaded, but maybe there's a syntax error here, can anyone spot it?...
1
2507
by: raghudr | last post by:
Hi all, I am displaying a splash screen for which i have created a thread.Since my whole project is launched by windows service and that service will start automatically at the start of the...
0
7126
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7210
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5465
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4916
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4595
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3096
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3087
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1424
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
659
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.