473,395 Members | 1,756 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Form starts form = slow execution

KS
I have a button on a form that starts another form with this click-event
code:

Dim frmH As frmHelp
If IsNothing(frmH) OrElse frmH.IsDisposed Then
frmH = New frmHelp()
Me.Opacity = 0.9
frmH.ShowDialog()
End If

and the other form I close with Me.Close() and them the application work
very, very slow - why ?

KS, Denmark
Jul 21 '05 #1
4 1391
The reason for the slowing might be something else.

Thanks,
Vijaya Krishna P.
"KS" <ke************@os.dk> wrote in message
news:OF**************@TK2MSFTNGP12.phx.gbl...
I have a button on a form that starts another form with this click-event
code:

Dim frmH As frmHelp
If IsNothing(frmH) OrElse frmH.IsDisposed Then
frmH = New frmHelp()
Me.Opacity = 0.9
frmH.ShowDialog()
End If

and the other form I close with Me.Close() and them the application work
very, very slow - why ?

KS, Denmark

Jul 21 '05 #2
KS
Yes it can but I shure it's NOT sothing else because I have tried to just
open an empty form - only with the close-button on it - some result - very
slow execution after the second form closes !

I say 'slow' because I have some panels moving around on the form and the
panels moves 'normaly' before and very slow AFTER the form closes - that's
why I say very slow execution.

What is wrong here ?

KS, Denmark
"Vijayakrishna Pondala" <pv******@hotmail.com> skrev i en meddelelse
news:ej**************@TK2MSFTNGP11.phx.gbl...
The reason for the slowing might be something else.

Thanks,
Vijaya Krishna P.
"KS" <ke************@os.dk> wrote in message
news:OF**************@TK2MSFTNGP12.phx.gbl...
I have a button on a form that starts another form with this click-event
code:

Dim frmH As frmHelp
If IsNothing(frmH) OrElse frmH.IsDisposed Then
frmH = New frmHelp()
Me.Opacity = 0.9
frmH.ShowDialog()
End If

and the other form I close with Me.Close() and them the application work
very, very slow - why ?

KS, Denmark


Jul 21 '05 #3
KS
I found out - it's the Opacity=0.9 that's slows down !

If I comment it out - no problems !

KS, Denmark

"KS" <ke************@os.dk> skrev i en meddelelse
news:%2****************@tk2msftngp13.phx.gbl...
Yes it can but I shure it's NOT sothing else because I have tried to just
open an empty form - only with the close-button on it - some result - very
slow execution after the second form closes !

I say 'slow' because I have some panels moving around on the form and the
panels moves 'normaly' before and very slow AFTER the form closes - that's
why I say very slow execution.

What is wrong here ?

KS, Denmark
"Vijayakrishna Pondala" <pv******@hotmail.com> skrev i en meddelelse
news:ej**************@TK2MSFTNGP11.phx.gbl...
The reason for the slowing might be something else.

Thanks,
Vijaya Krishna P.
"KS" <ke************@os.dk> wrote in message
news:OF**************@TK2MSFTNGP12.phx.gbl...
I have a button on a form that starts another form with this click-event code:

Dim frmH As frmHelp
If IsNothing(frmH) OrElse frmH.IsDisposed Then
frmH = New frmHelp()
Me.Opacity = 0.9
frmH.ShowDialog()
End If

and the other form I close with Me.Close() and them the application work very, very slow - why ?

KS, Denmark



Jul 21 '05 #4
KS
It's (too) a well know problem !

KS, Denmark

"KS" <ke************@os.dk> skrev i en meddelelse
news:ez**************@TK2MSFTNGP12.phx.gbl...
I found out - it's the Opacity=0.9 that's slows down !

If I comment it out - no problems !

KS, Denmark

"KS" <ke************@os.dk> skrev i en meddelelse
news:%2****************@tk2msftngp13.phx.gbl...
Yes it can but I shure it's NOT sothing else because I have tried to just
open an empty form - only with the close-button on it - some result - very slow execution after the second form closes !

I say 'slow' because I have some panels moving around on the form and the panels moves 'normaly' before and very slow AFTER the form closes - that's why I say very slow execution.

What is wrong here ?

KS, Denmark
"Vijayakrishna Pondala" <pv******@hotmail.com> skrev i en meddelelse
news:ej**************@TK2MSFTNGP11.phx.gbl...
The reason for the slowing might be something else.

Thanks,
Vijaya Krishna P.
"KS" <ke************@os.dk> wrote in message
news:OF**************@TK2MSFTNGP12.phx.gbl...
> I have a button on a form that starts another form with this

click-event > code:
>
> Dim frmH As frmHelp
> If IsNothing(frmH) OrElse frmH.IsDisposed Then
> frmH = New frmHelp()
> Me.Opacity = 0.9
> frmH.ShowDialog()
> End If
>
> and the other form I close with Me.Close() and them the application work > very, very slow - why ?
>
> KS, Denmark
>
>



Jul 21 '05 #5

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

Similar topics

1
by: Thomas Bartkus | last post by:
Is it possible that the elapsed time being measured includes waiting for the client to acknowledge that it has received all the data? In *addition* to the server execution time? Documentation...
7
by: Thomi Baechler | last post by:
Hello Everybody I run the following query against to identical databases. Execution time on the first DB is 0 seconds, on the other 6 seconds! SELECT dbo.HRMABZ.EMPKEY ,...
8
by: Sergio Otoya | last post by:
Hi all, I need to add an input hidden field to an existing form (post). I have tried a couple things like adding the '<INPUT type=hidden name=idSelectedURL value=http://server/documents>' to...
12
by: Ger | last post by:
My dialogue form (sometimes partly, sometimes as a whole) remains visible during a fairly long processing job. The dialogue asks the user to enter some data for the job to follow, and after OK,...
4
by: KS | last post by:
I have a button on a form that starts another form with this click-event code: Dim frmH As frmHelp If IsNothing(frmH) OrElse frmH.IsDisposed Then frmH = New frmHelp() Me.Opacity = 0.9...
50
by: diffuser78 | last post by:
I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans
4
by: kschneider | last post by:
Assume there's a form with it's action attribute all set to post to a URL, but without a submit control. Form submission is done via a link and I want to prevent the classic "double submit"....
8
by: lovecreatesbea... | last post by:
K&R 2, sec 2.4 says: If the variable in question is not automatic, the initialization is done once only, conceptually before the program starts executing, ... . "Non-automatic variables are...
5
by: lazyvlad | last post by:
Hi, I'm writing here because this issue is becoming more annoying with each day it passes. So I have a form, a dataset with a few table adapters (3 to be precise) and a datagridview.The datagridview...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...

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.