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

Software Development Network >> Marco Otte-Witte's Q&A profile

Marco Otte-Witte

Member List

Marcelo Guerra - MSFT
TheMadTexan
DAN TRUNG
saparicio
Harini K P
MartinDolphin
Neil_at_AGI
Mike Gomez
War59312
FundamentalDiscord
Leonid-NSK
luvly_girl
KeithPhillips
Tomasz007
kdong
MikeC#
Shilpa Shashitej
ComSpex
WarAngel
Gebasio
Only Title

Marco Otte-Witte's Q&A profile

  • Visual C# Please help !

    I've got to capture all the messages that a dos program is sending them to the console ! How can i do it The program isn't supporting this opption, to output the messages in a text file.  Please help !!!!! This is easy - add System.Diagnostics and System.IO using clauses then use something similar to this: ProcessStartInfo pi = new ProcessStartInfo( "cmd.exe" , "/c dir" ); pi.WindowStyle = ProcessWindowStyle.Hidden; pi.RedirectStandardOutput = true ; pi.UseShellExecute = false ; Process p = Process.Start(pi); p.WaitForExit(); p.Start(); TextReader t = p.StandardOutput; MessageBox.Show(t ...Show All

  • SQL Server How to get around SqlException I'm getting because of IS NOT NULL???

    I'm trying to return all the rooms that are in a specific area being selected in a ComboBox and I don't want any rooms that have no MacNo. I would have thought this would do it but they Visual Studio throws me a SqlException "Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression." String dbsql = "SELECT a.RoomID " + " , a.Room " + " FROM tblRdrRm a " + " WHERE a.RoomID = (SELECT RoomID " + " FROM tblRdr ...Show All

  • Visual Basic Is there a toolbar with bookmarks?

    I had to navigate through lengthy menus to toggle bookmarks so I thought I would add a toolbar for easy access. However, adding a toolbar proved to be an even lengthier process than toggling bookmarks! I checked a few likely suspects among the plethora of toolbars without success. Does anyone know which toolbar contains bookmarks Better yet, does anyone know of an easy way to figure out which specific menu item belongs to which specific toolbar Trying to find a menu item on a toolbar is like trying to find a needle in a haystack. Am I missing something or is MS making me work to hard for something so simple ...Show All

  • Visual Studio Team System Team Build vs MSBuild

    Hi I am a bit confused over whats the best way to run. i am trying to setup a build that does the following : Run Some Unit Tests Perform Code Analysis Create Docc (NDOC) Notify Developers if the Build is broken Deploy target code to another server and build a web site Run some web tests against the new server. I know this is possible using MSBuild, but where does this fit into Team Build I am getting a little bit confused over what I should be doing here. Do I just let the Team Foundation "New Build Type" wizard run then customise the *.proj to create new Targets Any help much appreciated. Cheers Mark James I am not sure I unders ...Show All

  • .NET Development Error while sending email using ASP.NET 2.0 Beta 2 (Visual Studio 2005 Beta 2)

    While trying to send email using <code> SmtpClient obj_SmtpClient = new SmtpClient (); obj_SmtpClient.Host = "" t; obj_SmtpClient.Send(s_from, s_recipients, s_subject, s_body); </code> I get the error message: Failure sending mail. Unable to connect to the remote server An established connection was aborted by the software in your host machine at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& so ...Show All

  • .NET Development how to get printing Document Completion Acknowledgement And Printing Failure Acknowledgement in C#

    I am Printing document with using printdailog class. after prining document i need to update status of that prining Document. So I need printing document completion event or acknowledgemnt. At same time if paper gets jam in printer , then i need to update that document printing status. for that i required printing failure acknowledgemetnt. so please give me solution as earliest possible that through which event or acknowledgment i can get status of printing document. thanks. This question is better suited for the general .NET Library forum where general framework related questions are answered. Please reserve the C ...Show All

  • Software Development for Windows Vista Please, Help!

    I am about to loose the ability to Windows WorkFlow because a simple problem I cannot seem to figure out and knowbody can seem to answer. Its simple, how do I get the service objects right after a workflow is coming back from being persisted mardo Have you tried the WorkflowLoaded event Add the following where you create the workflow runtime: workflowRuntime.WorkflowLoaded += new EventHandler < WorkflowEventArgs >(workflowRuntime_WorkflowLoaded); Below is an example of how to get the Sql persistence service in the handler: static void workflowRuntime_WorkflowLoaded( object sender, WorkflowEventArgs e ...Show All

  • SQL Server A rewrite of the sp_help_revlogin procedure (use at own risk)

    Use the view master.sys.sql_logins (new in 2005) to get at the varbinary passwords like you did in your Sql Server 2000 scripts (instead of using passwords from master.dbo.sysxlogins). I have altered the sp_help_revlogin (from Microsoft article # 246133 ) PLEASE TEST/FIX before you use this: if exists ( select * from dbo . sysobjects where id = object_id ( N '[dbo].[sp_help_revlogin_2005]' ) and OBJECTPROPERTY ( id , N 'IsProcedure' ) = 1 ) drop procedure [dbo] . [sp_help_revlogin_2005] GO SET QUOTED_IDENTIFIER OFF GO SET ANSI_NULLS OFF GO CREATE PROCEDURE sp_help_r ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Run Time Creation and Modification of mesh with managed code

    Hi All, I am working on 3D Virtual Factory that have multiple machines (pre define meshes by 3d studio max of milling, turning and drilling machines) that will perform some operations (hole, cut) on workpiece (run time created mesh). So please help me out how can I create mesh(Work piece that will be box,cylinder) on run time and after creation I have to modify it according to machine part programe. After one machine's modification this workpiece will go to other machine for more modification. After all modification I have to save this modified mesh file for showing final product created by all machines. My development platform is C#, and ...Show All

  • SQL Server cant start the sql server services

    Hi all After i configure the Merge Replication, my sql server services wont start again. The error show that "The request failed for the service did not respone in time fashion. Consult the event log or other application error logs for detail" >>The error show that "The request failed for the service did not respone in time fashion. Consult the event log or other application error logs for detail " Did you ...Show All

  • Visual C# Looking for the equivalent of C++ MyClass::MyMethod ?

    Hi, Here is my problem: I've 3 classes using this hierarchy: ClassA <= ClassB <= ClassC ClassB has a method T which is overriden by the ClassC . With a ClassC object : I need, from the ClassB , to call the method implemented in ClassB and not the one implemented in ClassC . Actually, if I wrote, from ClassB : this.T( )   then the implementation of ClassC is called because of the virtual / override mechanism. If I call base.T( ) it try to call T( ) from ClassA . So, how can I call the ClassB's T method In C++ we can write ClassB::T( ) ... so perhaps there is an equivalent in C# Thanks in advance, Nicolas M. ...Show All

  • Visual Studio 2008 (Pre-release) Stability and using

    I have two questions: 1. Stability of this technology 2. Can I use this thechnology in real projects Which technology Linq, DLinq, XLinq, ... I would say it is pretty stable in terms of crashes (haven't seen one yet). No. It is not even beta. Of course, you can use it but you are not allowed to distribute your projects. ...Show All

  • Windows Forms Serialization

    Hi guys, I'm trying to serialize (XML) an object which one attribute has 'System.Type' type. The error message that I get is: There was an error reflecting type 'System.Type'. Please find below a simple sample: Type t = typeof(string); XmlSerializer mySerializer = new XmlSerializer(typeof(Type)); StringWriter sw = new StringWriter(); mySerializer.Serialize(sw, t); MessageBox.Show(sw.ToString()); What is really strange is ...Show All

  • Smart Device Development Windows Mobile 5 and secchk.lib

    I'm trying to add a WM5 target to my PPC2003 solution (Visual Studio 2005). I installed the SDK, added a new build type (I derived it from my PPC2003 build type), and chose the correct emulator for the target device. The problem is that even if I have /GS- in the compiler settings (disable security checks), I am still getting LNK1104 for secchk.lib. As far as I can tell, secchk.lib doesn't even exist in the WM5 SDK. I can't find any explicit references to secchk.lib anywhere in the project. Does anyone know where I went wrong, or what the solution is As I said before, I'm not aware of a workaround f ...Show All

  • Microsoft ISV Community Center Forums Getting Images embedded in Word

    Hi all, I'm finding it very difficult to solve a seemingly simple problem. I have inserted an image in an AutoShape in Word. I am not able to get the control of the image. I need to get the original image that was inserted into the AutoShape. When I open the Fill Picture Dialog in 'Format AutoShapes'. I can see the original image. It is there somewhere, but its acting too elusive for me, or maybe I'm looking in the wrong place. Any help would be highly appreciated. Thanks, ANIKET Per the support engineer: We can not get the picture object by vba. But m aybe this is helpfu ...Show All

©2008 Software Development Network