Software Development Network Logo
  • Windows Vista
  • Visual FoxPro
  • Visual J#
  • Visual Studio
  • Visual C++
  • .NET Development
  • Visual C#
  • Architecture
  • Smart Device
  • VS Express Editions
  • Windows Forms
  • VS Team System
  • Windows Live
  • SQL Server
  • Game Technologies

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

Skrostrup

Member List

sarath_lal007
AntoineF
itai_sh100
SteveJB
Rosdol
PAULL
Kaiser07
jimmsl
Francois JEAN
xhydra
ratlhed
Jonathan - UK internet Services
Carl Brochu MSFT
AdrianJMartin
ExtremeShannon
calebb
TheGhost104607
Tony Qu
codepoetg
gorshing
Only Title

Skrostrup's Q&A profile

  • Visual Studio Bad exception interception with the VS 2005 RC debugger

    I have an issue with with exception interception with the VS 2005 debugger (the project is .Net library that has been just ported from .Net 1.1 and was running quite fine through the VS 2003 debugger). Basically, I have a NUnit test that calls a method, and this call (in the unit testing context) is expected to fail by throwing a InvalidOperationException. The NUnit tests actually checks that the exception is thrown. In my project configuration, I execute the library through the nunit-console.exe application (as a custom start-up program). My problem is that the VS 2005 intercepts the InvalidOperationException although this exception is go ...Show All

  • Visual Studio 2008 (Pre-release) MenuItem Highlight Styles in Feb CTP

    Hi all, After upgrading to the Feb CTP ive had problems changing the highlight colour for mouseover effects on menu items. The code below worked in the January CTP - but no longer functions correctly - any ideas guys 'n' gals <!-- menu item style --> <Style x:Key="{x:Type MenuItem}" TargetType="{x:Type MenuItem}"> <Setter Property="FontFamily" Value="Arial" /> <Setter Property="FontSize" Value="10pt" /> <Setter Property="FontStyle" Value="Normal" /> <!--<Setter Property="FontWeight" Value=&qu ...Show All

  • Windows Forms Duplicating MS Access Continuous Subform Functionality in .Net

    Hello All, I'm currently writing an Inventory Control and Invoicing program for a friend.  I statrted writing the app in MS Access and found that I couldn't get the level of control I needed.  Rather than write it on old VB, I thought I'd try writing it in .Net.  My main form in Access consisted of one main form and two subforms. &n ...Show All

  • Visual Basic Launching apps from windows service

    I need to start windows apps from windows service. I use following code  myProcess.StartInfo.Arguments = Param  myProcess.StartInfo.CreateNoWindow = False  myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Minimized  myProcess.StartInfo.WorkingDirectory = Path.GetDirectoryName(FullServiceName)  myProcess.StartInfo.FileName = FullServiceName  myProcess.StartInfo.UseShellExecute = True  myProcess.EnableRaisingEvents = True  myProcess.Start() Works great.. only thing when it starts the application it creates a process and starts the process. So if the applicati ...Show All

  • .NET Development My application loads lots of unknown assemblies!

    Hi, I'm developing an enterprise application and, when debuggin, I've noticed that both aspnet_wp.exe and my client application load lots of assemblies with autogenerated names, with no path nor extension. This is happening as I make calls to the web server. What can be the cause Thanks in advance Lots of stuff gets compiled dynamically in asp.net. Pages (.aspx), controls (.ascx), web services (.asmx), http handlers (.ashx) etc. ...Show All

  • Windows Forms Very strange ComboBox databinding problem

    Hi, this problem really drives me nuts. I have a custom ComboBox, which derives from the normal ComboBox control. I'm setting the DataSource of the ComboBox in my code to a DataTable and also set DisplayMember and ValueMember. So, the binding in general works fine, but here's the odd part: Depending on what is selected I color the background of the ComboBox differently. To achieve this effect when the DataSource changed i overwrite the OnDataSourceChanged method:             protected override void OnDataSourceChanged(EventArgs e)         {   ...Show All

  • SQL Server application failed. when clicked on the sqlexpr.exe file.

    Hello I have the sql server 2005 express edition. the software stops during the setup and gives me a "failed" message. All other software of express edition are working fine. I am getting the problem only when I am dealing with sql server 2005 express edition. I made sure to deleate all the old version of sql server. uninstalled all the sql server files which were in my computer prior to download the new one. However I am still in troulbe. As someone suggested that one should uninstale the sqlmsi file so I did that too. Still samething. Any help please...... Hi, The event log should give you a clue what happened, ev ...Show All

  • SQL Server Parameterized MDX queries using AdomdParameter

    Are there any good examples out there of performing parameterized MDX queries, using the new AdomdParameter class in 9.0 The only sample I've found so far involves querying KPIs, but I just want to query standard measures and dimensions. In our experimentation, we're trying to use a parameter for the measure name in a query, eg. SELECT @measure on columns from [CubeName] Running that command throws an error: The Axis0 function expects a tuple set expression for the argument. A string or numeric expression was used However, it works when I change the command to: SELECT strtomember(@measure) on columns from [CubeName] Is wrapping all the param ...Show All

  • Windows Forms ParseException on manifest when installing ClickOnce App

    I get a ParseException on the manifest when installing ClickOnce App.  I can access the manifest just fine with a browser.  I have searched the forums and not found asolution to this. Any help is much appreciated.  Thanks, Rich PLATFORM VERSION INFO  Windows    : 5.1.2600.131072 (Win32NT)  Common Language Runtime  : 2.0.50727.42  System.Deployment.dll   : 2.0.50727.42 (RTM.050727-4200)  mscorwks.dll    : 2.0.50727.42 (RTM.050727-4200)  dfdll.dll    : 2.0.50727.42 (RTM.050727-4200)  dfshim.dll    : 2.0.50 ...Show All

  • .NET Development Old style BarBreak?

    Anyone know of a way to implement the old style BarBreak menu item property I have been searching for a while and I'm pretty sure its right in front of my eyes. I hope. In case noone knows what I mean: The BarBreak property makes the menu appear on a new line, or column in the current dropdown. Try setting the the BarBreak property of the  MenuItem instances you are dealing with in order to acomplish this. ...Show All

  • SQL Server Weighted percentile in SQL 2005

    I want to return the value of the 95 percentile in a data set, however due to the volumes I don't want to store all the raw data. NTILE works on the row count, but I want it to work on the summarised rowcount that is held on the table. I can only think of doing a running sum and not using NTILE. Is there another option ...Show All

  • Smart Device Development Asynchronous I/O functions on CE

    Hi, I need to port a Windows desktop communication DLL to a PocketPC target. Unfortunately, it seems that CE doesn't support aynchronous call for the I/O function ReadFile, WriteFile and CreateFile but these functions were esential to my DLL. So, is there really no support for overlapped I/O methods on CE Is there another way to implement non-blocking read/write operations on serial ports or sockets Thx, Negyoshi. Overlapped is more efficient, and should take some space too. That should be the reason why MS did not implement on CE. But that discussion is not the topic. > Do you use message queues ...Show All

  • Visual Studio Team System Actual reqs for team foundation

    Hi Everyone - Questions - 1) What exactly do we need to have to properly run and use TFS 2) Will the express editions utilize TFS 3) What software does the analyst use for document only work thanks tony Hi Ben - Yes - that helped perfectly. I am having a WORLD of trouble getting the TSF to load under 2k3 Standard. first it tells me the wrong version of .net is loaded, and the list goes on... thank goodness for vmware! updates later thanks again!! take care tony ...Show All

  • .NET Development Windows registry

    Hello everyone, i have troubles in school project that need to add window 98's registry using Visual C++, do you have any ideas on how to do it thanks for helping. Hi, The sample that I gave you is in Visual C++/CLI... It is the new approach or extension of C++ that targets the .net framework 2... If you want to try it out check... http://lab.msdn.microsoft.com/express/visualc/default.aspx cheers, Paul June A. Domag ...Show All

  • Visual Basic Looking for Exception Handling advice for VB.Net 2005

    We are creating a new application using VB.Net 2005, and noticed that there is a new structure for unhandled exceptions in the MyApplication_UnhandledException method.  We were looking at the patterns and practices Exception Handling Application Block but we will have to modify the current examples to use the new structure.  Is there a new best practices recommendation for Exception Handling in 2005 Are there examples anywhere Hi, Here is how u handle unhandled exceptions in VB 2005 and Beta 2. Here are the steps: To manage an unhandled exception 1. With a project selected in Solution Expl ...Show All

©2008 Software Development Network