Results 1 to 19 of 19

Thread: Is it possible to make widgets in .net

  1. #1

    Thread Starter
    Hyperactive Member Bajrang's Avatar
    Join Date
    Oct 2006
    Posts
    309

    Is it possible to make widgets in .net

    Hi All
    Is it possible to make widgets in .net.
    If yes please me know how it is done or any helping hint.
    any help is appriciate
    thanks
    Using .NET 3.5 (VS 2008) And XP SP2

  2. #2
    Frenzied Member
    Join Date
    Mar 2006
    Location
    Pennsylvania
    Posts
    1,069

    Re: Is it possible to make widgets in .net

    you mean like for the mac?

  3. #3

    Thread Starter
    Hyperactive Member Bajrang's Avatar
    Join Date
    Oct 2006
    Posts
    309

    Re: Is it possible to make widgets in .net

    NO sir. I need for Microsoft using .net
    Using .NET 3.5 (VS 2008) And XP SP2

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Is it possible to make widgets in .net

    Define what you mean by "widgets".... that could be anything....

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5

    Thread Starter
    Hyperactive Member Bajrang's Avatar
    Join Date
    Oct 2006
    Posts
    309

    Re: Is it possible to make widgets in .net

    Thanks for reply tg
    I just needed an example of making a widget
    that could be of any thing
    So please if u have know please give me guide
    Thanks
    Using .NET 3.5 (VS 2008) And XP SP2

  6. #6
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Is it possible to make widgets in .net

    Yes, but what the devil is a widget?

  7. #7
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Is it possible to make widgets in .net

    Are you talking about utilities for the Yahoo Widget Engine? If so then maybe Yahoo would be a better place to be looking.

    http://widgets.yahoo.com/workshop/

    If not then you're going to have to tell us exactly what you're talking about because widgets don't actually exist. It's just a term used for some hypothetical thing made by some hypothetical company in educational examples.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  8. #8

    Thread Starter
    Hyperactive Member Bajrang's Avatar
    Join Date
    Oct 2006
    Posts
    309

    Re: Is it possible to make widgets in .net

    Thanks for reply.
    I need an object ( like sticky notes) on which if I drag a hyperlink and drop onto it then downloading should start and save in this WIDGET(object). So I need an GUI element that can perform this task, also I don't want to use Yahoo Widgets. I have to create my own widget. I m totaly blank in this topic so please let me know whether it is possible or not. Thanks
    Last edited by Bajrang; Feb 26th, 2007 at 01:44 AM.
    Using .NET 3.5 (VS 2008) And XP SP2

  9. #9
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Is it possible to make widgets in .net

    And how were we supposed to know that? That's just an application. If you search MSDN for "drag and drop" it will give you information about drag and drop within an application and drag and drop between applications. It's just a matter of handling the appropriate event, getting the data that was dropped on the form and then performing the appropriate action.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  10. #10

    Thread Starter
    Hyperactive Member Bajrang's Avatar
    Join Date
    Oct 2006
    Posts
    309

    Re: Is it possible to make widgets in .net

    thanks jmcilhinney
    ok if u say it an application thats okay
    I want to make application, once user installed It is available all time on desktop or system tray means user need not to start everytime whenever he starts his PC just like application of Sticky notes, that is availble all time on desktop, user can hide, edit, or whatever actions he wants to do can do. Application's Icon should be always be on the desktop ( obiviously that is not the icon of application's .exe file). User need not to start it. I am not making sticky notes but I want to make this type of application. I thinks it is not an simple windows application
    I hope now u can understand better. thanks hope to get fast response
    Using .NET 3.5 (VS 2008) And XP SP2

  11. #11
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Is it possible to make widgets in .net

    Now we appear to be getting somewhere. Do you want this drop target to be on the desktop, as in under all other applications, or always on top of other applications? There are various applications that I seen that are pinned to the desktop itself. I don't know how that's done but I'm sure it would involve the Windows API. If you want a drop target that's always visible like several I've seen that sit above the system tray and let you drop files on them for burning to disc, then you'd simply set your form's TopMost property to True.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  12. #12

    Thread Starter
    Hyperactive Member Bajrang's Avatar
    Join Date
    Oct 2006
    Posts
    309

    Re: Is it possible to make widgets in .net

    Thanks jmcilhinney
    my drop target is that appication's icon but drop source can be anything.
    please post any helping hint for that
    Using .NET 3.5 (VS 2008) And XP SP2

  13. #13
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Is it possible to make widgets in .net

    What do you mean by "that application's icon"?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  14. #14

    Thread Starter
    Hyperactive Member Bajrang's Avatar
    Join Date
    Oct 2006
    Posts
    309

    Re: Is it possible to make widgets in .net

    It should be always on desktop after installation.
    It can be icon or any GUI element.
    Using .NET 3.5 (VS 2008) And XP SP2

  15. #15
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Is it possible to make widgets in .net

    Create a form, set its TopMost property to True, handle it's DragDrop and related events. As I said, MSDN has plenty of information about drag and drop.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  16. #16

    Thread Starter
    Hyperactive Member Bajrang's Avatar
    Join Date
    Oct 2006
    Posts
    309

    Re: Is it possible to make widgets in .net

    okay sir but application should start automatically when system starts and ends when user shutdown the PC. So how to use Window Service for that.
    Thanks in advance
    Last edited by Bajrang; Feb 26th, 2007 at 05:39 AM.
    Using .NET 3.5 (VS 2008) And XP SP2

  17. #17
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Is it possible to make widgets in .net

    You don't need a service. Just add a value pointing to your executable in the Run registry key.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  18. #18

    Thread Starter
    Hyperactive Member Bajrang's Avatar
    Join Date
    Oct 2006
    Posts
    309

    Re: Is it possible to make widgets in .net

    can u suggest what code & where it should be placed
    thanks
    Using .NET 3.5 (VS 2008) And XP SP2

  19. #19
    Lively Member
    Join Date
    Jun 2006
    Location
    City of Angles. Right Angles.
    Posts
    110

    Re: Is it possible to make widgets in .net

    This is for all users:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

    This is for the local user:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

    You just create a string key with the name of your application and a value that points to the executable name. Once it is in there, windows will automatically start it every time it boots.

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