Kiwi Ranger's Q&A profile
.NET Development Memory leak Win32 heap
All, We have a serious, and very difficult memory problem: We have build a .net program in C# wich bundle files and exports files. This all trigered via an Oracle database connection. The program is well tested on several servers (first a development, then acceptance server). followed by the release on the production servers. On the development and test server, there was no single memory problem. But when we start the program on the production server, it takes immediate more memory (10MB on test, 20 MB on prod) even when it has nothing to do (no queue messages on the Oracle queue). When we start using the program, the free memory on the server decrease very strong. We used following tool to find where the memory is go ...Show All
Visual Studio Express Editions Loading a CSV file INTO a DataGridView control
This one is something interesting. See this original post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=240197&SiteID=1 I took this one up to try and learn something. But, now have become a bit obsessed with solving it. Ok, assume the following: Dim fromFile = "test.csv" Try Dim ConnectionString As String ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\log2\test\;Extended Properties=""Text;HDR=Yes;FMT=CSVDelimited""" Dim ExcelConnection As New System.Data.OleDb.OleDbConnection(ConnectionString) ExcelConnection.Open() Dim da As New System.Data.OleDb.OleDbDataAdapter( "Select * FROM " & fromFile, ExcelConnection) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. bounding boxes
I am having trouble with bounding boxes. I am not sure if I created it right or if I am using the intersect lines properly. I started programming with turing where I just used the variables coordinates of the pictures to detect intersection. This is what i have so far. BoundingBox car = new BoundingBox ( new Vector3 (spritePosition2.X, spritePosition2.Y, 0), new Vector3 (myTexture2.Width, myTexture2.Height, 0)); BoundingBox incoming = new BoundingBox ( new Vector3 (spritePosition10.X, spritePosition10.Y, 0), new Vector3 (myTexture1.Width, myTexture1.Height, 0)); if (car.Intersects (incoming) == true ) { spriteSpeed2 = -spriteSpeed2; } Ya I have problems with arrays. I'm not sure how to ...Show All
SQL Server The annoying WMI configuration error
I'm recieving the following error: The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine 'machine information' Error: 2147749896 (0x80041008). I've researched the error and found out some people were running batch scripts to reinstall wmi, but none of them worked for me. One of them I gave up on after thirty minutes and it wasn't doing anything. Please give some suggestions on how I can resolve this issue. TITLE: Microsoft SQL Server 2005 Setup ------------------------------ The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine S1JK9481 Error:2147749907 (0x80041013). For help, click: http://go.microsof ...Show All
Game Technologies: DirectX, XNA, XACT, etc. PNG Alpha Channel
I've imported a semi-transparent PNG to use for a sprite but the alpha channel isn't taken into account. It just renders as a fully opaque texture. How can I enable alpha channel support I used Photoshop CS to make my transparent PNG files and had no issues. In Photoshop did you save your PNG file with a white background still showing I got my image ready, deleted the white background so that the Grey and greyer squares (denoting transparency in Photoshop) were showing, and then saved as a PNG file. After that I simply set my mode to Alpha (as mentioned earlier in this chain) and drew it to the screen with no issues. Hope that helps. ...Show All
Visual Studio Visual Basic Debugger Crash
I have just recently installed Visual Studio 2005 and in my GUI Design class we have opted to use Visual Basic. The problem I am having is that whenever I try to use the debugger by setting a breakpoint, everything goes well until I actually reach the breakpoint. When my program reaches the breakpoint, everything freezes up. I am unable to force quit the program or Visual Studio, or alt-tab to any other applications. The only thing I am ever able to do is bring up the task manager with ctrl-alt-del, but I am unable to kill processes or anything from the window, as it too freezes when I click on the window with the mouse. This is on a fresh install of Visual Studio 2005 on a fresh install of Windows XP Professional SP2. I have all the updat ...Show All
SharePoint Products and Technologies Authoring ASP.Net web forms for use in WSS workflows
Hello, I'm interested in documentation that describes authoring ASP.Net web forms for use in WSS workflows in detail. I'm creating custom workflows using Visual Studio .NET 2005. I've seen a couple of web-casts that describe creating custom workflows, but nothing I've come across describes how to create the ASP.Net web forms. They either deal with InfoPath forms (MOSS 2007 only) or skip over the subject altogether. I've downloaded the WSS starter kit which contains a workflow with ASP.Net forms, but the sample is rather sparse in documentation. I was hoping there would be some sort of definitive resource on using ASP.Net forms with WSS workflows. The part I'm particularly interested in is how data entered into the form gets the the workflo ...Show All
Visual Basic Oracle to Access Table Create No data is seen although record transfers are happening
I am moving a table subset from Oracle to Access. My coonnections are working fine. The data is seen in the dbVal variables. The record count is correct iCnt verses record count in Access, but I do not have any viewable data in the Access table. I put the update line in but can not get it to perform anything but generat error. Set dRead = CreateObject("ADODB.Connection") Set dWrite = CreateObject("ADODB.Connection") ' Open the connection to the database (OPEN method) dRead.Open sConnReadODBC dWrite.Open sConnWriteODBC ' Execute SQL query Table Drop, Create Set rWrite = dWrite.Execute(qAccessDB_Drop) Set rWrite = dWrite.Execute(qAccessDB_Create) Set rRead = dRead.Execute(sCommReadSQL) If (rRead.EOF = True) And (rRead. ...Show All
Visual Basic Detemining the "owner" of a ContextMenuStrip
I'm working on a project that utilizes a TableLayoutPanel containing many controls. The controls can be one of three types, and each type has an associated ContextMenuStrip. I have it working where the ContextMenuStrip is applied to it's respective controls within the TLP, and can show and select items from the CMS, but need to be able to determine specifically what control was was right-clicked to show the CMS or the Point of that right click. Thanks for any help! I've tried doing something like that. I can get to the ContextMenuStrip itself, but can't find a property that tells me what control it was opened on.. DirectCast(sender, ToolStripMenuItem).Owner.Location *I've been using the ContextMenuStrip's ...Show All
Visual Studio How to tweak the OutputPath on a Visual Studio .NEt 2005 solution
Hello. I know that this kind of question has already lead to much writing on this forum. I've been digging, with no luck. I explain my need. Context and requirements I am compiling a MS Visual Studio .NET 2005 solution on the command line via a 'msbuild.exe' call. This solution contains several C# projects, with a dependancy graph. By default, each project output path is set via the MSBuild ' OutputPath ' property, defined with the value ' bin\$(ConfigurationName) ', which imposes the output artifacts to be created related to the Visual Studio C# project location on the hard disk, in the directory ' bin\Release ' related to the directory containing as a child the project, in release mode. What I need, is to set this ' OutputPath ' direct ...Show All
Visual C++ CEDIT Base Class
Hello all, It would seem that the Class Wizard wont give me the option of creating a new class with the base class of CEDIT. CEDIT does not appear in the pull-down. you are not Doing .that Doesn't mean that things are not there.you also can use Extra Functionality with the help of taking support of WTL in ATL.Hope you Will get Some good things Thanx ...Show All
Visual Studio Express Editions Dll install
I have a dll but I don't know where I can leave it to so that C#Exp can recognize it I tried system32 and installed directory of C# but none of them worked. Could you tell me please Thanks a lot Ohla Davio wrote: Could someone please drink some coffee to stay up a little longer helping me out Or please wake up, it's already morning. I really need to do this quick, this very urgent and dissapointed ! Hi buddy, go to project->add reference Then check if your dll is in place The directories u told aren't the places C# knows, it is Microsoft framwork folder ...Show All
Visual Studio Sandcastle support for 'Members', 'Methods', 'Properties' etc. pages
Sandcastle currently only adds extra pages for overloads. In MSDN VS2005 documentation (and also NDoc) there are extra pages below the main page for a class which act as TOC nodes for lists of all members, constructors, methods, properties, events etc. Are these extra pages planned for Sandcastle In one of the blogs about how the documentation model works these extra pages are mentioned (see http://blogs.msdn.com/sandcastle and read the section below " Small Reference Build "). However, only the "overload" nodes seem to have been implemented. I notice an AddMemberLists.xsl in the ProductionTransforms directory. I am guessing that this may have been designed for the purpose. However, it only mentions Methods and Proper ...Show All
Software Development for Windows Vista Breakpoint not being hit while debugging
Hi, I'm working on a POC using Workflow Engine. Its a sequential workflow. I'm instantiating the workflow on selection of a list box item. The problem is that, I'm unable to debug the workflow. I've put a breakpoint on one of the activities to debug through the code. The Breakpoint is not being hit by the debugger. Please help. If the workflow project is not the startup project then you will be able to set breakpoints in the code beside, but won't be able to set them on activities. You must follow the steps that Matt suggested to do what you want. When the workflow project starts the workflow debugger will be started and then the application pointed to in the workflow projects Startup Action will be started, in your case the ...Show All
Visual Studio Microsoft.WinFX.targets is stealing the Microsoft.Common.targets for itself!
I installed the latest bits and was trying to craft a .csproj using our own msbuild customizations which override some of the "meant to be overridden by customers" targets from Microsoft.Common.targets such as "AfterCompile". I noticed that the stuff that we wire into "AfterCompile" did not take place during the build. Upon investigation I discovered that Microsoft.WinFX.targets is overriding our override of "AfterCompile". So if Microsoft is going to start using these targets in their own project systems, then how are we supposed to be able to work-with/extend/customize the build I am hoping for an answer such as "Oh that was just expedient and before long that will be corrected in ...Show All
