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 strongm 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. johngrg

    XmlSerialization: How to add attribute to an element

    I am using XmlSerializer library to serialize object into xml. Here's what I get currently. <?xml version="1.0" encoding="utf-8"?> <Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Expenses> <Expense> --- ---...
  2. johngrg

    string manupulation w/ Replace function

    Great! both solutions are very helpful. If possible, can you pls explain the pattern so I can use for other scenarios? .Pattern = "(.*?\+.*?)(\+)" Thx.
  3. johngrg

    string manupulation w/ Replace function

    0000100008+00009+0007+00000000000001 0000+10000" For above string, I'd like to replace the 2nd '+' sign with '-' and leave the rest of + sign as it is in the same format. How would I be able to do this? Thx
  4. johngrg

    IsDefined(&quot;form.firstname&quot;) causes IIS to hang

    Since moving to new server, it's working correctly now. Seems the CF app server was having some issues. Greatly appreciate your help. Thx.
  5. johngrg

    IsDefined(&quot;form.firstname&quot;) causes IIS to hang

    Ran the chkdsk. Didn't help. Tried the second option, it doesn't seem to be capturing the value from the firstname/lastname input boxes. any suggestions? Thx.
  6. johngrg

    IsDefined(&quot;form.firstname&quot;) causes IIS to hang

    <cfif IsDefined("form.firstname")> <cfset firstname = #form.firstname# > </cfif> <cfif IsDefined("form.lastname")> <cfset lastname = #form.lastname# > </cfif> IIS server (6.0) hangs when a new pop-up window is opened from classic asp webpage and the above Cold fusion code is executed. It...
  7. johngrg

    Application Popup: InetInfo.exe - Application Error

    I've isolated the problem to coldfusion. I'll pose the ques. on CF forum. Thanks.
  8. johngrg

    Application Popup: InetInfo.exe - Application Error

    IIS server (6.0) hangs when a new pop-up window is opened from classic asp webpage running cold fusion query. It runs 2-3 times before this problem occurs and I have to restart IIS. In the Event Viewer System log file, following error is recorded. What does this error mean? How can I fix this...
  9. johngrg

    #URL.firstname# shows CGI variables

    That worked excellent. Thanks. On Ques 1., would you know why #URL.firstname# would grab the HTTP header information? Is there anyway to avoid getting the HTTP header info from the URL?
  10. johngrg

    #URL.firstname# shows CGI variables

    I'm a newbiE to CF. Lately I came across ColdFusion script embedded w/ ASP that I had to debug. 1. In the Employee.cfm there are two input boxes, firstname and lastname and Search button. When this form is opened from another form, <cfoutput> #url.firstname# </cfoutput> shows entire CGI...
  11. johngrg

    Excel 2003: Expand/Collapse columns simultaneously on multiple sheets

    In MS Excel 2003, is it possible to expand/collapse columns that use the outline features on multiple worksheets simultaneously? For eg. There are two worksheets in a workbook, each worksheet having 2 expand/collapse columns col A & col B. If user selects multiple worksheets, then click on...
  12. johngrg

    Permission denied when trying to Kill file

    As Hugh pointed out, the process was still running, and wouldn't let me Kill it. Thanks all.
  13. johngrg

    Permission denied when trying to Kill file

    Excel 2003 vba I'm getting Permission Denied error when trying kill existing file. What causes this, how can I delete an existing file that's on my hard drive? Thanks. Code: If Dir(mFileName) <> "" Then Kill mFileName ' Kill the existing file End If
  14. johngrg

    multi dimensional arrays ques

    Thanks everyone.
  15. johngrg

    multi dimensional arrays ques

    Environment: VB6 1. to declare multi dimensional array, can I use either one of the following? Dim arr(2)(5) or Dim arr(2,5)? 2. Private Sub GetData(arr as Variant) arr = Array(arr(1)(1), arr(5)(1)) End Sub Is it retrieving the value from arr array (array 1 element 1, array 5 element 1)...
  16. johngrg

    disable cell editing in vsflexgrid

    how to make a particular cell in some row, column non-editable in vsflexgrid? Thanks.
  17. johngrg

    raise event in form and capture in class

    In VB6, I open a modal form from class mod. Declared an event in the form. When the user click on OK button in the form, I raise an event and want to capture this event in the class module from where the form was opened. In the class mod, I've implemented WithEvents to capture the raised event...

Part and Inventory Search

Back
Top