Bruce Hamilton's Q&A profile
SQL Server Memory consumption in Nested Loops
In general, is there a difference in memory consumption between an Inner Join and a Left Outer Join in a Nested Loop Not really...obviously, an outer join typically produces a larger result set than that of an inner join, so that would obviously contribute to more memory consumption, but the joins types themselves would have no impact on it... ...Show All
Windows Forms New whitepapers for building DataGridView custom cells and columns
Hi all, We just posted two new whitepapers about building custom cells and columns for the DataGridView control: Building a custom RadioButton cell and column for the DataGridView control ( Source and Sample Code ) Building a custom NumericUpDown cell and column for the DataGridView control ( Source and Sample Code ) The docs, source code and sample code are under http://www.windowsforms.net/WhidbeyFeatures/default.aspx P ...Show All
.NET Development ProtocolType in Socket constructor
Hi, Do anyone knows where to find info about the Socket.ProtocolType enum values TCP and UDP are obvious, but does IP mean that raw IP packets will be used In that case, will the sockets take care of fragmentation and duplicate packets I don't think MSDN was clear on this. The reason I'm asking is because I would like to route different IP packets over different interfaces. ...Show All
.NET Development Using MFC lib in .NET project
I have a library file for manuplation of Djvu file but I want to use that library file in my C# project.Is there any way to do that there is probably no direct way to do that, you need write some wrappers, see Consuming Unmanaged C++ Class Libraries from .NET Clients http://www.codeguru.com/cpp/cpp/cpp_managed/interop/article.php/c6867/ ...Show All
.NET Development Converting between Ver 1.1 and ver 2.0 .net
Howdy, I have just written a small program in VB 2005 in .net framework 2.0, i wondering if there is a way that the executable could still run in ver 1.1 as i have been getting errors (ie not compatible!) The program is very simple, and i dont think i use any new "fancy" parts of 2.0 (I am very new to VB and .net....like today) thanks... Dwayne Ok, I tried a small experiment and Yes, you are correct. ...Show All
Visual Studio Team System Unable to create project and other failures
Version: Beta 3 refresh I'm not able to create a project from my Team Explorer, the log stats this: -------------- 13-12-2005 12:00:18 | Module: ELeadServiceMediator | Team Foundation Server proxy retrieved | Completion time: 0,312496 seconds 13-12-2005 12:00:18 | Module: ELeadServiceMediator | The template information for Team Foundation Server "Teamserver" was retrieved from the Team Foundation Server. | Completion time: 0,078124 seconds 12/1 ...Show All
Visual Basic Playing a sound file
This may have been answered before i am not sure, i am running Visual Studio 2005 beta, i would like to know how i can play a sound file in the background when someone opens a form. Any ideas There is a SoundPlayer class in v2.0 of the framework: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=50999 ...Show All
Visual Studio Express Editions Unable to build application from a project when not connected to a network
Hi all: I used my company laptop at home (with wi-fi) and tried to "build" an application. It always failed. It even failed on a project with one form and no other object. The error message was: "Unable to write to output file 'C:\Documents and Settings\user\Local Settings\Application Data\Temporary Projects\WindowsApplication1\obj\Release\WindowsApplication1.exe': The specified image file did not contain a resource section." & ...Show All
Visual Basic System.DllNotFound Exception
I'm migrating from VB 6.0 to VB.NET 2003. There is a particular file abc.dll that I'm not able to add reference to, though its a dll file. When I try to reference it, the error is 'This is a not a valid assembly or COM component. Only assemblies with extension 'dll' and COM components can be referenced. Please make sure the file is accesible, and that it is a valid assembly or COM component' How can I reference this file ...Show All
SQL Server Problem with multiple datasets
Hello. Here is the problem: There are 3 datasets in my report: ds1 ------- select id1,field11, field12.... from table1 where field11=@param11 and field12=@param12 .... ds2 ------- select id2, id1, field21, field22 from table2 ds3 ------- select id3, id1, field31, field32 from table3 ds1 contains a data for main part of report, ds2 and ds3- for it's tables. there are references: table1.id1=table2.id1 and table1.id1=table3.id1 i set values of @par ...Show All
Windows Forms Welcome back Ken
I haven't seen Ken Getz in a while. Have you been on vacation 8) Hey, thanks! No, I got sidetracked writing for about 8 months. I just didn't make the time to get up here and chat during that time. I am on a lull& ...Show All
Visual Studio Team System Code Coverage not worknig properly during a team build
Hello I have a problem with the team builds. In my proj file I have specified to build my solution, to run tests without specifying any test list. All my tests run correctly. I have a web site referencing four other DLLs. As I want to enable code coverage for my DLLs, I have edited the testrunconfig file to enable code coverage. So I select my four DLLs (in release mode) in the CodeCoverage tab of the editor. When I launch my build ...Show All
SQL Server post SP1 hotfix
Just curious, I'm reading about the SQL Server 2005 post SP1 hotfix and it looks like you need to install the packages in order: SQL Server Analysis Services Integration Services Notification Services Reporting Services Tools My desktop is configured as an Analysis Services and Integration Services instance, but without the SQL Server proper components installed. What should my install order be Does important note 3 about S ...Show All
Visual Studio Express Editions A problem with CreateWindow
#include <windows.h> LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ; int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) { static TCHAR szAppName[] = TEXT ( "HelloWin" ) ; HWND hwnd ; MSG msg ; WNDCLASS wndclass ; wndclass.style = CS_HREDRAW | CS_VREDRAW ; wndclass.lpfnWndProc = WndProc ; wndclass.cbClsExtra = 0 ; wndclass.cbWndExtra = 0 ; wndclass.hInstance = hInst ...Show All
.NET Development How to encrypt a SOAP response
Hi, I wonder how we can encrypt the response using WSE2.0. Thanks, Justin Hi Justin, This will help you. http://www.theserverside.net/articles/showarticle.tss id=InteropWSE thanks, kedar ...Show All
