I have a function to check for internet availability where I use:
My.Computer.Network.IsAvailable
However it only works in my computer. If I install the application in another computer, the check does not work. Does it has anything to do with My keyword?
I have written a code for sending emails using my vb.net application,ok.Now i want to inform my client if and only if he is not connected to the internet before the sending emails.so it means the purpose of my code will be to check if he is online or nt and if not then inform him to get online and then try sending the email.How to do this?
We want to developed services to sending fax which should check internet connection after every 10 sec and should be work on all windows operating system.
I cannot use any host like[URL]..to check internet connection because it increase network traffic.
I've project where i wanna check if user is connected to internet if he isn't then form must close and another form should show up ! Problem i'm getting is i can't use check it constantly, even if i use while loop
keep looping the following code until condition is wrong or until connection is made While IsConnectionAvailable() = False ' code goes here for when connection to hotflask can't be made[code].....
but here form 2 keep showing up and it crashes system, is there any simple way to do it .
I have been using the code below to tell if the computer has an internet connection. It works fine on my home computer but when I run it at work on our network which has internet, it fails. I can go to the sites I use below in my browser but when this is run in my app, it returns false. Any ideas why? Is there a better way i should be checking?
I have a program which is almost complete, it gets data that is new or newly modified (well at least since my program last got this data). The problem I have is currently i'm adding this "new" data but i've just clicked some of this data may be in my database already just updated. For example, I have added some user data to my database but a user has just updated their user name - so this is now newly modified! I don't want to add it as new data I want to update my current row in my database. My question is how can i do a SQL query in my access database to see if this row exists or not?
I think this is a really simple question to answer but I can't find a better solution. Basically I am importing data from an external source and as I go through importing each for I am doing a for loop to see if the row already exists; this is taking a life time and I feel it is a very simple way of doing it. Is there a better way to see if a row already exists using specific columns and key indexes?
I have a form with seven tickboxes - one for each day of the week - each one saved in my.settings.monday, my.settings.tuesday, etc Now I need to check if something should happen today and the code I'm using (below) seems very longwinded. Can anyone help 'tidy it up'?
If Now.DayOfWeek = DayOfWeek.Monday And My.Settings.monday = True Then 'do it End If
Case: I have one ComboBox which i fill up by using DisplayMember, DataSource with DataTable.
[Code]....
When user key-in in ComboBox (not select from the list), I check with above all possible but still got nothing. According to my knowledge, .Contains(cboStudent.Text) should work. Right?
Using - VB2008 Express, XP Pro, Connecting to SQL 2005 across the internet The walk throughs have several good explanations although I don't see any about connecting over the internet.
I have added reference to few dlls in my VB.net Project. When I check into Visual source safe and get latest version from another machine, VS.net 2008 throws errors.I have to add the references again in that new machine. Is there anyway where I can keep the references in spite of files checked in to VSS?I need to send copy all the files to production server and we don't have VS.net on the production box to add reference and build the application.
My application uses 12 checkboxes. Dependant on the status (checked or unchecked) different action are required. I can't seem to be able to structure a for next loop to do this.
Is there a way to check whether a datagrid is assigned a datsource. How can I distinguish a unassigned datagrid from a datagrid that is assigned a datasource.
i downloaded a couple of projects from the codebank about the listview and the treeview but when i unzip the zip folder,i found only the .dll and xml files present over there...
I want to disable file upload from internet explorer, firefox or any browser. Is there any registry entries or methods we can do this.If disabling only upload is not possible than if we can disable download upload both than also it will be good.
I'm interested in how to open Internet Explorer from Visual BasicAlready, I have this:WebBrowser1.Navigate(TextBox1.Text)And this open Internet Explorer, but I want that Internet Explorer open site with address from TextBox in VB
I m selecting the folder & playing all the files in the media player, of that folder. As u know folder contains all types of files including text,zip,image & so on. So I want that when URL that is assigned to Media Player is .txt,then i assign any default image from resources. I do not want to check extensions- Currently I m checking the extension of each file before paying but i dont want dat.
Any one know what are the code needed for checking the user name availability against the database when user is at the register aspx pageinstead of user clicking a button to check for the availabiltiy to find outi want the something like this, when the user key in the text box it will show whether available at the same, something like this link