SouDev's Q&A profile
Visual Studio Express Editions Media Player in the Toolbox.
During my experiment with Visual C++ 2005 Express Edition, I deposited Windows Media Player into the Toolbox Component section, and used it successfully like any other tools. I do have nevertheless problem with the related Help system. I would like to have F1 to show the descriptions of the methods and properties of the Media Player (like I have it on other tools.) I do have Media Player SDK. Please instruct me how can I make Media Player tool to behave like the other tools Thanks for any guidance. I gave you a clickable link in the previous post. Here it is again . Use the menu at the left to navigate. The main topic starts here . And here's the link spelled out: http://windowssdk.msdn.microsoft ...Show All
SQL Server openxml
Assuming there is a stored procedure with multiple OPENXML queries... Is it necessary to have: EXEC sp_xml_preparedocument @idoc OUTPUT, @XMLdoc select ... from openxml... EXEC sp_xml_removedocument @idoc for each openxml or is it ok to have one of each in the whole of Stored proc Thanks ...Show All
Visual Studio Visual Studio project templates are missing
Hi! My Visual Studio 2005 project templates have disappeared. I've already tried to run "msdev /installvstemplates", but they didn't appear. Any other suggestions TIA Thank you. This helped me. I ended up copying files from a co-worker's computer as I no longer had the \Microsoft Visual Studio 8\Common7\IDE\ProjectTemplatesCache\CSharp\Web directory. After running devenv.exe /installvstemplates I was then able to see the Web Control Library under Visual C#\Windows in the New Project dialog. ...Show All
Windows Live Developer Forums PushPins, GeoRSS LatLong for lookup/postal addresses. Web Service?
After searching, I found that there is another recent post on here asking much the same question as I am posting. Unfortunately, that thread was extremely short and most replies were rather terse -- some bordering on unflattering arrogance. I am looking for a web service, or method call that will return the LatLong for an address provided. Of course, as stated in the other thread, one can use VEMap.FindLocation() using the postal address provided to do a lookup. This is fine when you have a system that is singular in nature and accepts input from a user. In my case, I have a couple thousand addresses stored in a SQL Server database that require pushpins. Some are straight forward and well formed. Some are not as well formed. The address ma ...Show All
Visual Studio Team System Inconsistent 2-tier TFS installation after SP1
First I installed the Team Foundation SP1 RTM on the application-tier and after that succeeded I went to the database tier. But I'm not able to install the service pack on it. Somewhere the installation stops and hopefully reverts it's changes. The lock-down of the SQL server through the "TFS_Quiescence" still stays. There some manuall task to revert this and the SQL server is accessable again. Now we can't get any source code anymore because there is always an error which says that an incopatible version is installed: "Detailed Message: TF53018: The application tier MY-SERVER is attempting to connect to a data tier with an incompatible version.". Could somone please help me, I really need to access the source. Is it ...Show All
Visual Studio 2008 (Pre-release) Header in WSDL
Hi all, I have a message inspector implemented on both the service and the client, on the client the inspector takes some object and adds it to the outgoing message headers, on the service side it takes the header turns it back into the object. This all works fine when I have a WCF client and WCF Service. The problem is i need to access the WCF Service from non WCF clients, i added a web reference in a VS2003 project to the service but the WSDL does not have my custom header listed in it. I doctored the autogenerated proxy in VS2003 to support the message header as the following posts states http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=906090&SiteID=1 . After doing this everything worked fine. My question is should th ...Show All
Visual Basic What is the difference between OCXs and DLLs ?
Hello, I wanted to add Windows Media Player to my application but when adding reference to the project, I found there was two Windows Media Player controls : WMP.DLL and MSDXM.OCX. I am currently using the DLL but I would like to know what is the difference between the two controls as they seem to be the same. Is there anyone to be preferred Thank you Oh okay, I remember these was coding differences but I couldn't tell. But are there any differences when compiling, like does the app will need runtime files or is it managed (automatic) Thanks. ...Show All
Software Development for Windows Vista Integrity level
Hi, All Do you know how to start an elevated process with medium integrity level from a low integrity level process using API More specificly, which SID value to use, I saw an hard-coded example using "S-1-16-4096" for Low integrity SID, but what's the value for medium level I cannot find it from June CTP's SDK and document. Thanks! I think you cannot start a MediumIL process directly from a LowIL one (and more generally, an elevated process from a least-privileged one); you should use a MediumIL (or HighIL or SystemIL) broker process. If it was possible it would have security risks because, for example, malware could elevate silently to go outside IE7's protected mode ... LowIL ...Show All
.NET Development anyone can help me with web.config?
currently i am working on a data-driven website(using MS Access) which require me to have log in feature and data-viewing feature, but i face a problem, there are problems with my web.config file, i am not quite sure of what settings or properties i should set for my web.config. anyone can help Please advise..... Thank you Below is the default settings that i've got. < xml version = " 1.0 " > <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list of settings and comments can be found in machine.config.comments usually located in \Windows ...Show All
.NET Development Not Sure of SQL Query - Code Attached
I am building a small application that calculates the required fuel for a Boeing 747 based on route distance, winds, etc. I have created a small Access database and code that successfully opens and closes the database but I can't seem to figure out how to write a query to get the correct infomation from the database. Briefly, the database table has four fields, Altitude, NAM (nautical air miles), Time and Fuel. I want to search the database for the Time and Fuel required for the Altitude and NAM numbers entered by the user. I'm not asking for anyone to write the code for me, rather I need some guidance on how it's done. Can I write a SELECT statement that searches the database for Time and Fuel WHERE Altitude and NAM equal certain valu ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Good place for free sprite sheets?
Does anyone have a good site for free 2D sprite sheets (for sprite animation) or does anyone have (or willing to create) any good sprite sheets they are willing to share I have a new project that I'm going to put on CodePlex which I think will be very useful and I need a good sprite sheet that I can include with the sample. Thanks, Bill http://tsgk.captainn.net/ I doubt you could use most of that stuff due to copyright issues, but a good resource nevertheless. ...Show All
.NET Development how to write decimal numbers to Serial Port?
It seems the method "write" for COM Port has three different constructors. port.Write(string text); port.Write(byte [] buffer, offset, int count); port.Write(char [] buffer, offset, int count); And now I want to write the decimal number between "0" to "30" to the COM port. How should I convert the (int i = 0 ) to the correct format for writing The receiving port should get the decimal number "0"... I tried to use Convert.ToByte(i), however, there is no lenght for the "int count" part... Thank you! Pockey, in the end the serial port will be sending and receiving bytes. There are only so many ways to send a number through a serial port: Assuming you have ...Show All
.NET Development "Cannot connet to remote server"
Hello, I am facing a bizarre problem when connection a client application to a server. I am developing a client application which connects to a server, instantiates a remote object (singleton) and makes queries to the server via the remote object. The remote object has a method which instantitates another remote object on the server side (factory remote object using interfaces). The client can successfully instantiate the remote object (using interface), because it can call a method of remote object to instantiate another remote object on the server side. However, as soon as the client uses the second instantiatied remote object (to call its methods), then an exception gets thrown stating that client cannot connect to the remote server. Wh ...Show All
Internet Explorer Development IE7, OE6 Printing problems with headers
Having an intermittent problem printing To: From: CC: Subject: Attachments: headers on emails. Usually happens with larger emails or emails with large attachments or emails that have been replied to or forwarded from other people. Have installed Generic/text printer and sent the email to this printer but sometimes the headers are still missing even printing this way. I have if I open the offending email and highlight just one or two words in the text of the email eg Dear John and then print the email using my HP printer (not as text on Generic printer) - the headers then print and so does the selected words. Don't suggest using Outlook as often we only print the first page of emails as we already have the rest of the email on file especial ...Show All
SQL Server message lost
Hi... My service broker was working...all of a sudden it stopped working...so i figured out destination queue was disabled and I set it as ALTER QUEUE SERVERQUEUE WITH STATUS = ON , RETENTION = ON , ACTIVATION ( STATUS = ON , PROCEDURE_NAME = usp_OnReceiveMessage , MAX_QUEUE_READERS = 5 , EXECUTE AS OWNER ) Also altered my database for trustworthy after going through some posts previously. Now the message is sent...i dont see any message in my tranmission queue but i dont receive the message in destination server. When i checked endpoints... select * from sys.conversation_endpoints I see the last message with st_desc as conversing... how do I solve this... Thanks, Pramod ...Show All
