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

Software Development Network >> 0xDEAD's Q&A profile

0xDEAD

Member List

Jay433882
rtaiss
Evan Mulawski
Boston2006
breitlip
sroughley
niroshanonline
Haim Cohen
TACIR
yzhang12
AHTUNG
DrJim
silverwolf
Stefan Wagner
DragonWolfZ
dariodario
Landon Parks
Zubair Masoodi
Xzarian
Neotech
Only Title

0xDEAD's Q&A profile

  • .NET Development Debugging into CLR core libraries implemented as native code

    It appears that Mdbg does not allow me to place a breakpoint in code that is implemented natively, for example System.Threading.Monitor.Enter. Is this a limitation in Mdbg and if so is there a work-around It would be swell if I could detect whenever the code being debugged is trying to enter a synchronized section of code. Quick, dirty, hacky application demonstrating the problem: using System; using System.Collections.Generic; using System.Text; using Microsoft.Samples.Debugging.MdbgEngine; using System.Diagnostics; namespace MDbgTest { class Program { private static MDbgBreakpoint breakpoint; // Skip past fake attach event ...Show All

  • Visual Studio Express Editions create a control

    I need to know how i can create a control, to control an array of something (in example, sockets or checkboxes) In another post i've seen that i have to create de control and a container How does it works I would enjoy all information! Thanks! Okay, I have created the example project you were looking at. The only error in their instructions that I see is in 'Testing Your Project', step 7: In the constructor of the form, just before the end of the method, add the following code: ' Visual Basic MyControlArray = New ButtonArray(Me) I had to declare this as: Dim MyControlArray As New ButtonArray( Me ) in Form1 instead of the InitializeComponent area they said. You can download the solution at http: ...Show All

  • Software Development for Windows Vista Persistence questions

    First- I'm just coming back to adding persistence since the beta 1 version of my WF. I find some params that are not documented clearly: WorkflowPersistenceService persistenceService = new SqlWorkflowPersistenceService ( "Initial Catalog=SqlPersistenceService;Data Source=localhost;Integrated Security=SSPI;" , true , new TimeSpan (1, 0, 0), new TimeSpan (0, 0, 10)); The last param "loadingInterval" - does it mean that the wf will be persisted when it has been Idle this long or something else I'd like to only persist when my wf has been idle for 10 seconds, since it can take 5 seconds for an external activity to finish up, and I don't want to persist out in that case. Second - Where can I g ...Show All

  • SQL Server Example of SMO or WMI to configure SQL Server port number.

    Hi, Are there any one who give a example of SMO or WMI to set SQL Server port number Actually, you need to use the ServerProtocols namespace from Microsoft.SqlServer.Management.Smo.Wmi. MSDN doesn't have much good help on this specifically, but I found a couple blogs worth looking at: http://sqlserver2005.de/SQLServer2005/MyBlog/tabid/56/EntryID/19/Default.aspx http://www.sqljunkies.com/WebLog/marathonsqlguy/archive/2006/11/30/25785.aspx <-- This has a good sample of how to look at the properties, it's a short leap to setting them from here. The ServerProtocol topic in BOL is at http://msdn2.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.wmi.serverprotocol.aspx . Mike ...Show All

  • SharePoint Products and Technologies IE Crashing when opening Sharepoint list

    When a user tries to open a list in Datasheet view on our sharepoint site they are being welcomed by the nice 'IE Has encountered a problem and needs to close.' Error.  This just started a couple days ago.  This is to the point that I can't open a couple of my administrative lists anymore. We are currently running: WSS v3 MSSQL 2000 Happening on IE 6 AND IE 7 Office 2003 ONLY I have Sharepoint Designer 2007 - This has been installed and used for a couple of weeks before problem arrived. ONLY seems to be happening on Service Pack 2 computers.  I've seen lots of posts about deleting the dll 'OWSSUPP.DLL' when running Office 2007 or uninstalling ALL office 2007 products.  However I am receiving this on seve ...Show All

  • Visual Basic Remove Registry Keys when uninstalling my application

    Hi, I have created a MSI installer and when I uninstall my application I need to delete some registrys also. The Registry keys were created by the application, not the installer. What I need to do is, when the application is uninstalled by the installer, The registry keys created by the application are also deleted. How can I solve this problem I have tried adding a custom action (the custom action deletes my registry key) to the uninstall folder in the setup projects custom actions. But it does not work. Here is my code for my custom action. Imports Microsoft.Win32 Imports System.IO Module Module1 Sub Main() Try Dim myRegistryKey As RegistryKey = Registry.CurrentUser.OpenSubKey( &quo ...Show All

  • Windows Forms Clearing a Windows Forms panel containing a DirectX movie

    To Whom It May Concern I am finalizing an application that uses .NET 1.1 and DirectX with a mpeg or avi movie displaying a video of a particular road and section. When I navigate to another road section the panel is not cleared unless another movie is selected. I have tried the dispose method without any luck. My current code is as follows: // dispose of the old video to clean up resources if (video!= null ) { video.Dispose(); //video = null; //videoPanel.Refresh(); videoPanel.Controls.Clear(); //videoPanel.Dispose(); //videoPanel.Update(); } // open a new video video = new Video(file); // assign the win form control that will contain the video video.Owner = videoPanel; ...Show All

  • Visual Studio 2008 (Pre-release) June CTP - IClientMessageInspector.AfterReceiveReply - Not working

    I am intercepting the message (on client side) after receiveing the reply from the service using IClientMessageInspector interface. Here is the code in AfterReceiveReply method: public void AfterReceiveReply(ref Message reply, object correlationState) { //Create the buffer MessageBuffer buffer = reply.CreateBufferedCopy(13000); //Inspect the response (for now simply extract the body contents) Message thisReply = buffer.CreateMessage(); XmlDictionaryReader reader = thisReply.GetReaderAtBodyContents(); StringBuilder info = new StringBuilder(); XmlWriter writer = XmlWriter.Create(info); writer.WriteNode(reader, true); writer.Close(); //Close the buffer buffer.Close( ...Show All

  • Visual C# C# Book Recommendations

    This sticky here will be used for people to post their C# book recommendations. It will help us keep the forum a bit cleaner than making several topics about book recommendations and also helps everything to be in 1 "spot" and alot of people can see the book recommendations that you have given everyone else in this topic. So please, feel free to post your book recommendations here for developing in C#! :-) If possible, include any links where the person would be able to obtain the book from, and it's ISBN number which would be a big help to everyone! IMHO the *best* book on Windows Forms Programming in C# is: Windows Forms 2.0 Programming by Chris Sells and Michael Weinhardt (ISBN 0-321-26796-6). This covers all aspects of Wind ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Windows Logo testing

    Torwards the end of the install under XP, I get an error stating 'The software you are installing has not passed Windows Logo testing to verify its compatibility with Windows XP. This software will not be installed.'' Whats up with that Could you get me the log from the installation You can turn on logging by running the install with the following: msiexec /i xnagse_setup.msi /l*v install.log Thanks --Scott ...Show All

  • SQL Server Need to join two tables using only part of a field from one of the tables.

    I need to join two tables that both have a field called caseid. The field in table 1 is ten numbers and the field in table 2 is 15 numbers. The 10 most significant numbers are consistant in both table 1 and 2. How do I tell the join to only use the 10 most significant numbers from table 2 Or how do I tell the join to ignore the 5 least significant numbers from table 2 Thanks. I don't know I understand you well, but try something like this: with first ( id , pk ) as ( select 1 , 1234567890 union select 2 , 1111111111 union select 3 , 2222222222 ), second ( id , fk ) as ( select 11 , 123456789012345 union select 22 , 111111111122222 union select 33 , 222222222233333 ...Show All

  • SQL Server Export Format Dropdown display name rsreportserver.config

    I have made an extra Render Extension specifying different deviceinfo settings. I have called the Extension a new name in attributes and have also specified the same name in Overridenames. This gives me the additional extension I require, except the name in the "Select a format" user dropdown is the same as the original i.e. I now have 2 "Acrobat (PDF) file" entries in the dropdown. Is this correct Can I change the dropdown name This here works for me: <Extension Name="Jens" Type="Microsoft.ReportingServices.Rendering.ImageRenderer.PdfReport,Microsoft.ReportingServices.ImageRendering"> <OverrideNames> <Name Language="en-US">Jens magic rendering extension</N ...Show All

  • Visual Studio 2008 (Pre-release) XmlSerializer ignores namespace of operation parameters

    I'm migrating an existing ASP .NET web service to WCF. I try to keep as much of the old code as possible, and I want it to be compatible to the old clients, so I use XmlSerializer + basicHttpBinding + aspNetCompatibilityEnabled="true". My web service operations use custom classes as parameters which I generated from xsd files by using xsd.exe. Here's an example of such a class: [System.CodeDom.Compiler. GeneratedCodeAttribute ( "xsd" , "2.0.50727.42" )] [System. SerializableAttribute ()] [System.Diagnostics. DebuggerStepThroughAttribute ()] [System.ComponentModel. DesignerCategoryAttribute ( "code" )] [System.Xml.Serialization. XmlTypeAttribute (AnonymousType= true , Namespace= http://AdventureWorks/Cinema/Server/DataTransferObj ...Show All

  • SQL Server can i Display Database report from SQL 2005 using .Net 2005 ?

    Can I generate database report from SQL 2005 using .Net 2005 I want report contain the following: 1. How many schemas I have in database. 2. Display schemas list with its information. I need the SQL Statement or query that return the above result. Best regards, Z. A. A. Hi, this should be something like: Select * FROM sys.schemas HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • SQL Server error while doing mirroring

    I got the following error log from SQL profiler when I tried to start mirroring " 2006-11-10 11:54:47.28 Logon Database Mirroring login attempt by user 'NT AUTHORITY\ANONYMOUS LOGON.' failed with error: 'Connection handshake failed. The login 'NT AUTHORITY\ANONYMOUS LOGON' does not have CONNECT permission on the endpoint. State 84.'. [CLIENT: 10.77.100.86]" Anybody knows the solution for the same please let me know I would suggest delete both endpoints in both servers re-run the Mirror Wizard, give it the AD domain username again, and it'll create the endpoints for you or it probably uses the authentication you're using when you create the mirror or try this /**** ...Show All

©2008 Software Development Network