|
by: VMI |
last post by:
My Windows form has two buttons: "Start" and "Stop". How can I stop the form
from doing whatever it is doing without closing the whole application? The
"Stop" button would have to stop a process that's being run in another
class, not from within the form.
Thanks.
|
by: Ollie Riches |
last post by:
I understand the use of Application.DoEvents() to process all outstanding
messages on the message queue in a winforms application if you have long
running process on the UI thread. But can anyone explain to me why I need to
call DoEvents when I am using a COM component that calls back to into the
..Net application? - If I don't call DoEvents after receiving a callback then
sometimes no more messages are pumped, it appears that the message...
|
by: Mika M |
last post by:
Hi!
I'm using Rs232-class, which was shipped with 101 VB.NET samples by
Microsoft. Application is made to read COM-port with the following code...
Try
Me.tmrReadCommPort.Enabled = True
If (Not m_CommPort.IsOpen) Then m_CommPort.Open()
Dim strCommand As String =
ConfigurationSettings.AppSettings("ReadCommand")
|
by: Amjad |
last post by:
Hi,
Is there an equivalent to the "Application.Doevents" method in modules or
Windows services?
I want to make a Windows service that calls a DLL. The DLL would have all my
functions and it would be doing all the job, but some of the functions that
I'm using require calling something like "Application.Doevents" and I can't
use this because the DLL module is not an application.
|
by: Lonifasiko |
last post by:
Hi group,
I must launch from my Winforms application another application (.exe
developed by the client) which response time sometimes can be more or
less 30 seconds.
I'm using ProcessManager class and WaitForExit() to start it and wait
till it rsponds me. It's necessary for the application to get a
response, that's why I use WaitForExit().
I don't have access to the external .exe developed by the client,
|
|
by: Alan T |
last post by:
I tried to use a thread to process a iterative execution of processes but
afraid my thread is not thread-safe.
If I am not using a thread, my main form will become 'white' when switch
forth and fro between other applications. So now I tried
Application.DoEvents(). But it seems does not help, my main form still
displays as 'white' when switch between other application.
|
by: Justin |
last post by:
I can attach my code if anyone wants to see it however I'll try to ask my
question with some mark up code first.
I'm having a problem terminating my process while using DoEvents. For
example:
Button.text = start
If button.text = start then
button.text = stop
|
by: Don |
last post by:
I have a WPF application in VB in VSTS 2008 RTM. I am trying to
"blink" (momentarily clear) a field of data if the data is reloaded
from the database to give the user some visual indication of the LOAD
operation.
So on the LOAD button I clear the text fields, do
mainCanvas.UpdateLayout( ), and the reload the text field from the
database. But the text fields are not cleared long enough to see them
blink.
|
by: Bharathi Harshavardhan |
last post by:
Hi,
I have an application in which I have used Application.DoEvents()
method in the click event of a NumericUpDown. This particular method
is throwing "Object reference not set to an instance of an object"
error.. Does anyone have any idea about it?
Regards,
Bharathi
|
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,...
|
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...
|
|
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,...
|
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...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|