Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

scott987uk

@scott987uk
About
Posts
10
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • login problems in asp.net
    S scott987uk

    google. put in asp.net user authentication first link that came up for me was http://www.15seconds.com/issue/020220.htm

    ASP.NET csharp asp-net

  • login problems in asp.net
    S scott987uk

    i use the Forms mode for authentication on the web.config file. Then once the user logs in i can check to see what that users log in name is by calling User.Identity.Name; hope this helps Scott

    ASP.NET csharp asp-net

  • Dynamically adding buttons and there events
    S scott987uk

    Hi I hope some one can help me with this because it is driving me mad. I am using c# asp.net 2 and I am trying to add a button dynamically to the web page on a post back from when a user clicks an asp.net button. I am able to add the buttons dynamically, however I am unable to use any events that go with them. I have been reading a lot of articles and they say if you want to add a button dynamically you have to add it in the page load event. I have tried this and yet still the events for the buttons do not work. I am guessing that all the articles I have read are for asp.net 1.1 Does any one know how to add buttons dynamically and use there events under .net 2 for asp.net with c#. Thx for any help Scott.

    ASP.NET csharp asp-net help tutorial

  • Getting around virtual directories?
    S scott987uk

    I do not have the option to create them with the web host I am with. I know that you don't need them if you don't use code behind but it rather not have to go through all my code and stick it into the same file.

    ASP.NET csharp asp-net visual-studio sysadmin help

  • Getting around virtual directories?
    S scott987uk

    Hi all I have created a asp.net project under visual studio .net 2 and it all works fine. However when I upload it to my server it will not run because it is not a virtual directory that it resides in. Is there any way to make it so that I don’t have to use virtual directories and some how get it to work out where my dll’s are? Iv been looking at the config file to see if there is any way I can hard code where to point to the bin folder but as of yet I have not had much luck. Any help would be grate. Thx Scott.

    ASP.NET csharp asp-net visual-studio sysadmin help

  • converting byte[] to string
    S scott987uk

    hi all, hope some one can help me iv got a bit of a prob. iv got a server and client sending data using sockets and tcp/ip. The client sends the server some text and the server gets the byte[] array and then converts it into a string. For the most part it is ok, however there are some characters it can not convert. i am using System.Text.ASCIIEncoding.ASCII.GetString() to turn the byte array into a string. an example of a character it will not convert is §. any help would be grate. Thx

    C# sysadmin data-structures help tutorial

  • EDIT control won't work under a child window
    S scott987uk

    hi all, i hope im posting under the right forum here. sorry if i an't. im trying to create a EDIT (text box) control using createwindow but am having a few probs. if i create the edit control and display it on the parent window all is ok. if i display the edit control with a child window the the parent all is ok as long as i don't give the child window the property WS_CAPTION. if WS_CAPTION is not part of the child windows style all is ok, but if its added the edit control no longer works. Its displayed but you are unable to type in it. any one any ideas plz ? any help would be grate thx Scott

    C / C++ / MFC help question

  • Mapped Network drive (connect to it)
    S scott987uk

    that won't work because the windows never tries to connect to it again (it seems) so the only way to connect to it again is for me to manualy click on the drive

    C / C++ / MFC sysadmin help learning

  • Mapped Network drive (connect to it)
    S scott987uk

    Hi all hope u can help me . . I have a simple program that copies files over a wireless network from one comp to a laptop. The program is made to start up as soon as windows xp is loaded up. The hard drive the program is trying to access is a mapped network drive. However because im on a wireless network windows does not make a connection (from what I can see) till about 30 seconds after windows has fully booted up and by this time the attempt to connect my map network drives has gone so windows now thinks the comp with the mapped network drive is now off line. This means that when my program tries to access that hard drive it fails. Of course all I have to do is double click on that hard drive and then windows will connect to it and my program will work. However I was wondering if there is a way I can program it to connect the mapped network drive so I don’t’ have to do it every time I start up windows. Hope iv made a little bit of sense and thanks for any help any one can give me Scott

    C / C++ / MFC sysadmin help learning

  • can't modify property in property window
    S scott987uk

    iv created a UserControl with in it iv made a Property with a get and set. If i create it with a return type and input type of an Integer i can modify the property from the property window . . however this is a problem becuase the value that could be inputed could be eather a string or an integer. Thefore i made it so that the value to be input and returned would be an object. Hoever when i came to look at the property window i was unable to change the value becuase it is now an object i assume. is there any way around this plz, apart from creating 2 propertys. the code below is what iv done. Thanks for any help that any one can give Scott Public Property NumberToDisplay() As Object Set(ByVal Number As Object) If TypeOf Number Is Integer Then If (Number < 0) Or (Number > 9) Then sErrormessage = "Recived number out side of range of 0 to 9" RaiseEvent ErrorOccourd(sErrormessage) Else iNumberToBeDisplayed = Number Me.Invalidate() End If ElseIf TypeOf Number Is String Then 'if Number can not be converted to a string an error will occour 'e.g. inputing a "." Try Dim iNumber As Integer iNumber = Int32.Parse(Number) If (iNumber < 0) Or (iNumber > 9) Then sErrormessage = "Recived number out side of range of 0 to 9" RaiseEvent ErrorOccourd(sErrormessage) Else iNumberToBeDisplayed = iNumber Me.Invalidate() End If Catch ex As Exception sErrormessage = "The input value from the string could not be converted to a number" RaiseEvent ErrorOccourd(sErrormessage) End Try End If End Set Get Return iNumberToBeDisplayed End Get End Property

    Visual Basic help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups