Barguast's Q&A profile
Windows Forms Detect SQL Servers
How do I etect all INstances of SQL Servers on my network I want to poulate a combo box with the SQL Server instance Name. Also How o I get my computer name To get your Computer Name, use SystemInformation.ComputerName. To get all instances of SQLServer on a Network, use <a href="http://www.sqlsecurity.com/DesktopDefault.aspx tabindex=5&tabid=7">SQLPing</a> ...Show All
Visual Studio Team System installing on 2003
Hi all , I have Visual studio 2003 already installed. is it possible to install betexperience without affecting it or compiling on framework 1.1 or do I have to uninstall it . thanks in advaance You should be able to install VS 2005 on the machine with VS2003 without any problems (for running/compiling apps on 1.1). If you do find any issues with this, please report them in: http://labs.msdn.microsoft.com/prouctfeedback/ ...Show All
Windows Forms referenced memory message
Anyone know what this refers to I get it when my HL2 games freezes. The instruction at "0x241f94b7" referenced memory at "0x01080cc0" could not be "read" "hl2 bug, you got a memory leak, one problem with C++, you have to allocate and deallocate memory, there's no garbage collector" --> This is no problem, this is power. ...Show All
Windows Forms openfiledialog default view....fixed yet?
is it possible to change the default view of the openfiledialog box i need "details", not "list" thanks found the answer in another forum http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/vbpowerpack.asp ...Show All
SQL Server No Default SQL Instance on Install?
Problem: When the application installs it requires SQL Express Server 2005. If it does not exist it will install it or rollback. -> continue installation -> When the form attempts to locate an SQL Instance on a machine that has not had SQL server or any components connected before it shows up as <null>. I need to have access to the server(s) instances in order to build the application database inside SQL. Am I using the wrong approach with SQLDMO Is there adifferent method to access the installed SQL Express 2005 connection string Current code to locate SQL Instances: try { ////////////////////////// ...Show All
Visual Studio Team System Deleting a Team Project
Hi, is there any way to delete a Team Project created by me From Team Explorer exists the remove option but I couldn't find one to delete all the different parts of a Team Project (SCC, Project Portal, Work Items, etc). Is it possible Thanks a lot LucasC In VSTF Beta 3, I can not even find the deleteteamproject.exe file. Can someone confirm that it is supposed to be present, and if so, where I've installed the data tier, app tier, full client, and have searched on all of them, to no avail. ...Show All
Visual Basic Binary Serialization of a Collection after Binding to DataGridView
I am hoping that some one can shed some light on my current situation. The issue I am having is as follows: I have a class called Person. Person implements IEditableObject I have a second class PersonCollection. PersonCollection Inherits from CollectionBase and Implements IComponent, IBindingList and ITypedList As the names suggest PersonCollection is a collection of Persons. I have overriden the methods of the CollectionBase to provide a strongly typed collection. Everything works beatifully. I can bind the PersonCollection to a DataGridView to Add, Edit, Delete..etc I can also Bind properties of a person to Controls on a ...Show All
Windows Forms Is this possible?
Is is possible to have a C# app update text boxes in a webpage that I don't own For example if there was a webpage that had a couple of textarea input fields would it be possible to write a C# app that could put text into those textarea's Thanks. Indian Ocean wrote: Yes, its possible but you have to use some WIN32 apis for that. Its a inter-application communication in fact. If you want to do that using WIN32 apis then tell me so i will send you the exact stuff with code snippet Yes, that is exactly what I would like to do and I've no problem using WIN32 API's for it so if you could se ...Show All
Visual Studio Tools for Office Problems with more than one window with Outlook 2003
Hi, I hope you guys can help me again :)...here's a problem described by a user of my Add-In (I don't know if it could be related to VSTO or not, but who knows ) Hi, If you are updating the toolbar in NewExplorer event, it seems that the CommandBars are not yet available for the Explorer that is being created and will throw an exception. The workaround would be to register to every explorer's deactivate event, update toolbar of the active explorer in the startup event, hold a reference to the new Explorer that is being created in NewExploerer event. If the reference to new explorer event is not null update the toolbar and set the refe ...Show All
Visual Studio ReportViewer drillthrough in WebForms looking for .rdlc instead of .rdl in Local processing
I am creating a ASP.NET application for reporting. I have created the reports (.rdl) using the Report designer. I keep all these .rdl files in a folder and this reporting application will list these reports. Clicking on a report will generate the report. I am reading the rdl xml to get the query and query parameters, then retrieve the data and add datasource to the LocalReport. This is working fine. In the drillthrough event I get the original drillthrough parameters and retrieving the data and setting it to the drillthrouh report. But it the report is looking for the .rdlc file. Just for the time being I renamed the .rdl file to have the .r ...Show All
.NET Development ConfigurationManager not recognized
I am using VB. I added a reference to the System.configuration library, and I still cannot use the ConfigurationManager namespace. This is very strange. I can't think of anything except a silly mistake I made some time ago, when I accidentally named a class of mine System and everything stopped working! It took me about an hour to find out what was the problem! ...Show All
Visual Studio Unloading an Add-In
Hi, I would like my add-in to load only after it had detected that another feature is installed on the local machine (this feature can be removed without notice, hence we do not check it existence while installing the add-in). If the feature isn't there i would like to display a message to the user and unload the Add-In. Where is the best place to put this validation code I tried using it on the OnConnection event handler, but when i instruct the Add-In to diconnect (connected=false) i end up seeing an error generated by VS. Is there an example on how to do that Thank you in advance, Ariel Setti ...Show All
Visual Studio Team System Uploading a file during a webtest
I'm trying to create a webtest that at some points uploads various types of files (image, audio....). When I replay the webtest, at the point where its to upload the file I get an error.... Request failed: Could not find file '............\My Documents\Visual Studio 2005\Projects\SQL2005 Load Test\TestResults\ directory \Out\testimage.jpg' But the file testimage.jpg does not exist in that directory cause the directory is created at the time of the webtest being run. Is there something that I'm missing here that's telling the webtest to look for the files in the newly created directory rather than the original directory tha ...Show All
Visual C++ When I build, I get no exe
Ok when I build my project, I get no exe, but I do get a build log, and other files. Any clue Ah crud, I was checking the wrong directory for the file. Whoops... Thanks :) ...Show All
Visual C# Design Time Collection Editing
I am creating a custom menu. I would like to edit it in the same mannor as the ContextMenuStrip is done. Such as the menu on the design form, etc. Is this possible My object contains a ToolStripItemCollection just like the Context Menu Strip... If you could help or atleast point me to a place that would be very helpful. Thanks, Mike Mike, Anything's possible if you want to try hard enough! And Microsoft managed to do this... I haven't seen what you are after actually done, but my guess is you'll have to inherit from the 'item and do some custom painting (ie OnPaint) and key handling. ...Show All
