Search results for query: *

  • Users: svibuk
  • Content: Threads
  • Order by date
  1. S

    exiting or closing the application

    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"...
  2. S

    Question encrypting or derypting the values

    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...
  3. S

    getting mac add of the system

    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...
  4. S

    Question Object variable or With block variable not set

    if i add the reference of class file to the windows form page i and execute the form page i get Object variable or With block variable not set. error
  5. S

    seciruty/ licesening with windows appkication

    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...
  6. S

    Question accessing array values

    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...
  7. S

    Question adding date in datagrid

    --------------------------- 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...
  8. S

    Question displaying datepicker in datagrid

    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
  9. S

    populating dropdown in windows forms

    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 =...
  10. S

    Question getting value from one form to another

    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
  11. S

    Question not able to get report , asking login credentials

    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...
  12. S

    compiler error

    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...
  13. S

    Question inserting multiple records frm listbox

    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...
  14. S

    insert query fr multiple listbox records

    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...
  15. S

    moving data between 2 listbox

    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...
Back
Top