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>
---
---...
Great! both solutions are very helpful.
If possible, can you pls explain the pattern so I can use
for other scenarios?
.Pattern = "(.*?\+.*?)(\+)"
Thx.
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
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.
<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...
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...
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?
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...
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...
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
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)...
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...
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.