Create VB program to watch a website in Internet Explorer - vb.net

Thanks for taking the time to assist me.
At work we use a 3rd party online chat system using internet explorer. Basically what happens is we initially follow a link, login, a pop up window comes up with the chat control page where we would see a notification for a new chat
The issue we have is no sound plays, and it's very easy to miss a chat.
In theory could I easily learn in VB how to watch that specific window of Internet Explorer for a change, then play a sound when a change in that window occurs until acknowledged?

Related

Allow users to open any music file on thier local storage with my vb.net music software

The issue on ground is the fact that, judging from a standard music player, as a user, I can just move to my desktop and pick a particular music file,then I right click and i open it with the standard music app and automatically it gets the song and play it.
So I want my desktop app made with visual studio,vb.net to have that same ability. I need the onload event code to carry out that functionality. Thanks in anticipation

Why does my "sip:" URI open a new email instead of opening a Skype for Business chat window?

I'm trying to create a link on a web page that will open a new Skype for Business chat window, allowing a user to send me a message. I created a link with the format href="sip:myname#example.com", as per this Stack Overflow post. However, when I click the link, instead of opening a chat window, it opens an email! How can I correct this behavior?
After a bit of confusion, we realized this is actually the expected behavior if you click a sip: link containing your own Skype for Business ID. Since you can't start a chat with yourself, the link instead launches a window to compose an email. However, if you replace the ID with that of someone else (or have someone else click it), you will see the expected behavior!
This may seem obvious, but it wasted a fair bit of our time this morning, so hopefully it helps someone else.

Sending a command from a web-browser to an app

I want to be able to send a stream of data from a user computer to a web-service. That should not be too hard - I would use an application written in dot-net that resides on a user's Windows computer.
However, the tricky part is that the stream-of-data should only be sent (by the app) when the user clicks on a button or a link in a WEB PAGE that is open in his browser. The app itself would be minimized in the system tray. And he should be able to stop the stream by clicking on a stop-button (or link) in that web page..
So I found some info on stackoverflow that says that you can put a link in your page, something like: [a href='alert:"Hello World" ' ] and if you register your application (in this example the app would be called "alert.exe") in the registry, then when the user clicks on the link, he will cause the application to start, and to receive "Hello World" as a parameter.
Anyway, there are complications in my case. I want to be able to tell the application when to start sending data, and when to stop sending data, without starting new instances of the application. If the user clicks START, and the app is already open, I don't want it to open again. I do want a message to go saying "start sending" and if the user clicks on a STOP button (or link) to say "stop sending". The user might click on these web-page buttons several times in a session, and I don't want to close and reopen the program each time.
So a couple of questions:
Am I taking the right approach? Would "plug-ins" be a better idea?
If I am taking the correct approach, is there some way to send commands from a web page to an application?
Is it safe to have my app modify the registry of user computers?
If so, is there a set of commands for doing that?
Is the registry supported by Windows 7, Windows 8, etc? I know it is not supported on a Mac.
Thanks in advance.
LL
P.S. (the info on launching apps from your browser was at: http://msdn.microsoft.com/en-us/library/ie/aa767914%28v=vs.85%29.aspx).

Awesomium: Control other app like sendmessage

Today I had an idea for a program in vb.net that should add some global hotkeys to Spotify.
I tried to do this with sendmessages, but it didn't work, because Spotify uses Awesomium and so most of the controls aren't Windows-Controls which I can get with sendmessage.
Is there any other possibility to "remoteclick" a button inside the webviewhost?
Or has anyone an other idea how I could click a button in Spotify with my program?
You can do almost anything using AutoIt. Check into that. Lots of game bots are used with it.

The form fails to popup in windows 8

I have a chat application written in VB.net which is used to chat between users who are connected in LAN inside a office . The application popups whenever user gets new chat message. It works fine in windows XP. But sometimes in windows 8 the application fails to popup the chat window. So my chat window is not appearing at the top when popup occurs for new messages.
I have tried using setwindowspos, form.Show(), form.BringToFront() which can bring the form to topmost. But sometimes this will not work properly.
So is there any other method other than those three(which i have mentioned above) i have used which can make the form popup and bring it to front.
Your WinForms app is a desktop application, so it's likely that the reason the pop-up is not being displayed in Windows 8 is because the desktop is not visible.
Remember that Windows 8 brings with it a whole new Start Screen interface and relegates the desktop to an alternate mode. All desktop applications still run, but they run in this separate mode and cannot interact with the new Metro applications (or whatever they're calling them nowadays). Yes, it's too bad that the usability folks at Microsoft didn't listen to Larry Tesler and have decided instead to mode us in, but c'est la vie.
So anyway, the pop-up is still being displayed, but it's being displayed on the desktop, which is not visible. Bringing it to the top isn't doing any good because it's already at the top of all the other windows on the desktop. If you click on the "Desktop" tile in the Start Screen, you should see your window.
Fixing this problem is going to take some work. Forcing a focus switch to the desktop mode is a horrible idea from a usability perspective, and I'm not sure it's even possible. A better solution would be to look into using Toast notifications instead, which can be done from a desktop application.