Software Development Network Logo
  • SQL Server
  • Visual C++
  • SharePoint Products
  • IE Development
  • Windows Vista
  • .NET Development
  • Visual Basic
  • Windows Forms
  • VS Team System
  • Game Technologies
  • Visual C#
  • Microsoft ISV
  • Visual Studio
  • Visual FoxPro
  • Audio and Video

Software Development Network >> ernieracer's Q&A profile

ernieracer

Member List

arkiboys
Loki1982
Catalin Zima
dgolds
Serapth
gafferuk
StevenR2
Ryn
DigitalNoise
amit9979
efm01
Jamie Briant
GeoffSeattle
josericardo_jr
LucLuc
Fluxtah
PEng1
dazza33
Bertrand Caillet
Alex-MyRpg
Only Title

ernieracer's Q&A profile

  • Visual Studio 2008 (Pre-release) Possible rendering bug when overwriting a Rectangle edge with a Line

    Hi all, Try the following code... <Grid Name="myGrid" ShowGridLines="False" > <Grid.ColumnDefinitions> <ColumnDefinition></ColumnDefinition> <ColumnDefinition></ColumnDefinition> <ColumnDefinition></ColumnDefinition> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition></RowDefinition> <RowDefinition></RowDefinition> <RowDefinition></RowDefinition> </Grid.RowDefinitions> <Rectangle Grid.Row="1" Grid.ColumnSpan="3" Stroke="Blue" StrokeThickness="2" RadiusX="20" RadiusY="20"/> <Line Grid.Row="1" Grid.Column="1" Stroke="white" X1="0" Y1="0" X2="25" Y2="0" StrokeThickness="2" Stretch="Fill" VerticalAlig ...Show All

  • Visual C++ Why is base class destructor unresolved in Release mode (VS2005)

    Abstract base class, Foo, exists in library F Derived class (from Foo), Bar, exists in library B Module M uses Bar (but never Foo directly). Linking M to B satisfies all external references in Debug mode. In Release mode, however, linking of M complains that the reference to Foo’s destructor is unresolved. This seems inconvenient. It is caused by optimization because if you disable the optimization on M, there is no link problem. Can this behavior be justified Does anyone understand what sort of optimization is happening that causes this behavior Is there a way around this other than either disabling optimization or linking M to F (also setting M’s C++ Properties/Optimization/Whole Program Optimizat ...Show All

  • SQL Server RS OLAP Connectivity Issue

    I’m getting an OLAP connection error from reporting services when connecting to an OLAP database that exist in a different server. I can run reports from an OLAP database that exists in the RS server. Scenario 1: RS on Box1 and OLAP database on Box1 (Both Analysis services and RS in the same box) – I can run report manager from any client PC and render these reports without any issues. Scenario 2: RS on Box1 and OLAP database on Box2 (Analysis services and RS are in different servers) – I can run report manager from the RS box (IE from the RS box and with the User authentication option in IE to use Automatic Logon with current username and password) and render these reports without any issues (If I change the IE opti ...Show All

  • SQL Server keep together

    Hi. I have two groups and a detail row in a table.First is ProductGroup, second is ProductSubgroup and the detail area's name is ProductName. My problem is that I want to keep the detail and the ProductSubgroup (second group area) together.For example sometimes ProductSubgroup is written at the end of the page and the detail area is on the next page or the ProductGroup (first group area) is written at the end of page and the ProductSubgroup (second group area) is written on the next page.And I don't want this.But for example the ProductSubgroup area contains too many detail rows and this time I want to split the records two pages.I hope you help me.Thanks! There are a couple way that you can mitigate this ...Show All

  • Visual C# Passing variables or objects?

    I am fairly new to programming in C# but I have been developing in T-SQL for some time. In SQL there is no such thing as objects so we pass everything with variables. I have seen sample C# code that passes data as a variable and other times as an object. My question is which one is better, for what reason and how would I know when to use one or the other. An example is below. Thanks for your help. Private void Sample1() { Int someInt; String someString; someInt = 1; someString = “test”; DoWork(someInt, someString); } Private void Sample2() { SomeObject someObject = new SomeObject(); someObject.someInt = 1; ...Show All

  • SQL Server How Do I Create Table Relationships?

    I have spend days researching this and found others with the exact same problem but there are no useful replies as people don't seem to understand our problem. Please read this carefully... What is the best way to create relationships between new SQL tables For example, say I want to create a new database with tables for Customer, Orders and Details, how to I relate these tables - Edit via the Dataset designer in Visual Studio 2005 - Use the Server Explorer's Table designer in Visual Studio (not sure how to use the 'relationship' icon) - Use SQL Server Managment Studio Express (SSMSE) Database Diagram - Something else I am using Visual Studio 2005 Standard and SQL Server 2005 Express (SP1). I created a new database in Visual Studio ...Show All

  • Visual Studio Team System using unit test for aspx code behind files

    I raised this question in VSTS - Developers community and was advised to consult here, so posting my original question: Is there a way to write unit tests and get code coverage for aspx code behind files I searched few forums but did not find an answer. And I'm not looking anything outside VSTS (like Nunit or something else), it should be integrated to VSTS and runnable after successful build. From one reply I got in Dev group is there is no way to have automated unit testing with code coverage possible for existing sites developed using ASP .NET 2.0 having traditional code behind files. Is this true Hard to believe that even the topic of "How to: create an ASP .NET unit test" inside MSDN documentation talks about ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Form file not found ?

    I'm writing a game with MDX 1.1 and VS's 2003 and 2005 On my computer i have 2 OSes I've started developing on Vista RTM with VS 2005 Game worked normally on my computer But when I uploaded it to a forum its members reported that it gives a system.iofilenotfound exception (don't yhink about missing data files, they're all at the right place and paths are not ablosute) Then i have switched to XP and ran EXE compiled on Vista with debug. This exception happens when dim frm as new GameForm or frm=new GameForm in sub Main() Frameworks 1.1 and 2.0 and DX are installed on my and members' computers. I have trie all combinations of VS 2003/2005 and Vista/XP I have no idea Help me, please Punkoff wrote: (th ...Show All

  • Visual Basic Menustrip

    Hi, I was hoping that somebody could tell me how to program a "new" function for a menustrip. I want this to reload my program. Private Sub NewGameToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewGameToolStripMenuItem.Click Dim Monopoly As New Monopoly Monopoly.Show() Me.Close() End Sub That is what i have so far the only problem is that it opens a new program then closes the both of them. How do i distinguish the new form from the old or is there a way around this Thats exactly what i wanted to do in the first place. Could you please post a code sample of how to "reload" the form thanks, connor ...Show All

  • SQL Server Display a KPI need the same Dimension on its Value and Target?

    I mean, I have a KPI, it's value is set to a measure of a measuregroup based on a facttable A. and it's Target is set to a measure of another measuregroup based on another facttable B. Now I want to display the KPI, with a given dimension's slice. My question is, is it needed that the dimension I chose must be shared by both the measures of KPI's Value and Target For an example, If I dispaly the KPI with the Promotion Dimention, and the Promotion Dimention has a relation to the KPI's Value's related measure(There's a PromotionKey column in facttable A; ), but it has no relation to the KPI's Target's related measure(There's NOT a PromotionKey column in facttable B). Could I do so The KPI should work similarly to the und ...Show All

  • SQL Server Different SQL server 2005 Editions from the same Installation CD?!

    Hi I have the SQL Server 2005 Enterprise Edition CD and have succesfully installed this on my desktop. When I install this on my Laptop the version is 2000(print @@version) is only Desktop version (2gb db limit!).... Any ideas on why the full enterprise edition is not installing on the laptop !! Version on my Desktop: MICROSOFT SQL SERVER 2005-9.00.1399.06 (INTEL X86) OCT 14 2005 00.33.37 1988-2005 microsoft corp enterprise edition on windows NT 5.2 (build 3790-service pack) Version on my laptop: MICROSOFT SQL SERVER 2000-8.00.2039(INTEL X86) May 14 2005 23:18:38 Copyright (c) 1988-2005 Microsoft Corporation desktop engine on windows NT 5.1 (build 2600: service pack 2) The Laptop spec is: Intel 1.66Ghz, 1 Gb Ram, 50 Gb HDD, Windows XP S ...Show All

  • Visual Studio 2008 (Pre-release) Window.DragMove() is swallowing all MouseUp events when created from ControlTemplate

    Hi all, hoping someone can help... I am creating a "stickyNote" kinda app; with multiple, borderless windows containing a TextBox and other relevant controls. I have defined a "StickyWindow" custom control, whose Content is defined by a ControlTemplate in generic.xaml. From another window, on Click I instantiate a new StickyWindow and .Show(). There are basically two controls a user can click on in a given SitckyWindow, the Border and TextBox. I want the user to be able to DragMove the window by clicking anywhere in the window. When the StickyWindow looses focus, I set the TexBox.Focusable to false, enabling MouseDown to pass through, and have wired up MouseLeftButtonDown and Up events to it. On MouseButtonLeftDown I cast the sender then ...Show All

  • SQL Server SQLCE team: Call to Get___ methods entail boxing?

    Greetings - It appears in tests that the calls to the type specific Get___ [e.g. GetInt32()]  methods of the System.Data.SqlCeClient.SqlCeResultSet type result in an internal unboxing from some internal storage of values. I've been calling these methods diligently to avoid the boxing tax... Can you confirm this behavior If this is the case, will you be improving the internals or would it be better for me to wrap the native interface myself to avoid this -rory It's close - the current row values are apparently stored in an object array internally, so it looks more like this: object[] values; ... return (xyz)values[columnIndex] The cleaner code point is a good one, but we code-gen our ...Show All

  • SQL Server Issues With SQL 2005 Encryption

    Are there any pitfalls i should look out for when using the encryption in SQL 2005 I imported the data thru the import tool inside the Managment Studio. I ran it from the server not from a workstation.However i did not put and _ between the open and keys. should i try that i haven't seen it typed like that. Thank you ...Show All

  • SQL Server SP1 Hotfix 919478

    I have SP1 on most of my servers. My users however do not. They have been developing using "select all" and are now ready to deploy a major project, I am in the process of installing the hotfix so my question is "they do not have SP1 and I have SP1 along with the hotfix" will that work or does this hot fix require that the client tools have SP1 and the hotfix applied as well" They do not want to change their development environment since they are so close to deployment of their reports. Thank you!! It is not required to install the hotfixes in the development environments, unless you really want to be able to get the same 'select all' behavior, etc. when developing the reports. Report designer in BI Develo ...Show All

©2008 Software Development Network