Leo Fi's Q&A profile
.NET Development Attach to a process and control it
Are there any way that I can attach my program to a running program and control it It's like a Messenger Addon (Messenger Plus). How can I do the same Not sure if you can attach your process to another one. May I suggest a workaround: How about trapping the events raised by the other process. Then in your process, you handle the events. ...Show All
Visual C# Sharing Data
Ok. I know this is a question that shouldve been learned in the beginning of the "book", but I have two forms. Form1, and Preferences. I have a RichTextBox on each of the form. I need to be able to share the information between the two TextBox's. Can someone post a little code snippet or explain to me please Hi, In your form1 and preferences you can create a property which returns the current contents of the richtextbox's. eg: //Form1, also do the same in Preferences public string text { get { &nb ...Show All
Visual Studio Team System SON OF Trace-Logging to Verify TFS mail sending status
SON OF Trace-Logging to Verify TFS mail sending status ------------------------------------------------------------------------------- On a server with both TFS(Beta3) AND TeamBuild(Beta3) both installed. I open on TFS Server: SrBuild C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Web.config and I edit as follows per Pete Sheill MSFT Alerts of Tuesday, February 21, 2006 3:35 PM <system.diagnostics> <assert assertuienabled="false" /> <!-- <trace autoflush="false" indentsize="4" /> --> <!-- Trace Switches Each of the t ...Show All
Visual Studio Lack of Integration with Active Directory
My organization was just written up by internal auditors. They went into our source safe database and tested 10 users. 8 of the ten users were still using the default passwords set up when they were added to source safe. My question is don't we already have enough passwords to keep track of Why not at least offer the option of integrating with AD where I get strong password management > Setting perm to NTFS folder is not at all. Of course. You have to set Windows file share permissions as well. > Does VSS support password authentication via AD No, VSS does not have integration with AD ...Show All
Visual Studio Express Editions Registration freebies
I have just registered c++ and Microsoft promised thousands of dollars of free resources. Where do I find them, I have tried the links in the registration e-mail but can't find any of them. I don't know how they do the math, but what is currently available as free downloads is described on the http://msdn.microsoft.com/vstudio/express/register/ page. The registration letter link should have taken you to a place where you can download some of those. (There is no free book that goes with VC++ 2005 Express Edition.) You'll need to set up a Microsoft Passport, and the benefit page remains available to yo ...Show All
Software Development for Windows Vista Problem with update
I updated my windows, then restarted it as instructed. I got this really nice message saying "The file wmp.dll a version number of 10.0.0.3990 where 10.0.0.3802 was expected Windows Media Player is not installed properly and must be reinstalled Do you wan to install the Player from the Microsoft Web site ". The problem is I have ALLOT of things on my windows media player and I dont want those to go away or me having to reorganize ALL 4 gb of my music, my settings, and redownload all of my visualizations. If you can help me or you could talk to microsoft about this update problem it would be greatly apreciated. ...Show All
Visual Studio VS 2005 RC setup is endless!!!
I set up sql 2005 september ctp successfully and then since yesterday I am still installing VS 2005 RC! I left the setup on overnight and it still has not completed this morning. My machine is completely locked up and the taskbar has disappeared. If I do Alt-tab I can't see the programs running. I have 1.2 GB RAM and yet the machine is behaving like it does when it is low on memory with window content overlapping, disappearing content, etc. What exactly is it doing that is taking so much time and resources I am extremely unhappy with this install. I can't do anything on the machine. The Beta 2 install was much smoother and faster. How do you ...Show All
Windows Forms using directx in a panel
Hi all, I am trying to do the drawing part of a control with DirectX (instead of GDI+). This works fine if I create my own paint eventhandler for a form . The code looks like: private void Form1_Paint ( object sender, PaintEventArgs e) { // code to do the directx drawing *here* this .Invalidate(); } If I use the paint eventhandler of a panel it doesn't work I use a code like: private void panel1_Paint( object sender, PaintEventArgs e) { // code to do the directx drawing *here* this .panel1.Invalidate(); } It seems that the " this .panel1.Invalidate();" isn't enough to make ...Show All
Smart Device Development Delayed redirect with PocketPC
Hi, I try to use the script code below on a pocketPC device to have a delayed redirect but it doesnt work. Have anyone some idea how to get this work <html> <head> <title>SPP Redirect</title> <script language="JavaScript" type="text/javascript"> function sppRedirect(url, time) { var cTicks = time; var timer = setInterval(function() { if( --cTicks <= 0) { &nb ...Show All
Visual C# ListView with CheckBoxes checks unwanted checkboxes
I'm using C# 2.0, and have a problem with a listview. I've turned on CheckBoxes and have my View set to List. The problem that I'm seeing is that the spacebar always checks an item, even if it's part of another items name. For example, if you create a new form, and drop a ListView called listview1 onto it, then put this code into the form Load event: private void Form1_Load(object sender, EventArgs e) { listView1.CheckBoxes = true; listView1.View = View.List; listView1.Items.Add("Apple"); listView1.Items.Add("Banana"); listView1.Items.Add("Bananas"); listView1.Items.Ad ...Show All
Visual C++ standard libraries
How do I compile a cross-platform code using standard libraries such as iostream, fstream, etc Cannot open include file: 'iostream.h': No such file or directory All standard library files don't have the extension .h. Always use #include <iostream> #include <fstream> and so on. Also the new standard library classes are located in the namespace std. So you have to use using namespace std; or to extend the classes with the namespace prefix (i.e. std::string). ...Show All
Visual Studio Team System Test Approach document
Heya, we've just started using the Foundation Server and I'm being assign with the task of creating a test approach. I opened the document "Test Approach.doc" and I have no clue whatsoever what kind of information I should put there. Is there a guide (except for the "MSF for Agile Software development" web pages) that can explain it a bit more. Terms such as "Tests supporting programming" and "Tests challenging product" are a bit vague for me. Cheers, Chris Hi Chris, That's a reasonable question. Have you seen the version of the test approach document that appears in Build 100 with guida ...Show All
Smart Device Development 'System.NotSupportedException in ProgressBar and thread
Problems with ProgressBar and thread again :P It works with this piece of code in windows application, but not .NET CF. Everytime I start debug, an error, saying 'An unhandled exception of type 'System.NotSupportedException' occurred in System.Windows.Forms.dll', comes out from the statement 'Application.Run( new Form1()); '. Could anyone tell me why public class Form1 : System.Windows.Forms.Form { public System.Windows.Forms.ProgressBar progressBar; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; private System.Windows.Forms.MainMenu mainMenu1; // private ThreadExample t = null ...Show All
SQL Server Reporting Services on Win XP Pro x64
I just installed SQL 2005 Express with advanced tools on my Win XP Pro 64 bit edition. I expected reporting services to work but it appears as if it isn't configured. I use SQL 2005 Enterprise at work and there I used the Reporting Services Configuration Toole to configure and set up reporting services. However, this tool is not available with the current install. When I installed, the installer warned that .NET 64-bit is registered and that it requires .NET 32-bit to install report server. Is there a special install I need to install report server for x64. Thanks Wentzel You need to conf ...Show All
Visual Studio Tools for Office specified cast is not valid error when tryning to create new word template project
hello, i am trying to create new word template project in VS 2005 this is after I created few word project on the dev computer, and done some deployment practice on the same computer like : set framwork security, using publish wizard and setup project and such things. Now every word project(document or template) I am trying to create I getting this error: specified cast is not valid and the create project failed if it is excel project everithing works fine. any Suggestions thanks itzik Hi, I cant pinpoint what the issue is but there are some things that can be tried. Can you make sure that Word is not active ...Show All
