|
-
Nov 10th, 2007, 10:52 PM
#1
Thread Starter
Hyperactive Member
Script/Batch file? Have a form field automatically have input text?
I was wondering if there was a way to set up some kind of script, etc. that would fill in a form field with a name when I double clicked that script on the desktop.
For example, a web browser would open to a specific page and the name of a person would be filled into the proper form field on that page.
ex: opens ie, then directs it to nbc.com/whathaveyoupage.html, then finds the input box with the name name and adds a specific name into that form field.
I was hoping there was a simple way to do this without installing a specific piece of software to do it. Maybe not possible otherwise, I don't know, but I'd like to find out.
Any information would be much appreciated.
Thank you so much.
-
Nov 10th, 2007, 11:09 PM
#2
Thread Starter
Hyperactive Member
Re: Script/Batch file? Have a form field automatically have input text?
Ok, I have found this for a batch file:
start iexplore http://www.google.com
But how do you add the part where I would like a specific name to go into the input field named q?
input value would be?
-
Nov 11th, 2007, 03:30 AM
#3
Re: Script/Batch file? Have a form field automatically have input text?
Automate the page by loading it into a webbrowser control.
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 11th, 2007, 10:13 AM
#4
Thread Starter
Hyperactive Member
Re: Script/Batch file? Have a form field automatically have input text?
I didn't know which forum to post this thread in, but I was hoping for a shell scripting solution using the command line/batch file.
Sorry for the confusion, but I am hoping for a solution that doesn't require the installation of programs and/or .net to utilize.
-
Nov 11th, 2007, 05:26 PM
#5
Re: Script/Batch file? Have a form field automatically have input text?
Then you need to decide which language you are going to want to write it in. .NET will require the .NET framework. VB 6 will require the vb 6 runtimes, etc.
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
|