Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Programming2007

    Trying to remove an xml tag

    That was the first thing that I tried.
  2. Programming2007

    Trying to remove an xml tag

    ...as: <item />. I want the item tag totally erased. How do I do this? Here is the xml: <?xml version="1.0" encoding="utf-8"?> <sections> <comment> ***** All settings are CaSe SeNsItIvE ***** </comment> <section name="ApplicationCABS"> <item /> <item key="dbSchema" value="xxxx" />...
  3. Programming2007

    using asp code within vbscript

    ...Rs.movenext set rs = nothing cnRL.close else end if Dim mail, strBody strBody = vbcrLF & "******PLEASE SEE ATTACHED JOB SIGN OUT FORM *****" & vbcrLF to from etc...... mail.Send() Set mail = nothing Response.Redirect("MailSent.asp") %>...
  4. Programming2007

    DataReader error-Operation is not valid due to the current state of th

    Thank you for responding. The problem is not with the dataadpater closing it is with the stored procedures. The statusQwest stored procedure works but the other 2 do not. the "ADD_RECORD_Qwest_MISSING_FILES" stored procedure is what closes the connection at execute nonquery.
  5. Programming2007

    DataReader error-Operation is not valid due to the current state of th

    Thanks, the exception says that the connection is closed. It is closed at execute nonquery but it is open before that. I don't know why it is suddenly closing.
  6. Programming2007

    DataReader error-Operation is not valid due to the current state of th

    The error message is "Operation is not valid due to the current state of the object
  7. Programming2007

    DataReader error-Operation is not valid due to the current state of th

    ...Dim sChangeStatusAfterInsert As String hasRows = OraDR2.HasRows() Dim sSelectSql As String sSelectSql = "select * from cdr_text_test" cmdOracleSelect = New Oracle.DataAccess.Client.OracleCommand(sSelectSql, cnOracle) OraDR_cdr_text =...
  8. Programming2007

    Navigating through a dataset to find column values

    Hello how do I navigate through a dataset to find column values. My code looks something like this: Dim myDS1 As New DataSet Try strSQL = "select TERMINATE_NUMBER,ORIGINATE_NUMBER,CALL_DATE,CALL_TIME" & _ "from ratesys_gc_cdr_bad " & _...
  9. Programming2007

    Want to avoid teh Filestream.position from reading whitespace

    ...at the specified position it takes whitespace into account. How do I avoid this? Below is my code: Files = Directory.GetFiles("C:\\QuestLD", "*") For Each File In Files Dim fs As New FileStream(File, FileMode.Open, FileAccess.Read) Dim sw As New...
  10. Programming2007

    Write to a textFile without substituting text

    Hello I am trying to write to a textfile at a certian position. The problem is that when I do that what I write to the file writes over the existing data. How do I do a write that is like an insert which just inserts the values into the textFile without replacing them. Below is my code...
  11. Programming2007

    DataList with hyperlink and label from arraylists

    Hello I am writing my own site Search for my website. I am opening all the files with .htm and aspx extensions, reading these files and searching for a keyword that a user types in for search criteria textbox.Descriptions is an arraylist that contains the first few words of a sentence where the...
  12. Programming2007

    DataList with hyperlink and label from arraylists

    I am using a DataList to display a list of hyperlinks and labels. A user enters a search criteria and the page (hyperlink) is displayed along with a sentence (label)where the keyword is used. I have a Files arraylist of hyperlinks and a Descriptions arrayList of sentences. I don't know how to...
  13. Programming2007

    DataList with 2 arrayLists for hyperlink and label

    I am using a DataList to display a list of hyperlinks and labels. A user enters a search criteria and the page (hyperlink) is displayed along with a sentence (label)where the keyword is used. I have a Files arraylist of hyperlinks and a Descriptions arrayList of sentences. I don't know how to...
  14. Programming2007

    Array CopyToMethod ..error

    Thanks so much now it works
  15. Programming2007

    Array CopyToMethod ..error

    ...allFiles As String() Dim dirs As String Dim directories As String() curDirectoryHTM = Directory.GetFiles("C:\SCoutline4", "*.htm") curDirectoryASPX = Directory.GetFiles("C:\SCoutline4", "*.aspx") curDirectoryASPX.CopyTo(allFiles, allFiles.Length)...
  16. Programming2007

    How do I write !=null in vb .net?

    ...Do Until (dirs.Length Is Not Null And curDirectory.Length is not null) files = Directory.GetFiles(curDirectory & "*.htm") Loop End Sub I tried changing the do until line to: ............Do until(dirs.Length != null) ............. But that doesn't work either. Can't really find...
  17. Programming2007

    Simple Button to pass string to aspx Webform

    Hello all I have a textbox that takes a string and when a button is clicked the string has to be passed to a method in an asp .net webform. How do I do this? below is my code. Function in HOME.html (This is what I need help writing)! <!-- function Button1_onclick() {...
  18. Programming2007

    Operator '|' cannot be applied to operands of type 'string' and 'stri

    Unfortunately that doesn't work it searches for files of type "*.htm && *.css", with the and in the middle.

Part and Inventory Search

Back
Top