473,804 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Notification from a Console app


Can a Console app manipulate the Windows API?

Say I want a console app to do some work, and then, maybe just popup an
alert to say "finished"?

Is there a way to do that without having to create a Form app?

Do I have alternatives for GUI notification from a console app?
Aug 30 '05 #1
1 1548
"John Bailo" <ja*****@texeme .com> wrote in message
news:C_******** *************** *************** ***@speakeasy.n et...
Can a Console app manipulate the Windows API?
Yes.
Say I want a console app to do some work, and then, maybe just popup an
alert to say "finished"?
Yes, just call MesageBox().
Is there a way to do that without having to create a Form app?
Just do it. :-)
Do I have alternatives for GUI notification from a console app?


While there are differences between console and windowed applications there
is not _that_ much difference. That's because a console application can
create one or more windows and a windowed application can create a console.

Of course, if your display requirements are many, it makes more sense to
build a windowed application.

Regards,
Will
Aug 30 '05 #2

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

Similar topics

1
1684
by: Paul F. Williams | last post by:
Is there a way to determine when the system has performed a garbage collection? I would like to be able to write a console message when the CLR performs a GC. Knowing when a GC happens might help me debug some odd problems.
3
1565
by: Zachary Burns | last post by:
I've been banging my head over this for a few hours and I'm not finding any good code samples to demonstrate MultiThreading in C# Framework 1.1 that shows me how to basically have the UI code stay separate from the Threading code but allow a return parameter to the UI. I'd like to have something like the following pseudocode....Is this even possible? main.cs {
3
3419
by: bill | last post by:
How would I signal the main app when a thread has completed a task. The thread must remain actice. Every time it reads a given number of bytes it must let the main app know, then wait until more data shows up. The number of bytes it reads varies. Thanks, Bill
1
4299
by: siliconpiNOSPAM | last post by:
Hi, I have a C# test program (setup as a console application) that runs a bunch of other programs like IE / etc. I run this program from a command window, the other windows cover the command window and I cannot see the log being generated. In the program execution, there are lots of delays necessary and many times when the program fails to function properly and has exited, I cannot tell whether it is in a delay loop or has exited (as...
4
1461
by: Meena Desai | last post by:
Hi, In my site there are user postings and on certain condition I want to send Notification to users informaing them about their postings details. I am using SQL Server 2000. I dont want to use the Notifications Services provided in SQL Server. Is there any other way to do the same ? Thanks in Advance. Meena
2
3507
by: SB | last post by:
Can someone please tell me Microsoft .NET's position on this WS-Notification specification that includes the pub/sub model? Is there something in the pipeline or already available as part of the .NET or WSE? -- Kind regards, SB
1
303
by: John Bailo | last post by:
Can a Console app manipulate the Windows API? Say I want a console app to do some work, and then, maybe just popup an alert to say "finished"? Is there a way to do that without having to create a Form app? Do I have alternatives for GUI notification from a console app?
3
5545
by: geskerrett | last post by:
We have been asked to develop and application for a client that is a 'notification" system. We would like to use python, but are struggling to find the right starting point. Any suggestions, tips or sample code would be appreciated. Application outline; Machine A is running a "listener" application that is connected to a another device via the serial post and waits for events. We have not problem working with the serial port, or...
4
3320
markmcgookin
by: markmcgookin | last post by:
Has anyone used the notification class from Windows CE forms? using the following code using Microsoft.WindowsCE.Forms; ... Notification note = new Notification()
0
9711
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
10595
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10343
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...
0
10088
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
9169
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
7633
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
5529
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...
0
5668
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3831
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.