Jump to content
Xtreme .Net Talk

jspencer

Avatar/Signature
  • Posts

    83
  • Joined

  • Last visited

Personal Information

  • Occupation
    'Puter Geek.
  • Visual Studio .NET Version
    Visual Studio .NET Ent
  • .NET Preferred Language
    VB.net

jspencer's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Try using the 'Project' - 'Copy project' option. This works sweetly with frontpage extensions.
  2. Do your three tables all have PKs defined?
  3. You can also try Redgate ANTS Profiler which is excellent (but not free). They do have a trial period though.
  4. It would have helped if you had posted the error message. Have you installed asp.net on the iis server? If not, run this command.... C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
  5. The only starting point that I could find was: "You can extract thumbnails by calling IShellFolder::GetUIObjectOf to obtain an IExtractImage interface for each item you are interested in. But unfortunately you don't get a free ride on the shell's thumbnail cache."
  6. Thanks Robby, I'll give it a whirl.
  7. This code works, but is decidedly average: Public Function EvenNumber(ByVal Number As Integer) As Boolean Dim Result As Integer Result = Convert.ToInt32(Number.ToString.Substring(Number.ToString.Length - 1, 1)) Select Case Result Case 0, 2, 4, 6, 8 Return True Case Else Return False End Select End Function
  8. Can anyone think of a smart way to use the framework classes to test a number and tell me whether it's even or odd? I can test the last character in the number and if it's 0,2,4,6,8 then the number is even. This doesn't sound very smart though. Thanks.
  9. Are you setting the script on btnClick? If so, then the script is being assigned on the first click then executed client-side on the second click. Try putting the code in the form_load event and see what happens.
  10. http://www.kamalpatel.net/ConvertCSharp2VB.aspx
  11. Hurricanes don't suck, they blow. It's tornados that suck. You've got your storms all mixed up! ;-)
  12. Hard to use initially, but ever so satisfying......
  13. Pretending to be someone else. For example, the asp.net user account doesn't have any rights on the server, so you pretend to be the local administrator instead. You can have a look at this for more information: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconaspnetimpersonation.asp
  14. Can you post more code? There's not really enough to see what's going on.
  15. If you do this, it will process the rest of your code: Try response.redirect("home.aspx") Catch ex As System.Exception Finally oConn.Close End Try
×
×
  • Create New...