In our company we have some specific softwares that have several releases during a year and we were wondering to notify the clients about new releases automatically. How can we code this functionality? I mean from where should we begin? we have an ftp which will contain those files. And How is that possible for us just to do the upgrade without uninstall and re-installing the whole package?
How can you simulate keypresses and releases? I know you can essentially hit a key with Sendkeys.SendWait, but how can your code press and hold q, for example? I essentially wish to be able to call something like press("q") and release("q"). The effect would be the same as physically holding them down.
I currently have a windows services application written in vb.net 2008I want to mass build releases/installers that can carry an unique ID.So that each of my client can download an unique copy of the programMy windows services app must be able to access that unique ID.Heres an live scenario:I have 10000 clients, they can login to my website to download my program.Lets say client #10 downloads my program, the program will be able to read a value somehow that will give "10".The program downloaded by client #500 will be able to read the "500" value.The only ideas i can think of are:- Make the installer read the file name of the installation file, and add a registry key depening on part of the file name.
I have a VB.NET/C# Visual Studio 2010 Solution with a bunch of projects that depend on about 30 third-party DLLs all from 1 vendor. This third-party vendor recently released a new version of their software so I would like to parallel test their new software and my enhancements until I am comfortable to switch over. What is the best way to setup a solution in Visual Studio 2010 so that I can use the code I have developed on top of these third-party DLLs and have the opportunity to easily switch between:
(1) the new version of the third-party DLLs [for my testing] and
(2) the old version of the third-party DLLs in case I need to debug some problem a user is having.Third party assemblies ARE NOT in GAC (they're currently in a folder on a network drive). They are NOT strongly signed (ran sn -vf ). They are changing from version 5.4.618.0 to 5.4.619.60.
I am making a maze game like the one shown in the how to, I recently discovered that if you hold the right mouse button a you can go through the wall. Is there a way to make the mouse lock and not move when the user trys to hold the button down or When the user releases the button it resets. Like in the web browser with If e.KeyCode = Keys.Enter Then e.SuppressKeyPress = True WebBrowser1.Navigate(ToolStripTextBox1.Text) But with the mouse button when it releases send the cursor back to start.
I created this simple textpad program in WPF/VB.NET 200 that automatically saves the content of the forms to an XML file on every keystroke.Now, I'm trying to make the program see the changes on the XML file in realtime.. example, If I open two of my textpads, when I write on the first one, it will automatically reflect on the other textpad.
Using VB 2008 .NET 3.5..I am working on an N-Layer desktop application.Suppose a method in the BLL runs into an situation where the user needs to be notified and the method needs to wait for the user input (OK, Cancel, etc.) before continuing.Assume that this situation happens fairly often but not all the time, and is expected. It doesn't seem correct to throw an exception. The only solution I have so far is to raise an event with a custom EventArgs, and allow the UI to set some property in the custom EventArgs to reflect the user input.
I have a program here which im trying to intergrate a alarm.I would basically just like a alarm to go off at a specified time and a message box come up notifying me.[code]
I am writing a program in VB2010 Express that handles serial port communication. All subs and functions that handle writing to, and reading from the serial port are in a module. These subs and functions are typically called from a form, e.g. by pressing a button. The command is then sent to a device attached to the serial port, and this device replies with a number of bytes as a result. A 'ReceivedDataHandler' is used to handle the serialport.datareceived event. [code]....
I have an object with a GUI interface. This has properties and methods. When this object is modified by anyone, on any machine, all other users should reflect the change, without specifically asking for a refresh. How can I achieve this? Imagine that the Object is static across users. I need complete details on going about it
I have absolutely no clue why my notify icon will not appear. I use notifyicon1.visible = true on the form's load event, but it seems to not be working. I have tried every single thing possible. Does anyone know what is going on???"When the going gets tough, the tough get Chuck Norris"
I made a small app that uses a hidden form and shows a notify icon to do some things with, strange thing is that the notify icon is not visible. I changed the opacity of the form back to 100% to make sure the form is open and it is. I also step through the code to make sure it was executing and it is. I also published the single form app and installed it on another machine and the same problem exist as the debug machine.
I made another test app with only a form and a notify icon and in the load event of the form, I put the same code minus the if statement and still no notify icon.Is this a bug in VS08 Pro?Heres my code
NotifyIcon1.ShowBalloonTip(10000000, "Reminders", "No settings have been entered", ToolTipIcon.Warning)
i'm trying to get the code below working and for the most part it is but when you click the notify icon, the form shows but it doesnt come to the front nor does it get focus
Private Sub frmMAIN_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.LostFocus Me.Hide()
This relates to vb.net on vs2008 I have a form (in actual fact many forms) in which the fields are bound to the public properties of class I have created. For example let say it is a customer class object oCustomer of type clsCustomer.
In the Set section of property declaration I use the NotifyPropertyChanged("propertyname") command like this
I've been successful with this in VB6. The VS2005 notifyicon class is certainly much nicer and much improved.I've implemented a notifyicon and it's working as expected with one exception.
I have been working with the Notify Icon to make it easier for some who prefer minimizing an application into the notification bar rather than the task bar. I have a drop down item that allows the user to Show in Notification area if checked. If it's not checked, then the form reverts back to default with the task bar. However, when this is checked and I minimize the form, I can not open the form from the notification tray. The problem is when the notify icon is visible and clicked, I need it to run code. If the form is minimized, I want it to show the app when I click the icon.
Here is my code: Private Sub ShowInTaskbarToolStripMenuItem_Click(sender As System.Object, e As System.EventArgs) Handles ShowInTaskbarToolStripMenuItem.Click If ShowInTaskbarToolStripMenuItem.Checked = True Then NotifyIcon1.Visible = True [Code] .....
recently been working on an application and added a minimize to tray feature. An update to the program made it so I could run multiple instances of the application without them interfering with each other. Which is great and what I had planned. BUT now when more than 1 instance of the application is running I have two notify(tray)icons on the system tray.My question is how, if its even possible, would I make both minimize into the same tray icon and just add a contextmenuitem to the right click menu (listing the name of the windows that are minimized). I hope thats not too confusing.I know how to add the contextmenuitems that won't be an issue once I can figure out how to get the windowstate of the other instance of the application.
instance1\..................................................._open instance1.windowcaption ...............\_______trayicon>contextmenu__/__open instance2.windowcaption .............../................................................\___close all instances
We have a .NET 2005 windows application that gets its data from a central SQL server. There is a web service that is exposed to other applications that allow the external programs to add data to that exisiting database.
Is it possible to notify a user in the Windows application that a record has been added using the web service?
SCENARIO User A: In windows application viewing all personnel
User B: Adds new personnel record via web service while User A is still browsing in the window forms application.
Is it possible to have User A notified of this change?
My code below works as far as sending the commands to com1 (not sure if this is best method however) but when I try to move 'sending' to Label2 to tell the operator to wait it doesnt do it?? The Label2.Text = "" does work and clears the text that is in the properties for the label after codes sent. Why? The debugger stops on this line like it should... I am brand new to programming so go easy
Im trying to show a tooltip when it reaches a certain time, or when my Datetimepicker matches the system clock. My program iwll bem inimized and the timer will be running while the application is in the notification area, Then of course when it reaches the time, The ballon pops up saying "Your break is getting close" but everytime I close my application the Notification pops up instantly.
Public Class Form1 Dim UpTimeStr As String Dim dtpStr(3) As String
im having problem with this code, what i want it to do it go on the site nd if it finds the word online it switches the text so say it directed to google and the word online is somewhere in the html code of the site, the app should then change label 5 to online BUT i get this error
"Could not find file 'C:UsersOwnerDesktopAMi BETAAMi BETAinDebugwww.google.com'."everything i want the notifyicon to do is working but i only want it to pop up once but every time the timer ticks it pops up
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ServerStatus.Tick
I noticed that when the app closed the icon remained on the taskbar until the mouse was hovered over it, so added this:- If Not AlarmClockNotify Is Nothing Then AlarmClockNotify.Dispose() End If .. and that did the job.
Then I noticed that if the balloon was showing at the time the app was closed, the icon went - but the balloon stayed, so added this:- If Not AlarmClockNotify Is Nothing Then AlarmClockNotify.Visible = False AlarmClockNotify.Visible = True AlarmClockNotify.Dispose() End If
and everything worked fine until the app was closed WITHOUT the icon showing (only dislays if an alarm is pending in the next x days) - then it throws and 'object reference not set to an instance of an object' - odd because it passed straight through the 'not is nothing' If statement.
I have added a minimize to tray function into my webbrowser and it makes use of the notify icon control. Now I know my code isn't flawed as it works in vista in xp but not in 7 (The icon simply is not in the tray).
I have a application which is written in background worker. Inside the background worker i am creating the multiple threads . The application has one notify icon. When i creating threads the notify icon gets duplicated for each thread. Suppose if i am running three threads means , there are 4 icons in the system tray.
i created a notify icon for my application...whenever i minimize my app,it will go to system tray.. how to restore my app BY double clicking on my notify icon?
I am making an application which has a form that I have set a notify icon for, I load this form at startup and then hide it. Then I have another form that the user can load (from the notify icon) which loads and runs a sub on another thread using the following
Dim d As New MyDeligate(AddressOf ProcessReminders) d.BeginInvoke(AddressOf RemindersComplete, Nothing)
When this is executed another notifyicon appears, and then when the form closes it stays. I also notice that the memory usage remains higher than when the form loads. How do I prevent this, I am not sure but I believe that by creating the new thread it recreates the initial form and then it is not destroyed.