RAGOpoR's Q&A profile
.NET Development Maximum size of collection
What is the maximum number of items that can be stored in a collection What will happen if I exceed this Many thanks, Michael Most collection objects wrap one or more arrays, and the maximum array size in Microsoft's .NET implementation is 2,147,483,647, even with a 64-bit environment. Consequently, most collections have that as a limit. I'm not sure what happens if you hit this. With a 32-bit environment, you'll run out of address space before you hit this limit, and encounter OutOfMemoryExceptions. -Ryan / Kardax ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Strange DX9 vertex glitch
As seen in these two screenshots, Glitch 1 Glitch 2 In reality, I don't know what's even happening to my vertices. This doesn't happen from the beginning of the program execution, it happens randomly during the execution about a few minutes into running it. Once it happens, it will happen more frequently and sooner during the program execution when I re-compile and run.I just don't have a name for this. It happens to a handful of random vertices. I would like to think my vertex buffer is being corrupted, but when I use the D3D Debug tools, the problem doesn't happen at all.For more information, the first picture contains geometry that is rendered directly to the screen. In the second, I'm rendering geometry first to a render target, and ...Show All
Software Development for Windows Vista How to use Oracle 9i with TransactionScope in .Net 2.0
Hi, I want to use TransactionScope with Oracle 9i. What is difference to MS SQL Server Oracle does not promote the distributed transaction. This error comes directly from the System.Data.OracleClient API -- Not from System.Transactions. The best people to contact to determine what those numbers mean will be the OracleClient folks in System.Data. If they say that error 6106 means something fatal happened with Transactions then we can take a look at it (with additional information asked by Jim above). As it stands the Transaction's team has no insight into the error codes returned from various 3rd party vendors or what this particular error from System.Data.OracleClient means. ...Show All
Software Development for Windows Vista manualy selection of audio and video codecs
As i am using RTC (SDK) with C#. I found a bit problem with its default codec selection. As the best codec and the frame size will be selected for different conditions. The changes will happen dynamically during the call. But i want to do it manually i want to select my own codec among the available and supported codec list. So is it possible to do so if yes than how ...Show All
SQL Server Using Array Variable in ForEach Loop Container
Dear all, I have a problem using SSIS since I was a beginner, the problem is I have to do some data transform from flat files into database. These flat files come from many branches of my office with the file structure like this D:\SSIS\branch_nm\file_nm.txt, in folder SSIS there are many branch_nm folder and each branch_nm folder contains many flat files. My idea was grab the branch_nm folder into array variable using Script Task and then loop this array variable using ForEach Loop Container to get the file and using it for Flat File connection, but I don't know the way to do it. May this idea work out for sure How to use array variable, that we previously defined inside Script Task, in ForEach Loop Container Thanks in advance ...Show All
SQL Server Earlier question on ODBC compatibility
Hi Chris: I am sure as you are aware only data adpaters in SQL 2005 out of the box are .NET Frameworks, in your answer to Stoobs, you state the ADO.Net framework does not have all the APIs. We're experiencing the same problem with the product and ODBC. Unfortunately we have a legacy MUMPs DB (that KBSQLODBC layer sits on top of, its a flavor of SQL from Knowledge Based systems) that our vendor is not going to update. Given that, how can we address the ODBC driver problem with SQL 2005 Is there going to be an update to ADO.NET Thanks, dfreshman The trick to this was knowing not to use the Data Source View. I had to create the Data Sources, add them to the connection manager make sure their ...Show All
.NET Development CompilerParameters.ReferencedAssemblies issue
Hello, I have a C# assembly that compiled in memory using CodeDomProvider.CreateProvider("C#"). I use CompilerParameters.ReferencedAssemblies to add the referenced assemblies by passing a filename as arguments (e.g. MyAsm.dll). For some reasons, the C# compiler cannot find my custom assemblies eventhough they are registered in the gac. It does find the .NET ones though such as system.dll. Why is that I don't have these kind of problems with the Boo compiler which seems to look up the gac for referenced assemblies. thanks for your help. -mab Hi Mike, Have got the solution for it. Thanks. I included using System.Runtime.InteropServices and it just worked fine. also gave the p ...Show All
Visual Studio Team System Unknown Folder In TeamExpler when view existing Projects.
Under a project all "MySolution" within Team Explorer, I have a folder titled "TeamFoundation" with a red * underneath it. The workitems, source control folder, documentation folder work a usual. How do I correct the issue of the "TeamFoundation" folder Thanks in advance. I am not able to understand your question. Do you mean a VS project stored under source control Or, you mean "Team Build" node with x icon in Team Explorer It might help to attach a screenshot, and any errors you see in event log related to TFS Thanks ...Show All
SQL Server New Server Registration offers no Server Name options
Real newbie question this, I suppose. (Apologies if in the wrong forum!) Have just downloaded and installed SQL Server Express. When I attempt to start it up, the New Server Registration dialogue box appears. When I attempt to enter a Server Name, there are no options in the drop-down box except <Browse for more>, which then offers me neither Local Servers or Network Servers. The machine is running XP Pro and I wish to use the SQL package to develop on the PC as a stand-alone environment while I evaluate it. So what am I doing wrong Many thanks in advance for any help. I have been looking through previous threads and camce across an entry from Mike Wachal, who suggested typing the f ...Show All
Visual Basic OwnerDrawn ListBox items with custom heights?
I've made a ListBox with OwnerDraw=True. How can I specify the heights of indiviual items in the ListBox Simple example to set alternate rows to a different height and draw them with a bigger font. ListBox1.DrawMode = DrawMode.OwnerDrawVariable Private F1 As New Font("Arial", 12, FontStyle.Bold) Private F2 As New Font("Arial", 20, FontStyle.Bold) Private Sub listBox1_MeasureItem(ByVal sender As Object, ByVal e As System.Windows.Forms.MeasureItemEventArgs) Handles ListBox1.MeasureItem If e.Index Mod 2 = 0 Then e.ItemHeight = 20 Else e.ItemHeight = 30 End If End Sub Private Sub listBox1_DrawItem(ByVal sender As Object, ByVal e As System.Windows.Forms.DrawItemEventArgs) Handles ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Chatroom
I personally put up a XNA chatroom to build a community that is already here and to better get to know each other. If you want to quickly inform somebody or get some information or help with something go there. The only problem for me right now is getting idlers in the channel. I know forums are a great way to help people, but sometimes just talking to each other about things like this is even better. Come and idle and help build a community even bigger and also build a place to help each other out. Its XNA Development, its for us. (That would be a sexy slogan). Server: irc.opa-ages.com Channel: #XNA You can use mIRC or any IRC clients in order to get to the chat. X-Tatic wrote: I think ...Show All
SQL Server Displaying Data of a Cube over Web
When you use BI Dev Studio or SS Management Studio to process an Analysis Services database or object, there's a nice dialog box that shows very robust status and progress information. Is there any way to capture this information if you are processing something programmatically Specifically interested in both the ability to capture and display this information to a user when processing via a custom application. Also interested in whether or not there's a way to capture this information to a log (or table) for display and analysis after the fact (or if the custom application is running in a batch mode via a schedule). Thanks, Dave Fackler Hi, I have created an analysis services proj ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Getting started with DirectX and Visual C++ 2005
Hi, My setup environment is Windows 2000 SP4 and I'm using Visual Studio 2005. I'm looking to set environment for using DirectX with Visual C++ 2005. This morning, I tried but without success to install DirectX SDK using file downloaded from following link: http://www.microsoft.com/downloads/details.aspx FamilyId=C72D9F1E-53F3-4747-8490-6801D8E8B4EF&displaylang=en#Requirements Even if I verified that, under system requirements, Windows 2000 was listed, after downloading, I received the following error while trying to run resulting "dxsdk_aug2006" file: &nb ...Show All
Windows Forms minimize, maximize, and close button image...
hey, In Visual C# 2005 express how would I use some images I made for the minimize, maximize, and close buttons, and change the defaults to the ones I made The images are .PNG if that is somthing you need to know... Thanks :) What about this 2 settings Have you played around with these appearance.BorderSize = new Padding (3); appearance.TitleBarSize = 32; The other thing is that the actual images used for the buttons are probably padded already. ...Show All
Visual Basic Invalid Database File Header
I have an application which runs fine on the design station, but when installed on a non-design station Throughs this exception when attempting to open the SQL Database: The header for file 'C:\Documents and Settings\Administrator\PLDaq.mdf' is not a valid database file header. The PageAudit property is incorect. Cannot open database requested by the login. The login failed. Login failed for user File activation failure. The physical file name may be incorrect. I have insurred that the file name inside the connection string matches the physical file name, and I am using the logical file name and not the physical file name in the connection string, the data file is in the same directory on both machines. I have no idea wha ...Show All
