Detect Programmatically If WOL Is Supported/enabled On A Machine?
Dec 13, 2010Is there a way to detect programmatically if WOL is supported/enabled on a machine?
View 5 RepliesIs there a way to detect programmatically if WOL is supported/enabled on a machine?
View 5 RepliesI need to find an easy way to know if the local machine's 'automatically adjust clock for Daylight Saving Time' option is enabled.
View 3 RepliesIs it possible to use reflection (or some such thing) to find out if the application framework is enabled? (set in project properties)?
View 3 RepliesI would like to a) programatically and b) remotely find out the last date/time that a user successfully logged into a Windows machine (via remote desktop or at the console). I would be willing to take any typical windows language (C, C#, VB, batch files, JScript, etc...) but any solution would be nice.
View 2 RepliesI'm looking on the Internet but not found anything about how to detect what the frameworks are installed. Someone I can provide that code to VB. Net? TcoUpLoad (work with Vb6 and VbNet)
View 3 RepliesI am able to find out when is the last time a user log into a domain but I am also wondering if it is possible to find out what's the machine's name or IP.
In my Active Directory, I see there is an attribute called logonWorkstation but it seems not being used (no value stored)
I just want to write code inside my assembly to detect whether it is running on a "desktop machine", or inside the context of an ASP.NET application. This is crucial guys, (licensing purposes), and I don't want to get fired because I did a mistake.So, please, be direct and if you please give me some code snippet.
EDIT v 2.0: What about using in the assembly:
[assembly: "AspNetHostingPermission (SecurityAction.RequestRefuge, Unrestricted=true)]"
to prevent the execution on the web?
Not sure this is a VS specific question - the answer is probably more os related (xp, vista, win7...)But at any rate - how could I go about detecting all the files that are opened while a machine is up and and running??
View 5 RepliesI need to export data into an Access database. My code works, but it works with the assumption the client machine has the Microsoft.Jet.OLEDB.4.0 as a valid provider.
I want to test to see if this is true or not, in code. My problem is that I don't have the location of an existing access database and I don't want to create a new .mdb that I'd use to verify the connection and then delete it.
How can I programmatically detect whether a webcam device is plugged in to the PC or not, return 'True' or 'False.
View 1 RepliesHow to programmatically detect 32-bit or 64-bit visio version is installed?
View 7 RepliesWe have a situation wherein we need maximum uptime for database connectivity which is on our LAN. However, we would like to connect to the server also in the event that the LAN is down. We have option of doing this [switch to dial-up from LAN] automatically using code or manually an operator can do so. The problem is to determine if the current connection is whether on a LAN or Dial-up?
View 1 RepliesI do a lot of programming in VS 2010 on my Windows XP Pro PC. Recently I tried testing my software on a Windows 7 Home PC. For some reason, all of the controls on my forms are slightly misplaced. I also get a bunch of unhandled exceptions I don't get on my pc. For example, one exception said it couldn't access a registry key. Another said it couldn't find the part of a path (it didnt specify which path). What's up? Why is it doing this? My Win XP PC tricks me into thinking my apps are bug free. Guess not.
View 13 Replieshow to detect if MSXML parser is installed on a machine or not. I looked for a registry entry,but unable to get one. I am writing a VB.NET application.
View 4 RepliesI have converted a working C# class that embeds xls files to windows forms application to vb.
I am getting the error:
"Overload resolution Failed because no accessible'Navigate' accepts this number of arguments"
[code]...
but i get error: Error 13 Delegate 'System.Windows.Forms.WebBrowserNavigatedEventHandler' requires an 'AddressOf' expression or lambda expression as the only argument to its constructor.
Error Message: "This server version is not supported. Only servers up to Microsoft SQL 2005 are supported VB.NET" I am using VB.NET 2008 and attempting to connect to SQL Server 2008 with XP as the operating system. I have service pack 1 installed in Visual Studio but this error message presists. The articles I have read on this error said to install sp1 as a solution but I have done that and the error persists. FYI, the error does not occur when I am using code to connect to SQL Server but when I attempt to connect using one of the designer wizards this error occure.
View 3 RepliesAs i'm learning more and more about developing ive just got my head around creating classes and modules, i started wondering about something to do with configuration of applications where deployment is in a more diverse environment say in a company where different branches dont need access to all parts of a program, so i thought id throw the question out there in a basic sense and get some feedback. so i can go off and do some more reading and learning.
So the scenario in my head is like this.
So we have for arguments sake FrmConfig which is the master configuration form, then we have FrmMain which is the root menu our application general user interfaces with. So here based on what options are checked as enabled in FrmConfig effects what controls (like buttons/menu options) are enabled in FrmMain.
I develop an application using vb.net.application will run on client server architecture.when we try to execute the program in client side then it will give me an error which is related to sqlclientexception.how can i handle this situation.i used vb.net 3.5 as front end and sql server 2000 as back end.i have done total coding with system.data.sqlclient namespace.
View 6 RepliesI've inherited a lot of custom made software for an office, and, while managing it, I've found it performs differently from machine to machine.I mean, some controls get painted in weird ways in some machines but well in another, or just work differently, like in some machines clicking something selects it, and in the next machine clicking the same thing makes it editable.I suspect, o course, of the myriad of DLL the software loads
View 2 RepliesI want to block a perticular machine from accessing my machine..Both the machines are in LAN..I dont want a perticular machine to access my computer How can i achieve this...I want to do this using VB.NetAny idea....
View 9 RepliesI have a combo box with four option and two textboxes (on forms load the first textbox is enabled and the second is not). When I click on a spesific option from the combo box I want to make the second textbox enabled.
View 1 RepliesI'm trying to do this with an enabled timer, but this isnt working for some reason...
My form height is a 100
If Me.Height = "100" Then
Me.Height = Me.Height + 1
End If
If Me.Height = "500" Then
Me.Height = Me.Height - 1
End If
Now i want it to stop when it hits 500, and then scroll back...
Ive also tried this...it stop at 500, but doesnt scroll back:
If Me.Height >= "100" Then
Me.Height = Me.Height + 1
End If
If Me.Height = "500" Then
Me.Height = Me.Height - 1
End If
Im Making A Tic Tac Toe And I wanted to add color to the buttons and when someone wins one of the buttons is always not enabled and i've looked through the code and i cant figure out what is wrong.
[Code]....
Is there way to Disable TreeNode Like .Enabled = False..I need this so no one can change the CheckBox checked state
View 7 RepliesI'm making a Windows Forms Application and in it I've placed a WebBrowser. When I try going to my homepage though, it says that JavaScript is not enabled. My question is, is it possible to import JavaScript? If so, how can I go about doing so?
View 2 RepliesI have created an application in Visual Basic 2010 which supports for Windows Aero (glassy effect) . But if Aero isn't enabled, error messages appears in the application. I need to know the code to ientify wheter Windows Aero is enabled or not.
View 3 RepliesIt seems I cannot use Regsvr32.exe to register it, or perhaps I am just missing something? I have checked the Register for COM interop option in the project's Build. And the assembly is set its ComVisible to true.
Below is a dummy of my
CSharp
using System;
using System.Collections.Generic;
using System.Text;
[code]....
Is the MetaWeblog API still supported? I ask because while researching XMLRPC, the Cook Computing library and implementing MetaWeblog API, I clicked a link that took me to MSDN that states the topic has been removed.There is a link there that takes me to new docs for Windows Live SDK. On the new page i cannot find current info on MWAPI. I am using EF, MV3, and VB.Net.
View 1 RepliesI was using WMI msacpi_thermalzonetemperature class to read the CPU temperature. but Its giving me Not Supported error.I think this error is coming because of some driver missing on motherboard. I amnot that good in hardware.which driver i need to download on my Window7 ACPI x64-based PC.
View 5 Replies[code].....
View 3 Replies