-
Dec 12th, 2007, 03:14 PM
#1
API Migration
Hello MS VB Team,
Seems that with the popularity of APIs we would think that newer versions of VB would incorporate them into easy function calls and be internally defined by default so we dont have to always be declaring them. True we could create a class for them for reuse in all our projects but it would be nicer to have them built in.
Is there any plans to embed them or could you tell us why its not feasible or done?
Thanks
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
-
Dec 14th, 2007, 01:59 PM
#2
Special Guest - Microsoft
Re: API Migration
Hi RobDog,
Could you expand on examples of APIs you'd like to see incorporated?
In many cases it's feasible - we just need to hear enough feedback to prioritize for a particular release.
Thanks,
Paul
-
Dec 14th, 2007, 02:03 PM
#3
Re: API Migration
Hi Paul,
The most used APIs I see in .NET are:
FindWindow
FindWindowEx
SendMessage
PostMessage
There probably is more (perhaps other members can add their most used ones) but I think these are the core. We can use the process class for some stuff but I am always finding that I am using these in many apps.
I think in doing automation of another app or webbrowser they are used. The SendKeys are just to flakey an unreliable to use and these 4 for the most part can more solidly replace SendKeys.
Thanks
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
-
Dec 14th, 2007, 11:37 PM
#4
Re: API Migration
i am not sure if there's another way i overlooked, but i also use the getasynckeystate to read mouse buttons. I found a .net command to read the cursor position, but i don't see any way to read the mouse buttons.
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
|