i have a windows application which needs to close or shut down if a key value is incoorect
i have a class file with below code
and this classs file is called inthe windows form
While dr.Read
If Not mkey = dr("kcode").ToString Then
MsgBox("Invalid key"...
i have a stored procedure to make a column encrypted using symmetric key & certificate in SQL
i have encrypted data in sql table
i need to compare / check this data value in windows forms with the user input & accordingly execute further.
how do i compare the encrypted data value with...
Dim nic As Net.NetworkInformation.NetworkInterface
Dim keyadd As String
For Each nic In Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces
keyadd = nic.GetPhysicalAddress.ToString
If keyadd = "" Then...
i have created a windows application & it uses Microsoft reporting services.
i am using vs2008 for the development
i need to deploy the application at clinets system
whts the best & safe method
can we create any security check / licesence so that the application cant not be executed in other...
While m_reader.Read
If Not m_reader("cname") = "" Then
arryname.Add(m_reader("cname"))
arrymail.Add(m_reader("mail"))
End If
End While
For Each item As String In arryname
Next
i hve the above code in which i am adding the fields 2...
---------------------------
DataGridView Default Error Dialog
---------------------------
The following exception occurred in the DataGridView:
System.FormatException: String was not recognized as a valid DateTime. ---> System.FormatException: String was not recognized as a valid DateTime...
have a datagrid in windows forms .
i need to display datepicker in 2 columns and the date selected if then 2 be saved in database
if no date selected for a particular row then it shld not be saved
i have a form with a dropdown
i am populating dropdowmn from database but having few issues
i have a sub function fr populating the dropdown as
Dim da1 As New SqlDataAdapter(cmd1)
Dim ds1 As New DataSet()
da1.Fill(ds1, "M_customer")
Me.drpcust.DataSource =...
in my vb.nt windows application i have a dropdown in form1
i need to pass this value to form2
in form2 load event
i tried
dim drpval=form1.dropdown1.selectedvalue
i hve made a application in vs2005(frame work 2.0 which has crystal report
in my system i have VS2005 software
crytsal report whetver i needed i hve done it a design time ie added the fields needed during design time
i had placed all the reports in folder knw as reports & had given the path...
i had formated my system and installed visual stuido 2005. when working on it i ststted getting many errors in the output window along with a o\popup widow showing error msg compiler error. i get this message frequently
i unsinatlled and resinstalled sill the same msg i get. how do i solve this...
For i = 1 To ListBox1.Items.Count - 1
cstr1 = ListBox1.Text
strqry1 = "insert into trans(pid) values('" & cstr1 & "')"
MessageBox.Show(strqry1)
If ListBox1.GetSelected(i) = True Then
cmd.CommandText = strqry1...
i have a listbox with more than one record, 2 textbox
i want to insert the data from all 3 objects in the sql table but with the below code i am not able to insert it.
eg suppose i have 2 names in listbox1 , name1, name 2 & in first textbox A & second textbox "1"
against both the names the data...
i am using vs2005 and vb.net windows application
i have 2 listtbox
listbox1 populated with data from sqlserver using dataadapter
on a command button click i want to move the selected data from listbox1 to listbox2 (multiselect) & vicversa
i am able to do it using javascrpt but want to do it...
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.