Heinz's Q&A profile
Visual Studio Team System Team Build - VS Solution Centric
From the New Build Type wizard it appears to me that Team Build can only sequence VS solutions into a build Which, BTW, is my number 1 fear with Team Foundation in general - too VS centric. VS is an important piece of our product development and build but it is only a piece. I am encouraged when I see the nice command line interface to the version control system. However, then I discouraged when I see that Team Build appears to only know how to deal with VS solutions. If this is the case then this tool is too narrowly focused to meet our needs. We have a mish-mash of VS solutions, old makef ...Show All
Visual C# Accept/receive all from localhost:any port - to - any ip:25
I have written a mail proxy that allows the addition of signatures, and other information, to emails at a packet level so it works with any email client. The application is working as originally designed. Currently I configure the smtp server in my mail client to localhost and define the true smtp server in the programs UI. I would like to be able to leave my mail clients smtp configuration set to the true smtp server. And have my proxy catch all traffic with destination port = 25 and destination ip = ANY. I have looked into one option thus far. 1) Setting scoket options to receive all as follows: socket.Set ...Show All
.NET Development https webreference problem
I am having problems working with web references. I am using references to secure sites like https: / / www. arcwebservices. com/ services/ v2006/ Authentication. wsdl The web reference is added successfully with all the correct methods and, I can get the web reference to work correctly when the protocol is http, but I get an E_FAIL result when my derived class hits the following line. Authentication::CAuthenticationT<> *proxy = new Authentication::CAuthenticationT<>; proxy->getVersion(&Result); __atlsoap_hr = SendRequest(_T("SOAPAction: \"getVersion\"\r\n")); //error mes ...Show All
Visual Studio using VSS with other development sw
Hi, I am new to VSS and I am evaluating the use of VSS (2005 beta2) as unique source control system for several development platforms. I see that Vss is well integrated with visual studio and some other tools, I haven't found informations about its use combined with other sw such as microprocessors cross compilers, CAD and CAE tools, ASIC and FPGA development tools and so on. What I am searching for now is which method to use to handle projects' folders such as the ones regarding constraints, source files (possibly nested), makefiles, simulation stimuli, libraries, and so on. Conceptually these folders are not subprojects also if they can ...Show All
Visual Studio Express Editions How to use C# sqlConnect.connectString for MS SQL server 2005 Express?
what's wrong with these lines String connectionString = "Data Source=(local);Database=loler;Integrated Security=SSPI" ; SqlConnection cx.open(); it give me exception as: {"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"} System.Exception {System.Data.SqlClient.SqlException} Is that I have to set something in the SQL server configuration manager ...Show All
Visual Studio How to add Visual studio data source wizard in GAT
How to add existing visual studio wizards on my GAT application, like "data source configuration assistant" wizard What do you mean by existing VS wizards Those built-in VS Existing wizards from other recipes If it's the former, you have to find out if any of those wizards are exposed for direct invoking through an API. It's possible that they expose a VS command, although not necessarily. You should ask the VS extensibility and VSIP forums about that. If it's the latter, there's no built-in mechanism in GAX to include existing wizards provided by other guidance packages. If you have access to ...Show All
Smart Device Development Draw on top of picturebox?
Is it possible to draw on top of a picture box Here's my code so far: Pen blackPen = new Pen ( Color .Black, 3); // Create rectangle for ellipse. Rectangle rect = new Rectangle (0, 0, 200, 100); // Draw ellipse to screen. e.Graphics.DrawEllipse(blackPen, rect); but it prints behind the controls on my form. Is there some way to 'send to back' everything except my ellipse Please help Peter Can you give me an example I'm not exactly sure what you mean. Thank you sir, Pete M ...Show All
.NET Development Run a method in another thread
Hi, I'm currently working on a network library that offers an XMPP stream to a server, written in C# (.NET 2.0). After the stream has been initialised, the client can send elements to the server and the server can send elements to the client independently. Now I thought I run a separate thread listening on the stream and put all incoming elements in a queue, member of the XMPP.Stream class, a client could then read from the queue when needed. Additionally I have added events in the stream that are fired when an element comes in and when the stream is remotely closed. Now when I call the event function, it will be run inside the stream reader ...Show All
.NET Development How do I detect a connection is present to an URL or not?
Hi, I have an application in VB.NET which has feature of determining whether a network connection is present or not.The application has certain links to other applications (in form of icons) that are present in other intranets. If network is detected it will enable the icons. Now, I have an extra feature to add. The icons will be enabled only when network connection is present as well as I am connected to the Intranet. If I logout of the Intranet, the Icons relevant to the particular Intranet will be disabled even though I have a connection present(determined from Network Adapter) So, is there a way to determine whether ...Show All
Windows Forms Custom control initialization
how can i make windows forms not to initialize a particular property of my custom control when control is added to the form, from the tool box. thanks If an instance of a control is created, all associated properties must also be created. The only thing you could do is have the control's initialization code set the desired property& ...Show All
.NET Development Connect to Oracle Database programmatically using .NET 2.0
I am a little confused about this. I have worked with SQL Server databases extensively and can make a connection as simple as below: .NET 1.1 SqlConnection cn = new SqlConnection(); cn = new SqlConnection("server=localhost;database=test;uid=xxxx;password=xxxxx;"); cn.Open(); Now, that I am trying to work with Oracle databases, I run into problems. I read in .NET 2.0 that the same SqlConnection class can be used to connect to most relational databases. What do I need to do to the code to do this From my readings in .NET 1.0, the following had to be downloaded from MS in order to access an Oracle db: .NET Fram ...Show All
Visual C++ My Visual Studio does not load stdafx.h & stdafx.cpp in my project file
Whenever I create project file it won't work because stdafx.h and stdafx.cpp files are not preloaded into the project file, how do I fix this problem You can set the use of precompiled headers in your project properties. You can make it automatic, not happen at all, or happen only on files which have the #incude set ( so only some files use precompiled headers ). ...Show All
Visual Basic Disable RightClick Mouse and Disable Print Screen Key...
Hi everybody, How to disable the right click of mouse Please provide codes. How to disable the Print Screen Key so that user cannot use it Please provide codes. Applicable to both windows and web applicatuions. Thanks. den2005 Hi Den Please try this ********To disable Print Screen feature********** <body onload=setInterval("window.clipboardData.setData('text','')",2) oncontextmenu="return false" onselectstart="return false"> ************************************************ ***********To disable right click in the web page************** < ...Show All
Visual Studio Problem setting breakpoints in Web Service
Hi I've struck a strange problem debugging a Web Service written in VB.NET VS 2005 Beta 2. Before I run the project in debug mode, I can set breakpoints fine, however once I have run the project in debug mode I am unable to set new breakpoints, in either run mode, debug mode or strangely even when I have stopped running the project all together. I have even tried killing the ASP.Net Development Web Server to no effect. I can remove existing breakpoints at any time. The only workaround I have found is to close VS and restart it. This does not appear to effect my WinForms app connecting to the web service. ...Show All
Visual Studio Tools for Office Word Macro to create a footer only for current page
Is there a way I can create a Word macro where it creates a footer for only for the current page or the last page that it is on Hello! is anybody here I tried adding the following line of code: Selection.MoveStartUntil Cset:="^b", Count:=wdBackward in place of: Selection.HomeKey Unit:=wdStory and it still did not work. Help! ...Show All
