I am using the code to show if antivirus is installed and to display its name. What other options are available under the
Dim searcher As New Management.ManagementObjectSearcher("SELECT * FROM antivirusproduct")
like last update etc
Imports System.Management
Public Class Form1
Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim scope As New Management.ManagementScope("\.
I am looking for a way to create a popup that will be shown like a 'somebody has come online' on msn , nod32 has 'scan results'. Howver I am unable to figure this out with 'tutorials' that dont work or projects that are out of date / canceled. I am looking for something thats being shown above all other apps that are open but without losing control over those apps. The fading etc is not that important I will figure this out when I get there.
I have run into a problem with installing my software. Once the setup gets to installing the exe file the resident antivirus program is removing this file from the installation folder and placing it automatically in quarantine. Message comes up saying it may contain a virus, which is not the case. Seems this is a new feature of antivirus software. I do not want the end user to be configuring their antivirus quarantine to restore the file.
I have been developing an antivirus using vb.net. The virus scanner works fine but I was thinking of ways to optimize the scanning speed (because large files take forever)
I am trying to build a program for a PC Business to check and see if an antivirus is installed, if not suggest some that are available, but im lost when it comes to trying to get my program to check and see if one is installed.
I am writing an app that picks up information from wmi/securitycenter2 to show what antivirus, antispyware and firewall are installed It also returns a productstate value which shows whether product is enabled/disabled and whether definitons are up-to-date or outdated
I'm working on a script/application to remove the old version of Norman installed in a windows network. To do this I have this tool called"Delnvc5. exe"..To remove the installed client I've now used "Delnvc5.exe /quiet". On some computers where the users have admin rights.But the problem is on computers with other policies where the user is not allowed to run this application so i made this..[code]When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
How do programs like antivirus keep track of time passed for the trial period? Eg I want to make a program that expires and stop working in 30 days One way I thought of is to make use of the system time.
'Update' is a type and cannot be used as an expression. I've searched the forums and lowercased letters with no success.
Here is my code:
Dim SupplierContactNum As String = dataList1.DataKeys(e.Item.ItemIndex).ToString Dim SupplierContact As TextBox = CType(e.Item.FindControl("EditSupplierContactTB"), TextBox) Dim TitlePosition As TextBox = CType(e.Item.FindControl("EditPositionTB"), TextBox) Dim SupplierPhone As TextBox = CType(e.Item.FindControl("EditSupplierPhoneTB"), TextBox)
I have a number of controls (Device1, Device2, etc.) that all inherit from BaseDeviceControl. In the DragEnter event handler I am trying to test for the correct type by using the BaseDevvceControl like this....
I am linking to an SQL table with 'Money' field. When i try to update this field in VB.NET I get an error message that "Can not convert a character value to money. The char value has incorrect syntax".
I have 2 Child forms inside a parent. For example, FrmChild1 contains a "Friend Sub" I wish to call.I would like one of the child forms to call that sub from another child form (we will call it FrmChild2. The following code works, but when it's done going through the "For Each", I get a "Invalid Cast"
' THIS CODE IS IN FrmChild1 For Each mFrmChild2 As FrmChild2 In FrmParent.MdiChildren mFrmChild2.GuestRefresh(False) Next
Error after calls are made:"Unable to cast object of type FrmChild1 to type FrmChild2.
I am using a background worker and am attempting to use the following code. However I keep getting this error on i "Unable to cast object of type 'ObjectCollection' to type 'System.Array'."
Private Sub btnVerify_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnVerify.Click myArray = listProxies.Items() BackgroundWorker1.RunWorkerAsync() End Sub
I'm creating a login system with ASP.NET and VB.NET, and I have the webpage read a MySQL database for a table with the usernames and passwords. In the 1st column is an auto-incrementing id number, 2nd is their username, and 3rd is the password. Here's the code I have for searching through the table (which is a GridView named "logintable"), but I get the error "Conversion from type 'GridViewRow' to type 'Integer' is not valid. It seems like this code should work, so what's wrong? [Code]
We get this error: Conversion from type 'InternalField' to type 'String' is not valid. When we get to this in our Dim fname2 = fname args.Graphics.DrawString(fname2, New Font("arial", 8), Brushes.Black, 5, 5) fname is a nvarchar variable from a recordset. It's just a name.
I use following codes to retrieve data from table, but get error Conversion from type 'DBNull' to type 'String' is not valid.
str = "Select * from gpass where vou_no= " & Val(Me.txtGat.Text) & " And Date = '" & Me.txtDat.Text & "'" dt = GetTable(str) If (dt.Rows.Count > 0) Then
I am importing an Excel spreadsheet, turning it into a dataset and inserting the results into SQL Server (only 100 rows).
I am having an issue with one of the date columns in Excel, which can have a value or not. The "F" column is the one that may be blank and this is the error I get: Conversion from type 'DBNull' to type 'String' is not valid.
How can I add a check to the Dim F As Date = CDate(row(5)) to handle a null?
VB ' The use of letters instead of ' more descriptive variables is ' strictly for this sample peice
I have a bit of trouble right here, I am trying to get the data from the site and input them in the listview. Well, when my main app start to load through on debug, then it start to display a warning. The warning is: Unable to cast object of type 'System.String' to type 'System.IFormatProvider'.
If I am to update table 'Province' in databse get "Value of type 'Boolean' cannot be converted to 'System.Data.DataRow" Is there any other easy method to update table in Access Database?
Imports System.Data.OleDb Public Class Form4 Inherits System.Windows.Forms.Form Dim myadapter As New OleDbDataAdapter