|
-
Nov 3rd, 2007, 01:10 PM
#1
Thread Starter
Hyperactive Member
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.
-
Nov 3rd, 2007, 03:16 PM
#2
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Nov 3rd, 2007, 03:59 PM
#3
Thread Starter
Hyperactive Member
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
-
Nov 3rd, 2007, 04:02 PM
#4
Re: C#/.Net/VS2005 - How can I write text onto the form of a webpage through
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Nov 3rd, 2007, 05:08 PM
#5
Thread Starter
Hyperactive Member
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!
-
Nov 3rd, 2007, 07:05 PM
#6
Thread Starter
Hyperactive Member
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?
-
Nov 4th, 2007, 12:27 AM
#7
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|