I have several files that I would like to have installed at the same time the project is installed on the clients machine. Best I can tell is that you add them to the resources, but how do you tell the installer to make a new folder and load the files there?
TIA
I have this code but gives me an error on the insert statement. User selects image from file which loads into picturebox. I then pull out the image to store in SQL 2005.
If have_image = True Then
Dim ms As New MemoryStream
PictureBox3.Image.Save(ms...
I have an inventory db with a table called items which I am using GUID for the item_id and table_key (auto incrementing) for the primary key. Works just fine. I also have a table called item_history which is a copy of items table including the primary key field. I am using this to be able to...
Thanks, I modified it to show that name rather then the control name for the user to understand.
Friend Function CheckControlsForValues() As ArrayList
Dim al As New ArrayList
For Each c As Control In Me.Controls
If TypeOf c Is TextBox Then
If...
I have a form that has several text boxes and combo boxes. I need to validate that the text boxes and combo boxes have values in them before using the data to populate a table in SQL.
For the text boxes I found this, which does check to see if they are empty. But if the user just skips to the...
I have 2 variables in one select statement. I can put one in at a time and the select works, both in and I end up with no errors but a blank datagridview. Using SQL 2005 and VB.Net (Visual Studio 2008)
TextBox1.Text = str_item_column
TextBox2.Text = str_item_type
Dim SQL As String = "select *...
We are looking for a computer inventory/audit software. Open Source would be great but necessary. If you could sate why you like it that would be great. We have about 400 computer.
TIA
Looking for a script for Exchange 2007 SP1, that will delete email from a users inbox that is older then 30 days if the user has not logged on in the last 60 days.
TIA
I am looking for a way to stop a service in Vista 64. This works under XP 32. I don't have Vista 32 but I suspect it would work. It just does not work under Vista 64. I am trying to stop/start the Symantec Antivirus service after I replace the GRC.dat file to point it to a new AV server...
Thanks, but no help as we are trying to do this with a startup script. We don't want to have to manually do this to all 400 plus computers.
Also we are doing this under computer startup scripts rather than user startup scripts so it is running as Local System Account rather than the users account.
We are trying to copy the new GRC.dat file to all our machines to update the Managed Server to the new server and to make sure all computers are managed. We are doing this through Group Policy Startup Scripts. We get "Permission Denied" on this:
oFSO.CopyFile strSourceFile, strDestination...
Looking to verify that any item or row in gridview is selected before moving to the next page.
If GridView1.?????????? = True Then
Dim S2 As String = Server.UrlEncode(u)
Response.Redirect("Registration.aspx?class_Reg1=" & S2)
Else...
OK. We did get it to work. We had to add the second line to make it work. It seems like you can't add the direction to the add line. Thanks, you got us going in the right direction.
MyDataAdapter.SelectCommand.Parameters.Add(New SqlParameter("@Cert_ID_Out", SqlDbType.Int, 5))...
Here is the full vb.net side:
Dim Myconnection As SqlConnection
Dim MyDataAdapter As SqlDataAdapter
'Create a connection to the SQL Server.
Myconnection = New SqlConnection("server=FIREFDM;" & "UID=xx;" & "Pwd=xxxxxx;" & ";database=CERTData")
'Create a...
We have this SP that we what it to return the value of the @maxid. We where trying to use @CERT_ID_Out to send the value back, but it only returns the value we put in.
Here is the SP:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
ALTER PROCEDURE [dbo].[CERT_Add_Registration]
-- Add the...
I am looking for some code to grab the data from this scanner (via USB/cradle connection) to use in an inventory program we are developing. Not to keen on how to talk with or get the data out from this device. Any help would be appreciated.
TIA
I am looking for some ideas on what should be included on a weekly or monthly status report for our Win2003 servers, MS SQL, MS ISA servers, Exchange 2007, IIS, etc... That gives a snap shot of the servers and applications.
Looking for items such as:
Status of backups
Patches
Errors
pages...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.