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

    URL Encoding with c#

    HTMLEncode didn't work either, but you got me looking at the HttpUtillity class, and HttpUtility.URLPathEncode works, thanks for your help.
  2. mookie

    URL Encoding with c#

    I hadn't checked that, but trying it yields the same results BIS+QA+EDM+Calender pluses, not the %20 I am looking for.
  3. mookie

    URL Encoding with c#

    I am trying to build a url to access ms exchange, and some of the folder have spaces. I want the string "BIS QA EDM Calendar" to become "BIS%20QA%20EDM%20Calendar" I see Server.URLEncode(), but that convert spaces to a plus sign, not %20. Java has a nice URLEncoder class that works great. I...
  4. mookie

    Create an XML document with multiple namespaces

    I want to create the following XML document <?xml version="1.0" encoding="utf-8" ?> <root xmlns="http://www.usa.gov" xmlns:minn="http://www.minn.gov"> <Author> <Name>Joe Johnson</Name> <minn:Age>47</minn:Age> </Author> </root> The closest I have got is <?xml version="1.0"...
  5. mookie

    Java dying when user logs off machine

    Well, I found a solution. If you add the paramater -Xrs to the java command, it will reduce the use OS signals. Thus it will ignore the hook that Windows has. It turns out this was a bug in version 1.3. For some non-light reading and more info, see...
  6. mookie

    Java dying when user logs off machine

    I have been looking at using a tool to be a service, this is not the route I would like to take.
  7. mookie

    Java dying when user logs off machine

    I have developed a program that monitors a MQ queue, I want the application to be running on the machine in the background. I have installed this on a Windows 2000 Server machine. So I setup a &quot;scheduled task&quot; to start on system start up. When I start the machine, the application...
  8. mookie

    Set focus in the datagrid

    How would I set the focus to the first textbox in the selected row of the datagrid?
  9. mookie

    Using IN operator on parameter with list of numbers

    You could use the like operator, something like declare @Status varchar(10) select @Status = '[135]' select distinct status from tblTable where convert(char(1), status) like @Status the above query would return the status of 1,3, and 5
  10. mookie

    hi, I was wondering if anyone co

    Because date is not a key field you will need to use sub-queries SELECT T1.Date, T1.SumOrds, T1.SumValue, T2.SumOrds, T2.SumValue FROM (Select Date, Sum(Ords) as SumOrds, Sum(Value) as SumValue FROM Table1 GROUP BY Date) as T1 INNER JOIN (Select Date, Sum(Ords) as SumOrds, Sum(Value) as...
  11. mookie

    hi, I was wondering if anyone co

    Try this SELECT Table1.Date, Table1.Ords, Table1.Value, Sum(Table2.Ords), Sum(Table2.Value) FROM Table1 INNER JOIN Table2 on Table1.Date = Table2.Date GROUP BY Table1.Date, Table1.Ords, Table1.Value ORDER BY Table1.Date
  12. mookie

    How to tell if an object has been created

    Thank you, that was what I was looking for.
  13. mookie

    How to tell if an object has been created

    On some of my error handlers I am attempting to output to a log file the current values of different of the variables. The problem I have is determining if I have created the object yet. For example on error goto main_err dim bob as client ... <a> set bob = new client ... <b>...
  14. mookie

    Changing database of a sub-report at runtime

    Nevermind, I fixed the problem using this code: Dim CRXSubreportObj As CRAXDRT.SubreportObject Dim CRXSubreport As CRAXDRT.Report Set CRXSubreportObj = Report.Section5.ReportObjects.Item(&quot;Subreport1&quot;) Set CRXSubreport = CRXSubreportObj.OpenSubreport For...
  15. mookie

    Changing database of a sub-report at runtime

    I am creating reports with VB6 and CR8 using RDC. These reports will be run at different locations with different database names. I have successfuly been able to change the database for the main report by using this code: Const sDevDBName As String = &quot;CSTS_Test_DB&quot; Dim...

Part and Inventory Search

Back
Top