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
T

Tom John

@Tom John
About
Posts
134
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Mouse Alternatives
    T Tom John

    Deyan Georgiev wrote:

    hell I’ll play CoD 4 with my feet

    OK - here's the truth - I was actually playing WoW at the time and figured a decent foot solution would be reasonable for character control... then I figured the same "productivity" solutioin may help with coding... Busted!

    The Lounge javascript visual-studio tools

  • Mouse Alternatives
    T Tom John

    Lol - not a manager, far from it.

    The Lounge javascript visual-studio tools

  • Mouse Alternatives
    T Tom John

    I had a thought last night - improving productivity using a foot controlled mouse - keeping hands free for the keyboard. 90% of life in VS is keyboard driven, with shortcuts, chords, etc, but you still seem to have to jump to the mouse every now and again - this got me thinking last night that my feet don't do a lot when I'm coding (other than being mauled by the dog when she wants some attention). I was wondering if anyone has tried an alternate cursor control method, a quick Google found that there are foot mice and ones that react to head movement. Cheers Tom

    The Lounge javascript visual-studio tools

  • pages names
    T Tom John

    Have a look at Url Rewriting, there are a bunch of articles covering it here: http://www.codeproject.com/info/search.aspx?artkw=url+rewriting&sbo=kw[^] Hope this helps Tom

    Web Development database com question discussion

  • component like rich textBox
    T Tom John

    Take a look at FreeTextBox, it's available from: http://www.freetextbox.com. Hope this helps Tom

    ASP.NET csharp asp-net visual-studio

  • get service or process
    T Tom John

    Have a look at the ServiceController class, there's even an example to do what you're asking on MSDN: http://msdn.microsoft.com/en-us/library/system.serviceprocess.servicecontroller.aspx[^] Hope this helps Tom

    C# tutorial question

  • Daft and Probably Obvious... Editing Articles
    T Tom John

    Thanks - I used the wizard originally (4 years ago) - no modify available. Guess it needs to be updated manually now. Thanks Tom

    IT & Infrastructure

  • Daft and Probably Obvious... Editing Articles
    T Tom John

    Hi I've decided to active again on the site. Just been reviewing some old articles of mine, need to change then and move into the correct category. Where's the link to do so in the article. I have no doubt I'm missing something very obvious, any newbie pointers would be handy. Thanks Tom

    IT & Infrastructure

  • barcode reader
    T Tom John

    In my experience bar code readers just input the data as if it were entered on a keyboard. All you need to do therefore is ensure that the correct field on your form has focus and then get the user to zap the barcode. Hope this helps Tom

    Visual Basic tutorial question

  • Convert FileOpen in .net
    T Tom John

    Public Sub LogError(ByVal message As String) Dim filename As String = System.IO.Path.Combine(Environment.CurrentDirectory, "err.log") Using writer As System.IO.StreamWriter = My.Computer.FileSystem.OpenTextFileWriter(filename, True) writer.WriteLine(message & Date.Now.ToString(" dd.MM.yy HH:mm:ss")) End Using End Sub Hope this helps Tom

    Visual Basic csharp help career

  • ERROR in ds.Tables.Item("SampleID").ToString() [modified]
    T Tom John

    For anyone else searching wondering what's wrong, this is server side code, you can't display message boxes that will be visible in the browser. Try writing the field contents to the web page you are creating: Response.Write(ds.Tables.Item("SampleID").ToString())

    Web Development help csharp asp-net question

  • server.tranfer
    T Tom John

    Seema Server.Transfer is a method, not an indexed property... you should use parentheses ( ) rather than square brackets [] around the parameters: Server.Transfer("ProcessForm.aspx"); Hope this helps Tom

    ASP.NET sysadmin help

  • Object reference error
    T Tom John

    I don't think it's the dataset, It looks like you have not instantiated the grid. ... as Guffa has already eluded to ;) Hope this helps Tom -- modified at 12:51 Monday 11th June, 2007

    Visual Basic css design xml help question

  • Installers and updating your program
    T Tom John

    Have a look at InstallShield, it's a full blown installation tool that will allow you to upgrade existing installations: http://www.macrovision.com/products/installshield/index.shtml[^] There's a bunch of others available too, no personal experience of them though... Wise seems to be popular: http://www.wise.com/Products/Installations.aspx[^] Hope this helps Tom

    Visual Basic business sales announcement workspace

  • Object reference error
    T Tom John

    Hi Nicki Which line is thowing the error? Maybe loose the Try/Catch whilst debugging the problem. Cheers Tom

    Visual Basic css design xml help question

  • suggestions for sliding images on my website
    T Tom John

    There's a slideshow control included in the AJAX Control toolkit that's easy to use: http://ajax.asp.net/ajaxtoolkit/SlideShow/SlideShow.aspx[^] Hope this helps Tom

    Web Development question help tutorial

  • Dynamic Adding Controls to Placeholder & presisit during postback
    T Tom John

    The following will do what you are after. It assumes you have a ASPX page with an UpdatePanel containing a PlaceHolder and a Button:Partial Public Class _Default Inherits System.Web.UI.Page Private Property TextBoxCount() As Integer Get If ViewState("TextBoxCount") Is Nothing Then ViewState("TextBoxCount") = 1 End If Return CInt(ViewState("TextBoxCount")) End Get Set(ByVal value As Integer) ViewState("TextBoxCount") = value End Set End Property Protected Overrides Sub CreateChildControls() MyBase.CreateChildControls() For textBoxCounter As Integer = 1 To TextBoxCount AddButton() Next End Sub Private Sub AddButton() Dim textBox As New TextBox textBox.ID = "TextBox" + PlaceHolder1.Controls.Count.ToString PlaceHolder1.Controls.Add(textBox) End Sub Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click AddButton() TextBoxCount += 1 End Sub End Class
    I can send you the sample project if you want. Cheers Tom

    ASP.NET tutorial com help

  • WebControl SPAN tag
    T Tom John

    Override the RenderBeginTag and RenderEndTag and just don't call the base method: Public Class TestControl Inherits WebControl Protected Overrides Sub RenderContents(ByVal writer As HtmlTextWriter) writer.Write("Time Now: " & Date.Now) End Sub Public Overrides Sub RenderBeginTag(ByVal writer As System.Web.UI.HtmlTextWriter) 'MyBase.RenderBeginTag(writer) End Sub Public Overrides Sub RenderEndTag(ByVal writer As System.Web.UI.HtmlTextWriter) 'MyBase.RenderEndTag(writer) End Sub End Class Hope this helps Tom

    ASP.NET question

  • openenig document in different window
    T Tom John

    Are you trying to do this after a postback or from a regular link? Regular link: The Code Project Code Behind: You'll need to register a client startup script to open the new window once the page has loaded: Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click Page.ClientScript.RegisterStartupScript(Me.GetType, "codeProjectRedirect", "window.open('http://www.codeproject.com')", True) End Sub `Hope this helps Tom -- modified at 13:41 Friday 8th June, 2007`

    ASP.NET sysadmin tutorial question

  • WebControl SPAN tag
    T Tom John

    Override the constructor of the web control and pass in a string representing the tag you want it to be rendered as: ")> _ _ Public Class TestControl Inherits WebControl Public Sub New() MyBase.New("div") End Sub Protected Overrides Sub RenderContents(ByVal writer As HtmlTextWriter) writer.Write("Time Now: " & Date.Now) End Sub End Class Hope this helps Tom

    ASP.NET question
  • Login

  • Don't have an account? Register

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