Dave Shaw's Q&A profile
Visual Studio Express Editions Open and close a CD DRIVE in visual basics 2005 express?
I used the following code to open and close the cd drive Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" ( ByVal lpstrCommand As String , ByVal lpstrReturnString As String , ByVal uReturnLength As Long , ByVal hwndCallback As Long ) As Long Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim lRet As Long lRet = mciSendString( "set CDAudio door open" , vbNullString, 0, 0) End Sub Private Sub Button2_Click( ByVal sender As System.Object, By ...Show All
Visual Basic need help???
hi! i'm new to vb.net from vb6. i have two form ( form 1 & form2 ) both contains textbox1. for vb6 my code look like this; form2.textbox1.text = form1.textbox1.text but it didn't work with vb.net...any help thanks, mac Hello, i've tried this code and it works... Dim frm2 As New Form2 frm2.TextBox1.Text = Me .TextBox1.Text frm2.Show() Me .Hide() thanks, mac ...Show All
Visual C++ Microsoft Visual C++ Runtime Library error question
I recieve this error when I launch Internet Explorer - version 6.0 OS Windows XP Home edition 2002 Service Pack 2. Error is as follows: Microsoft Visual C++ Runtime Library Runtime Error! Program C:\Program Files\Internet explorer\iexplore.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I am not certain where to post this question and problem. Your assistance is greatly appreciated. Currently, I am using Firefox as my back-up web browser. I have seen a similar Problem. The Culpret was a corrupted Mc ...Show All
Visual C# Voice Chat,Audio Streaming
Hello everybody... I have a TCP/IP client/server chat application.I want to add voice chat feature to my application.What is the start point How can I implement this feature in c# How can I implement audio streaming in c# Please guide me. Note : My application works on LAN and is not on the internet. You can download complete source code and demo of my chat program from here. You need .Net FrameWork 2.0 http://www.codeproject.com/useritems/TCPIPChat.asp Best Regards, XironiX well i dont' know the answer to your question but i really want to see your TCP/IP client/server chat application so if you can send me ...Show All
Visual Studio Package Load Errors with Team Suite on a clean XP machine
Hi all, I just installed Team Suite on a clean brand spanking new XP machine and I ended up with package load errors for the DTS and Language Packages. VS seems to work OK for most everything except: The options Dialog is missing all Font configurations options, and there's a blank tree node in the list. IOW, I can't customize any of the stock Font options. There's more info here: http:/www./west-wind.com/weblog/posts/4373.aspx I already went through a repair install which was painfully slow, and before I uninstall and reinstall I'm hoping somebody has some pointers on what might be causing these load errors. Any help ap ...Show All
Visual Studio Team System .net 1 assemblies references from .net 2 assemblies for analysis
I'm using Using FxCop 1.35 to analyise assemblies built with v. 2 of the runtime. However, some of these assemblies reference v. 1 assemblies. I can not add these referenced assemblies as Targets as there is a framework mismatch (I was aiming to add them and disable their analysis so that FxCop could resolve the reference but not run analysis), so I have to resolve them manually when I run analysis. This is fine for the GUI version, but obviously does not work with the command line version on our CI server. Any workarounds for this James, You can tell FxCop to look in specific folders for references, by ...Show All
Visual Studio Express Editions Command Button Problem
I have recently downloaded Microsoft Visual Basic 2005 Express Edition and I need to add a "command button" for a simple project. In all of my toolbox, I could not find one, however I found "button" and named it cmdBeep. When I added it to my form, switched to the code view and tried to select it so i could add Beep (to make button beep), it automatically changed back to frmFirstCode, the name of my form. Im not sure what the problem is, so any help would be greatly appreciated. Thanks hi, here its some nice tutorials http://msdn.microsoft.com/vstudio/express ...Show All
Smart Device Development painting in smart device forms
Hi, I am new to visual studio 2005 smart device applications.I want to output an integer in smart device form.What is the command to do this and whare should I use this command(inside paint ).Thanks archana. " I want to output an integer in smart device form" <-- I'm not sure what you mean by this, do you mean you want to write a number somewhere on a form during the paint event ...Show All
Software Development for Windows Vista retrieve a list of workflow instances and select one
I have an issue and I need some help. Suppose the classic pattern of document review: I have built yet an asp.net application that is over a state machine workflow that follow the flow of the document review. In my test webapp I have a single web page that raise all the event needed. Now suppose that I would realize an asp.net application where the simple user can insert their personal document. Each adding cause a new instance of the workflow that is stored in the persistence until a reviewer take it. I have to get the entire list of all the instance of the workflow with the paramters (this will be shown at the supervisor) and a sub-list of ...Show All
Visual Basic Getting Other File Information
Some files (for example MS patches) have a other version information section (under the version tab of the file properties). Does anyone know how I can read this information in VB.Net I specifically want to read in the installer engine entry so I can take a certain action depending on what is specified. Any help would be greatly appreciated. I cant see anything on google or MSDN about this that makes much sense. Thanks in advance. Paul OK I have spent ages looking in to this and am completely stumped. Basically I want to capture the installer engine field from a microsoft hotfix field, as the engine is different between pat ...Show All
Windows Forms How to set start form
I had a single window form compiled in a winform project. Now I add a new form, rename the old form with ".sav" extension, move it to an archive folder in the project, recompile the project and am surprised to see the old form shows instead of the new form. How can I set a start form among many like on a webform project T ...Show All
Visual C++ Discussion about languages...
Greetings to all. Discussion about languages... When I took the first steps in the world of programming I began from consideration of the most popular languages, I estimated their power, flexibility and beauty of syntax. In a month or having read set of various articles I still could not choose. And once again visiting book shop, I have met book Windows Script Host and have decided to begin the way with easy language and technology. As language for WSH to me has more liked JScript though VBScript it developed and supported Microsoft better than JScript. Simply my brain thinks logically and consequently syntax J ...Show All
.NET Development No good deed goes unpunished.
I tried to help... I said I could write a little VB.NET program to serve as an Autorun on a company sales/marketing CD. The sales/marketing presentation destined for the CD was a CPU hog and caused Acrobat Reader to take up to one minute to load. It was "terribly important" to the company that the mentally challenged persons to whom the CD would be sent not have to think about starting the presentation or the Acrobat Reader. Well, now I have the program working and a friend has given me the horrible news - it won't run unless the .NET framework is installed. Since this is going out to a mailing list of interested companies I have no co ...Show All
SQL Server .NET2 SMO Components
I am new in VS2005 and I start with sql2005 express. I plan to use SQL express 2005 manager. When I tries to install this program the system asks for MS Framework,net2 SMO Components. Where can I download these components Thank You Best regards Oyvind All of the information needed to install and run Management Studio Express is at http://www.microsoft.com/downloads/details.aspx familyid=82AFBD59-57A4-455E-A2D6-1D4C98D40F6E&displaylang=en . If you still have questions after installing the required components, please let us know. ...Show All
Visual C# ADO.net
System.Data.OleDb.OleDbException: The Microsoft Jet database engine cannot open the file 'C:\Inetpub\wwwroot\DataBase\login.mdb'. It is already opened exclusively by another user, or you need permission to view its data. at System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) at System.Data.OleDb.OleDbConnection.InitializeProvider() at System.Data.OleDb.OleDbConnection.Open() at DataBase.Login.OnInit(EventArgs e) in c:\inetpub\wwwroot\database\login.aspx.cs:line 53( I marked red) using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.Sessio ...Show All
