A Podcast Desktop Application Software I created Last month for TsemachAdonai.org. It reads XML data for podcasting also can insert new data within it.
More Description:
1. Browse The Previously Added PodCasts.
2. Adding New PodCast - Select the MP3 file and automatically upload it, also update the XML with the new entry.
3. Channel Settings - Will update some portion of XML data.
4. FTP Settings - Here where you are gonna set the settings for FTP for upload, and also where is the XML file it should be reading and writing. You can save your settings via registry or saving it on a file.
5. About - NonSense part
.
I'm trying to create a Java version for this, since my client uses Mac now.
Archive for the ‘.Net (C#/VB)’ Category
PodCast Software
August 5th, 2010
Remove number of words…
May 1st, 2010
Remove number of words at the beginning of string?
Looking for a function that you want to make string only return the last words within the strings? and remove number of words at the beginning Using C#
This function could help you:
Use the function like this:
Download Source code MVS version 9 C#
Looking for a function that you want to make string only return the last words within the strings? and remove number of words at the beginning Using C#
This function could help you:
/// <summary> /// Return only last several words and remove the number of words at the beginning from string. /// </summary> public static string RemoveFirstWords(string input, int numberWords) { try { string[] Split = input.Split(new Char[] { ' ' }); input = string.Empty; //After passing the words to Split - Empty in again for (int i = numberWords; i < Split.Count(); i++) { input += Convert.ToString(Split[i]) + " "; //Get Only the last words } return input; } catch (Exception) { // Log the error. } return string.Empty; }
private void removeWords_Click(object sender, EventArgs e) { if (stringToRemove.Text == string.Empty) { MessageBox.Show("The String is Empty"); } else { int paramNumOfWords = Convert.ToInt16(numOfwords.Text); string returnOnlyLastWords = RemoveFirstWords(stringToRemove.Text.ToString(), paramNumOfWords); //Return Words MessageBox.Show("Return Words: " + returnOnlyLastWords); } }
Download Source code MVS version 9 C#
System.NullReferenceException
August 23rd, 2009
While trying Telerik component, I got this error System.NullReferenceException - Object reference not set to an instance of an object, I struggle how to find causing this error, And somehow the solution was
From:
ddbImages.Image = ((Image)item.Tag).GetThumbnailImage(20, 20, null, new IntPtr()); ddbImages.Text = item.Text;
To:
if (item != null) { ddbImages.Image = ((Image)item.Tag).GetThumbnailImage(20, 20, null, new IntPtr()); ddbImages.Text = item.Text; }
Another .Net Project
March 5th, 2007
Using IIS 5.1/ Visual Studio .Net 2005 / MSSQL Server 2005. At first I'm excited cause for the 4th Time I got a rare project of ASP .Net. I have to finish this in a month. I need to redesign the template.