mickdelaney's Q&A profile
Visual Basic get .wav file meta data
I wish to get the file created date/time of a .wav file for a windows application project using Visual Sudio 2005 pro and VB.NET Is this information embedded within the file itself Any help appreciated. No, it is recorded by Windows in the directory entry. Use the File.GetCreationTime() method. ...Show All
Visual C# Thanks
So virtual is just like abstract except there can be an implementation When it is overriden, the superclasses's code is automatically "pasted" into the subclass, right Or do I need to use base.methodName(args) Wow. I think this was a reply to some other thread, but... Virtual means "you CAN override this method, if you want to." Abstract means "you MUST override this method - you have no choice." When overriding a virtual method, your method is called instead of the base class's method. If you want the base class's behavior to be retained, you should call base.methodName(args), yes. For example, when overriding OnPaint you'd almost always want to call the base.OnPaint. So ...Show All
Microsoft ISV Community Center Forums How to convert excel file to .DAT file?
Hi I need urgently in my job to converfile to .DAT file Can some one help on the same. Thanks Kishore. Nothing magic about pipe-delimited format. It's text, with entries separated by a pipe (vertical line character) within a record, and by carriage returns between records. Here's a nice explanation of the process, with some code examples: http://www.mcgimpsey.com/excel/textfiles.html There are a few utilities that will save a worksheet as pipe-delimited: http://www.smokeylake.com/excel/text_write_program.htm To find things like this, you can use Google. "Excel export pipe delimited". - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ ...Show All
Smart Device Development How to play wav through phone line?!
I try to make a answering machin for pocket pc 2003. So I need to play wav through line when incomming call happend. How should I play wave files through lines ! You saw the answer in another thread which states it's not possible due to hardware limitations (restriction most likely mandated by carriers). By the way, the fact you can make answering machine for analog line does not mean you can make one on a cell phone. For example, some person can fly down, but that does not mean the same person can fly up. ...Show All
Visual Basic My.Mysettings Designer problem
No matter what I try, anytime I use the "MySettings" functionality in VisualBasic 2005 Express. I get the error: The type 'My.MySettings' has no property named Well technically that's not true. I can use it once, but if I edit the "Settings" tab on the "Properties window (EVEN IF I DON'T CHANGE THE EXISTING SETTINGS) I get the above error from there on. Any Ideas <EDIT> I guess this was the wrong forum (sorry) can someone move it </EDIT> O.k. I found this in the on-line help... Important The Designer will not display properties whose type is defined within the current assembly. This is a known limitation. To bind to such a property, use perform one of the following steps: I have ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectInput ConfigureDevices in Windows Vista
Hello, in Windows Vista (RC2) IDirectInput8.ConfigureDevices() simply doesn't work. This function is used to bring up the generic key/joystick mapping UI introduced by DX8. The return value is "the device is not registered with directinput". We use it in one of our titles because it does the job really well and writing our own mapper looks really unnecesarry. We've also tried DirectInput samples from DX9 SDK and this function fails on all samples that use it - they work normally under Windows XP. Is this a Vista feature or a bug I would be really thankful for any information on that. It would also be of help if you try the samples "ActionBasic", "ActionMapper" or "Multimapper" and try to bri ...Show All
Visual Studio Express Editions IUrlHistoryStg
I am using VB2005 Express. I am working on a project with a WebBrowser control added and a ComboBox with AutoCompleteMode = SuggestAppend and AutoCompleteSource = HistoryList, so I can select URL's from my history list. Now I want to use some methods (AddUrl, DeleteUrl, EnumUrls) from the IUrlHistoryStg interface. They are listed at http://msdn.microsoft.com/library/default.asp url=/workshop/networking/urlhist/urlhist.asp . Is it possible to get access to that interface, in VB2005 Express, and if yes, how Youri. You can , it's complicated and doesn't work all that well (some items may remain). Hmm, I've a more complicated version. I'll put it here . It has correct method definitions... ...Show All
SQL Server Data not Exported to CSV/XML
I have a table where one of the columns is hidden based on the following criteria: =IIF(Fields!ChildIsEmpty5.Value, true, false) If the Fields!ChildIsEmpty5.Value is false (so the column is showing), and I export the report to CSV or XML, the data in that column is not exported. Is there another property I can select to get this data to be exported Or is this functionality not supported Thanks for any help you can provide! Jessica Jessica, This functionality is by design. Fields where visibility (hidden) is expression-based are not output to CSV/XML by default. If you always want this column present in the CSV/XML output, you can set DataElementOutput property of the column to 'Yes'(or ...Show All
Visual Studio Team System Viewing Database Unit Test Output
If I've got a Database Unit test with some SELECT statements in it for debugging, where can I view this output It doesn't appear in the Output window, or in the test results. Thanks wBob The output from any SELECT statements inside the test script is contained in the ExecutionResult[]. Below are two sample methods you could use to dump the results: void DumpExecutionResults( ExecutionResult [] results) { DumpExecutionResults(results, Console .Out); } void DumpExecutionResults( ExecutionResult [] results, TextWriter resultsWriter) { int resultCount = results.Length; for ( int resultIndex = 0; resultIndex < resu ...Show All
SQL Server How can one Connect (remotely) to SQLExpress which is installed on "Windows XP Home"
Hi all, I have to deal with a private network of laptops which are all equiped with preinstalled "Windows XP home" I've installed SQLExpress on one of these, but I cannot connect on it from the rest of the laptops. (I've successfuly done this with "Windows XP profesional" though, and local connections work fine as well). I've already setup the SQLExpress to accept conections throuigh TCP/IP but I can not think of something else. (Security comes to mind, but I do not know how to resolve it on "Windows XP Home"). Thank you Ioannis Hi Ioannis, Did opening the firewall solve this issue for you Regards, Mike Wachal SQL Express team ---- Mark ...Show All
SQL Server UNION
Of the two queries below, the first returns the desired result, the union of the select-except statments. Why doesn't the second query return the same result as the first Is this a mistake/bug on Microsofts side select * from (select * from TEST1 EXCEPT select * from TEST2) AS A UNION select * from (select * from TEST2 EXCEPT select * from TEST1) AS B select * from TEST1 EXCEPT select * from TEST2 UNION select * from TEST2 EXCEPT select * from TEST1 They're not evaluated in the same logical order, due to your inclusion of parenthesis. In the first query, set 'A' is UNIONed with set 'B' only after the EXCEPTs ha ...Show All
Visual Studio text gets truncated or cut
i have a problem when i install my application in some machines. i have a field which is possible to contain very long text so the can grow attribute is set to true. however, when i install the application in some machines, the text in the field sometimes gets truncated and it is somewhat forced to cram all the characters in the allotted space even though the can grow attribute is set to true. in the machine where the installer of the application is made, the field displays the data correctly. this is true also in some machines. any help will be greatly appreciated. thank you! Does it get truncated at the right (or left) of the field The can grow attribute allows the field to grow downwards to new ...Show All
Commerce Server How to Extend Catalog schema
I want to implement Reviews mecanizm to my commerce site. I have done product grading by adding custom properties to my model product definition. The question is how to implement reviews storing with associating it with customer ID. Can somebody give me advice, How to do that Maciej, The quickest way is to use a join table in your product catalog database. There isn't a whole lot of information on making it work but the concept is basically a SQL join statement. Cheers, Colin ...Show All
Visual Studio Catastrophic Failu Visual Studio Crashing like crazy!!! WHAT IS GOING ON!!!
I reinstalled my whole damn operating system thinking that I had broken visual studio somehow... it turns out that was a collosal waste of time... I have a fresh clean windows xp pro sp2 install, and a clean Visual Studio Professional... and whenever I add a dataset to a project, and right-click the designer and hit "View Code", I get this horrifying error: Failed to view the validation code because of the following error: Catastrophic failure (Exception from HRESULT: 0x80000FFFF (E_UNEXPECTED) and it gives me a blank document. If I click the button to Save All open documents, the whole damn program just crashes!! I've submitted the error reports, but that's not going to help me fix the problem... what is goi ...Show All
Visual C# Hi All
Hi all, i m so glad i found this forum, help is awesome .... wish you all merry christmass! Hello All. Well, here's a happy soul! Sime24: Merry Christmas to you as well. And to everyone else. ...Show All
