Handling New Internet Windows?
Jul 15, 2009
I have a form within which has a webbrowser control. The site i view in the webbrowser control requires me to log in so i have made a one click login button which when clicked logs me in automatically. When i'm in the backend of the website, if i click on a certain button it pops up a new window that i need to make a selection from. But when this window pops up it asks me to log in again?Is it possible to catch all pop up windows so they are loaded in another form which also includes this 1 click log in to save the hassel of logging in manually again?
View 4 Replies
ADVERTISEMENT
Feb 7, 2010
I successfully coded MyApplication_Startup and MyApplication_StartupNextInstance to give my single-instance application access to the command line. It works fine. if the application is not running and the user double clicks on a filetype associated with my application, my application starts up and reads in the file that was double clicked on. That's fine.
However, when the user double clicks on another file (same associated type) when the application is already running, I then (and only then) get a warning (from McAfee in my case) that my application is requesting access to the internet. I simply click OK to allow access, McAfee goes away, focus shifts to the original instance, and that instance successfully reads in the second file.
If the user then double clicks on a third file when the application is already running, focus shifts to the running application, it loads the third file, and the internet access warning DOES NOT appear. Same with all subsequent cases.
Any ideas about why the sudden internet access warning is occuring? In all the startup and load events, I do not do any internet related things. Much later, the program will send an email, but that code is far removed from Startup and Load things.My only idea is that perhaps because I have "awakened" the normally hidden ApplcationEvents.vb file (by putting some code in there), maybe I have triggered some sort of handling of the MyApplication_NetworkAvaialabilityChanged event, even though I make no reference to this event anywhere.
Before I added the command line handling stuff, I noticed that the internet access warning would occur only once for each new build. Susequent execution of the same build would not trigger an internet access warning. So now it is as if the handling of the StartupNextInstance event is simulating starting up a new build for the first time. Weird.
One more thing. I am not deploying this over a network. I am making a simple .exe by selecting Build from the MVS 2008 menu, then running the .exe by double clicking on it from Windows Explorer. I am using Visual Basic 2008 Express on Windows XP.
View 1 Replies
Aug 18, 2010
Using the following
If GeBrowse.DownloadString("URL GOES HERE").Contains("CHECKS FOR TEXT HERE.") Then
Something goes here
If there is no apparent internet connection, how would i create an error handling Message box or something of the sort?
View 6 Replies
Nov 11, 2009
nothing
View 2 Replies
Feb 16, 2010
I am developing a windows based application in VB 2005, the main form of the application is of fixed border style (i.e. user cannot resize the form), but in certain cases I am resizing my form through code. Intially the form has a fixed height i.e. 350 for normal height and 400 for extended height. But in this case the problem could not be solved effectively as the user can have different DPI setting e.g. 120, 144, 192 etc.The logic I implemented is to divide my form (vertically) into 3 parts
[Code]...
View 1 Replies
May 27, 2009
while I am navigating, and when I click a link that opens a new window, it open Microsoft Internet Explorer. I would like to make it open a new window of my program, not internet Explorer
View 2 Replies
Sep 14, 2009
I have a windows application developed in VB.net 2005. The application is installed in several machines.Is there anyway when I do any modifications and publish the code it updates in all the machines.
PS: All the machines are connected to internet.
View 2 Replies
Apr 7, 2009
I developed an assistance programme for an online game, and, in response to the users demands, I developed a secondary programme that downloads a zip file from a webpage hosted in a free Geocities server with the latest update for the programme and applies it. With the WinXP users it has worked perfectly, but with the Vista users, I've had a few cases where the update programme wasn't able to download the update, although everything worked fine with other uses.
View 2 Replies
May 19, 2012
I have various input textboxes on my form. And based on entries made in each of the input textboxes, I update the display textbox. However, using AppendText message of textbox. I have my input textboxes set to accept only numeric values. So for each character inputted correctly, I update the display Textbox. Problem I have is when user selects Key.Back or Key.Delete, what I would like to do is do a Delete of last character in the display textbox, but I am yet to get this right. How do I delete the last character in the string that is contained in a TextBox using AppendText()
[Code]...
View 1 Replies
Jan 2, 2012
I am try to Develop a application that can control a PC using SMS with internet. also i turn on the PC power with a cell phone. but After i turn on the PC it will ask for username & password! I store this information on a local database (Eg:MS ACCESS). how can i get that username & password then log in to PC using a VB.NET Program?
View 1 Replies
Jul 2, 2010
i am trying to figure out the vb code to convert user input from a windows application and use them in the internet connection wizard to automatically setup up a dial up internet connection in XP. i've got the interface designed, i just can't find any of the vb commands to access the wizard or perform the function of the wizard
View 3 Replies
Jun 14, 2011
I'm using SHDocVw.InternetExplorerClass to scrape a webpage. It works fine in XP, but when I try to run it in windows 7 I get an error:The interface is unknown. (Exception from HRESULT: 0x800706B5)
When I run visual studio in administrator mode it works fine, but the published application has to be run in administrator mode too, which isn't acceptable.
Is there any way to get around running the application in administrator mode?
View 1 Replies
Jun 18, 2009
I found one problem Windows Server 2008. please refer the following code. it gives me the "ieplorer.exe" while i am running this code in XP or 2003, but while I am running this code in Windows Server 2008 it is not giving me the proper result. it gives me Explorer.EXE" insted "ieplorer.exe".before run this command you have to add reference of shdocvw.dll in your project. i am using the VB 6.0
Dim IE As SHDocVw.InternetExplorer
Dim MainIE as SHDocVw.InternetExplorer
Dim sws As SHDocVw.ShellWindows
[code].....
de my MainIE Object will set to my Previously stored handle( In TmpStoredHandle) . Does anybody know that how can i get the existing IE(Opened Internet Explorer) detail with the help of SHDocVw.ShellWindows in Windows Server 2008? with this API i can get all the opened windows with Its handle
View 1 Replies
Jan 22, 2010
but is there some way to create a program that would be able to listen to internet radio and possibly display live artist/song info from several stations on a windows form? Has anybody done anything like this or have any ideas as to how to tackle this?
View 1 Replies
Jan 31, 2011
I've been looking for a way to do this for like two days now, and no luck.
What I want to do is get into the temporary internet files, find a certain file....
(^^^ I can do that just fine (using specialfolders, etc) ^^^)
and get the internet address associated with it.
See the attachment if you don't get my meaning.
View 1 Replies
Oct 15, 2011
we have our system running but our system needs to be modified because we did something wrong...we are doing an "Internet monitoring System" in our school library where the user can only access the internet 1hr a day, and he/she cannot use the internet within that day if he couldn't buy a time on a serve...every students should only have 20hrs time usage per semester...our problem is every day their 20hrs is being reduced in 1hr.. the rule is the time per semester which is 20hrs that is given to the students was reduced 1hr only if he uses the internet..but our system is reducing their 1hr every day.
View 1 Replies
Aug 30, 2009
1- I want to know what's the windows service project and how i can use it.
2- I want to know how i can making tool bars for my windows explorers , IE explorer and to fire fox internet explorer.
3- I want to know how i can making add-ons for my VS 2005.
4-Can i change my Form Opacity Without Changing My controls Opacity
View 1 Replies
Feb 28, 2011
I have made my application to start automaticly when windows start (registry ../currentversion/run/appname + path). In this mode the application start minimized and an little icon appear in the notification icon area. With this icon you can maximize the app or exit it.If you exit the app and start it again using the Menu (Start/programs etc) than the application start in minimized mode (and in this case I would like to have it in normal mode) because the setting autostart is still true.Is there a way you can detect when the application start when windows startup using the above registry or when people click on an icon in the programs menu (or desktop)?
View 2 Replies
Jun 15, 2010
What error handling should be used in VB.NET? Should one use the "On Error Goto ErrorHandler Exit Sub ErrHandler ... End Sub" pattern or should you use the "try {... } catch {...} finally {... }" pattern?
View 4 Replies
Aug 27, 2011
I'm trying to develop an app that will let me manage all my domain names through enom and I'm getting stuck here. I'm up to the point where I can get a response from the server but I'm not sure how to grab just the responses I need to get my app to do what
I want it to do. In this example, I'm looking to grab just the "RRPText" response from their servers in VB, you can see below what responses I'm getting:
[URL]
View 1 Replies
Jun 7, 2009
I'm calling the SQLDMO 8.0 COM library from VB.NET (using a PIA I generated with tlbimp) in order to backup a database with percentage completion notification:
Dim server As SQLDMO.SQLServer = Nothing
Dim backup As SQLDMO.Backup = Nothing
Dim restore As SQLDMO.Restore = Nothing
Dim backupAbortable As Boolean
Dim restoreAbortable As Boolean
[Code]...
View 1 Replies
Jan 19, 2012
I have been having an error that DBNull cannot be returned as a String and after hunting around I came up with the folowing but have had no sucess. it is very inportant that this code can handle DBNull as it will encounter this often.
[Code]...
View 2 Replies
Jan 22, 2009
I have a component written in C# which exposes an event which the clients can Handle. I would like know how to handle this event in VB.Net?
View 1 Replies
Mar 1, 2010
What would be the best options to handle images in .Net 3.5 framework and SQL Server for a WINAPP that is incorporated with WCF? I need use this images for transactions inside the system.
View 3 Replies
Feb 10, 2009
i trying to make some code to handle the F12 key , or any other function key but it's not working. i tried with the 'enter' key and that is working fine
Private Sub ComboBox1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles ComboBox1.KeyPress
If e.KeyChar = Microsoft.VisualBasic.ChrW(Keys.Enter) Then
e.Handled = True
View 2 Replies
Jun 21, 2010
well i have got a problemo with my client/server application....."My server evaluates two variables "data1" and "data2" and then uses the command "winsock.sendData(data1)" and "winsock.sendData(data2)" to send the data to client application but the problem is that i want my client to handle these two data arrivals differently......
View 8 Replies
Mar 4, 2009
I heard that there is two way to handle SMS for programming. One is to purchase a GSM Modem 2nd is to use 3rd party online web service.Which is the recommended one if I plan to implement the program in VB.Net and send the message internationally. As I have a function that is require to send sms where it reach certain times, so I most probably will need some API to do that.
View 4 Replies
Sep 21, 2011
I'm completely confused about the event handling. I read some articles about it but after it I just get confused to write and use them in my classes.This is my class i. e.:
[Code]..
I dont have any argument passing. But I want to know how should I do it too. And I wanted to know if each instance of the Test class, run this event separately I mean each instance by themselves, This event AnEvent() will occur? Cuz I have lots of instances from my class.
View 2 Replies
Aug 14, 2009
In my vb.net application if I have a known set of Error Strings i.e.
Failed because I don't know about it
Failed because I know about it but I can't find it
Failed for another reason
[code].....
View 6 Replies
Aug 31, 2010
I am developing a COM dll library, and I have a little vb.net (vs 2005) application just to test it.I had my object declared in the application as
Private m_VarName As MyLib.CMyComClass
So far, so good.But now, I need an event to inform the application of some things, so I implemented such event in the COM dll, and changed the declaration to
Private WithEvents m_VarName As MyLib.CMyComClass
So far, so good, again. But if I add a Sub to handle my event:
Private Sub m_VarName_OnCaptureStop() Handles m_VarName.MyEvent
..
End Sub
The first time I create the object, nothing bad happens, but if I reinstantiate it
If (Not m_VarName Is Nothing) Then ReleaseComObject(m_VarName)
m_VarName= New MyLib.CMyComClass
then I get a cryptic TargetInvocationException, seemingly related to reflection (which, AFAIK, I am not using).If I remove the "Handles m_VarName.MyEvent" part, everything seems to work. In case it matters, I am not firing any event, for now.
View 1 Replies