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!

Recent content by need2progm

  1. need2progm

    global variable v/s cache

    Could someone tell me the difference or why I should use one over the other? I am using asp.NET (2.0) to do a rewrite of an application to be released March of next year. I am little confused why I should cache something verse just putting a populated DataTable as a global variable at app start.
  2. need2progm

    Get Next Quarter Month

    I am using the DateDif to get the difference between BeginDate and EndDate to return a Count. Count = DateDiff(DateInterval.Quarter, BeginDate, EndDate) Count + 1 How do I figure out what the next quarter is to get the first month of that quarter? (StartDate) Example.. BeginDate = June 15...
  3. need2progm

    sending an xml file

    This is sorta "Ugly" but it works.. :) 'set mail server SmtpMail.SmtpServer = "????.com" Dim outmail As New MailMessage outmail.To = "CodeMonkey@????.com" outmail.Cc = "need2progm@hotmail.com" outmail.From = "General Manager" outmail.Subject = "Testing Mail" outmail.BodyFormat =...
  4. need2progm

    GetDays between Dates?

    thanks.. datediff worked GREAT for us.
  5. need2progm

    GetDays between Dates?

    I have 4 "TimeSlices" Annual, Quarterly, Weekly, Daily. Given a time slice and 2 dates (BeginDate as Date, and EndDate as Date) I need to come up with the number of occurrences. Example ... BeginDate = 1/1/2004 EndDate = 2/15/2005 Switch TimeSliceType Case Annual Count = EndDate.Year...
  6. need2progm

    HELP production website BAD ERROR

    Seems that the .NET framework service pack (1.1) was applied to the hoseted site. After applying it in house I was still getting the error. I also tried using the aspnet_regiis -c comand line .. also did not work. Finially I did a search to see where the service pack had out the...
  7. need2progm

    HELP production website BAD ERROR

    We deployed our new website over the weekend (from peal and PHP to .NET) and non of the asp buttons click events are causing a post back. They are however validating the text boxes on the form. This works in development. I created 1 web form with 3 user controls that hide and unhide depending...
  8. need2progm

    WindowsIdentity.GetCurrent

    How can I leave Anonymous access ON and still get DomainName\UserName?
  9. need2progm

    WindowsIdentity.GetCurrent

    I am trying to get the current log in user (DomainName/UserName).. for window authentication for my asp application. This is what I have so far.. Got this right off MSDN 'Get the current identity and put it into an identity object. Dim MyIdentity2 As WindowsIdentity =...
  10. need2progm

    export to excel problem

    I did have this issue once... My Dataset still had "old" data in so when I re-populated it the old data was still around thus was put into my output stream to the pdf file I was creating. I found out that before I could run my sql query I had to do this.. Try DataSet.Table.Rows.Clear() 'clear...
  11. need2progm

    Virtual Directory/ Debugger

    I created an ASP.NET application, creating the virtual directory on my thumb drive. Took it to work and in IIS I created a virtual directory pointing to my thumb drive. I was unable to debug in the application. Any ideas why? Thanks for any help you can provide
  12. need2progm

    MetaData Tag

    Can you set the metadata tags in code behind. I know I can get to the page but not sure how to set that tag information. Thanks for any help you may give
  13. need2progm

    debugger;

    That worked.... and I figured out what was causing the error and fixed it!! I have a happy boss now!! Thanks Carly
  14. need2progm

    debugger;

    I have recently rebuilt my development server. After reinstalling visual studio 2003 the debugger (keyword) in the javascript (code in front) is not breaking out. I am having to pop alerts for debugging.. which is horrible. Can anyone give me some advice on how to re-enable this feature...
  15. need2progm

    Parse Name feild

    Thanks for the script. Out of 500 rows of data only 25 were dumped into a backup table. I also tried using it with access but it does not like CHARINDEX :( Stick with SQL Server.. That is what I tell my customers

Part and Inventory Search

Back
Top