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
Printable View
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
you mean like for the mac?
NO sir. I need for Microsoft using .net
Define what you mean by "widgets".... that could be anything....
-tg
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
Yes, but what the devil is a widget?
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.
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
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.
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
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.
Thanks jmcilhinney
my drop target is that appication's icon but drop source can be anything.
please post any helping hint for that
What do you mean by "that application's icon"?
It should be always on desktop after installation.
It can be icon or any GUI element.
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.
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
You don't need a service. Just add a value pointing to your executable in the Run registry key.
can u suggest what code & where it should be placed
thanks
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.