Results 1 to 7 of 7

Thread: C#/.Net/VS2005 - How can I write text onto the form of a webpage through

  1. #1

    Thread Starter
    Hyperactive Member gjon's Avatar
    Join Date
    Nov 2004
    Location
    Inescapable Void
    Posts
    442

    C#/.Net/VS2005 - How can I write text onto the form of a webpage through

    C#/.Net/VS2005 - How can I write text onto the form of a webpage through the use of a windows form that I can write?

    My idea is that I would like the text I write into my windows form to paste itself into the form of a browser window.

    But I was thinking that this form could really shortcut a lot of the unnecessary actions of opening a browser and going to that particular page that has the form.

    I am thinking that if I already know the address of that particular web page, that I could have the text on my form submitted directly to that forms server via a submit button on my form. My little form would save me the trouble of opening a browser to post to certain web page.

    I am thinking that the web page would have a form id and that that would help to find the form for pasting this text into, err maybe I should say for using during the submittal so that the server knows where the text came from or where the text is suppose to be in the form for saving purposes.

    Any explanation on how this can be done or ideas, links, would be appreciated.

    Thanks in advance.

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: C#/.Net/VS2005 - How can I write text onto the form of a webpage through

    Although its VB.NET its just needing conversion to C#.

    http://vbforums.com/showthread.php?t=416275
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Hyperactive Member gjon's Avatar
    Join Date
    Nov 2004
    Location
    Inescapable Void
    Posts
    442

    Re: C#/.Net/VS2005 - How can I write text onto the form of a webpage through

    Thank you so much for the info. I will give it a go, never converted anything from one language to another. ;o

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: C#/.Net/VS2005 - How can I write text onto the form of a webpage through

    There are free conversion utilities out there so you dont have to do it yourself.

    Heres a couple:
    http://www.tangiblesoftwaresolutions.com/index.htm

    http://www.developerfusion.co.uk/uti...btocsharp.aspx
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Hyperactive Member gjon's Avatar
    Join Date
    Nov 2004
    Location
    Inescapable Void
    Posts
    442

    Re: C#/.Net/VS2005 - How can I write text onto the form of a webpage through

    Thank you so much for that second link. That is absolutely amazing!

  6. #6

    Thread Starter
    Hyperactive Member gjon's Avatar
    Join Date
    Nov 2004
    Location
    Inescapable Void
    Posts
    442

    Re: C#/.Net/VS2005 - How can I write text onto the form of a webpage through

    Maybe it would be simpler to do it with an aspx page. Via a web page and it's form that I can create. After looking at the other samples, I believe they are far too complex for me to digest in a reasonable amount of time. It could be that this idea is too far ahead of me. So I was thinking about another route.

    <form action="newthread.php" method="post" name="vbform" onsubmit="return validatePost(this, this.subject.value, 20, 0);" onreset="vB_RESET(this);">



    Ok, so to post in place of a page that has this as it's form action. Wouldn't I just take this same action and apply it to my aspx page on my personal form? well except that I would need to add the full address where it would say newthread.php right?

  7. #7
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: C#/.Net/VS2005 - How can I write text onto the form of a webpage through

    Yes, if the newthread page takes arguments that you can pass.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width