DonRon1972's Q&A profile
Visual Studio Team System On the rule DoNotInitializeUnnecessarily
FxCop flags a warning when it detects initializations that were already supposed to be have done by CLR; for instance: int _StartIndex = 0; While this is redundent initialization, I think it's good practice to include it to make it explicitly clear that your code relies on the default initialization of CLR. This is extremely helpful when doing code modification later because there may be many methods which might assume above initialization and ...Show All
SQL Server Sequencial Desgin Limitation on DataFlow Task?
Sequencial Desgin Limitation on DataFlow Task Inside dataflow task, is seems like it is sequencial only, there is no constraint definable there, only data view definition allowed on the path. which means I cannot achieve this: One file source, if one data field is in value-a, I want to dump it to Table-A, if the data field is in value-b, I want to dump it to table-B by using two SQL server destination. Is my understanding correct The only way ...Show All
SQL Server Problem launching Report Builder
Hi Everybody, I am running into a problem when trying to run Report Builder from any Report Server. When I click on Report Builder the application starts dowloading but stops at about 2mb and returns the folowing error: "Unable to retreive application files. Files corrupt in deployment." Details are as follow: (I have .Net Framework 2.0 installed, and the Report Builder is working on other machines connecting to the same s ...Show All
Visual Studio Team System Sharing profiling reports
I have created several profiling reports out of the performance explorer. What do I need to check in to our source control in order for other developers to open the reports One thing to realize is that VSP files have the potential to be huge, especially on the instrumentation side, and typically huge versionless binary files are not a great fit for source control systems. A file share might be a bet ...Show All
Game Technologies: DirectX, XNA, XACT, etc. GameOS source code availability
It seems once I get started, there is nothing stopping me. What can I say, I've got a gift for long posts. :-) With a release of partial GameOS src from me in hopefully just a few days (it will initially be just a "tarball" in 7-zip format), and I've got a feeling that could in itself generate a bit of traffic (in e.g. number of posts) - in the name of trying to keep the XNA forum reasonably on-topic, I'm looking for input on ...Show All
.NET Development Direct3D and Graphics object
Hi I am working on maps visualisation software - I have decided to draw outlines and vertex rectangles using simple GDI+ and map content using Direct3D (for Performance issues). Effect is quite impressive but I have no Idea how to avoid flickering of GdI+ drawing. I am callin GDI+ render right after device.Present() method so first direct3d content shows up and then Gdi+ . I have did some improvments to avoid unnececery renderings but applicatio ...Show All
SQL Server Script Component Connection Management
Hello, Greetings, and Happy Friday. I want to check myself in regards to the proper use of connections in a data flow script component being used as a transformation. I want to ensure that the solution is ideal from a performance standpoint, but more importantly that there won't be any resource leaks from connections that are not being closed or objects that are not being disposed properly. This transformation script component is writing to a ta ...Show All
Windows Forms Passing base as parameter
I have a class that inherites from another class. I launch a WindowsForm within this class and I need to access a function of the base class within this WindowsForm. Any ideas how to do this This is what I use in basic: class BaseClass{...} .. ...Show All
Smart Device Development Writing/Reading to an XML file
Can this be done ive used Datasets for windows applications, but when i try to use the same approach it doesn't work for pocket pc smart device applications. Thanks in advance. Yes, DataSets are supported and they do have ReadXml() and WriteXml(). Since you neglected to mention how exactly it does not work for you, I'll list common mistakes: - Using drive letters for XML files (devices do not have drive l ...Show All
SQL Server FireFox 1.5.0.1 w/ SRS 2000 Toolbar Broken
I'm having a problem with report rendering in FireFox 1.5. For some reason the toolbar is about 200px high with some of the toolbar icons wrapping. Worse, the toolbar doesn't work. The first/next/back/last icons don't work and the page number textbox is disabled. Export doesn't work either. So basically it's not even useable. I've read that offically the Find/Print features are not supported for Fir ...Show All
SQL Server Handling null in a result
------------------------------------------------------------------------------- --if the following is null, then do not print substring (m.gldebitacct, 1, 6)+ '.' + w.wo2 + '.' + w.wolo5 + '.' + substring (m.gldebitacct, 8, 7) + '.' + w.wonum as PROJ, ------------------------------------------------------------------------------- How do I ignore the row that contains a null and move on to the next record hanks, dave Yo ...Show All
Visual Basic Changing application settings from within the program?
I've looked through numerous past postings about this, but none really address the issue of updating an application setting (ie, a connection string) from a running VB program. Assume all the required stuff is in place (admin user...) This seems like something that lots of applications would need to do during install or first run, or while creating/initializing additional databases. First, it's clear that My.Settings. can't do this.& ...Show All
Windows Forms Bind to GeometryModel3D Material
hallo, I really like the flexibility that XAML and avalon introduce into 3D vector graphics. So I've created a listbox that has it's items style with two viewport3D's. I've also created a loop in the codebehind that inserts items into the listbox. Each of these items is assigned the defined 3D style with 2 viewport3Ds. So what I have is a listbox with 3D button items. However, assigning a different material to the geometrymodel3D in the ...Show All
SQL Server FTP Connection Manager: Set FTP password using a variable
Hi, I want to setup an FTP task that is portable in the sense that all it's connection parameters are stored in variables. I can create expressions for properties ServerName and ServerUserName but not the ServerUserpassword. Is there an property that I missed, there seems to be properties for everything else except the key piece of info, the password. I could create a script component using the FtpClientConnection method as a las ...Show All
Visual C# Transferring data from one form to another, is it possible?
More specifically, I have a form that has as combo boxes on them. When this main form loads, it retrieves data from SQL and I bind these combo's to data tables. However, I manually put an item named <create new customer>. If the user selects that option from the combo, I popup a new form that contains all the customer fields they need to populate. When they click save, what I would like to do is either save the data back to the sq ...Show All
