Steve Miller's Q&A profile
Windows Forms getting printer names
Hi, How can I get all of printer names connected either directly to PC or through some network. Is it possible to get the names of all printers connected to a PC through some network if its not, then please send me how to get the names of locally(directly) connected printers Thanks, Download my user sample here: http://www.gotdotnet.com/Community/UserSamples/De ...Show All
Visual Studio VS2005 Team Suite Beta 2 fails to install on clean SBS 2003 system
I have been trying to install VS2005 Team Suite on my SBS 2003 system for some time without success. Despite having removed almost everything from the system it still says: "A failed installation has been detected. Press OK to uninstall the product. Then retry installing." I ran the VS2005_Beta_Cleanup_tool successfully to no avail. After repeated attempts to cleanse the SBS2003 system of all remnante of previous VS2005 installed, I decided to quick format the hard drive and reinstall SBS (including Share Point) and Exchange. Applied all of the windows updates and ran the VSTS 2005 install. First time installation faile ...Show All
Visual Studio automation model
I'm a little confused as to what needs to be done for our Package to contribute to the automation model, allowing others to write add-ins against our specific project type. I've seen post's that say to use OAProject as a base class, other's say to implement EnvDTE.Project, EnvDTE.Projects. The documentation has examples for non MPF solutions. It talks about registry entries that need to created, overriding GetAutomationObject on the Package class, etc. I found an attribute "ProvideAutomationObject" that created one of these registry entries for me. I used this along with a simple class that used OAProject as it's base class. I test ...Show All
Microsoft ISV Community Center Forums Adding a table column using VBA in Access
Hello, I was wondering if it were possible at all to add a column to an already existing table using VBA code. It seems like a simple enough procedure, but I can't seem to figure out how to do it. I'm beginning to wonder if it's even possible. Any help would be appreciated, thanks! CJ I've actually solved the problem. It was pretty simple, like I figured it would be. I'll go ahead and post the code in case anyone else happens to be new to this and runs across the same problem in the future. Public Sub addColumn() Dim strField As String Dim curDatabase As Object Dim tblTest As Object ...Show All
Software Development for Windows Vista Vista system requirement
hello! what's the system requirements of Windows Vista and if i want to run WHQL test, can i use the same system and is there any special WHQL procedure different than the current WHQL Thanks! this help http://www.microsoft.com/technet/windowsvista/evaluate/hardware/vistahardware.mspx Josh http://windowsconnected.com ...Show All
Software Development for Windows Vista How can I get Strmbasd.lib ?
I read that in order to make Strmbasd.lib I must build project BaseClasses.dsw located at (SDK root) \Samples\C++\DirectShow\BaseClasses. But after installed the platform SDK ,and dxsdk 2006 I cann`t find the BaseClasses.dsw (I use visual studio C++ 2003) Try the following location; C:\Program Files\Microsoft Platform SDK\Samples\Multimedia\DirectShow\BaseClasses\ XP32_DEBUG for the Strmbasd.lib or ...\XP32_RETAIL for the Strmbase.lib. ...Show All
.NET Development To check weather the .txt file is in XML format or not
Hi, How can I check that a .txt file is in XML format or not using c# Thanks in advance, ~Hitesh The XmlDocument class has a Load method ( it also has a LoadXml method, which I believe takes an Xml string, but I may have the two confused ), which takes a file path. It will throw an exception if the file is not valid Xml. ...Show All
Visual C++ Can plplot.lib be used in Visual C++?
I used to use plplot.lib with Fortran program. Right now, I am trying to either transfer Fortran program with functions of plplot.lib to Visual C++ by accessing Fortran program from Visual C++ or import plplot.lib into Visual C++ in order to call the functions of plplot.lib directly in Visual ++ Who knows: 1. How to access fortran program from Visual C++ or 2. How to import plplot.lib into Visual C++ Thank you. Did you ever consult the plplot pages at source forge http://sourceforge. ...Show All
SQL Server Running individual tasks in ISS
Hi, In previous versions of SQL Server you were able to execute single steps within a DTS package. It doesn't seemt to be possible in visual studio. Does anybody know otherwise Thanks ...Show All
Windows Forms Suspending anchoring temporarily
Is there a way to temporarily suspend anchoring in the designer Anchoring is great, except when I want to actually resize the form in the designer without having the controls move around during the process. ...Show All
Windows Forms Help with creating a custom designer
Are there any good books or examples that describe how to create a custom designer INCLUDING wiring it up to a custom CodeDomSerializer to generate appropriate code in the InitializeComponent method of the designer control. The code will be added to a custom code editor in a similar way that Visual Studio adds it to a code behind module. There seem to be numerous examples showing how to host a custom designer (which I can follow) but none show how to implement code behind generation. I hope this makes sense. Any help would be appreciated. Damien Came along a good example of this in the MS ...Show All
SQL Server Complex Transformations (SSIS components vs TSQL)
Greetings SSIS friends, I have been attempting to implement one of our numerous ETL processes in SSIS but hit a brick wall when I tried replacing a complex stored procedure with a series of Merge Join components. In the end, I had to settle with using a SQL task which merely calls the stored procedure and this proved to be the better option as the other version where I used SSIS components only took forever to run. How do people cope with complex transformations ! Do you guys opt for pure TSQL to perform complex transformations and use SSIS components for control flow+simple(ish) data flow tasks I am confused. ...Show All
Visual Basic REALLY Weird "Threading Problem" - Hard to explain
Hello all. I''m currently in the [process of making an audio player application that will read out MP3 tag information using the Speech library (the MS Text-To-Speech thing - like the one in control panel.) Well, I had built the application using the VB .NET 2005 Betas, and it worked fine throughout - no problems. I downloaded the final version of both the framework and VB IDE itself. I compiled & ran, and got some strange error that I had never gotten before. Below is the result of what the IDE could tell me. ContextSwitchDeadlock was detected Message: The CLR has been unable to transition from COM context 0x1af778 to COM c ...Show All
Visual Basic setup project can not build
Hi, I am using vs 2003 to build a setup project but got this error message "Could not find file ..., Not enough storage is available to complete this operation." I checked the path of the file, it is correct. After I remove this file from the setup project, I can build it successfully and the result msi file is about 250MB, the file I removed is about 260MB, is there any limitation about the size of the file in setup project or the total size of msi file If so, how can I build the setup project I appreciate your help. I'm getting this error now on simple projects (basic Windows app w/ 1 form). ...Show All
Visual C# Disappearing threads in this NG?
When threads disappear from a NG, are the OPs notified in any way Other than by the disappearance, I mean. Hi Peter - As Tom mentioned, threads are moved from time to time to other more appropriate forums (i.e. Windows Forms issues, .NET development general, Visual Studio general, SQL forums, etc.). The OP should automatically be redirected to where their question is when they click on the My Threads link for their post. If a thread was deleted, the OP is notified through email why their post was deleted. If you don't see either of these things occurring, you should report a bug in the Bug Reporting forum! Thanks! Kare ...Show All
