Ponnette's Q&A profile
Visual Studio Team System Scripting tf.exe using wscript.shell
I'm trying to leverage the checkin UI from tf.exe. I can call it directly without trouble, but when I use the Exec() method of wscript.shell, the checkin occurs without displaying the checkin dialog. I prefer to use wscript.shell because it allows me to capture output. Is there a way to force the checkin dialog to display when calling tf.exe through the scripting host Alan, in v1 there's not a way to force the dialog to be displayed once i ...Show All
Visual C# Capturing mouse button (Middle one)
Greetings, I have an Internet Explorer like application that uses the WebBrowser control. I must capture the mouse button click when it is done with the middle button so that the behavious could be different... (Like with Firefox, middle button clicks opens the selected link in a new exploration tab.) Right now, i can'T seam to get the event in a regular Form handler since it must be captured by another control... (i.e. Same problem tha ...Show All
Visual C++ How to Port MFC to .NET; from VC6 C++ to Managed C++ and/or C# .NET
Can someone point me to information on how to port and/or reuse a portion of a huge MFC app to C# .NET managed and/or C++ .NET managed code. Willing to rewrite most of the user interface, but need to preserve/modify existing code that is based on 50+ classes derived from MFC's CObject. I need the "Serialize" portions of CObject so that my existing data files can be read into the ported app, or so I can create a conversion app. I ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Weird question
I have a question for all the leval designers out there. Let's just say I'm playing Doom 3 or something..See, Doom 3 or Quake 4 or any other game like that require a lot of visual memory..So let's just say that I'm playing the game and since all of thoes are first person shooters..Here's my master question is..Why don't you just put what you're not looking at in the game in a lower detail or maybe even wireframe But it wouldn't stay in a low det ...Show All
SQL Server A call to SQL Server Reconciler failed. SQL Server 2005, SQL Server Mobile merge replication
Hi, Iam trying to perform merge replication between SQL Server 2005 and SQL server mobile. It has previously been working. Recently something is causing the following problem when i try to perform the merge. I grabed the following output from the replication monitor. Error messages: An error occurred while reading the .bcp data file for the 'MSmerge_rowtrack' article. If the .bcp file is corrupt, you must regenerate the sn ...Show All
Visual C# How to define arrays in C# Struct
Hello, I've searched through forum using search for my problem and finally I got to make new one. Here we go. I'm trying to make a structure in C# which converted from this Delphi code. When it comes to "Array [0..3] of String[128]", I don't know how to make a C# structure to match this type of structure. I'd like to know if there is any method available to declare arrays like this in C# or not. So far I've tried, I cannot decla ...Show All
Visual C# Find with parameters for objects in a generic list<T>
Greetings, I am putting together my first app with C# Express and am having some trouble searching for an object in a generic list. The following is basically what I would like to do: class MyWidget { String Name; public MyWidget() {} public MyWidget(String initName) { this .name = initName; } } class WidgetNavigator { & ...Show All
Visual FoxPro COPY TO Command
In Visual Foxpro, I am trying to create a CSV file using the COPY TO command with TYPE CSV, but do not want header fields on top of the output file. Furthermore, I am also trying to attach a COMMA after every row. Current Output f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f13,f14,f15,f16,f17 "0","49162","0","0","0","0","0","0","0","0", ...Show All
Windows Forms How to Create smart tag?
Hello all. How can I create smart tags for a custom user control (like the DataGridView has) http://msdn.microsoft.com/msdnmag/issues/05/07/DesignerActions/ ...Show All
.NET Development How to add prefix to parent namespace
Hi we are writing a Webservice for a standar client. The client is sending the SOAP message as : ----------------------------------------------------------------------- < xml version="1.0" encoding="UTF-8" > <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header> <pre:user xmlnsre="urn:I ...Show All
Visual Studio Is there a way to support dependency between project items?
As subject. Thanks, Jillaint You say like C# Project. What kind of project do you have Assuming it is your own, then you would need to provide the support for this, and would probably want to also support in your automation model support for ProjectItems having a collection of ProjectItems. Rusty ...Show All
Visual Studio Express Editions loop through only ComboBoxes
Hello Everyone I feel like I should know the answer to this, but my brain is just frozen. I want to loop through only combo boxes on a form, as they will be filled with DB table values. This form also has multiple other controls. I've tried something like: dim MyControl as combobox For each mycontrol in me.controls etc... Problem is this fails when it hits something other than a ComboBox. Also tried: Dim My ...Show All
Windows Forms "File Open" Dialog Box
Hi, I want to use a File Open Dialog Box to allow users to select a directory on our network where certain Excel and Word documents are, in relation to a person they are entering details for in my application. The File Open Dialog Box insi ...Show All
SQL Server Returns Nothing, But Executes Fine
SELECT tblWatchInstance.WatchID,tblWatchBrands.Description,tblWatches.Serial_Number,tblWatches.OwnerFName,tblWatches.OwnerLName, tblClients.Name FROM tblWatchInstance INNER JOIN tblWatches ON tblWatchInstance.Watch_Key = tblWatches.WATCH_KEY INNER JOIN tblWatchColors ON tblWatches.COLOR_KEY = tblWatchColors.COLOR_KEY INNER JOIN tblWatchBrands ON tblWatches.BRAND_KEY = tblWatchBrands.BRAND_KEY INNER JOIN tblWatchTypes ON tblWatches.WATCHTYPE_KEY ...Show All
.NET Development request.BeginGetRequestStream with FTP in ACTIVE mode problem.
Hi, i'm making an asynchronous upload function. When using .usepassive = true all is good, i can transfer and catch pretty much every exception thrown at it. When using .usepassive = false and the server and client are both configured properly, all is good too. The problem i have is when .usepassive = false and either the ftp or client are not configured properly to use active ftp connections. Here is the code that calls the BeginG ...Show All
