BioGeek's Q&A profile
SQL Server How to control caption for the bit attribute?
Hi Gurus, Have anybody idea how to control the caption of bit attribute The default is True/False. 1. How to force the AS to show Y/N or Yes/Now t . 2. How to force the AS to show localized bool string (Wahr/Falsch, / ). I can create table like ID Caption 0 Yes 1 No Or calculated fields in UDM but all it awkward. I have about 50 bit attributes in all my dimensions. It would be too expensive to devote so much attension to every bit attributes. If you have a table as described, with a bit column (ID in your example) and a character column with the value you want displayed (Caption in your example), then you can create the attribute in your dimension so that ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Error Trying To Load MechCommander2 Build Prog Into Ms Visual Studio
Hi! When I Try To Load It In I Get This Message "D:\MechCommander2 Source\BuildProj\MechCommander2.xnaproj (5662,): error MSB3073: The command "dodate.exe "D:\MechCommander2 Source\\Source\code\version.h"" exited with code 9009." Can Anyone Help Me With This ...Show All
Visual C# Making an advanced settings form
I am working on a user interface that needs to have a form added for advanced settings for the program. I have added a button and set the event handler for the button to call up the new form, but I am unable to get the program to take any of the settings from the advanced form. Everything is under the same namespace, but it will not find them, so when I try to build my program I get an error for each time that one of the settings from the advanced tab is called out. Is there a call out that I am forgetting, or do I need to change each callout to reflect that the setting is on a different form Thanks SVandal Yes, the AdvancedForm has the x_counts numericU/D control on the AdvancedForm.cs (design). I went in ...Show All
Smart Device Development .NETCF2 SP1 serial port memory leak
I use .NETCF2 SP1 serial port class, my application leaks a lot. Basically, I have a GPS device on an IPAQ 2210 connected via a serial cable into com1. I use the Receive event to start a new thread. Once in it, I loop round checking for data. While not the most elegant of ways to do it, it stops new threads being created / exited every second. The port.ReadExisting seems to leak a few KB every 10 seconds or so. Any ideas SP1 applied to VS2005 and handheld. Thanks Code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Diagnostics; using System.IO.Ports; using System.Threading; namespa ...Show All
SQL Server ADO Recordset from SQL Task issue
Dear Folks, I have a Foreach Loop that enumerates a set of files from an ADO recordset variable which is populated by a preceding SQL task. The query from the task that populates the recordset returns about 200 rows with one varchar field(a file path). The loop is long running, and so far it errors on the connection string populated by the enumeration variable after about an hour. The timeout for the SQL task is set to zero. Could it be the source recordset variable timing out, or could it be that the recordset is too large Thanks, Chris This is odd. there certainly could be a bug somewhere in the recordset object itself (in the interest of full disclosure, I wrote the code for the ADO Recordset object back in '96 :) ) If you d ...Show All
Visual C# text formatting tools in textarea or textbox????
i want to create text area for writing announcement; how can i do this text area or textbox like we are writing here ; i mean the above the area that we are writing our questions here have cut button, underline button, bold button, text color button vs. we can format our text like a word document here, how can this controls box can design; is anyone have idea; please help me; how must i do or where must i start; is it too hard if you mean webforms look at http://www.fckeditor.net/ look at a demo http://www.fckeditor.net/demo/ if you want winforms use richtextbox look for an example here http://www.codeproject.com/cs/miscctrl/richtextboxextended.asp ...Show All
Visual Studio Express Editions relays...
Could someone point me towards some material on programing with the serial port or if someone saw a post on a site like hackaday that uses serial port programming. I am trying to be able to control 4 relays (or i can start with 1) over the serial port. or usb, you decide what the best thing would be to use. Thanks to all the people who post on msdn forums.. Average Joe Check out this web page for wiring info. If you get a RS-232 DB-9 connector from Radio Shack, you can see the pin numbers marked on the connector body, just barely visible... ...Show All
Visual Studio 2008 (Pre-release) XBAP Browser Check Sample
Where can I find an example of a browser check for an XBAP application There is a script example on this page in msdn . If you "Publish" a project using Visual Studio, I believe it: 1) builds a setup.exe to install the .net framework for any users who don't have it already 2) builds an html page that links to the ".application" or ".xbap" if .net is installed. It will link to the setup.exe if it is not. Hope that helps. Thanks, Rob Relyea Program Manager, WPF Team http://rrelyea.spaces.live.com ...Show All
Software Development for Windows Vista initialization parameters to the activity
Hi, My scenario is like this. I want to have initialization parameters for an activity. User has to give values to these initialization parameters at the design tim. If not, give appropriate information to the user to fill those parameters. Is it possible to implement this scenario in WF -Chakri. Yes. If you download the Windows SDK, you will find custom activity samples that show how to do this. Here's what you have to do - Inside the code view of your activity, if you are using VS, right click and then choose the following in order when something pops up. Insert Snippet -> Workflow -> DependencyProperty It will autogenerate the below code for you. You can modify the property name ...Show All
Silverlight (formerly WPF/E) Can't catch Ellipse.MouseEnter in an EventTrigger element
Hi there, I want to have an animation that starts playing on the MouseEnter event of an Ellipse object. If I use the following XAML then the animation starts playing immediately: < Ellipse x:Name = " circle " Height = " 116 " Width = " 116 " Canvas.Left = " 12 " Canvas.Top = " 12 " Stretch = " Fill " > < Ellipse.Fill > < SolidColorBrush Color = " Blue " /> </ Ellipse.Fill > <!-- Animations --> < Ellipse.Triggers > < EventTrigger RoutedEvent = " Ellipse.MouseEnter " > < EventTrigger.Actions > < BeginStoryboard > &n ...Show All
Visual C++ Newbie question about classes
Hi, this is the declaration of a class for handling matrices. http://doc.coin3d.org/Coin/classSbMatrix.html In this way i create an object SbMatrix: SbMatrix a=(1, 2, 3, 4, 5, 6, 6, 3, 5, 6, 6, 6, 5, 6, 3, 9); How can i print the content of that matrix and How can i give values to each one of its components no, he was right the array has 16 elements, and is zero based, so it has indexes 0 through 15. you need to use either of these two lines: [code] for(int i=0;i<16;i++) for(int i=0;i<=15;i++) [/code] (i personally prefer the first one, but either one is correct) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Getting codeplex to work with C# Express
Hello, So, I have VS 2005 with the Team Project used with codeplex.com However VS2005 can not load Windows Game Application So Anyone got an idea on how to use codeplex with XNA and C# Express Regards, Chryso One of the restrictions on the Express products is that they do not have the source control plugins like the larger products, but to use codeplex with the express systems I would suggest using the Team Explorer Client. http://www.codeplex.com/CodePlex/Wiki/View.aspx title=Source%20control%20clients&referringTitle=CodePlex%20FAQ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where is the exDream Racer game?
I'm wondering where that game left... It is not showing up in the templates. Hi ,abi I hope you can finish your book as soon as possible. I am looking forward to read your book. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Smoke Image Problem?
Hi all, i found smoke Image in internet, But the image background is black color, How to set black color to transparency(C#) Best Regard, set: device.RenderState.AlphaBlendEnable = true; device.RenderState.SourceBlend = Blend.One; device.RenderState.DestinationBlend = Blend.One; for details and more importantly equations on blending check the managed directx help file in the sdk install path, and locate 'Alpha Blending' ...Show All
Visual Studio Express Editions Graphics Manipulation
Hi All, care to share if it is possible to zoom in and out on bitmaps/JPEG images just like when we are using other software like photoshop or Adobe PDF under the Form environment Pls advice. Thanks in advance. Add a panel and a picturebox to the panel. Set the picturebox SizeMode to autosize. Set the panel autoscroll to true. Now if the picture gets larger than the panel then scrollbars will appear. ...Show All
