SciLor's Open Source Forums

Also visit my Website!
It is currently Tue Mar 19, 2024 8:45 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri May 21, 2010 7:45 pm 
First of all thanks for GrooveDownloaderWM!

Unfortunately, I could not download at all because I got an exception anytime I started a download.

So I looked for the cause. I found the problem here

public static void StartUp()
{
AppPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase);
if (AppPath.StartsWith(@"file:\"))
{
AppPath = AppPath.Substring(6);
}
DownloadDir = Path.Combine(AppPath, "Downloads");
MyProject.Forms.frmGroove.Text = myProgram.longname + " - " + myProgram.version;
MyProject.Forms.frmGroove.Show();
}

in the AppPath initialization. I replaced it with my absolute location

public static void StartUp()
{
AppPath = @"\Storage Card\Program Files\GroovesharkDownloader";
DownloadDir = Path.Combine(AppPath, "Downloads");
MyProject.Forms.frmGroove.Text = myProgram.longname + " - " + myProgram.version;
MyProject.Forms.frmGroove.Show();
}

and now the program works.

Hope it helps for next release.


Top
  
 
 
Online
The Adswinger

Joined: Wed Jan 13, 2010 11:56 pm
Posts: Too many!
Donated: Ad Posts


PostPosted: Fri May 21, 2010 8:07 pm 
Offline
The Developer

Joined: Wed Jan 13, 2010 11:56 pm
Posts: 1466
Donated:

_________________
My Windows Mobile and Windows Open Source Website:


Like my work? Donate!


My Programs:
grooveshark™.com Downloader, GrooveMobile, Fuel Blaster, Chameleon TicTacToe, QuickTap, WiMoBlue, Driving Licence Trainer, CodeSnippetViewer, Gesture Launcher, Fahrplanauskunft, GSensor Control


Top
 Profile  
 
PostPosted: Fri May 21, 2010 8:54 pm 


Last edited by oruam57 on Fri May 21, 2010 9:01 pm, edited 1 time in total.

Top
  
 
PostPosted: Fri May 21, 2010 8:58 pm 
Offline
The Developer

Joined: Wed Jan 13, 2010 11:56 pm
Posts: 1466
Donated:
Thank you,

the problem is, that I do not check for special characters, that are not allowed in paths when I use them for the directory names/file names.
This problem will be fixed :), I was just to lazy :D.

If you find any more problems, please continue posting them here ;)

_________________
My Windows Mobile and Windows Open Source Website:


Like my work? Donate!


My Programs:
grooveshark™.com Downloader, GrooveMobile, Fuel Blaster, Chameleon TicTacToe, QuickTap, WiMoBlue, Driving Licence Trainer, CodeSnippetViewer, Gesture Launcher, Fahrplanauskunft, GSensor Control


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
template->_php_include(): File ./counter/foruminclude.php does not exist or is empty Powered by phpBB® Forum Software © phpBB Group