VS 2008 Alert When A Specific Application Is Brought To Top?
Sep 7, 2009
Is there any way in vb .net to trigger events when a specific application's window is brought to top?
As in, imagining that there's some program that at times pops his window up and I want to make a program of my own that will also produce a sound when that happens, is this viable?
Can values from web.config be read completely at runtime or does the application make a copy of the current web.config upon initialization.
Essentially, I'm wandering if I make a change to web.config if it will take effect on the users next postback or if they would need to initialize an entirely new page load. In particular, I'm interested in sections of the web.config like sesssionState and when a change to timeout would take effect.
I am writing a program that has to print an alert message in a textbox if the user inputs invalid data. Invalid data would be a negative number. The textbox is the same textbox as the result would be in provided they input valid data. Here is what I have but it will not print the alert.
I have a vb.net (VS 2005) application which downloads files from my webserver and shows its contents to user. And I make files at my end and upload files to webserver so that the application and download & process it. This happens at fixed intervals. Now I intent to send an instant alert (or message) to users who are using that application. For example: If I type a message and send "Hello everyone" then all those people who are currently using that product should get a popup with this message. My webserver is a hosted on a unix based system. It enables me to show html content and post files & stuff online.
I need to create a notification system for my application that will alert the user once new items have been sent to their queue, which is made of up database entries. The latter part of this question may need to be asked in the database forum, but I guess we'll figure that out First, since I haven't created anything like this before, I need some direction on what the best possible solution would be.The notification system should always be running and work independently of the main app. With this requirement, I thought a Windows Service would be best.
The notification itself will just be a quick form that alerts the user. I'm sure most of that will be fairly easy to create. The only issue I'm wondering about is how to constantly check the database and determine a new record has been inserted.Would a windows service have a timer or something that allows me to constantly check?If it does, how would I determine a new record has been inserted?
I have created a list form that gets attached to a main form in VB.NET. This all works fine except that when the main form gets activated, I need the list to be brought to the front as well. I have put in a simple IF function to do this but when I added these lines of code, the main form, as well as the list form now do not get brought to the front until you let go of the mouse button. Obviously this means that if you drag the form, it stays at the back until you let go of the mouse button.
The code that I added is below: If CRL.Visible = True Then CRL.BringToFront() End If CRL is the list form.
If I comment out this code again, the main form get brought to the front while dragging but obviously the list form does not. The main form as well as the list form are MDI children.
I have a small application in which I need to show alerts if a particular condition is met. I have an mdi form and several child forms. Now the best way to show an alert is to show a tooltip on the right side corner of my mdi form. Though this works, but the problem is I want user to close the tooltip once he has read. Now the tooltip that vb.net provide does not support click events. If I give a long time duration the tooltip would be open all the time and if I give a short duration then it will close quickly. What can I do ?
I'm wondering if it's possible to create a listener type application that would monitor webaddresses that the user attempts to go to. And can then either block or redirect the browser to another website. Purpose: I know this seems to sound a little weird but what I'm attempting to do is a NetNanny type application that can run on the user's PC and the allow, prevent, rewrite (would look for particular keywords and rewrite them "words I wouldn't want my 7yr old seeing or reading), or redirect to other webpages. I would also like to be able to handle both IE and Firefox browser with this one application.
I have a MaskedTextbox which takes Us Phone numbers. Using The MaskedTextBox ensures the user can enter only numbers and the number gets formatted right.
Here is the problem I am having: How do I add an error message if the box is left empty? I am not trying to validate the number, just need a way to add: "You forgot to enter a number." Can I add this to a MaskedTextBox?
How do I add a message box or alert to a MaskTextbox if the user hit submit without entering numbers?
I am trying to write a small application that simply monitors my web site watching for specific hyperlink text to appear. I have been searching around and trying different approaches for a few days and have to accept defeat on this.Basically I need to be able to type in part of a hyperlink or the actual text of the hyperlink into a textbox to be watched for. When it is seen it opens the link in a new window.
Dim theElementCollection As HtmlElementCollection theElementCollection = WebBrowser1.Document.GetElementsByTagName("a") For Each curElement As HtmlElement In theElementCollection
I wonder if it is possible to find a specific row and specific columns in data base file (Access) . You see , I am using a DataGridView control to show only SOME of the columns (fields) of a table from an Access file . For example , lets say that in the DataGridView control I only show the following fields :Field1 , Field2 and Field3 .Now , when the user selects an entry in the DataGridView control , I want to insert the text from Field4 into a text box on the form .
The problem , however , is that I don't know how to get the specific row in the data base file and also I don't know how to get the text in column (field) Field4 of that row .One thing that might be important is that the index of the row in the data base file is not necessarily the same with the index of the current row in the DataGridView control . This is because in the DataGridView control the rows are order by the contents in the ID Field .ol .
I currently have created a page in VB.Net and brought that page into a FB app and now showing that in one of my pages on there.Currently it shows everything to all users, but I would like to only show the intro to non-fans and everything else to fans. I did find an app but the items I am showing are dynamic from my own website.
So that's number 1, 2 is, when they are fans, collect data from them, such as name and email address and profile picture.I found the C# SDK, but way above my head right now.
I tend to work really well with full sample examples, so if you have come across any,
How do i create an alert using DateTimePicker1 and MonthCalendar1?
There are two seperate forms. The main one, where the one opens from and the other one where you set the date/time. And how do you integrate the notification with NotifyIcon1?[url]...
at work here we use a Remote Machine Viewer called FitNet which is proprietary to NCR and WalMart. However, I had no hand in developing this application and the developers no longer are emplyed here or did they assign anyone to take it over. I was asked to take a look at it and see if I could come up with something. The application is a .NET app but when I use .NET Reflector to get an idea aboutthe code it says no CLI header found.
I am using publish method to distribute my applicaiton to my users in my company. Users can go and run the 'Setup' file to get installed in their machine. I know how to do this, but I neednstall that under specific program group in start button?
I'm trying to sniff packets from a specific application. I searched around but couldn't find anything useful, but I did hear something about WinPcap. What is WinPcap and how do I use it? Also, is there another way to sniff packets?
Someome knows some utilities that can detect all the API calls of a specific external application? The application I would like to detect is a console application and, being without form, Spy++ don't find it.
I am implementing a chat client in an application. Conversation windows are tabbed and I have to alert the user for new messages. My temporary solution was like this:
There is a timer with 500ms interval ( always running ).
For Each t In SuperTabControl3.Tabs If TypeOf t Is SuperTabItem Then If t.Tag = "1" Then
[Code]....
Will this cause performance issues? I have no possibility to try on an older computer but they will use this application on slow pc's.
any scratch program that i can review to make an expiration alert.. im going to make a inventory of products with expiration date and then.. if the date that i putted on their expiration date the product will be automatically viewed on the Expired Product Form..
I have a server (server A) that has several public IP addresses. I am building a desktop application that will run on server A to fetch data from another server (server B) using the httpwebrequest class.
What I would like to do is be able to programatically direct the application to use a specific IP address from the one the server (A) has.
I'm writing a Visual Studio Macro and need to read a XML file in my project and write something. i can't get the correct file path! in my web application solution i have to projects for business and UI files. and my xml file named fa.xml located on UI project in a separate folder. i want to use this macro for many solutions. but the structure is the same. How can I get the Path of a file in a specific project in my solution?
I was wondering how I could make an application that searches a certain website for a specific string. Or, if I could, list the search results in a listbox. Reason for: I wan't to make an application that searches serial websites for certain serials. Like 'Craagle'.