Myoest1's Q&A profile
Visual C# How to Play Sound in Windows Application?
Hi everybody, Is anybody knows how to play sound (*.wav) files in windows application I tried using Microsoft media Player it works but the DLLs are huge. Is there othe way to do this Thanks. denpsia Hi, Try this: http://dotnet.org.za/deon/articles/3057.aspx Regards, -chris ...Show All
Windows Forms Customized Designer Code
I'm working on an application where I need some special initialization on each form and therefore would like to extend the Designer code. Currently, I manually add my special initialization method to the form and call it after InitializeComponent(). After making changes on the form I always have to check my init method and eventually change it according to the new form layout. My question is: is it possible to extend Visual Studio 2005 Professi ...Show All
Visual Studio Team System Difficulties in getting Code coverage information
I am testing ASP.NET web controls and am facing difficulties in getting code coverage information from my tests. For testing our web controls, I am using the [HostType("ASP.NET")] and [UrlToTest(" http://localhost/TestSite ")] attributes in my test projects to either test a website that has these webcontrols, or dynamically add these controls to a empty test website and test their properties and methods. So my project structure is like t ...Show All
Windows Forms Problems with RichTextBox
Ok I'm having some problems with the RichTextBox Control... What I'm trying to do is create a console/terminal type window. I imagined the richtextbox would be a good start but it's been pretty frustrating. The difference between the KeyEventArgs and KeyPressEventArgs is confusing, besides the different key types and codes... I miss being able to look for '^C' or char(13), etc... 1) My KeyPressDown doesn't get CTRL-V, CTRL-O or certain o ...Show All
Windows Forms Form Class Name in string..
I have the name of the class of a form in a string. I would like to know if there is any way to take the string and instantiate a form from it for display. I have looked up via about every search term I can think ...Show All
Visual Studio Express Editions I've VC++ .NET 2003 installed..... i need to remove ?
Hi Excuseme for the stupid question.... 1) I've a registered VC++ .NET 2003 installed, I need to remove it before install the VC++ Express Edition 2) If/When VC++ 2005 Express Edition will be available in italian On Italian site i not find nothing about that. Thank you in advance Bunker ...Show All
Visual Studio DataSet Visualizer
Two Quick Questions. 1. Does the new DataSet Visualizer work for ASP.NET 2.0 "projects" 2. Will the new DataSet Visualizer work for custom DataSets where the class inherits from DataSet 1. Does the new DataSet Visualizer work for ASP.NET 2.0 "projects" Yes. 2. Will the new DataSet Visualizer work for custom DataSets where the class inherits from DataSet No. Debugger visualizers don't work for types that a ...Show All
.NET Development problem in signing an executable
Hi All How can I sign an executable with a strong name I tried by creating a key with help of >sn -k mykey.snk and created a . ...Show All
SQL Server Error while importing Text file using Import Export Wizard
Hi all i have text file where i can import it to excel to access or sql2000 without problem but when i import it using (sql2005 pro) i get this error message during the import O peration stopped... - Initializing Data Flow Task (Success) - Initializing Connections (Success) - Setting SQL Command (Success) - Setting Source Connection (Success) - Setting Destination Connection (Success) - Validating (Success) - Prepare ...Show All
.NET Development AccessViolationException with C# Ping class
I have a "watchdog" program, c# console application, coded with VS 2005. Program runs every 3 minutes. And one part of program checks pings to ~20 ip's. I'll give that function code: static private bool ping ( ref String ip) { bool success = false ; Ping pingSender = new Ping (); if (pingSender.Send(ip).Status.Equals( IPStatus .Success)) { success = true ; } else { success = false ; } ...Show All
Visual C++ Deploying my .NET app (started as MFC program)... HELP!!!
I've started to use /clr in my old MFC app using VS 2005 How do I distribute my application in an easy way It only works on computers having visual studio 2005. I have run Dependency Walker an error is shown: Error: The Side-by-Side configuration information in "MyApp.exe"contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem ...Show All
SQL Server Deny access to a view
I'm having trouble creating a read-only view. I've got 1 or more tables that I wish to remain updatable but I want to create a view that covers the table and/or spans all the tables. However, I want the view to be select only. I can't seem to get it to work. DENY UPDATE ON [dbo] . [MyView] TO [dbo] CASCADE All that seems to execute my dbo user can still use... Update MyView set SomeID = SomeID + 10 Plus, ideall ...Show All
Visual Basic Get information from a text file in a website
Hello I need a complex request. I want to get information from text file in my website. I know username and password, but how can I connect to my website Anybody assist me, please Are we talking about - you want to get information from a text file up to your web site. In which case this may be of use which is about uploading files to the web http://support.microsoft.com/default.aspx sc ...Show All
Windows Forms .NET HTML WYSIWYG control
Hi All, I am trying to find a decent HTML WYSIWYG control for a Windows Forms application. I noticed that when you open a HTML document in VS.NET it is displayed in a nice WYSIWYG editor. Does anyone know: 1) If this editor is indeed a&nbs ...Show All
SQL Server Passing parameter to a dts
I don't understand how to pass a parameter to a dts package from another. In SQL 2000 you can map a variable with a variable of the package you will call. How can I do this For example in the current package execution (package1) I have a variable1 = 5 and when some step complete I call package2 with the value of variable1 in variable2 of package2. I need help with this. Thanks in advance. Ah, no, not durin ...Show All
