dalex's Q&A profile
Visual Studio 2008 (Pre-release) Peer to Peer Application
hi I am tring to build a peer to peer application using WCF....can any one give me some details about peer channels and how to use it.... Regards Ragu A good place to start would be http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/wcf_samples/html/31f4db66-edb2-40a6-b92a-14098e92acae.asp ...Show All
Software Development for Windows Vista Nero 7, OTP
I am unable to install NERO 7.2.0.3b on Vista Beta 2, Does anyone have any idea's of what to do. According to NERO they are the only VISTA Product. Program will not succesfully install and errors on Windows Installer towards end of install. Creats folders but no startmenu options etc. Michael this is a develop only newsgroup. Please go to the vista newsgroups: http://windowshelp.microsoft.com/communities/newsgroups/en-us/default.mspx ralph ...Show All
Visual Studio Team System Keyword Expansion
Hello, I understand that VSTS does not support the keyword expansion elements of VSS ($History etc). Given this does anyone know how a developer could identify the version of a code file on their system without accessing source control Thanks, Si... Keyword expansion is still on our "wish list" of possible future features. It is not currently offered in any released version of TFS (2005, 2005 SP1, 2008) or any of the TFS power tools. Sorry. --Ben Ryan ...Show All
Visual Studio Express Editions VB E E 2005 and MySQL
Can i use VB express edition to manipulate data in a remote mysql dataabase JGWingfield wrote: Mattyo - Please post if this works. The Express Editions (except for VWD) are only supposed to support local data connections. That is definitely the case with SQL Server but I haven't tried with any other DB. Curious to know what happens. Thanks. Hi, Yes, this is quite accurate. But limitations is only imposed on the Developement Environment. There's no limitatoin if your accessing through code... cheers, Paul June A. Domag ...Show All
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
.NET Development Deleting Message Queue causes the client application to crash
Hi all, I'm sorry if this is not the correct place to post my question. I just could not find the appropiate category. Here's the problem. Currently in our system, there's a windows service that controls the creation & deletion of the queues for all the client applications. for every client, there's one queue and in order to keep the queue alive, the client app sends a "heartbeat" message. If after a certain period (1 minute) the windows service does not receive the heartbeat, the queue gets deleted. The client listen to the queue using the ReceiveCompleted event. If for some reasons the queue gets deleted (because the ...Show All
Windows Forms How do I get the textbox control to work like it did in VB6
I'm having a problem with the GotFocus event using the mouse. In VB6 if I selected the TextBox with the mouse, it would raise the GotFocus event. If you clicked the TextBox a second time the cursor editing point would be set. In Visual Studio 2005, I can raise the GotFocus event only with the Tab or keyboard events. Clicking on the control with the mouse sets the cursor to the point in the text to be edited. I would like to raise the GotFocus event with the mouse first and then if I click a second time that I can start editing the text where the mouse points. Any suggestions how I can do this with visual basic VB6 Code: Private ...Show All
Visual C++ vector container with user-defined class
Hi all: I want to use the STL vector to store an array of objects which class is user-defined. LMVector is the user defined class and here it's the LMVector.h file. class LMVector { private: .... public: .... }; In another class LMRectangle, there is a field needed to store an array of LMVector. Here is the header file for LMRectangle class LMRectangle{ public: .... private: std::vector<LMVector> _vertexList; .... } This doesn't work and it will complain that LMVector is a undeclare ...Show All
.NET Development Did asynchronous execution change in 2.0
hello, i have this code that called method asynchronously through the delegate class with the begininvoke and endinvoke methods. Exceptions could be thrown withing the methods which were always caught by the framework and rethrown when endinvoke was called. Has this now changed as my exceptions are no longer being caught and rethrown, and just bringingt the whole app down as they are unhandled. he is sample code that i use to denote the changes. .net 1.1 /// <summary> /// Summary description for Class1. /// </summary> class Class1 { private delegate void ThrowExceptionDelegate(); private static bool stop; /// ...Show All
Visual Studio Fileless editor
I want to add an editor that works not with a single file but rather modifies elements in various files in the open solution. I can tell that I need to implement a custom editor which I have started doing (using the wizard, that is). I suppose that I will have to remove a number of persistence interfaces etc. for it to become fileless. But how do I instantiate it then I have called CreateEditorInstance, and it seems to work but nothing happens. I guess I need to call InitializeEditorInstance, but it requires a lot of parameters and I haven't been able to find any real documentation for it to get me started. For instance, what do I give it ...Show All
Software Development for Windows Vista WorkflowPersistence question
I'm trying to write fullblown WF persistence service, and so far I was good. I had no problems with Instance save/load methods. But now I stuck with Load/Save CompletedActivity... How do I get ContextGuid of the completed activity, if all DependencyProperties are internal/private Documentation points to void pages How do I something like this in non-MS assembly: Guid contextId = (( ActivityExecutionContextInfo ) activity . GetValue ( Activity . ActivityExecutionContextInfoProperty )). ContextGuid ; OK. Here are my conclusions about "how to write persistence service" for any da ...Show All
Visual C++ Performance for C code
I looked around and was not sure where best to post this question...this won out over all. Question... I have legacy C code that employs heavy duty graphics algorithms ... internally quite a few of them sit on use of a WORD data type. At the time of their development memory was not as it is today and so a WORD data type with max value of 65k was enough to satisfy any requirements. In convsersation someone recently spoke about the use of WORD vs. DWORD with today's compiler optimizations and performance on 32bit processors. If I rework the algos to utilize a DWORD vs. WORD I understand I will eat up more memory but the benefits are said to be ...Show All
Visual Studio Express Editions Visual Basic Express publish error
I'm using Visual Basic Express Beta 2. When I try to publish a program. I get always this errors. What am I doing wrong I publish my program to my harddisk. Can anybody help me Errors Warning 1 Could not find resources for culture 'en-US'. Using culture 'en' instead. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 0 0 Warning 2 Could not match culture 'en-US' for item '.NET Framework 2.0 Beta'. Using culture 'en' instead. C:\WINDOWS\Microsoft.NET\Framew ...Show All
Visual Basic Making a picturebox have a transparent background
I have a picture of a panda with a pink background (panda_down.bmp) and I was wondering: how do I get that pink background to be transparent Draw the image yourself in a paint handler, and use the imageattributes class to make 255/0/255 ( magenta ) transparent. ...Show All
Software Development for Windows Vista About the Workflow Designer in the lab 10.
Hi, I'm in the process of trying to setup a demonstration application which shows an example of workflow and rules management. Here is what's happening: 1. Open a existed wfname.xoml; 2. In wfname.xoml.cs file I had built a string variable name as " testStr "; 3. Drop an IfElseActivity on the design surface, and edit the condition property on the IfElse branch to select System.Workflow.Activities.Rules.RuleConditionReference option. 4. In the Condition option's Expression property, I will set as "this.testStr != string.Empty", but i can get the variable name testStr Pls give me some ideas! ...Show All
