Katta's Q&A profile
Windows Forms Keeping One Window On Top Of Another
This is probably a simple question, but I'm a Windows programming newb. Basically I have an interface of 3 independant windows and I want to preserve a certain precedence for the layers (one Window should always be on top, one should always be& ...Show All
Visual C# Fastest DB Connection
I'm writing a C# app that is basically connecting to 2 databases, and updating the both of them. I'm currently using this string to connect to my SQL Server: Provider=sqloledb;Data Source=(local);Initial Catalog=MLSDataExchange;User ID=sa;Password= I think that there must be a much faster way to connect, but since I am so new to C#, I'm not sure what that way is. Is there a faster string that anyone would suggest I use Also, what wou ...Show All
Visual C++ LNK2028 when using /clr:oldSyntax in VS2005
It appears that the error relates to using /clr:pure, but I am not. The class it is complaining about is in the unmanaged library, and that library is specified in the link options. It was migrated to and built by VC++ 2005 from the 2003 version. I don't understand the extern "C" part of the error msg because there is nothing in this class that references any C code - it is all C++. There is a C code module in the library, but ...Show All
Visual Studio PowerToys for the Visual Studio 2005 Class Designer and Distributed System Designers
We’ve published a set of set of add-ins which augments existing functionality in the Visual Studio 2005 Class Designer and the Distributed Systems Designers. The Design Tools Enhancements add-in provides a common set of features that can be used by both the Class Designer and the Distributed System Designers , such as pan/zoom window and rich formatting commands. The Class Designer Enhancements add-in provides additional functionality for the ...Show All
.NET Development Problem with TransactionScope and Swedish OS
Hello. We are trying to run a piece of code that looks like this: DBManager target = Factory_CreateDBManager(); using ( TransactionScope scope = new TransactionScope ()) { CompanyDataSet . CompanyRow company = target.GetCompany(UnitTest. Constants .CompanyId); company.Com_Name = name; target.UpdateCompany(company, lastAlteredBy); } When we run it on a English WinXP there is no problem. When we run it on a Sw ...Show All
Visual C# Help on Lagging File Seek
I am running a windows 2000 server, and run a C# program that writes to an excel file. The folder that contains all my finalized excel documents exceeds 5gigs, and when not seeked within the last 5 minutes, lags for up to a minute. So when someone tries to download a recent report, if no one has run a report within the last 5 minutes (guessing lost from cache,) they must wait 1 minute for windows to open that folder. Any ideas on a method possib ...Show All
.NET Development access permission probelms. HELP ME!!!
I have two computers, a desktop and a laptop, both running win xp home. Both are wirlessly enabled and connect wirelessly to the internet through a belkin router. The desktop will happily see the laptop and share files, and everything seems to work just fine. The laptop, however, refuses to see the desktop. I have shared all folders properly, both are part of the same workgroup, and I have run the network set up wizard, and tried to connec ...Show All
SQL Server MDX Help - Should be easy
I want to have a calculation that rolls up monthly closed sales and displays the total month volume no matter what dimension levels have been added. Example: Month Store # Sales Total Monthly Sales April 1 10,000 50,000 April 2 10,000 50,000 April 3 30,000 50,000 May 1 20,000 70,000 May 2 20,000 70,000 May 3 30,000 70,000 This could be across multiple dimensions ...Show All
Windows Forms Launching and Controlling Browser Window from Windows Form
Hi all! This may be more of a JavaScript issue, but if so, maybe somebody out there has an existing example of what I'm looking for. I'm trying to launch a IE browser window from a windows form and have some control over the window that was launched. Specifically, I want the browser to present with everything stripped out except the chrome frame and to force the same browser window to reload on each windows event, rather than open ...Show All
SQL Server Combine two database
I have a two databse say DB1 and DB2 in sql server 2005 developer edition. Both Databases are completely different in structure(i.e nothing common) Both Databases contains Important Data. I want's to combine them into a new database named dbcombined.{provided that data remains intact}. How can I do That Then Also I have to deploy that db in other system what I have to do If objects are unique across databases, you may just use DTS (Import/ ...Show All
Visual Studio "DSL DM -> DD" for November 2005 CTP is available (contribution)
The "DSL DM -> DD" tool, (a GUIed tool, runable from the 'Tools' menu in Visual Studio, and which helps maintaining coherence between the domain model and the designer definition file) has just been updated. You can still download it from http://www.modelisoft.com/Dmd2Dd.aspx Best regards Jean-Marc. I installed this before it went dark.. This is definitely lights out. Damon ...Show All
.NET Development Monitoring and changing varibles in a process
I was wondering how to get a value form a running process, lets say MySimpleProcess.exe that is running in memory. If i made a integer that was value of 15 and lets say I click the button and it drops to 10 then 5 then 0. I am trying to make a program that tracks an address in memory and its value. lets say address is B74EC4 value is 15 (4 bytes) Click B74EC4 is now 10 etc.. You can probably g ...Show All
Visual Studio Express Editions password format
I have installed the VWD on Windows 2003 server and gone through the configuration several times. At this point the applications which I have developed which worked fine on my Windows xp are not up and running because of some sort of difficulty with the password format. When using the ASP.NET Webstie Admin Tool isn't able to recognize the password format. Can someone help me figure out how to configure this. I tried adding the ...Show All
Software Development for Windows Vista RuleSet Editor
The readme for the RuleSet Editor says you're looking for comments. Well, here's what I'd like to see: Visual Studio integration (duh!) References and IntelliSense like the other Visual Studio editors Storing the rules in XML or a database Ability to search for rules and organize them Add to the Rule class an ActiveCondition property of type RuleCondition. If you set it, then getting the Active property evaluates that condition. If you set ...Show All
Visual Studio Tools for Office Smart Document attribute's value persitance issue
Hi, I'm working with SmartDocument through VSTO (C# if it makes any sense) - trying to set a value for some element's attribute - setter won't work :( within ThisDocument_XMLAfterInsert (and that's the only place I can do it from): ... NewXMLNode.Attributes[1].NodeValue = Guid.NewGuid().ToString(); ... No excpetion is thrown, BUT... actual attrribute's NodeValue remains unmodified. I've a vague feeling th ...Show All
