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 TouchToneTommy 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. ljwilson

    Regular Expression Help (Numbers with Decimal)

    Thanks for the help. I see what I did wrong with the SLICE function (somehow I thought it would return a string with the third parameter as the delimiter). What would I need to use for defining that regular expression if I only wanted numbers with or without decimals to be matched?
  2. ljwilson

    Regular Expression Help (Numbers with Decimal)

    I am trying to create an array with the matched elements from a string. I am not having much success (the result is an empty array). Here is what I got: var regpattern = new RegExp("^\d+(\.\d{1,2})?$"); var myarray = new Array; myarray[21] = "TEXT NOT NEEDED"; myarray[22] = "Diagnosis: Other...
  3. ljwilson

    Fields run together when printing

    What would cause some fields to run together when printing? The report looks fine when viewed in the web browser (RS2008 is what we use), but when the report it printed, two fields occupy the same space and overwrite each other. Thanks!
  4. ljwilson

    Specify Server on a Web Farm

    Is there any possible way for me to choose what server I get assigned on my Web Farm? I have three webservers in that cluster and am using one of them for development for an ASP app. I have people that need to test changes that are being made, but they don't always get assigned that server...
  5. ljwilson

    Register and consume a .NET dll with Classic ASP

    Well, I got this partially working. I had to include the /codebase option for regasm and then add the application in component services and then add the components and it worked!!! Sort of anyway. I am still having issues with accessing functions in the .NET assembly that are polymorphic...
  6. ljwilson

    Register and consume a .NET dll with Classic ASP

    I have tried to register and consume a .NET dll with plain classic asp (Server.CreateObject). I think I have registered the DLL correctly (it shows up in Component Services just fine and gave me some error messages when the authentication wasn't setup properly), but I can't seem to get classic...
  7. ljwilson

    multiple ajax on one page

    You should also check out jQuery's Ajax methods. They are much cleaner, faster to code and give you lots of options for how you want the call to be made. If you do use jQuery, do your event binding in your code behind javascript file and not in the html onchange="filterResults(this.value)"
  8. ljwilson

    Javascript help

    On a sidenote - check out jQuery for much cleaner code and better access to DOM elements. That aside, there is no need to declare variables when you are passing them in to the function (function calc). Remove the var declaration.
  9. ljwilson

    Javascript help

    Why not use jQuery and take advantage of the docready function. You could even use this with real form submission. The advantage of using docready over body onload is that it will fire as soon as the DOM is loaded and will result in quicker and generally more consistent execution.
  10. ljwilson

    Data Validation

    You really ought to take a look at jQuery and some of the validation plugins. You could have a solution that is not only a better UI experience for your users, but one that is more rebust and flexible as well. One of my favorite validation plugins is...
  11. ljwilson

    How do I highlight items on page?

    Take a look at jQuery and some of the autocomplete plugins. There are several and many of them work just as you need.
  12. ljwilson

    jQuery IE Ajax Error (but not on page refresh)

    I am getting errors in IE when making simple ajax calls. The calls work in other pages, but not in this page. The IE Script Debugger picked this out as causing the issue: return new A.XMLHttpRequest The error is Object doesn't support this property or method on line 123 character 183 The...
  13. ljwilson

    Unicode Characters in Database

    I am having serious issues with several webpages. It seems to be happening when people copy and paste text from applications like MS Word. I have written a function to replace some of these with the proper html characters (single quotes, double quotes, etc), but now more symbols are showing up...
  14. ljwilson

    Unicode Characters in Database

    I am having serious issues with several webpages. It seems to be happening when people copy and paste text from applications like MS Word. I have written a function to replace some of these with the proper html characters (single quotes, double quotes, etc), but now more symbols are showing...
  15. ljwilson

    Set value of datetimepicker to value from database on form load

    The problem turned out to be this: Me.App_DateDateTimePicker.Text = "" Even though this property setting was happening BEFORE the value setting, it apparently breaks the datapicker somehow. Once I removed that line, it works like a charm.
  16. ljwilson

    Set value of datetimepicker to value from database on form load

    That didn't work. I tried something else: If Not IsDBNull(dsProtocolInformation.Tables(0).Rows(0).Item("App_Date")) Then Me.App_DateDateTimePicker.Value = CType(dsProtocolInformation.Tables(0).Rows(0).Item("App_Date"), Date)...
  17. ljwilson

    Set value of datetimepicker to value from database on form load

    I am struggling with this. I have a datetimepicker. I have code to get data from database on form load. All that works just fine. What won't work is for the datetimepickers to be set to the date I get back from the DB. I can do a MessageBox.Show on the variable that holds the date coming...
  18. ljwilson

    Print directly to printer (Reporting Services report) from VB.NET

    I have a Windows Forms application and need to print a reporting services report directly to a printer. Right now, I can bring it up in a browser, but really need to bypass the viewing and just send output to a printer. Any advice? Thanks, ElJay
  19. ljwilson

    INT Conversion Error (Wierd)

    @UID is Varchar(10). I can't use @WHERE_SQL cause I can SET it.
  20. ljwilson

    INT Conversion Error (Wierd)

    BTW - This works: SET @COUNT = ( SELECT COUNT(r.ereq) FROM dbo.Request r INNER JOIN dbo.[Status] s ON s.ereq = r.ereq WHERE s.[Status] = @STATUS AND r.creator = @UID ) IF @STATUS = 'ALL' BEGIN SET @COUNT = ( SELECT COUNT(r.ereq) FROM...

Part and Inventory Search

Back
Top