DragonDayz's Q&A profile
Visual Studio Express Editions Progress bar
Ok. how do you gte a progress bar to work beacuse i'm clueless. Well, which bit are you stuck with The most common reason that people ask this is because they are trying to show progress on an atomic operation ( that is, they call a method and expect a progress bar to move while that method runs, that won't happen ), or because they don't see anything on the progress bar, because their processor is taken up by the operation ( call Applicat ...Show All
Visual C# Compiler warning CS0728
I'm getting a compiler warning with the following code: foo = someOperation(); lock ( foo ) { ... internalmethod( ref foo ); ... } The warning is: file.cs (3,1): warning CS0728: Possibly incorrect assignment to local 'foo' which is the argument to a using or lock statement. The Dispose call or unlocking will happen on the original value of the local. Has the compiler not r ...Show All
Visual C# Writing to File Properties (Like from Windows Explorer Properties)
I am trying to write a property (specifically the "Comment" property) of a file programmatically. This would be the same as opening the file properties in Windows Explorer, and changing the field. If I reference the shell32.dll, I can read the properties using objFolder.GetDetailsOf(objFileItem,14), but I cannot figure out how to write to it. Any help is appreciated. James Comment is a property ...Show All
Visual Studio Table with alias
Hi, I am facing a critical problem. My report like this I am having a customer table and Customer location table and invoice table My invoice table contains Bill_To, Ship_To customer and Location Ids. I want to display Bill_To, Ship_To customer and Location in my report. So i added customer table and Customer location table twice with alias name. But when i run the report, it shows empty page. Is am i wrong any where. I used inner join ...Show All
SQL Server Help W/Disabling FK Constraints for Batch Operations
HI all, I'm trying to have a SProc that will initialize a database for me. This db is in development (I'm primarily writing SSIS packages, atm), and I constantly need to truncate the tables, then re-add a dummy/unknown row (PK/Identity value = 1). Of course, I need triggers not to fire (got that part working), and FK constraints to be bypassed temporarily -- that's the problem. Here's where I'm at: -------------------------------------- ...Show All
SQL Server Database connection and local temp tables
We have a C# process that opens a database connection, creates and populates a global temp table, manipulates the data in it and then renders a SQL report to display the data in the temp table. However, to avoid concurrency issues, we want to switch to a local temp table so that it is only available to the connection opened by the C# process. Unfortunately, when we try to render the report, the temp table will not be visible to the report ...Show All
.NET Development XML and dataset question
Hi all, I've posted this already on the VB express forum, but I didn't get an answer. This might be a better forum for my question: I've created a DataSet and use xml-files as my database. The principle is outlined in this article: http://www.devx.com/dotnet/Article/28678 So for every DataTable I have an XML-file containing the data for that table. If the dataset contains a lot of tables I also get a lot of XML-files that way ...Show All
Windows Forms Where is a public terrarium?
I think I have an animal that can last longer than 1 generation. Where can I find a terrarium server that I can hook my client up to I don't want to run my own, I want to test against other people's bugs. Also, how are&nb ...Show All
.NET Development Opening a new window
Hi, I've been using C# asp .net for a few months now, and I'm stuck on a little problem. I want to be able to open another window of the same application from the application. This can be done from maybe a button. Does anybody know if this is possible Thanks I've done that now too ...Show All
SQL Server Virtual Labs - No Connection message
A couple of us are trying to use the SQL Server 2005 Virtual labs at http://msdn.microsoft.com/sql/ . We complete all the prelim steps successfully but when we click on "Start the Lab" we get a blank page with "No Connection" in the middle. The clock ticks and the system thinks we are doing the lab. How can we get a connection or is the server down or are there no available resources left ...Show All
Windows Forms Login Controls - Could DB2 be used?
I have a problem, I want to develop in .NET 2.0 but I have no access to any type of MS-SQL based server. I'm forced to use a DB2 database. So I'm wondering, how could use the Login Controls in .NET 2.0 and have it talk back to the already existing DB2 database for Username and Password. How can I force it to check an already existing columns and associate them to the username/password in a table in a DB2 database So I can use all t ...Show All
Windows Forms thnks
hi all i want to know is there a information message box ... which does not block the execution of the program..... i want a message box which does not reqires a user input but just to gives a alert of the information... and destroys ...Show All
SQL Server Thesaurus support in SQL Server Full Text service
Hi, I’ve been trying to add keywords to the thesaurus used for SQL Server 2005 Full Text services but do not seems to get any improved results. For example, I have a catalogue of article titles which contains titles such as ‘CRM’ and then some others use the words ‘Customer Relationship Management’, the ideal solution I would have thought was SQL Servers thesaurus support, I’ve been though and added the values: ...Show All
Windows Forms what is the Perfect MDI Application
I am looking for best performance in MDI Applications , I mean Imagine that you have an MDI Application contains 10 Child forms what is the best way to control these childs (using the methods Show() , and Hide()) or what . thanks in  ...Show All
Visual C++ Unresolved external for IID_IXMLDOMDocument2
Hello, I am trying to reproduce a problem (huge memory increase) in an MSXML wrapper library. I Created (using visual studio 2003) a console application where I create a DOM document using IXMLDOMDocument. This works fine since there is hardly any code to go wrong The next step is to switch on XPATH support. For that I need the IXMLDOMDocument2 interface. So I figured I query IXMLDOMDocment for IXMLDOMDocument2. However when I try to ...Show All
