473,802 Members | 2,341 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to pause next form at application "start-up"

Hi, i have 2 forms, first form has a button that brings user to toggle
second form, and second form contains a integrated web-browser
component which has a auto-start flash (the flash contains audio)
file.

The problem is: When i run the program, the next form which contains
sound-containing flash file inside its browser, launches file
immediately without waiting for my button click to prompt.

How to avoid this and pause the second form UNTIL i press button in
first form?

Thanks.

Aug 5 '07 #1
1 1541
Normally should this should go well, therefore there is probably someting in
your code.

Because that it is probably a little bit to large, you can maybe make a
sample and try that, if the behaviour is than the same you can show it to
us.

Cor

"kimiraikko nen" <ki************ *@gmail.comschr eef in bericht
news:11******** **************@ r34g2000hsd.goo glegroups.com.. .
Hi, i have 2 forms, first form has a button that brings user to toggle
second form, and second form contains a integrated web-browser
component which has a auto-start flash (the flash contains audio)
file.

The problem is: When i run the program, the next form which contains
sound-containing flash file inside its browser, launches file
immediately without waiting for my button click to prompt.

How to avoid this and pause the second form UNTIL i press button in
first form?

Thanks.
Aug 5 '07 #2

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

Similar topics

0
1336
by: Alont | last post by:
so how I can test asp code as I test VB project? the function such as "start","step into",etc. all can't use when I edit asp file, InterDev can't "Start" asp file? the IE give me such a simple error report: error type: Microsoft VBScript ÔËÐÐʱ´íÎó (0x800A01C2) /FindMerchant/search.asp,Line19 the line 19 is: rsResult=search(strKeyword) <%
2
12848
by: Greg Smith | last post by:
I am trying to use the "Ping" command and capture the output. I can run it with the following: System.Diagnostics.Process.Start("ping.exe","-a 123.123.123.123"); This works fine. However, when I attempt to redirect the output to a file using: System.Diagnostics.Process.Start("ping.exe", " -a
0
1905
by: The Last Danish Pastry | last post by:
A couple of days ago there was a thread "Returning the machine epsilon". The responses in that thread suggested using Double.Epsilon or Single.Epsilon. Since both these seem to return zero I thought I would try to compute these epsilons myself. Using the following program fragment: =================================== private void button4_Click(object sender, System.EventArgs e) { float a; float f= 1.0f;
3
5028
by: bwalke | last post by:
I was wondering how the Process.Start() command can be used in a VB.NET Web Application. I have used this command in a Windows Application before successfully. I want the client side to envoke the .exe application by clicking a button and want the .exe to run on the server. I have read in groups that it is not possible and also have heard that it is possible in Web Apps. Here is what I have tried so far in the web app... Dim myProcess...
3
11758
by: Dean Slindee | last post by:
The code below is being used to launch WinWord.exe from a VB.NET program. Word launches, but displays this error message: "Word has experienced an error trying to open the file. Try these suggestions. 1) Check the file permissions for the document or drive. 2) Make sure there is sufficient free memory and disk space. 3) Open the file with the Text Recovery converter." The document that I want to display is on my PC and was created by...
2
4510
by: Dean Slindee | last post by:
The code below is being used to launch WinWord.exe from a VB.NET program. Word launches, but displays this error message: "Word has experienced an error trying to open the file. Try these suggestions. 1) Check the file permissions for the document or drive. 2) Make sure there is sufficient free memory and disk space. 3) Open the file with the Text Recovery converter." The document that I want to display is on my PC and was created by...
3
2139
by: AnalogKid17 | last post by:
I have the following line of code in my start/login page: document.getElementById("txtLogin").focus(); When I run the website app through F5 (Debug, Start Debugging) it works fine (ie, focus on txtLogin). When I run with CTRL+F5 (Debug, Start without debugging) the focus defaults to the URL box. Can anybody unveil the mystery ?
0
1344
by: active | last post by:
Sometimes when I After I click "Start Debugging" I get a "File not Found" Exception. Could not load file or assembly 'FormTesting, Version=1.0.2646.36738, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. Usually this happen right after (or maybe while) the Output window is showing the projects the IDE is checking.
4
3298
by: =?utf-8?B?Qm9yaXMgRHXFoWVr?= | last post by:
Hello, what is the use-case of parameter "start" in string's "endswith" method? Consider the following minimal example: a = "testing" suffix="ing" a.endswith(suffix, 2) Significance of "end" is obvious. But not so for "start".
1
2084
by: GD | last post by:
I am trying to restart IIS service programmatically from an application in the same machine. It works fine except that the "Default Web Site" in IIS Manager is not started. I wonder if there is any way to start it programmatically. Thanks. GD
0
9699
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10303
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10282
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10061
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9111
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7598
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6838
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5494
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

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.