woh's Q&A profile
Windows Forms Opacity and MDI forms
I cannot get opacity of forms to work when they are an MDI child. It does work with exactly the same settings if they are non MDI child. Do I do something wrong, or is that a limitation Thanks - Thomas We use layered windows to achieve opacity - from MSDN it's noted the layered windows are not supported as child windows. CreateWindowEx Function WS_EX_LAYERED Windows 2000/XP: Creates a layered window . N ...Show All
Visual C# Is there a way around this situation?
I have an application that reads a text file, strips off the trailing spaces from each record and writes them to another file. Each record is input at 485 bytes. The output file will contain variable length records. The reason for this is because the input file is 1.4+ meg in size and trimming the trailing spaces makes the file smaller and easier to process. Now my situation: the application has encountered one recor ...Show All
Visual Studio Tools for Office Word object created in suspended thread won't close...
Hi, I have a Word object wrapped in a class which is created within a threaded method. The class has a Dispose method which cleans up all the Word stuff nicely, and works perfectly 99% of the time. The problem I have is if the user quits the application when the Word object has a document open and the thread is in a suspended state, Word is not destroyed and my application just hangs (it looks like it has closed, but it is still in memor ...Show All
.NET Development port in use!
Hello, I am working with a database program(client-server) developed using visual studio.When i install the program and open the database, i get the error message "Port in use".But this is not the case when i run the program from the visual studio.In my code m_server.ConnectTemplate(clsid, pDocTemplate, FALSE); Can anybody explain me, whether setting the parameter to TRUE could help in anyway I have very less experience wi ...Show All
Windows Forms Login Functionality Help
I'm a web dev and need to develop a windows form app. I am struggling to work out how I can implement the login functionality. I am ok with storing the username/pword in a database but once I have verified the user and he has logged&n ...Show All
SQL Server Data Flow Execution Phases
Hi guys, I would like to know what happens during the different phases when executing a data flow task. I noticed that there are the validation, prepare for execute, pre-execute, execute, post-execute, and cleanup phases. We all know that the execute phase is the actual execution of the desired data flow (source to destination) but I was wondering what the other phases do. Knowing what happens during those phases will help me optimize ...Show All
Visual Studio Team System TFS not seeing all accounts properly
I'm having multiple issues that all seem to point to TFS not seeing all the accounts it should. First up, when I run reports, I get the following errors: An error has occurred during report processing. (rsProcessingAborted) Cannot impersonate user for data source 'CurrituckDS'. (rsErrorImpersonatingUser) Logon failed. (rsLogonFailed) For more information about this error navigate to the report server on the local server machine, or en ...Show All
Visual Studio Team System Warehouse processing problems
Hi, I'm running TFS over a Virtual PC, and the OLAP Services eats my CPU most of the time. I found a post (http://forums.microsoft.com/msdn/ShowPost.aspx PostID=3063) and a blog about this problem ( http://blogs.msdn.com/buckh/archive/2005/04/19/409886.aspx ). But after I changed this setting to 3600 or to 360 and restart the TFSServerScheduler service, the OLAP Service crashed withot any additional information. I tried to process the wareh ...Show All
Visual Studio 2008 (Pre-release) extension properties
When the first Linq preview was released, there was talk of allowing extension properties along with extension methods. At the time, I couldnt see a good reason for having them, but having read "First-class relationships in an object-oriented language" I can now absolutely see a use for them. At least, a very nice syntactic sugar type of use. I know the details on the next Linq release have been short on the ground, but would some Linq ...Show All
Windows Forms Nesting Datagrids
Hi I'm trying to work out how to nest datagrids. The parent child way that is supported by default is a little bit limited for my needs. Here is an image of what i'm trying to do Example I also need to add things like combo boxes to certain columns (which I think I can do) I'm fairly new to windows forms, so I don't know by way around very well. I can find tons of stuff for ASP.NET but thats not helpful for my windows app. i'm trying to do th ...Show All
.NET Development I couldn't find advantage of StringBuilder in .NET 2.0
I have written a small application to test differet way of appending strings Method 1: Use + operator. Like s = s + " " + str1 + " " + str2 + " " + str3 + " " + str4 + " " + str5 Method 2: Using String.Join. Like s = String.Join(" ", new string [] {s, str1, str2, str3, str4, str5}); Method 3: Using String.Format. Like s = String.Format("{0} {1} {2} {3} {4} {5}", s, st ...Show All
Visual C# Create a snap-in using VisualStudio 2003 C#
Hi I have to create a snap-in(for a MMC). I'm trying to do that using VS2003, C#. The .NET framework version is 1.1 I searched for information and I found a basic sample at the following link:http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/ en-us/managedmmc/html/56f458d3-5c65-4664-8107-2ba04efd7d65.asp I tried to compile the code, but I got an error message "The type or namespace name 'ManagementConsole' does n ...Show All
Visual Basic Startup Programs
Ok i have a made a program but encounterd some problems. My Program is acutally a reminder program where it will show a msgbox the user when it is time. 1.) I want to make it a startup program and i know to do that i have to put the .exe file under C:\Documents and Settings\user\Start Menu\Programs\startup. But if i distrubute this program with an installer, lets say with clickonce publishing which is the default. How can i make the installe ...Show All
Windows Forms No Response When Opening a .EXE Via HTTP
We have a VB.NET 1.0 app that is deployed on our intranet so it can be launched via a http://server/dir/myprog.exe URL, but it is not working when we try to launch it on our corporation's new WinXP SP1 image (it does work on all Win2K ...Show All
SQL Server Large objects and the transaction log
Hi there! I'm a little bit in doubt because of the behavior of the transaction log in the case i have large transactions inserting and deleting a lot of (i.e. 100) large objects (data type image) with a size (each) about 20MB. I expected that the transaction log should grow with 2GB each of this large transactions. But it does'nt. Are these large transactions not logged - so that in case of disaster all lobs since last diff- or full-backup ...Show All
