Controlling A Notification From Two Separate Apps?
May 13, 2011
I have no difficulty creating and operating a regular notifyicon... But I have an issue - more with method than with the code itself...
Here is what I am doing - I have a notifyicon that changes colour based on the status of a service - this is not an issue...
However, I want the icon to be able to appear via a startup program itself instead of from inside the service (obviously if the service is STOPPED the icon will not be visible making it difficult to start)
The service also changes the icon colour when it is performing a specific timed task (the purpose of the service) - I may also want to force the service to perform the task from yet another application outside the preset interval....but that is a seperate issue at this time...
the best way to have a notifyicon that can control a service(easy) while being able to be controlled BY the same service.(the issue)
View 6 Replies
ADVERTISEMENT
Feb 23, 2012
I created a telephone number form where the user enters the telephone number in a text box as (nnn) nnn-nnnn. The first 3 digits in parenthesis are the ISD code, the next three are the area code and the last four are the local number. I need to separate out these three fields of the phone number and display in three separate text boxes labeled appropriately. Now, suppose the user enters the phone number in a text box as a continuous string of 10 digits, where the first three represent the ISD code, the next three represent the area code and the last four represent the local number. I'm lost as how to change this string into the form (nnn) nnn-nnnn. This is what I have
[code]...
View 3 Replies
Sep 17, 2010
I have a TabControl object on my form with many tabs created in code (TabPages) and my problem is that the same objects that are in the initial TabPage needs to be in the other TabPages created in code, I have this done in code when the user clicks the 'New Tab' menu option, however the same code is used for any new tabs created. The problem created here is that I have an event against one of the objects that appear in the other TabPages, but because the same code is used to create any new tab pages, the event will only work on the newest tab page, if that makes sense? By the way these objects that appear on the other TabPages are properties at the top so events can be handled against them in the respective subroutine.
[Code]...
View 5 Replies
Apr 30, 2010
I'll get straight to my problem - I'm currently coding in Visual Studio.I have a table (countries) with the columns ID | Name. The table is filled with around 28 records.I also have a form with 4 combo boxes (set up as 1,2,3 & 4) that I want the user to select. These combo boxes will display the names from the table countries. I then want to use the selected names in the combo boxes to Insert into their corresponding ID into another table. For example England would have the ID 1, USA the ID 2 etc.So, is it possible to have separate combo boxes that will give separate ID values but using the same table? At the moment I can't seem to find a solution.Eventually the form will have more than 4 combo boxes so I don't want to use separate bindingsources for each combo box.
View 5 Replies
Jun 21, 2010
what WPF based apps are?Is it an application that runs under Silverlight? If so, how?I know; Windows Forms based apps,console apps,DLL _ Class Library Projectsand I've had an introduction to ASP.Net.What I mostly want to know is, if WPF apps are for Silverlight then do they also run in a server based fashion like anASP.NET website would when you create ASP.Net webpages?Is it a way of creating what looks like a FORMS BASED application but it runs in a browser instead or what?Please enlighten me a bit further as I have no idea what WPF is all about.
View 3 Replies
Oct 27, 2011
I have a few forms that have a lot of really intensive updating along with a great deal of user interface (text boxes, button clicking etc) Is it possible to open a separate form as a separate UI thread from the start up form that called it to "show" or open or whatever the new method might be?
View 6 Replies
Mar 22, 2012
how am i going to add a notification into my event program, i have a "add form" to add new records into my database, there's a column name "Event Date" i want to do is when there is a saved event that is scheduled today, on my "home form" there's a msgbox that will notify me that there is a event today.
View 3 Replies
Dec 2, 2009
I have multiple control in the form. 10+ textboxes, 2 comboboxes. These controls will change their back color when get focus. I don't want to use control arrays and I don't want to write in multiple GotFocus/LostFocus. The only idea I have is, checking wheather Me.ActiveControl has changed or not from a timer.
View 2 Replies
Jun 8, 2011
I would like to create a small app that listens to the system and records the application name and what file it opens. I whould like to keep track of how much time I spend in each application and what file the app is opening on my computer
View 1 Replies
Jan 26, 2011
I would like to create a small app that listens to the system and records the application name and what file it opens. I whould like to keep track of how much time I spend in each application and what file the app is opening on my computer
View 3 Replies
Jun 13, 2010
I dont have any idea, but i'd like to make a notification window like the one you get in msn messenger.
View 3 Replies
Jun 17, 2009
I'm looking to write a notification application where I'd like to provide popup notifications from the taskbar similiar to the ones in MSN Messenger or most other chat programs.
View 4 Replies
Mar 17, 2010
I have a client-server application installed with click-once configuration. Whenever I publish the application build, i have to inform all the clients by sending them email, to update the latest version. I want as I publish the version, a notification has automatically sent to all clients who are using the application at that time through Pop-up or message box. Is there any way to perform this task?
View 1 Replies
Mar 24, 2011
To trigger a certain event to happen I must navigate to a specified URL. I can make it that when I press a button it goes to the url in a built in webbrowser. Could I make it so that the web browser is'nt there? I want it to open the url without any browser or notification.
View 4 Replies
Oct 4, 2008
I'm setting up a small application that subscribes WMI event. Im using the InstanceCreationEvent of Win32_PrintJobI'm getting some rather unusual results.Sometimes I get notification of the print job and a correct number of pages printed. Sometimes I get notification of the print job and 0 pages printed (when there is 3 pages)Sometimes no notification of the print job at all.I'm using Windows XP SP3 and Visual Studio 2005 .NET 2.0. I've tried it on a few machines now and still getting random results.
Imports System.ManagementImports System.Runtime.InteropServices
Public Class Form1
Dim printerWMIWatcher As New ManagementEventWatcherPrivate Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code].....
View 2 Replies
Mar 1, 2009
I created new windows services.I also add notification control to Service1.vb designer.But I cant show the notifiyIcon:notifyicon1.visible=trueWhy is that?
View 1 Replies
May 18, 2009
how do i popup a menu when the user right click on the notifyicon on systemtray?
View 2 Replies
Dec 22, 2010
i am using this to send an email but i want a notification to be shown when the message was sent.
Dim message As New MailMessage
Dim smtp As New SmtpClient
message.To.Add(TextBox2.Text)[code]....
View 4 Replies
Jan 29, 2009
I need to pop a balloon notification through my application. I do not know how to do this.
Actualy I need to pop balloon notification that contains the user information retrieving from oracle database on my database server.
I need to do this when the user logs into his PC.
View 1 Replies
Nov 5, 2010
Question: I want to control cmd.exe from winforms. I DO NOT mean every command in a single process, with startupinfo, and then stop. I mean for example start the (My) SQL or GDB command prompt, send command, receive answer, send next command, receive next answer, stop SQL command prompt exit process. Basically I want to write a GUI on top of any console application.
[Code]...
View 4 Replies
Jan 3, 2010
Ok, so I've been doing some looking around lately, trying to figure out how I can get maximum control over a download. So I can control things like:Download speedWhere to start the transaction(Byte Offset, like in a Stream?)Where to end the transaction (Byte Offset, like in a Stream?)
View 6 Replies
Mar 9, 2010
if i have two media players in form1 and form2 respectively....how can i control the media player in form2 with media player in form1....so that if i pause media player in form1...the media player in form2 should get passed and if i scrub the seek bar in player1 the seek bar in player in form2 should move along with it...how can i do that.......means how to play single video in both players at once...
View 1 Replies
Jan 23, 2009
I want to have a min and a max functionality to my app. When the user clicks the minimize button I want the form to go to taskbar which is easily done.
However the user clicks on the maximize button i want the form to go to a specific size (470,999) to be exact.
Private Sub app_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Resize
If Me.WindowState = FormWindowState.Maximized Then
[Code]....
but it maximizes to the screen size. how to control the maximize screen button? I don't want to change the formborder style setting from sizeable because I like the way it looks like this. I just want to get the min max buttons to go to sizes that I want them to go to.
another thing is there a way to save the size of the app that the user has it set to before they send it to taskbar then when the user brings it off the taskbar is there a way to bring it back to that size?
View 4 Replies
Nov 4, 2009
I was working with TabControl on a form.I wish to restrict the selection of the tabs on the form...For example, The user will start with the 0 index Tab selected by default.As he selects an option from that tab pane n confirms his selection, The next tab gets selected. I could develop a code for this like this tabcontrol1.selectedindex = 1 'Or 2 or 3 according to the need But Now I find that at runtime I can switch back to some other previous tabs or some forward tabs.... Which I do not want. I simply want the tabs to be activate in a flow...
View 5 Replies
May 13, 2011
Context: I'm working with a relatively simple winforms application, written in VB.NET on the .NET 3.5 framework in Visual Studio 2010. Issue: The FormLoad event creates two threads when the program is opened. One handles automatic update checking and the other performs a time consuming task syncing files with the internet. These threads are initialized as follows:
[Code]....
View 2 Replies
Oct 1, 2009
I know that it is possible to download items with Visual Basic [Code], but I was wondering how I could sense that a file had completed its download. (IE: when the download was complete, another event could happen).
View 2 Replies
May 26, 2011
I am wondering how can I show a balloon tip for my system tray NotifyIcon application QUICKLY. What I mean by quickly is not linger around for like 5 seconds.. I have tried entering 1. For example my code is currently:
NotifyIcon1.ShowBalloonTip(1)
I thought about trying decimals but if I remember correctly from C++ it does nto work or make a difference.. how to display a balloon tip that pops up for only 1 second then dissapears very fast?
View 7 Replies
Sep 16, 2009
Is it possible to achieve File notification in visual basic. file notification allows you to set up watches on one or more folders (optionally including the entire subfolder tree) so that any changes made to the folders result in a notification being sent back to you. i really apreciate if any one provide the code.
View 9 Replies
Apr 29, 2011
There is a Folder where our client downloads the ".BCH" files on a daily basis. I want to be notified via the E-mail once there is a new file downloaded. I am using a Folder Watcher to accomplish this. Here is the code:
[Code]...
View 1 Replies
Feb 15, 2011
I have this codes where it will be pop up to user when they want to use the program. How to make use of the notification ballon click? I mean user don't have to click icon in system tray instead but able to click the notification balloon to proceed to another form.
[Code]...
View 6 Replies