Good call , but unfortunatly the numbers mean the following
<code> Function NetConnectionSt atus(intStatus) Select Case intStatus Case 0 NetConnectionSt atus = "Disconnect ed" Case 1 NetConnectionSt atus = "Connecting " Case 2 NetConnectionSt atus = "Connected" Case 3 NetConnectionSt atus = "Disconnect ing" Case 4 NetConnectionSt atus = "Hardware not present" Case 5 NetConnectionSt atus...
User Profile
Collapse
-
Can't recognise when connected wirelessly... c# .Net
I have an occasionally connected app, i need to recognise when there is any type of connection to the internal networks, be wired or wireless, however currently if connected wirelessly the app recognises this as offline which is incorrect.
This is the code for the ConnectionManag er piece I currently have:
public bool IsNetworkConnec ted()
{
bool connected = SystemInformati on.Network;
... -
Create Temp Table for getting max date
Hi,
I was wandering if anyone could give me some help...
The idea is that I want to create a stored procedure that will check a bunch of tables and give me the latest 'LastUpdated' field
Something like:-
Select Max(LastUpdated )
from Table1
= @date1
Add Date1 to tempTable
Repeat for each table
And then get the max date of all dates...
No activity results to display
Show More
Leave a comment: