Chad Magendanz's Q&A profile
Visual Studio Using Visual Studio 2005 to edit / debug Transact SQL
Am wanting to utilize Visual Studio 2005 to edit / debug Transact SQL for MS SQL Server 2000 as a stepping board towards further programming challenges. Have created projects, attached to databases, but in running my SQL scripts I'm finding the debugging and tracking errors (especially with long scripts with several batches) to be difficult with VS 2005, compared to Query Analyzer. Examples so far: -no F5 to run a script -no parser t ...Show All
Windows Forms ToolStripMenuItem.EnabledChanged not firing when Enabled=true
I've found that the ToolStripMenuItem.EnabledChanged event is firing when toggling ToolStripMenuItem.Enabled to false but not firing when toggling ToolStripMenuItem.Enabled to true. It doesn't matter where the menu item is hosted, that is, either in a ContextMenuStrip, or a MenuStrip ...Show All
.NET Development Data Adaptor
How can I set a higher commandtimeout value for the following dataset I have 300,000 records and it gives timeout error in the .fill statement. string str_SQL = "SELECT * FROM mytbl"; SqlDataAdapter adptr_DataAdapter = new SqlDataAdapter(str_SQL, cnn_DataConnection); DataSet DS = new DataSet(); adptr_DataAdapter.Fill(DS, str_table_name); You should consider changing design of your application. For example, consider fetching only ...Show All
Visual Studio 2008 (Pre-release) Determining Text Size
Is there a way to determine the size of a text string in WPF I'd like to take a given string, and have WPF calculate the size needed to render that string using a given font, style, etc. Thanks. Bruce Bukovics Author of .NET 2.0 Interoperability Recipes http://www.apress.com/book/bookDisplay.html bID=10116 I have a rather twisted solution for you... Place your string into a TextBox, set its width to &q ...Show All
SQL Server Error in sql profiler for analysis srevices 2005
Hi, I am new to MS Analysis server technologies. I environment consists of: Server: windows 2003 server, Sql server 2005, analysis server 2005 client: windows xp As given by Microsoft, I configured the server for HTTP access. When I try to browse to msmdpump.dll by giving the path " http://ServerName/olap/msmdpump.dll " both in server and client systems I get the HTTP 500 Internal server error. I also did a right-click->browse ...Show All
Visual Studio 2008 (Pre-release) Control for numberic input
How to allow to input number only into textbox Howevver I want this control allow to input integer number, float number, key controls. Please support the C# code for this control if anyone has. Thanks :) Take a look at the ConnectedData/BindValidation sample in the SDK. It should be easy enough to change the ValidationRule to do what you want. Michael ...Show All
Visual C++ CTreeCtrl trouble
I have run into problems with a CTreeCtrl in my application. When I delete all the items in the control using DeleteAllItems(...) or DeleteItem(...), and then add new items, the new items do not display correctly. I found old references to this bug (2000, etc.) but expect someone has corrected this or can provide a better workaround than those suggested outside this forum. Thanks. -b Which version of V ...Show All
SQL Server NEWID() Generation Code
hi, i want the code for newid() in sqlserver 2000 , if anyone knows about it please send me the code.I need it for my customised application . It will be of great help. If your customized application is managed code, Guid.NewGuid() generates a new GUID. If your app is native, HRESULT CoCreateGUID(GUID *pguid) does the same thing. ...Show All
SQL Server Join the SQL Server 2005 SP1 Webchat: March 22nd 9:00 am PST
We will be hosting a public web chat discussion on March 22 nd 9:00 – 10:00 am PST about the March CTP of SP1. It is the customers’ opportunity to engage with the dev team and provide feedback and ask questions. Strong participation from customers will act as a motivator for stronger participation by the dev team and will increase their interest in having these in the future. For more information and sign up for this web chat go to: ht ...Show All
Software Development for Windows Vista ExternalDataExchangeService's method InterceptService does not find explicit interface events
Hello, if you are using the ExternalDataExchangeService with HandleExternalEventActivity this maybe interests you: I defined some methods and an event in the contract interface for the ExternalDataExchange. Because the class which implements it already contains one method with the some name I chose to implement the interface explicit (also the event). When testing the scenario everything works fine but the HandleExternalEvent. It seems to be ...Show All
Visual Basic How Can I Get The Form Tabbled Style Like Visual Studio 2005?
Hi! I have a mdi aplication and i want to use the Forms Tabbled Style like the Visual Studio .NET 2005 Forms which auto hide on the mdi parent.. Regards.. ...Show All
Visual Studio Express Editions Advice Needed Regarding C# and C integration
I have a project where I am given C code and I have to implement a GUI for that code. The C code was generated on with a Linux box and gcc. My first thought was to implement the GUI in C# and pass the input parameters to the C file. I researched how to do this but I wasn't coming up with many results. I read about converting C++ files into DLL files. I also read this thread regarding converting C files into C++ DLL files with C++ Express ...Show All
Visual Studio What happened SourceSafe web service access in Beta 2?
A collegue of mine has just setup a SourceSafe 2005 database and configured it for internet web service access. I have Team Suite installed including SourceSafe 2005, but I am unable to find an option anywhere which would allow me to connect to it. I can connect over a local LAN or over the net via file sharing, but I can't find the web service protocol. I was informed this feature was in Beta 1. Anyone know what happened to it I ...Show All
Windows Forms Reducing code in security calls
I have played a lot now with TaskVision's process of calling out to the webservice and authenticating along the way. I really like the way it is architected, but I didn't want to add so much code to all of my calls. I have an&nb ...Show All
Visual Studio Express Editions Driver Programming
Hi, is it possible to program drivers with VC++ 2005 Express Or what version is needed I tried to build a test project, I found in a book about 2000 WDM programming. But all the samples in this book are for Win2000 and VC++ 6.0. I downloaded the Win2000DDK about 2002, so the DDK I have is not really up-to-date, but shouldn't it work either Or doesn't the old 2000DDK work with VC++ 2005 . Thanx, wannabe ...Show All
