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

Software Development Network >> Morten Nielsen's Q&A profile

Morten Nielsen

Member List

zoomer
vtortola
TRACEYMS
asalcedo
SDodobara
MikeHNatti
Shady9399
Per Bornsjo
Thor78
gdubya
Keith Chapman
Gunnar Adler
BioSlayer
djshades2004
Quilnux
John2156
ajay_dekavadiya
MaggieChan
FRED.G
Sean D Wright
Only Title

Morten Nielsen's Q&A profile

  • SharePoint Products and Technologies assigning a custom master page to a site definition

    I'm trying to assign a new master page to a custom site definition I created in WSS v3.0. I want the new master page to be the default when a new site is created from this custom site definition. I've found a few different posts in regards to this online but none of them have worked. I always receive errors when trying to create a new site. I would think you could easily specify this in either the onet.xml or default.aspx page for the site definition. Has anyone been able to do this successfully One would think this is pretty obvious and would be published via msdn somewhere but that doesn't seem to be the case. Any help is appreciated. As a follow-up, I was finally able to successfully create a ...Show All

  • Windows Forms Windows does not recongize that i just insatlled a new program.

    I'm writing up a setup application, and when I install the exe file, Windows does not reconginze that I just installed a new program. Do I need to create a registry file If I do, does anyone know how to create one and what do I need to put in there in order for Windows to reconginze that a new program has been installed. Thanks, Brandon well yes of course, if you wrote the program yourself you have to do everything the way an installer does so Windows can register the new program you have installed - just copying files from one place to another is not an installation - its just a file copy. You will have to find out what registry keys, files etc... are used in order to notify Windows of an installation of a program. I wo ...Show All

  • Visual Studio VSS object model

    We waited many years for an upgrade from VSS 6.0 and with everything going to the .NET Framework it was expected that VSS would too. I'm disappointed to find out that it is still COM based. I dislike using interops. Will someone from the VSS team tell me if VSS 9.0 (or whatever the next version will be) will go to a .NET object model and when can we expect that Thanks! That's interesting. SQL Server 2005 has .NET type libraries, so that whole project must have been written with managed code. Makes sense to me. Thanks anyway. ...Show All

  • Software Development for Windows Vista blocked flag in instanceState table

    Hi, is there any possibility to influence the entry value (0 or 1) of the column "blocked" in the "instanceState" table, without using a customPersistenceService Thanks and Regards, Christoph Sonali, does that mean that if your workflow is in a idle state in a delay activity (with PersistOnIdle=true) and a crash occurs, your Blocked flag is still set to 1; if you reload the workflow, nothing will happen unless you change Blocked to 0; ==>the restarting host must set it to 0 to move the next workitem (even if the delay expired) Serge ...Show All

  • Software Development for Windows Vista Suppressing the "Name" attribute when serializing workflow

    I am using the default markup serialization classes to serialize my workflow. My workflows contain only custom activities (I am working with an XML-based Domain-Specific Language), and I would like to withhold the "Name" attribute from the serialized content. What I am getting at this time is: < xml version="1.0" encoding="utf-8" > <ns0:Sequence x:Name="sequence1" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ns0="http://schemas.com/myActivities"> <ns0:ReadLine x:Name="r1" /> </ns0:Sequence> What I would like to have is: < xml version="1.0" encoding="utf-8" > <ns0:Sequence xmlns:x="http ...Show All

  • Visual Studio Team System Problems with source control

    We have had recurring problems with Team Foundation Server not handling source code correctly. Changed code is being left out during the Check In process. Get Latest fails to get the latest checked-in source code. This has happened with Excel files. Some Source files have been updated and some have not been updated. Now we have a case where several days worth of work was lost after the use of: Get Specific Version, checking the "Overwrite writeable files that are not checked out" and "Force get of file versions already in workspace" Any ideas Some more possibilities for the case where you thought the file should ha ...Show All

  • Smart Device Development Cannot display local XML files in emulator

    Using IE in the Pocket PC 2003 SE Emulator, I can view XML files over the Web (i.e. via a URL) but not local XML files (i.e. file:\\...) that are on the device's storage card (i.e. a folder on the host machine). Is this a limitation of the emulator, are local XML files displayed properly in actual devices, or I am doing some wrong But IE on the real device does display the local XML files, right (my problem isn't manipulating XML files, but whether the Web Browser component in my app will be able to display the contents of XML files -- because that's what my app does, it converts Fast Infoset files to XML on the fly and displays the XML file to the user) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Draw without to use lock

    Hi, I would like to know, if it's possible to draw 3D graphics in DirectX without use locking vertices (IDirect3DVertexBuffer9::Lock ) I know, it's possible with Opengl . Thanks for your help A good way to do it is to have a big vertex buffer that you grow only on demand. Then you can add/remove vertices from that buffer without having to recreate it every time. As for the cost of locking/unlocking. It's not that much. For a modeling app, I'd certainly use vertex buffers and deal with them as usual (lock, update, unlock) on demand... ...Show All

  • SQL Server Dynamic refresh of report model in the report builder

    Is it possible to dynamically refresh the report model of the report builder could it even be using code with any of the interfaces When we add a table or add a column to the table in database , will the report model get refreshed automatically or do we need to do it externally. If so, can we use any of the objects and write a custom code in VB. Please review the following threads: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=363475&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1101825&SiteID=1 ...Show All

  • Visual Studio Express Editions How can i kill a process?

    o.k i i am trying to kill the iexplore.exe process what am i doing wrong here the code: Public Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ps As Process ps = Process.GetProcessByname( "IEXPLORE.exe" ) ps.Kill() End Sub i get this error: Error 1 'GetProcessByname' is not a member of 'System.Diagnostics.Process'. the funny thing is that the exact same code works with "getprocessbyid" tnx The method is called GetProcessesByName() http://g.msn.com/9SE/1 http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.getprocessesbyname.aspx&&DI=6244&IG=497b996cfb8a44f ...Show All

  • SQL Server Using Xcopy to get the .mdf file of pubs database to the App_Data folder of a website of VWD Express project

    Hi all, I have a stand-alone Windows XP Pro PC that has SQL Server Express (SSE) and Visual Web Developer Express (VWDE) programs. The Microsoft "pubs" Database is installed in the SQL Server Management Studio Express (SSMSE). I created a website in my VWDE program. I need the .mdf file of the pubs Database in the App_Data folder of website of my VWDE project. I think that User Instance in my SSE is established. I have studied Xcopy Deployment (SQL Server Express) and User Instance for a quite a while and I still do not know where and how to use Xcopy to get the mdf file of the pubs database into the App_Data folder of the website of my VWDE project. Please help and give me the detailed key steps/instructions about where and h ...Show All

  • .NET Development StartMenu/Start Button

    I'm looking for a way to make the windows Start Button appear pressed. I have tried sending BM_SETSTATE but this doesn't work properly with the start button. It's meant to make a button appear pressed but not actually send a mouse down event. DECLARES: Declare Function SendMessage Lib "user32" Alias "SendMessageA" ( ByVal hWnd As IntPtr, ByVal wMsg As Integer , ByVal wParam As Integer , ByVal lParam As Integer ) As Integer Public Const BM_SETSTATE As Integer = 243 CODE: SendMessage(TaskBar.StartButtonHandle, Me .BM_SETSTATE, 1, -1) Has anyone ever seen another way of making a button appear visually pressed How about actually drawing the start ...Show All

  • Visual Basic Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document

    There was a similar question posed on the C++ forum back in February to which I responded yesterday, but unfortunately, did not get a response. I am therefore putting this question in the VB forum. I have a VB 2005 project which is actually an add-in to Outlook 2003, which was I was able to debug fine until earlier this week. Now I cannot debug it at all - the message in the subject is displayed when I hover the mouse over the breakpoint which shows a yellow icon in place. Can anyone here tell me what I should do to correct this hi, I have same problem ,, I built a shared add-in it worked fine but now it does not work, when i set start external program to Word.exe it does not work but when i set ...Show All

  • Visual Studio ModelingPowerToys can not be loaded when VS startup.

    I got an error like: external program 'Class Designer Enhancements' can not be loaded and maybe cause some exception. Error ID:8000ffff My OS and VS are Chinese edition. What can I do to make ModelingPowerToys work Dmitriy: Thank you for your fast answer. I will wait for your updates. And before it, I will try to fix this problem by myself. This problem maybe let me study technology of add-on for VS well. ...Show All

  • Windows Live Developer Forums DEP blockin Live Messenger 8.1

    Why does DEP keep block my Live Messenger how do i overcome this problem I'm having the same problem with all versions of msn. I upgraded to Flash 9,0,28,0 - no change. I tried the 'run as administrator' workaround mentioned above and the box is grayed out, so I cannot use this solution. I tried going into system>advanced>performance>settings>DEP and manually adding the msn executable to the allow list but vista tells me that this program must be run with DEP enabled.  Running vista home premium. I'm sorry, but this is just funny. Why would microsoft release vista when its own programs don't work on it. This is a clean install too - straight out of the box.  ...Show All

©2008 Software Development Network