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

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

dermothogan

Member List

El locolito
ChristianBG
Martin Moe
AyendeRahien
Healthcare Network Admin Jerry
Amjath
leonardoreyes
ananth prasad
lk_spec
xshua
LouisPeter
hanagomi
pompoko
igor_22
kunallen
Andy Swinton
xplosiv_1
franziss
eyew
jab
Only Title

dermothogan's Q&A profile

  • Visual Studio 2008 (Pre-release) Frame.Content`s DataContext is not inheritted from the Frame

    I have a Frame in a DataTemplate and load its content through Source property from external XAML which has a StackPanel as a root element. DataContext of the StackPanel is null and not set to Frame.DataContext. Should not the DataContext be inherited from parent Is it by design or a bug of ContentControl Anyway this is a workaround: public class FrameEx : Frame { protected override void OnContentChanged( object oldContent, object newContent) { if (newContent is FrameworkElement ) { (newContent as FrameworkElement ).DataContext = this .DataContext; } base .OnContentChanged(oldContent, newContent); } } I use the frame in data template so ...Show All

  • Visual C# C#: File access slows when 2 files are accessed at same time.

    I am writing an application that will have a client and server. For now I am developing the program on a single computer right now (so both client and server are the same machine and in the same application domain). The application has the server and client access a file at the same time (both files size are around 100 Mb) They read the entire file strait through in half Mb chunks. If I have the application access the files at the same time it will run around 42 seconds to do its processing. If I have one access the file only after the other is done then it takes about 7 seconds to complete. That’s a 6x speed hit. Anyone have any idea why this happens I want to make it so they will access their individual files at the same time without ha ...Show All

  • Windows Forms Add Button to Caption Bar?

    How can i add a new custom-defined button to the caption bar of a windows form (using c#), by example a "pin"-button to fix the form on the screen gundel06 http://www.codeproject.com/csharp/mintraybtn.asp You can certainly add custom buttons to the title bar ...Show All

  • Visual C# Dynamic DB Connections

    Hi, Is there any way to dynamically switch between to database connections in Visual Studio 2005 I have a connection to the testing database and I want to automatically, or in some easy way, switch between the testing database and the live database. Thanks, Fatmbk ...Show All

  • SQL Server Can fact table include fields that are neither dimension nor measurements?

    I am new to Dimensional Modeling in SSAS! Can fact table include fields that are neither dimension nor measurements I need this for a drillthrough Action that shows data other than the dimensions or the measurements! Please help! Aref So, there are something columns (like some detail information or description) in the fact table. And these columns must show in drill through action. The fact table must become as a dimension ...Show All

  • Visual Studio Team System Load test can't execute more than one simulated user per agent

    I'm attempting to load test an application which includes both a WinForms client as well as server components. Because there is a lot of complex client behavior involved in working with a large dataset that's sent back and forth between the client and the web server, I'm using the existing client-side business services layer to help with this in my load test client code. I have four agents currently available on our load test rig and I've noticed that when I attempt to run more than 4 simulated users, the tests start to fail. I eventually determined that I could run up to four, but that any additional tests beyond that number would start to cause problems. The reason I think this is happening is because the client-side business service ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. File size limit

    Is there a size limit on the wav file you can use...Also once you build you're project and are givin the .xap file how do you then go about getting the .xgs, .xsb and .xwb files from it...sorry if this is a stupid question but new to this whole xna malarky...       Doesn't matter got it working On Windows, there is no practical file size limit (I believe there is a 4G limit, but that shouldn't be an issue). On Xbox, the only file size limit is for in-memory playback. In that case, the size of a single XMA compressed wave can not exceed 8Mb. Assuming you're getting about 10:1 compression, that means your PCM wave probably be bigger than about 80Mb. (note that XMA does n ...Show All

  • .NET Development SqlDataAdapter

    Microsoft documentation for DbDataAdapter.Update Method (DataRow[], DataTableMapping) says: When using Update , the order of execution is as follows: The values in the DataRow are moved to the parameter values. The OnRowUpdating event is raised. The command executes. If the command is set to FirstReturnedRecord , then the first returned result is placed in the DataRow . If there are output parameters, they are placed in the DataRow . The OnRowUpdated event is raised. AcceptChanges is called. Does Microsoft implementation of this method call AcceptChanges after step 3 if the row to be updated is DataRowState.Added (a new row) This can be easily verified using an RowUpdated even ...Show All

  • SQL Server Aggregate Count Zero or NULL - multiple measuregroups vs. single measuregroup

    Hi Quess this fact table (100.000 Records a Day) Dim1 | M1 | M2 ---------------- A | 1 |NULL B |NULL| 2 C |NULL|NULL D | 3 | 4 I create a cube on top with four measures - for each a LastNonEmtpy and a count measure the result is Dim1 | M1*| M2* *)=Count measure ---------------- A | 1 | 0 B | 0 | 2 C | 0 | 0 D | 3 | 4 Is there a way to get a null value instead of a zero value in SSAS2005 (Build 2153) I have already thought about create a measuregorup for each meausre with a view related which filters the null value rows - but I guess the cubesize will increate much if I have a measuregroup per fact measure, because the dimension information needs storage too - I guess I need the count measure for calculati ...Show All

  • Visual Basic Strange Problems with VS2005

    Hello All, I'm trying to figure out why VS2005 is acting strange and if anyone else has seen these problems.... Sometimes when I run a solution using the Debuger the system will not step into a function. it just steps over it as if it has executed it. I have checked to see if there is a unhandled exception causing the problem but there is not I have even added a breakpoint to every line in the function including the function header and it still will not recongnize the breakpoint. Then as quickly as the problem has started it will stop and I will be able to step into the function. Additionly The VS environments seems very unstable I report at least 2 compiler errors a day requireing me to restart. Lasty I'm not sure if this is just an ...Show All

  • Visual Studio 2008 (Pre-release) Strange flicker on window display ...

    I've got a window with textbox controls on it, and some buttons. When one of the buttons is clicked, I display another window as a dialog box. The newly displayed window is full screen, but a large portion of it is transparent. Specifically, the background of this window is a black rectangle with 50% opacity, and the center portion of the window contains the displayable portion. This has the effect of darkening whatever is beneath the newly displayed window. On the original window, any of several textbox controls may have keyboard focus. Therefore, the textbox with focus contains a blinking text cursor. When the new window gets displayed, it seems to get displayed twice in rapid succession, causing a kind of "flicker". The fun ...Show All

  • Visual Studio How can you distribute the build task for compact framework.

    Hi, Is there a redistributable for the MSBuild task for compact framework. Our software uses this build task, for building CF applications. The CF build task only seems to install with Visual Studio or the .NET Framework SDK. Is it allowed to distribute the files needed for this build task, like Microsoft.CompactFramework.Build.Tasks.dll for example Thanks in advance! / Joel Yeah, it doesn't make a whole deal of sense, I agree. It's really because the .NET CF team doesn't have the concept of a desktop redist, just a device-side one. The desktop .NET Framework team is understandably shy about shipping anything in their redist that doesn't directly relate to building .NET for the desktop. You should log ...Show All

  • Visual Basic datatable time intervals

    Hey everyone not sure if this is the right place to post this, it's actually an ASP.NET page but the code behind is done in VB.NET and the code behind is where my troubles lay so here it goes. Basically my problem involves using a data table to fill a gridview for export to Excel. I know how to export a gridview to excel already what I'm having trouble with is the data table behind the gridview, basically I've got a data table which is filled via SQL Server and all the data in it is time stamped, what I'm trying to do is manipulate that data table (actually it filters the data from one table to another) so that I can get the data in intervals every 1 minute or 2 minutes or 30 minutes etc. or closest to the interval as possible. When I set ...Show All

  • Visual Studio 2008 (Pre-release) Linq and Windows Workflow Foundation

    I'd need to pass a Linq object to a workflow built upon WWF, but IQueryable class is not marked as serializable. Can anybody suggest me a valid workaround Thanks Except that Expression isn't serializable, either. One of the problems in serializing expressions involves the question of how to serialize (object) references, and references to methods that may not exist on the remote end. Decide how you want to deal with that, and you could create a class to serialize the expression trees in a way suitable to your needs. ...Show All

  • Microsoft ISV Community Center Forums Excel Advanced filter critera Question...

    Hi Guys, Just a quick one here... use advanced filters all the time and usually with data containing over 30,000 rows. I don't know of any way to use criteria such as 'Not equal to' or 'does not contain' etc. This is available along with many other advanced criteria in the auto filter > custom filter however this only works with upto 1000 rows. Any ideas how i could implement these to my filters I am familair with the syntax used in porgramming like !== etc... Many thanks Hi Andy, yes thats what i am wanting to do but when i put <> into the cell it isn't recognising it   Do i have to add something to it   I type in for exampel <>*Mr* and it should filter out all entries tha ...Show All

©2008 Software Development Network