Alphi's Q&A profile
Visual Studio Team System Team Suite not working -- Beta 2
I have the foxed VS 2005 Beta 2 with 3 DVDs. I installed 2 DVDs: VS2005 Team Suite, and SQL Server 2004 CTP. (The third, Team Foundation Server, required a W2K3 server that I do not have.) The Team Suite functionality, such as the Logical Designer, does not seem to be present. I even tried a fixup installation. This may be ignorance on my part. What does it take to access or activate the Logical Designer I don't believe that Team Foundation Server is required. Or is it I want to use the plain vanilla Visual Source Safe for source control, rather than Change Management from TFS. Ye ...Show All
Visual C# how to check the node's text, level and depth in a treeview control?
For example, if I have a parent node Root and then child node Child created at design-time, I know how to add child nodes to Child at run-time but my problem is adding grandchild nodes to Child. Root Child ChildOfChild1 // created at run-time ChildOfChild2 // created at run-time How can I add child nodes to ChildOfChild1 or to ChildOfChild2 at run-time the children of Child are sorted randomly so their indices change. The child nodes that you add in run-time are also added to there Parent TreeNode. You can allways iterate over the nodes and add new TreeNodes wherever you want. Here is a little example that adds ...Show All
.NET Development How do I send mail using C#?
Does anyone have a code snippet that shows how to send mail from c# Dear Mohamed, I was very interested to try the code snippet using authentificated SMTP you gave us, but I cannot find and member Fields in the System.Web.Mail.MailMessage object. How come I am the only one Did I do something wrong Thanks, ...Show All
Visual Studio Express Editions Exception error on all programs I build now...
I'm getting the following exception error on Windows 2000 machines now. I wasn't before, and I don't know what I changed. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.Control.WaitForWaitHandle(WaitHandle waitHandle) at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) at System.Wind ...Show All
Visual Studio Team System No Object Test Bench?
I am using the VS2005 beta2 and can use the test tools fine. However i cant seem to get access to the object test bench. Should it be there I had a similar issue when I was building some class libraries for my website. I figured out that I had to break out those assemblies into seperate projects, add those projects to the website, and then I was able to invoke instances of those classes. I guess if the project if a "Web site" vs. "Class Assembly" then, you are unable to build a class, even if you are coding .cs files. ...Show All
Software Development for Windows Vista Pondering
This has been something I have been pondering for a while. Given that its hard to move data in and out of the workflow from the host. I am thinking about using the workflow just to trigger steps in the workflow and then using my ORM objects within the workflow activites and outside of the workflow in my application. Mardo, What is the hardest part about exchanging data between the workflow in the host Are you saying that you would like to directly interact with your orm objects inside or outside the workflow in order to avoid host communication altogether Thanks Arjun ...Show All
SQL Server Transactional Replication with Updateable Subscribers
Hi, I really hope someone can help me with this one- it is most peculiar. I have a SQL Server 2005 publication and associated subscription. Both are sitting on the same server and the agents are impersonating the SQL Server Agent account. The SQL Server Agent account is in the Publication Access List, db_owner of the databases and in sysadmin. The publication is set for immediate updating with queued failover. Identity constraints are manually set on the subscriber, stored procedures are being replicated as @type = N'serializable proc exec'. Now for the odd stuff. I can open a published table using System manager and the ...Show All
Visual Studio Capturing the double-click event from the "Test Results" window in VS 2005
Hi all, I am trying to write a small add-in that will change the default behaviour of double clicking on an item in the "Test Results" window. Currently it will open the "Test Details" page but I want it to jump to the code instead. The name of the command that opens the "Test Details" page is "OtherContextMenus.TestResultsContextMenu.ViewTestResultsDetails" but it only gets called when using the context menu on an item not when double clicking on it. I used the CSEvents sample by MS to have a look at all the events that are fired when an item in the "Test Results" window is double clicked and I have included these at th ...Show All
Visual Studio 2008 (Pre-release) Tooltip background question
Hello, How can I set the background of a tool tip to transparent I tried the following but the background is black - which results in an ugly tooltip. (Sorry for the basic question, I am newbie at XAML) Thank you <Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" > <Page.Resources> <Style TargetType ="{x:Type ToolTip}" x:Key="{x:Type ToolTip}"> <Setter Property="Background" Value="Transparent"/> <Setter Property ="Template"> <Setter.Value> < ...Show All
Visual C++ Visual C++ windows Application Executable file Crash
I have a problem, i created a windows application in visual C++ with which i made an executable file and when i open the executable it crashes. Does anyone know how to solve this problem Lilly Compile your application under the debug configuration, and run by pressing F5. the Visual C++ debugger should take you to the source code line where the crash occurs. At that point, diagnose the bug and fix it. Brian ...Show All
Windows Forms windows distributed application and web application
I have developed a .net window application using a database connection string to access a network SQL server database. Now I was told that the front end window application will be installed on a doctor's home at California, and the SQL server is on a window 2000 server at New Jersay behind a firewall. The database connection string using a IP&nbs ...Show All
Visual C# How do I add a new connection string?
I was trying to use ConfigurationManager.ConnectionStrings.Add(settings) but that returns a read only exception. Is there another way to do this thanks dave app.config/web.config really isn't intended to be written at run-time. The solution we use to the Enterprise Libraries Configuration module. ...Show All
Visual Studio Team System How to ensure successful compile before check-in ?
Hi, It's looking like simple question... Any ideas Thanks, Leon Hi Leon, To ensure that u have a successful compilation before check in. Just get the lastest version of all the files {or porjects} .... rebuild your entire solution and after a succssful build check your code in. Regards, Nasha {MVP} ...Show All
.NET Development regex performance problem
Hi, I have this string, ",(None Active),1.0.0,1074005504,AL2000000,1_271005132951,ALLTEL,ripItem_271005132951,BREW Application,Operater Managed Item,27-OCT-2005 13:30:00;" and I run this regex against it, "([\w\s]+)*,([\w\s]+)*,1\.0\.0,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*" When ever I run my code, or run the expression in Expresso, the regex engine freezes up or something and doesn't stop searching. Is there something wrong with my regex Is there a way to modify it to make it more efficient What it basically needs to do is ignore anything that's in between a comma (,) as you can see by the example, i ...Show All
Software Development for Windows Vista Dual Display Suggestion
Hi, I use dual monitors for work every day, and the most annoying thing you can imagine is when I am several programs open and it seems like every time I open another window, it opens one the opposite screen that I want it to. Perhaps microsoft could come up with a way to right click a shortcut and press "open on screen 1, 2, etc." or maybe when you double click a program and move the curser to the screen you want it will automatically open on that screen. I know this isn't really a suggestion forum, but I am hoping microsoft reads some of these and takes them in to account for developing new software. Thanks. ...Show All
