API Migration-VBForums
Results 1 to 4 of 4

Thread: API Migration

Hybrid View

  1. #1

    Thread Starter
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,100

    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!
    Star Wars Gangsta Rap 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 Core 2 Extreme Ed., 2 WD Raptor 10K RPM 300 GB HDs, 2 GBs DDR2 667 MHz RAM, 2 Viewsonic 24" LCDs, Windows 7 SP-1/Windows 8.1, Office 2010, VS 2013
    Share on Google+

  2. #2
    Special Guest - Microsoft
    Join Date
    Dec 2007
    Posts
    36

    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
    Paul Yuknewicz
    Lead Program Manager
    Microsoft Visual Basic
    http://msdn.com/vbasic
    Share on Google+

  3. #3

    Thread Starter
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,100

    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!
    Star Wars Gangsta Rap 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 Core 2 Extreme Ed., 2 WD Raptor 10K RPM 300 GB HDs, 2 GBs DDR2 667 MHz RAM, 2 Viewsonic 24" LCDs, Windows 7 SP-1/Windows 8.1, Office 2010, VS 2013
    Share on Google+

  4. #4
    Cyberman Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,482

    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.
    John Lord, Evansville Indiana
    Share on Google+

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.