SQLMonger66's Q&A profile
SQL Server change the background color in table in report
I have a table that i need to display data for each row I want the background color to be diff anybody knowhow to do it color blank color blank Try using RowNumber instead of RowCount. The code is placed in the background color property. Choose the color dropdown and look for the <Expression> option. Select that, and add your code there. ...Show All
Community Chat Physics Calculators
Hi there, I've created this program which will do A-Level Physics Calculations for you. Oh course you will not use it in an exam, it is just to help you. It tells you the method everytime you do an equation so you learn. The calculators I've put on it are as follows... Velocity Calculator Constant Acceleration Calculator Object Force Calculator Gravity Force Calculator Kinetic Energy Calculator Potential Energy Calculator Mechanical Energy Calculator Momentum Calculator Mass-Energy Equivalence Calculator There is also a error report program built into the program so if there is any problems, they will be sent to me through email. Please no spam Please take note that I am only 13, so if any of the equ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Loading 3D Landscapes
Hello, I would like to start this thread as hopefully a complete how-to with 3D Landscapes until the documentation is availalble. Here are my initial questions: These would pertain more for those that want a shooter or mmorg, but useful for all! 1.) How would one load a 3d heightmap and view it 2.) How can you apply splatting to the landscape using alpha maps 3.) How can one go about paging the landscape ie: each sector would be (say 512 x 512) - how can you load/unload the maps to save resources. 4.) Performance - why choose .png over .bmp or .jpg for heightmap, alphamp and textures Maybe this site helps: http://www.riemers.net/eng/Tutorials/XNA/Csharp/series1.php ...Show All
Visual Studio Express Editions How page posting when press enter from TextBox control?
(C# ASP Net 2.0) I want page posting when i input some number in TextBoxt control then press Enter keyboard like click button in the page. Can you help me Thanks, How about setting the AutoPostBack property to true in designer - or through code: TextBox1.AutoPostBack = true ; Also, for future reference, the question would have been more appropriate on the http://forums.asp.net/ forums. Good luck! ...Show All
Silverlight (formerly WPF/E) Using the downloader for downloading the XAML
Hi, Is it possible to use the downloader object for downloading the XAML that contains the WPF/E content and control its rendering For example start rendering only after 50% was downloaded Thanks, Keren It is possible to use the downloader object to download the Xaml (as documented here ) but it can't control the rendering. However, you could easily achieve the above by splitting up the Xaml into two or more files and then adding the additional items as they are downloaded. So you could have the first file just contain the canvas and maybe a background and then use the downloader to pull the remaining items in one or more other files. ...Show All
Visual Studio 2008 (Pre-release) Timeout maximum value in config file
What is the maximum value for timeouts, like receiveTimeout for netNamedPipeBinding I'm trying to set as large a value as possible: receiveTimeout="23:59:59" If I set the hours, minutes or seconds to larger, then my app crashes on start-up. I also tried putting receiveTimeout="10.23:59:59" (According to Timespan documentation, the number before the period should indicate the number of days). However, if I set the number of days to larger than 23, I still get a crash -- which makes me think that "10.23" in the above examples is being parsed as 10.23 hours, and then that is added to 59 minutes 59 seconds. So, what is the maximum value for all these timeouts Can tell it to *not* timeout, ever ...Show All
Visual Studio Team System FX Cop: Your Opinions Please
I'm a Visual Basic developer that is making the move to C#. One of the things I'm doing this time around is taking care to pick up all the best practices that I can stuff into my noggin'. I've heard that FX Cop is a good tool to start with right out of the gate (even for tiny hello world programs) because it can teach you standardized ways of doing stuff. I'd like to use well accepted C# community standards in my learning so that they become just a part of the way I use the language. I'm wanting to cast off habits I've picked up in VB. So I'm looking for opinions of FX Cop - good start in all of this - yes/no I'm currently developing in VB.NET 2.0 I'm working on learning C# though - I'd like to ...Show All
Visual Studio Express Editions please help me
i want work project finger print useing vb how,where start I'd contact the specific fingerprint reader hardware manufacturer and ask them about obtaining API's or a SDK to work with there device. Once you have this you should be in better shape to see how to use the device - often the documentation has simple examples which are in VB or can be converted to VB. ...Show All
Visual C# can i change the language of any thing?
hi i want change the language of textBox or any thing in my form. how can i do i want change the language automalically when the form is load (C# programming) You need resource files (.resx) containing all the required strings for each language (one for English, one for Portuguese etc.) and then you need to access via your class. You'll need the System.Resources and the System.Reflection references. The actual resource file should be named in the following style: MyResources.[Language Culture code] in order to identify which language they are: Example: MyResources.fr-FR.resx is a french language resource file. Create a resource manager in your class (as follows): private ResourceManager resourceManager = ...Show All
Visual Studio Team System Viewing a list of WorkItems from a Project Portal Site
Hi, I know this question might sound somehow strange, but we have a case in which we need to access a work items list for a specific project particularly bugs from a project portal. I know that you can access a specific work item through its id from the browser through the url format: http:// <TFS Server Name> :8080/WorkItemTracking/WorkItem.aspx artifactMoniker= <WorkItem ID > I know also that you can access the project portal through the URL format:: http:// <TFS Server Name> :8080/sites/ <Project Name> /default.aspx The problem is that there is no way to access a list of work items (i.e. Work Item Query) for a particular project from the project portal site !!! Please advise. ...Show All
SQL Server Integrate more than one SSIS packages into one package
Hi I'm new to SSIS field. I'm importing data from flat files to sql server 2005 through SSIS packages. I have around 30 packages which transfers data from flat files to corresponding database tables. I want a single package that will run all the 30 packages by running that single package. Like in a single stored procedure we can run multiple stored procedure, I want the same solutions for my packages. Is there any method which can solve the above issue Please kindly guide me . Its urgent. please reply soon. Thanks in advance. Rafael is right on about package configurations. You can find info on this here, here and here. ...Show All
Visual Studio Getparameters()
Hi everyone, Please help, I had tried to setup the parameter said deptno on the report designer. When on the coding I call the GetParameters. I got the error message that deptno is read only and cannot be modified. Anything that I need to setup or ----------------------------------------------------------------------------------------------------------------------------------------- Public Sub DrillthoughEventHandler( ByVal sender As Object , ByVal e As DrillthroughEventArgs) Dim key As Integer Dim localreport = e.Report Try Dim Params As ReportParameterInfoCollection = localreport.GetParameters() Catch ex As Exception MsgBox(ex.ToString) End Try End Sub ------- ...Show All
Visual Basic Activate new form on button click
Can anyone pls tell me. how to activate form2 on click of a button of form1 in vb.net 2.0.. Thank you. What seems to be the problem - if you have a form reference simply call the activate method on the reference to activate. Public Class Form1 Private form2ref As Form2 '//Hold the reference to the form Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click '//Create New Instance and set reference variable Dim x As New Form2 form2ref = x x.Show() ...Show All
.NET Development CodeDom and Override.
I am declaring an implementation of a method like: CodeMemberMethod initMethod = new CodeMemberMethod (); initMethod.Name = "Init" ; initMethod.Attributes = MemberAttributes .Public | MemberAttributes .Final | MemberAttributes .Override; But the code that is getting generated is: public void Init() Any ideas on what else I need to do to get the override to be recognized Kevin Ah that explains it. If you want to override the method in the class you're defining then use MemberAttributes.Override to generate the override modifier. You are now overriding the abstract method defined in the base class. If you don't want to override method then leave off th ...Show All
Visual Studio Express Editions How to add database sql server 2000 in vb.net 2005 express eddition pls help
i have installed vb.net 2005 and ofcourse sql express 2005 in clientmachene... (o/s is windows 2000 professional) .. sql server 2000 is installed in my server.. know if i want to connect data base ie sql server 2000 . i do like this... i've also installed visual web developer 2005 express eddition in the same client machine when i want to connect to the same database from vwd 2005 e.eddition.. and go to TOOL>CONNECT TO DATABASE i will get only 4 data source options... Microsoft Access Data base File Microsoft ODBC data source Misrosoft SQL Server Microsoft SQLServer Database File ORACLE database File so i chose Microsoft SQL Server adn dataprovider is .Net framework Data Provider for SQLSE ...Show All
