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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Guru7777

  1. Guru7777

    Can someone help me figure out why this code is not working..

    Have you put a debugger on those lines to see if they are hit when your button event (or whatever fires)? Have you checked in the debugger to see if those variables being assigned are actually populated from the textboxes? I also don't know if you should have that \ in the Attach Db Filename...
  2. Guru7777

    Simple Question

    jmeckley, I was talking about the return false in the catch block. My point was that returning false would prevent the throw from being executed and that the line didn't make any sense to be there in that example (superfluous). I was pointing out that you can't throw an exception and return a...
  3. Guru7777

    Simple Question

    I believe that throw won't even be executed. Your return statement will get you out of there and the next line is superfluous. ---------------------------------------- TWljcm8kb2Z0J3MgIzEgRmFuIQ==
  4. Guru7777

    Web service advice

    It doesn't have to be a web service, though you can use one if you want. What you really need is something to queue up the email requests and send them at intervals or in a batch or whatever it is that you are thinking. ---------------------------------------- TWljcm8kb2Z0J3MgIzEgRmFuIQ==
  5. Guru7777

    RegularExpressionValidator

    I have modified what I found here. http://davidhayden.com/blog/dave/archive/2004/09/25/501.aspx Take a look at it. I tested it and it seems to work. ^.*(?=.{10,})(?=.*\d)(?=.*[a-zA-Z]).*$ ---------------------------------------- TWljcm8kb2Z0J3MgIzEgRmFuIQ==
  6. Guru7777

    How do I specify an Init module?

    I'm lobbing a hail mary here, but when you searched, did you use the "find in files" search, or make sure that the "search hidden text" option was checked in search options? Unless the global.asax file calls it itself or some other module or page calls it, there is nothing about that name that...
  7. Guru7777

    Use of 'getElementById' within WebUserControl

    It looks like that function is just in the .aspx page itself. If it is an issue of a strange client id being generated by ASP.Net, you can just insert this into the page. <%= ddlValues.ClientID %> Like this: (I've also included one for txtTest) <script language="javascript"...
  8. Guru7777

    Key Generation

    @stevexff Kurie wants to make an installation key for a product. Unless there is a key server, a guid can't be verified as a proper product key. Anyone who can go SELECT newid() or Console.WriteLine(System.Guid.NewGuid().ToString()); could make a "valid" key on the system. I think...
  9. Guru7777

    Key Generation

    What makes a hash potentially problematic (to hackers or whomever) is their ability to reproduce it in some other way than brute force (besides knowing your original factors). If you use a SHA256 hash, there have been no known collisions on that hash (SHA1 was listed as broken in 2005). But...
  10. Guru7777

    Expose C# Properties as COM Properties

    Check this out. http://forums.msdn.microsoft.com/en-US/csharpgeneral/thread/7313191a-10db-4a16-9cdd-de9fb80b378a/ Specifically, the response by TaylorMichaelLMVP on Thursday, October 04, 2007 11:56:23 AM. I know I learned something reading it. ----------------------------------------...
  11. Guru7777

    T-Sql Grouping Question

    Thanks, guys. That did the trick. SQLDenis, sorry about that. I will try to remember that for next time. ---------------------------------------- TWljcm8kb2Z0J3MgIzEgRmFuIQ==
  12. Guru7777

    T-Sql Grouping Question

    I have data similar to what is below. I have duplicates across the 4 grouping criteria that I’ve indicated. I need the one record that is the max value of both the date submitted and time submitted (unfortunately, both varchar data) across the grouping values. So, in the data set I've...
  13. Guru7777

    get out the numbers - regex

    This does the trick. You can be the judge if it is simpler. I tweaked the regex to pull the numbers out in chunks. Then you just have to parse the collections to get your guys. string telH = " asd833. 0000 cell "; string telH2 = " 777 9999 C "; string...
  14. Guru7777

    how to keep muliple ellipse's on a grid.

    I don't have much experience in this, but my guess would be that you need to store the previous ellipse (and all others as well) and when a new one is redrawn, redraw the stored ones. ---------------------------------------- TWljcm8kb2Z0J3MgIzEgRmFuIQ==
  15. Guru7777

    Passing parameters to a string?

    string line6 = string.Format("PATH {0}", "some other string"); ---------------------------------------- TWljcm8kb2Z0J3MgIzEgRmFuIQ==

Part and Inventory Search

Back
Top