C#

General discussions about the c# language, Squirrels | gist.gi...
Oct 2, 2013 08:03
still haven't figured out my problem... :/
Oct 2, 2013 07:34
WMPLib.WindowsMediaPlayer();
Oct 2, 2013 07:30
I have no idea how to manipulate/use/latch onto its PositionChange event.
Oct 2, 2013 07:30
Huh? I dunno.
Oct 2, 2013 07:30
And google searches for the event WMPLib.WindowsMediaPlayer().PositionChange have come up empty...
Oct 2, 2013 07:28
Yar! :) Now I have a new conundrum though. What's an efficient way to set my new progress bar's value (I use a trackbar for it), to a new value as the music progresses? I'm really hoping I'm not going to be forced to use a timer, that seems so... Inelegant :/
Oct 2, 2013 07:24
Thanks anyway, though :)
Oct 2, 2013 07:24
I already solved my problem Roel - the problem I was having was not knowing what the property was that determined the progress of the media in the player, but I found out that it's IWMPplayer.controls.currentPosition
Oct 2, 2013 07:11
I'm not! Also, I fixed my problem.
Oct 2, 2013 06:54
Does anyone know a quick, or at least efficient, way to implement a seek bar for a windows media control I create programmatically? i.e. something like

WindowsMediaPlayer.Progress = trackbar1.value;
Oct 1, 2013 06:36
Lol ok
Oct 1, 2013 06:35
... Jquery is a JavaScript database connector....
Oct 1, 2013 06:33
Because it's more graphically pleasing to the average person.
Oct 1, 2013 06:31
Like if I clicked it near the center, how could I drag it from near the center, where I clicked, rather than have it jump the corner to my mouse and be dragged by the corner?
Oct 1, 2013 06:31
My question is, if I am moving a picturebox when the user clicks on it, and moves the mouse around, the usual way it moves is the upper-left corner of the picturebox is dragged with the mouse; how do I make the picturebox move at the point you clicked on it though?
Oct 1, 2013 06:30
If you're doing a purely text-parsing problem though, I'd suggest Perl, it's much more flexible/powerful.
Oct 1, 2013 06:30
Unfortunately I have no idea how regexes in C# work - I've never needed them. Sorry :/
Oct 1, 2013 06:27
What's up codebrain? Maybe I can help.
Oct 1, 2013 06:18
I have a quick question.
Oct 1, 2013 06:18
Hey, anyone around?
Sep 23, 2013 04:44
You won't code any elegant winforms with no sleep! ;)
Sep 23, 2013 04:44
Oh :P go get some rest!
Sep 23, 2013 04:44
:o
Sep 23, 2013 04:43
What's funny?
Sep 23, 2013 04:42
Something went wrong with the instance of command line I opened - for some reason no commands were working, they were all stalling. I suspected this, so I just now shut it down and opened a new one, and the export took less than a second. :)
Sep 23, 2013 04:34
I'll give it a try! Hopefully it works :)
Sep 23, 2013 04:31
You can do .sql or .txt file. It doesn't make much difference.
Sep 23, 2013 04:28
No no - I tripled the size of the database myself, by adding data to it. Now, when I try exporting the database after I have tripled its' size, it's taken over a half hour to export so far.
Sep 23, 2013 04:23
I'm trying to export a MySQL database from the command line with
mysql -u user -ppassword database_name > file_name.sql
but it's taking for bloody ever. I've exported this database before, and it took only a few seconds, but I've tripled its' size and it's already taken a half hour to export, and it isn't finished. Any advice?
Sep 23, 2013 04:21
I have a non-C# question, but C# chat is like my home anyway, are you guys willing to take a stab at my problem? :P
Sep 6, 2013 03:56
This is officially the eHarmony.com chatroom
Sep 6, 2013 03:55
That's a "ncie guy" to you?
Sep 6, 2013 03:55
Also... You said that you feared responding to her because you'd risk your reputation and what others thought of you?
Sep 6, 2013 03:54
this is all over somethign that happened when you were probably 14?
Sep 6, 2013 03:54
Wait wait
Sep 6, 2013 03:36
For the past umpteen minutes, Elegiac and TheGuy have been talking about ladies :|
Sep 6, 2013 03:36
I have no idea, Ryan.
Sep 6, 2013 03:35
You sound like you're saying that because he had confidence problems, he must've been worthless or something.
Sep 6, 2013 03:31
In the USA, anyway. I have no idea where you guys live :D
Sep 6, 2013 03:31
If someone likes someone else and deems them worthy, they should ask them out on a date.
Sep 6, 2013 03:31
I agree to almost nothing you've said so far - and that's taking into account that I've only understood half of it.
Sep 6, 2013 03:29
Now though, because I asked her out, I feel more confidant about asking people out. See where I'm going with this?
Sep 6, 2013 03:28
I asked a girl I liked out, she said no, then she stopped hanging out with me because she felt awkward. I got over it in a month. Gotta take it in stride.
Sep 6, 2013 03:28
@TheGuyWhoCouldn'tTalkToTheGirl, you think you like someone, you should ask them out. Straight up. You'll probably be denied the first few times... But that is how life goes, after all. Your problem isn't going to go away by getting advice from random people on the internet ;)
Sep 6, 2013 03:26
Elegiac, in most first-world nations, nobody looks like that unless they just don't care and are completely apathetic. And then, they don't deserve anyone.
Sep 6, 2013 03:24
Is this the first time you're going to be asking out a lady, TheGuy?
Sep 6, 2013 03:23
... What?
Sep 6, 2013 03:21
Gross generalizations are just that, gross.
Sep 6, 2013 03:21
Just saying, someone who thinks the guy should move first and has to or else there's something wrong, is an idiot.