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

    Mod Rewrite For Subdomain

    Hey All! I am trying to configure mod_rewrite such that I can access php scripts without showing the .php extension (/mysite/ calls /mysite.php). After finding a tutorial online, I was able to achieve this. However, I noticed that this is not working for subdomains that I create on my website...
  2. mateobus

    Modifying Generated Html Source of a web control

    Hey All, I am using a third party control for my web page. I do not have the source code to the DLL. I need to make a very small change the html that the control generates. Is there a way to capture the html generated by the control, and then render the control with that small change. I can...
  3. mateobus

    Simple Array Question

    In case anyone wants to know, this works: MyObject[] objects= new MyObject[2]; int objIndex = 0; objects[objIndex] = new MyObject(); objects[objIndex].someAttribute = "attr value"; objects[++objIndex] = new MyObject(); //Error occurs below that object hasn't been instantiated...
  4. mateobus

    Simple Array Question

    I have seen this tactic used often in javascript, and it won't work in C#. Can someone explain why its not working as intended, i think the code should be self explanitory MyObject[] objects= new MyObject[2]; int objIndex = 0; objects[objIndex] = new MyObject(); objects[objIndex].someAttribute...
  5. mateobus

    Intermittent Index Out Of Range Exeption on Server Farm

    Hello, We are experienceing an intermittent index out of range exception being thrown on our production site. Please see this stack trace: Stack trace: at System.Web.UI.WebControls.ListView.LoadControlState(Object savedState) at System.Web.UI.Control.LoadControlStateInternal(Object...
  6. mateobus

    Can't Delete Cookie being accessed from subdomains

    Hello, I would like to create a cookie upon login that can be read on two different subdomains. I have achieved this. The problem that I am having is that I am unable to delete the cookie upon logout, as it can still be read even after it is deleted. Here is the code: At login the cookie is...
  7. mateobus

    RegularExpressionValidator

    I am trying to write a regular expression validator with not much luck. I want to enforce the following on a password: At least 6 characters. At least 1 number. At Least 1 letter. This is what I have which does not seem to be working: ^(?=.*[0-9]+.*)(?=.*[a-zA-Z]+.*)[0-9a-zA-Z]{6,}$
  8. mateobus

    Create Custom Controls Within Custom Controls

    Hello, I am trying to create a custom control for creating tabs. The idea is that our designer can just use the control tags to generate the tabs. The problem that I am running into is that I want to be able to have a custom control that allows any number of child custom controls. So there...
  9. mateobus

    Control that does not generate markup

    Hey, I am using a repeater that esentially spits out a set of tables where each repeater item may close a table and start a new one, or just be a normal table row. I am using an asp:panel (and its visibility attribute) to dynamically show or hide the <table> and </table>. the problem is that...
  10. mateobus

    MultiLine Strings

    Hey, I have recently run into a bit of annoyance, as I am writing asp pages with extremely long multiline queries. For example, and this is just an example Dim query query = "select * " & _ "from table1, table2, table3 " & _ "where table.col1 = table2.col2 " & _ "and cond 1" & _ "and cond 2 "...
  11. mateobus

    Get Response Text From WebClient Object despite receiving an HTTP 409

    Hey, I am using a web service which is designed to give an HTTP 409 error in some cases. Along with this 409 error, the service sends an XML payload, which I need to be able to read. My problem is that my application is throwing an exception when I tried to fetch the site. Is there a way...
  12. mateobus

    Response XML is not valid encoding for MSXML

    Hello, I am trying to use a client's API in order to integrate authentication. The problem that I am having is that it appears that their application was written in java, and the encoding of the XML response is ISO8859_1, an encoding which is not supported by the MSXML active x object. Please...
  13. mateobus

    Parse a string of name value pairs separated by '&amp;'

    I have a query string like "name=matt&email=blah@blah.com&color=red" How could I parse this into some sort of list or array accessible by the name attribute?
  14. mateobus

    Sessions Expiring after 3 minutes

    Hello all, our company recently launched a revised version of an existing application today, and our customer service department has been complaining that they are having to log in to the admins section of the site every 2 or 3 minutes, when it used to last for more than an hour. I have...
  15. mateobus

    Sessions Expiring after 3 minutes

    Hello all, our company recently launched a revised version of an existing application today, and our customer service department has been complaining that they are having to log in to the admins section of the site every 2 or 3 minutes, when it used to last for more than an hour. I have...
  16. mateobus

    Copying SQL Server 2000 Database to SQL server 2005 database

    Yeah, I am definitely doing that. The two databases are on different machines.
  17. mateobus

    Copying SQL Server 2000 Database to SQL server 2005 database

    Hey, I am trying to copy a SQL server 2000 database (from enterprise manager) to a SQL server 2005 database (from SQL server management studio). I have tried various methods, each of which returns a different error. Does anyone have a better way of doing this or a solution to one of these...
  18. mateobus

    Call A Web Service From Sql Server

    Hey, I am writing a migration script from a user table to enter into our new system. In the old system, the passwords were not hashed, but in the new one they are. Since I am already using a cursor, i think the easiest way to hash the passwords would be to call a web service with the userid...
  19. mateobus

    Truncating a varchar for a migration

    ok, thanks. I didn't realize that convert was a real keyword.
  20. mateobus

    Truncating a varchar for a migration

    Yes, I would like to convert the data in the transform, who do i do that?

Part and Inventory Search

Back
Top