Thanks, worked a treat monkey say, monkey doo Uncle Monkey
Uncle Monkey
Posts
-
Getting property value using reflection -
Getting property value using reflectionI am trying to retrieve a property from the current executing assembly using the following but am getting a TargetException int MyInt = Convert.ToInt32(Type.GetType(Page.GetType().BaseType.FullName).GetProperty("MyIntProperty").GetValue(null,null)); Anybody know what I'm doing wrong? Thanks monkey say, monkey doo Uncle Monkey
-
mp3 calculationsAhh I see. Thanks for the tip Does anyone know how to obtain BMP/tempo and pitch information from an unlicenced or GPL music format such as ogg or is it possible to convert an mp3 to another format for processing which avoids these pesky legal pitfalls? I'm off to copyright the sound of a telephone ringing then go on a litigation rampage! monkey say, monkey doo Uncle Monkey
-
mp3 classificationBased on the principals of the info on the webpage below, an mp3 API for automatic classification of mp3 tracks and tempo analysis ultimately to make a more intelligent auto play function for large collections of mp3's http://www-2.cs.cmu.edu/~gtzan/work/projects/pastc.html[^] monkey say, monkey doo Uncle Monkey
-
mp3 calculationsThanks, I did see that article already however and it is not the ID tags that I'm looking to read but the actual music itself. I did do quite a bit of rooting around google before I asked but so far I've not found any info on calculating the bmp/tempo of a piece of music which is what I'm looking for. monkey say, monkey doo Uncle Monkey
-
mp3 calculationsHi there, Having got fed up of constantly picking track lists from large mp3 collections or using crummy auto playlist selectors I was wondering if I could write something better, the only problem is I don't know how to go about getting an mp3's characteristics like it's tempo or pitch etc. :confused: Does anyone have any samples/info on this type of thing? a million fang-queues in advance for any titbits you can offer :) monkey say monkey doo Uncle Monkey
-
Month name from integerthanks for that GISnet. I didn't see one either and wondered if I'd missed something really obvious and was being stoopid :wtf: It ain't what you know that matters. U.M.
-
Month name from integerI have an integer representing a month, what is the best way to convert it into the full month name? thanks U.M. It ain't what you know that matters. Uncle Monkey
-
Executing Access ReportsI am trying to run an access report in c#. The report runs ok but I cannot seem to stop the dialog box asking for the report parameter. appAccess.DoCmd.OpenReport( reportName, Access.AcView.acViewPreview, "", whereCondition, Access.AcWindowMode.acHidden, ""); The filtername and openargs (the "" fields) and the whereCondition parameters of the above method do not seem to set the report parameter. How can I set a parameter value for this report? It ain't what you know that matters. Uncle Monkey
-
Multicast mp3'sSeems not then. It ain't what you know that matters. Uncle Monkey
-
IE WebcontrolsI was wondering if it is possible when using a tabstrip and multipage to only download/display the current pageview which is selected. The current behaviour will only show the current pageview on screen but it gets the others in the html source for what I assume is quick switching between them. I don't want the users to be able to access even the source of the other pageviews so I am currently just loading web controls instead of using a multipage control, but was wondering if I'm missing anything obvious? It ain't what you know that matters. Uncle Monkey
-
Multicast mp3'sHi, I've been thinking about making a multicast mp3 player so I can get to my sizable collection of tunes over the web, create playlists etc and share the stream with friends (hence the multicast). My criteria is that it has to be able to edit the tags, create playlists by searching the tag values and control who has access all through a secure admin webpage. An option to download a lightweight mp3 client(poss activeX?) would be a bonus. The platform is Win2000 with .Net Frmwrk 1.1 Is there anything freely available already to save me reinventing the wheel? Selah. Uncle Monkey
-
Customvalidator, javascript and focus()Whoops heres the edititemtemplate that was supposed to be in the last message :P <edititemtemplate> <asp:textbox id="tdValue" runat="server" text='<%# DataBinder.Eval(Container.DataItem, "tdvalue", "{0:0.00}") %>' /> <asp:CustomValidator id="validate_tdValue" EnableClientScript="true" runat="server" ControlToValidate="tdValue" ErrorMessage="My Error" ClientValidationFunction="CheckCurrency" /> </edititemtemplate> It ain't what you know that matters. Uncle Monkey
-
Customvalidator, javascript and focus()I have a datagrid containing an EditItemTemplate column. The column contains a textbox and a customvalidator control. The ClientValidationFunction on the customvalidator is calling the javascript function correctly and I can check the value entered into the textbox ok, however if the validation fails I need to set the document focus back to the textbox 'tdValue'. Does anyone know how this can be done? The 'source.controltovalidate' javascript property will return me a value in the form - controlname_dgDatagridName__ctl3_tdValue but I do not know how to use this name value to call the tdValue.focus() method. Any suggestions? function CheckCurrency(source, arguments) { //Do my validation here alert(source.controltovalidate) } Thanks It ain't what you know that matters. Uncle Monkey
-
Datagrid layoutI wish to create a page which has similar functions to the datagrid but with one main difference. Each record keyfield is displayed from a database which when clicked loads that record in another page. The main difference is that I since each record will be only 1 item I would like to show more than one record per result row. [record1] [record2] [record3] [record4] [record5] [record6] [record7] [record8] [record9] Is this possible with datagrid or any of the other data controls (repeater,datalist etc) ? or Could I inherit the datagrid and override a method to achieve this effect? I would prefer to avoid coding it from scratch unless there really is nothing existing that can do the job. Thanks It ain't what you know that matters. Uncle Monkey
-
EU decides it doesn't want people to buy US products on-line...It does seems like a daft idea. The only people it harms are european shoppers and e-tailers. If you ask me this is a reaction to dubya slapping a 40% tax on steel imports to the US. Our first tactic is to make it less attractive to buy from outside the EU by ensuring our citizens cannot escape paying VAT. Handbags at dawn! Let the trade wars commence. Maybe an American would be kind enough to enlighten me, but why have you taxed steel imports and annoyed a lot of people just to save a few jobs (comparatively speaking) propping up a steel industry that hasn't been able to competively compete globally for some time now? It ain't what you know that matters. Uncle Monkey
-
Why do you Americans hate cricketWell not really. Firstly I'm not English, secondly does England even have a cricket team anymore? I thought everyone got fed up beating them all the time and they just gave up :P It ain't what you know that matters. Uncle Monkey
-
Why do you Americans hate cricketHe's right, I'm British and I hate the game. I don't know anyone who watches or plays it either. Although I enjoy golf and snooker, 2 sports which can fairly span time, I fail to see even a pulse of excitment in cricket. Do they not just have to smack around ball for 5 days? :-D It ain't what you know that matters. Uncle Monkey
-
New Career Opportunity!What seasonings do you use? :o) It ain't what you know that matters. Uncle Monkey