SED's Q&A profile
Visual Studio Text Objects and dynamic font properties?
In my application, I have a panel where the user can set things like font and size of the text in the report. This works fine for all database fields and formula fields, where I just create a condition formula on each property. However, for some odd reason, you cannot create condition formulas for these thing on simple Text Objects. The only way around it that I have found is to create all text objects as unbound fields and enter their text as a formula, but it seems like a very odd way of doing things. Is there a simpler way Hello, Unfortunately in .NET there isn't an easier way to accomplish this ...Show All
Visual Studio Team System Install Done, what's next?!
Hi everyone, I installed Team Foundation Server on my windows 2003 standard server and everything went well .. but now what There is nothing in the Start Menu talking about it, no icon on the desktop, nothing! I mean, how can I add new project to it create portal for each project where can I read about all that Thanks TFSSERVICE user looks like it won't have the permission (by default) to edit server-level information. However, if you have a user who is in the Administrators computer group on both AT and DT, it should have the permission to add you to the TFAdmin group. Best of luck! Edit: Belay that- the Service Accounts group looks l ...Show All
SQL Server how to populate foreign key in normalizing import?
I am copying data from one denormalized table to a COUPLE of normalized ones. I am using multicast, following advices from the forum. The problem I have is that the two destination tables (A and B) are sharing a foreign key relationship.Filling in A is no problem, but when I want to fill in B, I don't know how to populate its foreign key, since the multicast doesn't know the corresponding primary key in table A. Does this help http://blogs.conchango.com/jamiethomson/archive/2006/05/22/3974.aspx -Jamie ...Show All
Visual Studio Internet Connection in VS 2005
Hi, I just installed VS 2005 on my machine, but my online help cannot be accessed. I keep getting the message: "The request failed with Http Status 407. Proxy authentication required". IE on my machine does have proxy authentication. Is there a fix for this Thanks, Arshad Arshad, Where does this message appear Is it in a WebBrowser upon trying to view a help page, or is it in the Search toolwindow (Help->Search) Thanks, Jeremy Jones ...Show All
Windows Forms Workaround for Windows NT Service Control OCX problems with Multithreading from Visual Basic 4-6
Hi, I would like to update the Windows NT Service Control OCX I'm currently using in my application. Right now, it's currently encountering some problems with running background processes from one to another. Would you know if there are new updates to this control as to making it thread safe or is there a workaround solution for improving on the multithreading&n ...Show All
.NET Development Access Denied when writing to a file.can you help?
Hi guys, Despite several pages on goggle on "access denied" I have not found a proper solution. I have a vb.net project 2005 I have created a folder called "c:\Test" then I m trying to create a file in this folder and I get "access is denied" Could somebody give me a walkthrough or what permission and where i need to have and how to enable them. The funny thing is it doesnt happen on another folder ! mmmm I cannot see a difference Can you help thanks a lot Hi, Quickly I have noticed that by putting also the name of the file it does create the xml file. HOw silly of me. Thanks for spotting. vbjunkie ...Show All
Software Development for Windows Vista Restarting persistent worklow throws a mysterious exception
Hello, I have a problem with loading a persisted workflow: On RT.GetWorkflow the following exception is thrown: System.NullReferenceException: Object reference not set to an instance of an object. at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1..ctor(Boolean useCurrentContext, EventHandler`1 delegateValue, Activity contextActivity) at System.Workflow.ComponentModel.Activity.AddStatusChangeHandler(DependencyProperty dependencyProp, EventHandler`1 delegateValue) at System.Workflow.ComponentModel.Activity.add_StatusChanged(EventHandler`1 value) at Upper.S3.Server.Workflow.CoreActivities.StateWorkflow.OnActivityExecu ...Show All
Visual Studio Run SQL statements from .sql file
I know, the title is not good enough, but... Anyway, here's what I want to do: 1. I have an add-in exposed as menus under the tool menu. 2. Eventually I'll have a *.sql file with some sql statements (however this file will not be in a database project). 3. I would like to be able to "Run" a statement from the *.sql file as I can do against a query file from inside a database project. Is this possible, if so how Niels This is certainly possible. You can see how to create an add-in with exposed menu items by using the new addin wizard from the New Project dialog. There's an option in the wizard t ...Show All
Visual Studio Team System TF10216: Team Foundation services are currently unavailable
I finished the TFS install, with a lot of problems. I can connect to the server, however, if I go to "Team Foundation Server Settings | Security" I receive the following errors: Failed to query the source control global permissions for [SERVER]\Service Accounts Team Foundation Server foundation does not exist or is not accessible at this time. Technical information (for administrator) HTTP code 503: TF30059: Fatal error while initializing web service I also get error TF30177: Team Project Creation Failed when attempting to create a new project. ------------ Event Type: Error Event Source: TFS Version Control Event C ...Show All
Visual Basic deploying .swf file
my application has these 2 procedures: 1. Private Sub btnHelp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Help.ShowHelp(Me, "..\CYM HELP.chm") End Sub 2. Private Sub frmLogin_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim pro As New System.Diagnostics.Process Dim proInfo As New System.Diagnostics.ProcessStartInfo("..\CYM.swf") pro.StartInf ...Show All
Visual Studio Team System How to make tests run directly from build output directory (instead of a copy) ?
Hi, I've recently started using the testing tools available in Whidbey. Having used tools like JUnit and NUnit in the past, I have to say, test integration within the IDE is pretty nice. However, I'm not sure I like how everything is copied to a separate directory in VSEqtDeploymentRoot each time a test run is kicked off, because I am actually trying to test my VsPackages, and those make use of a number of hardcoded paths in the registry. Is there some way to have the tests run directly from the output directory, which is where all the hardcoded paths point to The only other option I see is to modify the registry keys to point to some consta ...Show All
Architecture Choosing deisng pattern
Hi. Your help is very appreciated. I want to build an app that is basically a client db. For that I am contructing a "client" class (that has - name, address, contact details etc...). However, I want to enable my users, to add properties to my "client" class WITOUHT needing to change my code . i.e. some clients might require an "age" and "annual income" properties as part of the "client" class. Which design pattern(s) might assist me p.s. I would like to use .NET(C#) to implement it . Thanks a lot Roy Hi! All depends on level of complexity you ready to take. Here is choices: Create 1 ...Show All
Windows Forms Cross Thread, Cross Class, GUI Updating
Hello I have been looking at cross thread GUI examples and delegate examples at length, but there is one design issue I havent found an answer to yet. Let me give an example of my problem. Say I have a form class "frmCls" and a business logic class "BusCls." BusCls contains a function with a lengthy process busObject.LongProcess(), and frmCls is used to kick this off and show the progress...naturally I want to create a thread here. Now lets say that when a button on the form is clicked, a thread is created, and an entry method is called which declares and instanciates busObject, then called busObject.LongProcess( ...Show All
.NET Development Reading 3GB text file in C#
Hi I need the assistance in C#. I have 3GB Text file I want to Split that file based on some delimiters, Currently I reading that file multiple blocks. Each block having 10 mb content. When I process grater than 700mb source file. It give the memory out of exception. I have some files size is 2GB or 3 GB. These I files I cant read even first block. Pls any one help me to get good solution. This primary focus for this forum is communicating with databases. Your best bet would be to post this question in the .NET Development General forum. The URL for the forum is: http://forums.microsoft.com/msdn/ShowForum.asp ...Show All
Visual Studio Team System Activating TFS Trial
Hi, We've installed TFS Trial 3 months ago. We just received our license key (for TFS, not trial). How can we activate/register it I hope we don't need to reinstall everything with correct keys! Thanks! You should be able to go into maintanence mode by going to add/remove programs on the server and then selecting Microsoft Team Foundation Server. In the repair / uninstall dialog there is an option at the very bottom to type in your full product key. If you don't have the key because it was shipped as part of a volume license deal etc then see the following post from Rob Caron about how to obtain the key from the media:- http://b ...Show All
