Self Improvement Articles Directory - Computers 2007 - Find jobs - Debt Consolidation - Find services

PDA

View Full Version : Tiny little .Net application


digitalpoint
May 13th 2005, 4:13 pm
Anyone here really good with Visual Studio and .Net? I've been messing around with it for a few hours, and I'm just not "feeling the love". Just frustrating that I'm not familiar with it (been about 5 or 6 years since I touched VB), and that I can do what I want to do in 5 minutes in a different environment.

Anyway... what I'm needing to build is a tiny little app (probably something that "lives" in the little system tray on the bottom right of the task bar) that sends the forum what people are listening too (see this thread). Basically just artist and song title, and send it with an HTTP request. iTunes and WinAMP both have SDKs to get the data, so that's easy.

I'm just tired of screwing around with it right now since .Net isn't my thing... So anyone a .Net master?

dct
May 13th 2005, 4:29 pm
I could do it but would probably be fumbling a bit as I'm pretty rusty. Are you looking at VB or C# (with the .NET framework baggage) or plain MS C++?

digitalpoint
May 13th 2005, 4:30 pm
Truthfully, at this point... I could care less. heh

dct
May 13th 2005, 4:53 pm
Not something I've done, or tried but could you do

HttpMessage request = new HttpMessage();
request.Verb = "GET";
request.Version = "HTTP/1.1";
request.RequestUri = "http://forums.digitalpoint.com/musicthing.php?s=song&a=artst";
HttpMessage response = conn.SendMessage(request);
Song and artist would have to URI friendly encoded in someway. Not sure how you want to be receiving the info at the server side, but is this in the right direction?

digitalpoint
May 13th 2005, 5:00 pm
Yeah... that's the easy part though. I need to make it a little system tray app that when you click on it, the user can enter a little bit of info (not sure if I want to send the username and password with each request, or generate a unique hash key they enter). Basically to make sure they don't set it on an account they don't "own". Probably a few other settings too (like which app to monitor... iTunes or WinAMP), as well as the code to actually poll the app every 5 seconds, and send the HTTP request if there is a change.

I may have actually found a "real life" buddy of mine that is great with Visual Studio, so I'm going to buy him a beer and see if I can get him to do it. heh

dct
May 13th 2005, 5:06 pm
The system tray and GUI part are easy as there's a built in components for all of that, the potentially tricky bit from VB or C# is the SDK integration, and the drudgery of the client framework installation. While C++ is going to be a load more manual coding but a much easier and cleaner install.

If the beer bribes don't work, let me know as I owe you and this place enough already. It would also be a fairly interesting project to do.

digitalpoint
May 13th 2005, 5:07 pm
Okay... I'll let you know if I can't get it panned out soon. :)

nullbit
May 13th 2005, 5:13 pm
DP, this might be helpful (http://www.codeproject.com/csharp/iTunesTray.asp).

digitalpoint
May 13th 2005, 5:15 pm
Beautiful! Maybe I'll overcome my frustration and do it tonight myself. :)

dct
May 13th 2005, 5:15 pm
The words "reinvent wheel why the" spring to mind, nice find nullbit

riziko
May 23rd 2005, 1:04 am
I work as a .NET developer so I could probably knock this over pretty quickly. Send me a message with some more details.

Ross

MarkusJ_NZ
Feb 23rd 2007, 7:25 pm
Or rentacoder.com :)

Froggie
Mar 13th 2007, 10:50 am
has this been solved? if not i feel like doign some good today, (havent been on DP for so long)
6 years .NET programmer...
pm me or msn me kovanic AT hotmail.com

riziko
Mar 14th 2007, 12:18 am
I actually started on something. I have a rough working application (works with winamp & itunes). I think shawn said not to worry about it or something..

Another application has been written. Details here
http://forums.digitalpoint.com/faq.php?faq=dp_faq#faq_music_reporter

I could send the source code if you want to continue where I stopped.

jessecooper
Mar 14th 2007, 11:49 pm
Or rentacoder.com :)

your about 2 years late with this reply... mods plz close

ccoonen
Mar 16th 2007, 9:35 am
I could help out... hehe (3 years to late) haha