• Top Members
    Reps
    Posts
  • 834 Replies
    2585 Replies
  • 716 Replies
    2026 Replies
  • 331 Replies
    1928 Replies

Search found 62 matches

by SumCode
Sat May 21, 2016 5:17 am
Forum: Coding Help & Support
Topic: Convert Manual Date to DateTime
Replies: 2
Views: 842

Re: Convert Manual Date to DateTime

You can try using Regex:

Code: Select all

var sDate = "May22016";
var fDate = Regex.Replace(sDate, @"^(\w{3})(\d{1,2})(\d{4})$", "$1/$2/$3", RegexOptions.Multiline); //Formats date
var dt = DateTime.ParseExact(fDate, "MMM/d/yyyy", new CultureInfo("en-US"));
Console.WriteLine(dt.ToString("MMM d, yyyy ddd"));
by SumCode
Sun Apr 03, 2016 2:36 am
Forum: Work in Progress
Topic: [WIP] Harp Music
Replies: 5
Views: 1387

Re: [WIP] Harp Music

Alright guys new update. CHANGES: Added ability to set hotkeys for playing, pausing, stopping, going in reverse, and advancing Added ability to cache YouTube and SoundCloud media for offline listening Added ability to select which quality to view/download YouTube videos Added ability to view/downloa...
by SumCode
Wed Mar 23, 2016 6:13 am
Forum: Work in Progress
Topic: [WIP] Harp Music
Replies: 5
Views: 1387

Re: [WIP] Harp Music

Thanks for the reply and to answer your questions: Is it possible to use multimedia keys on my mouse/keyboard in order to switch between tracks? Not at the moment. I have not yet setup any hot keys for now, but I definitely will. If there are any other hot keys you think would be useful aside from p...
by SumCode
Wed Mar 23, 2016 12:07 am
Forum: Work in Progress
Topic: [WIP] Harp Music
Replies: 5
Views: 1387

[WIP] Harp Music

Hey guys, today, I have a new project that I've been working on, Harp Music. Harp Music spawned off of my want to play music from YouTube, Soundcloud, and my own personal library. There used to be an application like this, Aurous , except it used pirated music so it got taken down. So now I present ...
by SumCode
Sun Jan 24, 2016 12:10 am
Forum: Coding Help & Support
Topic: Regex match Individual groups
Replies: 2
Views: 383

Re: Regex match Individual groups

So if I understand what you're looking for you want to get 'title' and put it in a variable named 'title' and put 'tags' under a variable named 'tags'. Dim Title = Regex.Match(text, "Title:\s*(.*)").Groups(1).Value Dim Tags = Regex.Matches(text, "tags:\s*(.+)").Cast(Of Match)().Select(Function(x) x....
by SumCode
Tue Jan 05, 2016 7:01 pm
Forum: Coding Help & Support
Topic: Regex search problem
Replies: 4
Views: 699

Re: Regex search problem

Using Regex Well the reason it doesn't work is because you put '\s' where there is no extra whitespace. So you can change it to '\s?' to make it so it still matches when there is no whitespace. You are also able to shorten your regex to just '<a href=""\/dc\/doujin\/-\/list\/=\/article=keyword\/id=...
by SumCode
Tue Jan 05, 2016 5:44 pm
Forum: Coding Help & Support
Topic: Regex search problem
Replies: 4
Views: 699

Re: Regex search problem

It would help if you posted what your source looks like or the link to what your webclient is downloading and in addition, post what value you're trying to get . So for example say the string you want to parse is "the man ate 3 burgers" and the value you want is ' 3 ', you would post what is bolded....
by SumCode
Sun Jan 04, 2015 12:49 am
Forum: Coding Help & Support
Topic: How to capture values in real time? (Best way)
Replies: 5
Views: 361

Re: How to capture values in real time? (Best way)

You could download the string from here and get the table values under 'content'. However I will note that this is a little bit tricky because one of the parameters in the url is dynamic I believe
by SumCode
Sat Jan 03, 2015 2:15 am
Forum: Coding Help & Support
Topic: How to grab specific element to value
Replies: 9
Views: 491

Re: How to grab specific element to value

If you want to use regex this will work: >(\w+)<\/a>

And just capture the first group
by SumCode
Mon Dec 22, 2014 8:25 pm
Forum: Coding Help & Support
Topic: Multi-Threading - problem
Replies: 6
Views: 333

Re: Multi-Threading - problem

So what I am saying is that instead of creating a new delegate (in your case 'NoteDelegate') you can use a pre made delegate called MethodInvoker . So where you wrote Me.Invoke(New NoteDelegate(AddressOf Note)) one could write Invoke(New MethodInvoker(AddressOf Note)) Not that big of a deal though. ...

Go to advanced search