R3dD0g's Q&A profile
Software Development for Windows Vista RingTone FileName (.amr) is not saved on my mobile handset properly --it needs some new MIME types
Dear Microsoft: I have created a Mobile Application in C# using Visual Studio.net 2003. I am sending a WAPPush SMS to users who may request Mobile Services such as (Ringtones, Pictures). I have a problem in downloading ringtone(True Tone of file extension AMR) on WAP Browser, the ringtone name is not saved. After downloading the Ringtone file takes the link file name "userlink" which appears in url(ex, url: http://IP/webapplication userlink.aspx pwd=887768). The ringtone is saved as userlink.amr on mobile handset after downloading. I can download file type AMR (or in MP3...) from my Web Browser but it is not saved on mobile handset in its real name just it can be heard. Moreover, the filename and length have been specified in ...Show All
Visual Studio Team System Creating a new source control branch project
Hi, I want to create a new project as a branch from an existing project but there doesn't seem to be a way for me to specify the version (based on a label) to create the branch from. Does this mean that creating a project from branching an exisiting project will only take the latest version from the existing branch Thanks, Margaret ...Show All
SQL Server OpenRowset to SSAS
Hi, I am trying to execute the following command SELECT a .* FROM OPENROWSET ( 'MSOLAP' , 'DATASOURCE=mpdata; Initial Catalog=[OLAP - Retail Wholesale];' , 'select [Measures].[Nett Sales Value] on columns, Relative Week Dimension].[RelativeWeek].[Relative Week]on rows from [Retail Summary OLAP]' ) as a This generates the following error OLE DB provider "MSOLAP" for linked server "(null)" returned message "Cannot connect to the server 'mpdata'. The server is either not started or too busy.". Msg 7303, Level 16, State 1, Line 1 Cannot initialize the data source object of OLE DB provider "MSOLAP" for linked server "(null)". Any advice on what to do ...Show All
Visual Basic Anyone know about Regular Expressions
^(\w([-_+.']*\w+)+@( \w(-*\w+)+\.)+[a-zA-Z]{2,4}[,;])*\w([-_+.']*\w+)+@(\w(-*\w+)+\.)+[a-zA-Z]{2,4}$ i have this regular expression that validates multiple e-mails on my form.......but it allows for emails like some..email@hotmail.com .... I know i can just remove the . from the [ ] but then i wont be able to have e-mails like some.email@hotmail.com Is there a way i can still add the . to the first component of the RegX without keeping it in the [ ] There's a whole forum dedicated to the subject : .NET Development > Regular Expressions http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=1212&SiteID=1 (I would move your post, but I've not had good success with that, so I'll just post t ...Show All
Visual Basic Requist for permission of type system.data.sqlclient... error
I am just writing a simple VB application 'not.net' and before sqlconnection1.open() I got the following error: system.data.sqlclient.sqlclientpermission, systemdata Version = 1.0...,culture=neutral publickeytoken = ..... failed Please I need help on that issue or a go around. my app is a simple client server application that view/add data into VB form. thanks MSD ...Show All
Visual C++ OTP: Microsoft Visual C ++ Runtime Library
I get this error when I am trying to enter a chat room I'm sorry, but these forums are for people who are writing their own programs. You're getting that error because the software that runs the chat room is written in C++, or it causes IE to crash, and IE is written in C++. You need to talk to the people providing the chat room. This question is off topic here. ...Show All
Visual C# Class libraries (dll) using in a windows form
Hi, I've made a class library called: counter. Now I want to use counter.dll in my project yahtzee. How can I say to my form.cs that he must use that dll (soon more than 1). And how can I call the functions that are in my counter.dll I've already got it in references but I assume that's not enough because I can't call any function or methods from that dll. thx Referenced again and again but's it doesn't work, can I otherwise send my whole project with it's original classes and so on and would you talk a look how to replace that classes into class libraries Where can I send it to regards tom ...Show All
Visual Studio Organizing additional content
Asside from interrupting the processing and using a external script or executable, how does one go about organizing additional content within the help file Thanks! Rory I don't have an e-mail address for you, so I'll stick it on my webserver . Thanks! Rory ...Show All
SQL Server Exclude duplicate records
Hello I'm developing my fist Integration Service and I have this operations: Reading from a XML Check for duplicate records and discard them Insert the result into the database The XML I don't control and could came with duplicate records that I have to discard. How can I find them I want to find the duplicates in the XML and not in database. tkx for the help Paulo Aboim Pinto Odivelas - Portugal I found my problem.... I implement in another way. 1o Multicats 2o Get duplicated 1.1 Agregate 1.2 Condition Split COUNT(*) >1 1.3 Perform operation with this records 3o Import data 3.1 Sort and remove duplicated 3.2 Insert record in database With the multicast operation I create two reco ...Show All
Software Development for Windows Vista Designer Rehosting - State machine workflow
Hi, I am hosting designer in my applicaiton, but when it loads state machine workflow, it re-arranges all states on its own. It looks ugly as some time it shows last state first and first state somewhere in middle. Its hard to find flow. I want to keep the state diagram displayed as is when it was designed in design mode. Any idea what should i do to keep the state shapes at its original location instead of re-arranging on new place Thanks, Hiten public void PerformFlush() { IDesignerHost host = ( IDesignerHost )GetService( typeof ( IDesignerHost )); if (host != null && host.RootComponent != null ) { Activity service = host.RootComponent as ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can't draw line...
I don't know how to draw line. I write the following: line = new Line (dev); line.Width = 10; line.Begin(); line.Draw( new Vector2 [] { new Vector2 (10, 10), new Vector2 (100, 200) }, Color .Blue); line.DrawTransform( new Vector3 [] { new Vector3 (0, 0,0), new Vector3 (100, 50,150) }, dev.Transform.View * dev.Transform.Projection, Color .Blue); line.End(); It draws 2D line, but doesn't draw 3D line. Why P.S. maybe line doesn't draws because I have changed some device settings (turn on lighting and fog, changed material) The first Draw call is indeed a pure 2D line drawing call. The DrawTransform() call allows you to send 3D vertices that will be transformed by a matrix, but in the end you ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Catching Auto-CD launch window message in a game
Hi, Does anyone know of a way to catch if a CD-Auto Launch is kicked off and not allow that window to become the foreground window. In my game I would like to keep my Windows app as the foreground window. I'm only looking to do this in the case of a CD-Auto Launch happening. Thanks in advance. You don't. There used to be a way to disable auto-run while your game is running, but it's bad and incompatible with the new Windows security features. And after all, I don't think users will appreciate you doing this... ...Show All
Visual Studio 2008 (Pre-release) Debugging WCF server on Vista RC1 (x64)
I'm having trouble debugging a WCF server on Vista. It seems that you are not allowed to bind to an adress without elevated privileges, this I fixed (when running *without* a debugger) using e.g http://mark.michaelis.net/Blog/WindowsCommunicationFoundationWithWindowsVistaAndUAC.aspx that is adding a manifest to exe requesting elevated privileges. The problem is, it seems this does not work under the Visual C# (Express) debugger (even though there is a exename.vshost.exe.manifest) with the correct content. I do not get a dialog asking to OK elevated privileges, it just behaves like the the manifest is not there ! ! How do I fix this The thing is, my account has admin privileges, I just don't have them by default. Is this really the pr ...Show All
Visual C# Casting List<base> to List<ireadonlybase> where base implements ireadonly
Hi All, I'm having problems implementing a readonly interface to a set of classes. Heres a simplification of the code: interface IreadonlyBase { // Does gets only on base class } class baseclass : IreadonlyBase { // Does gets and sets as usual } interface IreadonlyDerived : Ireadonlybase { // Does gets only on derived class & base class } class derivedclass : baseclass, IreadonlyDervied { // Does gets and sets as usual } class container { private List<baseclass> baseclassitems; public ReadOnlyCollection<Ireadonlybase> ReadOnlyBases { // Should return a readonly version of the baseclassitems that can be traversed get{return new ReadOnlyCollection<IReadOnlyEntity>(baseclassitems)}; } } Problem is the compiler refuses to ...Show All
SQL Server SSIS Data Mining Model Training Transform (Nested tables)
I can't figure out how to put nested tables into the Data Mining Model Training Transform (SSIS). I can do a simple case table, but how do you get those nested tables with DM Training Transformation Any ideas Samples Thanks in advance, -Young K Thanks again, Jamie. -Young K. P.S. More data mining samples at sqlserverdatamining site please. Great amount of downloads, but more would be much appreciated. :-) ...Show All
