HariAdu's Q&A profile
.NET Development A correction is needed to the instructions -- or more likely a correction is needed to me!
Hello I am having a problem accessing the ODBC tables from the Visual Studio .NET 2005 version I am trying to use the Server explorer (View a Server Explorer) option in VS 2005 to acce ss the data through one of our properiatiary database. I am able to successfully login and execute Select Queries in the Queries BOX. But when i try expanding the drop down of TABLES and VIEWS in the right pane after connecting through the system DSN, I am getting the following error. Microsoft Visual Studio Column 'TABLE_CAT' does not belong to table Tables. This method works fine with the VS .NET 2003 version. I was trying to find out if this could be a problem since couple of folks had reported this problem in ...Show All
Game Technologies: DirectX, XNA, XACT, etc. clearing it up
so from what i understand the beta comes out on the 30th which is only for use on windows games. Then around this holiday season the full version of express will come out which supports windows and xbox360 use. And to share xbox360 game information you must subscribe to the xbox360 developers club service but you cannot sell your 360games with the express version. And then not untill somtime spring next year the pro version will come out which you need for selling xbox360 games. Is this all correct Also a couple questions i have. I read that you would not recommend the pro version for a small indie newcommers that its more for the established larger developer could you clarify on why that is so Also what most interests me is ...Show All
SQL Server Filter SQL Server data by user With an Micmicrosoft access front end
I am in the process of migrating 40 access databases to SQL Server and still use an access front end.All of these databases are Identical in structure and purpose. The goal is to centralize all of the databases backends into one Sql server database, but the data needs to stay seperated by each location(user). I was able to add a location feild to all of the tables to keep the data seperate. Then I imported three of the locations data for testing. I would like to know how could I filter the data on the access frontend, so that it would ask the user for their location and only allow the user to access, update, and delete that Locations data I need an example of how to do it on the access front end , and not the the sql server side. Als ...Show All
Visual Studio 2008 (Pre-release) Namespace mapping in June 2006 CTP
I have a project that uses an integer in XAML. In June CTP it's not working anymore. Namespace mapping: xmlns:s="clr-namespace:System" Integer declaration: <s:Int32>12</s:Int32> Error at compile-time: The tag 'Int32' does not exist in XML namespace 'clr-namespace:System' I had wondered about why the assembly wasn't needed in pre-June code. Nice to see that it's now consistent. So is it something like Assembly=mscore.dll or whatever ...Show All
SQL Server Framework 2.0 changes - TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.
If you connect to a server and open a query in SQL Managment studio (2005) and looses connection and then regain the connection, when you try to run the query it gives me a "TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host." This happens against both 2005 and 2000 servers. If I re-run the query it works. However, this happens in our VB.NET app as well for clients with Wireless connections. So, something has changed in Framework 2.0 regarding this, does anyone know how to tell the client to not throw this error and just try connecting the server instead which will work I get the same error. It even occurs between my sql server management studio and the s ...Show All
Visual Studio Team System Can't undo CreateTeamProjectFolder()
I'm having a similar problem, but with a more straightforward cause: I created a root version control project folder via Microsoft.TeamFoundation.VersionControl.Client. VersionControlServer :CreateTeamProjectFolder() so as to minimize its visibility. TfsDeleteProject won't delete it, nor can I create a new "full" team project that uses the existing root version control folder. Is there any way to get rid of this thing Rich, that method is used as part of team project creation, but it's only the version control part. I don't recommend using it. There is no method in the OM to delete that folder. You might be able to delete it by first creating a new Team Project, specify that there should be no versio ...Show All
Visual C# A question of OO structure...
Hello All, I'll do my best to explain what I'm trying to accomplish and look forward to any and all suggestions you have for the "proper" way to do this (realizing there is no 100% correct way, but some methods are more optimal than others). I apologize in advance for my n00bness. For this example, I'll use football (american) players. I want my Player class to have a List<Stat> collection of my Stat class. Each Stat, which is an indicator of how well a player plays a particular position, should have a base value but be able to return a "true" value which is a calculation of the base value plus a percentage of one or more other stats. For example: a Player's Halfback stat might be base value plus 50% of the Fullba ...Show All
SQL Server Access to TaskHost from derived Task class.
Hi, for some reasons, I have to get access to the TaskHost during validation and execution. For example, I wanna know, if my task is within a container or not (parent is Sequence). For the UI during design time, there is the TaskHost parameter. What about the execution time or during validation Any hints Thanks. Thorsten Even the package itself does not "know" the disk path it was loaded from. The package can be loaded from SQL server, or constructed in memory using API without saving it at all, or loaded from file and then completely modified, etc, so the disk path does not always makes sense at all. So there is no way for a task to find out the location from where the package was ...Show All
.NET Development Loading words from text file in an array
Hi, How do i load a bunch of words from a text file into an array. And how can i randomly show them in a label with a sleep thread of 3000 milliseconds This is how the words in the document look like: test; west; coast; east; I tried using the for and foreach statement. Without luck! Hope you guys could help me out. Thanks in advance! read lines into an array: StreamReader theReader = new StreamReader("File.txt"); ArrayList theWords = new ArrayList(); while(!theReader.EndOfStream) { theWords.Add(theReader.ReadLine()); } theReader.Close(); Randomly show the words: Random r = new Random(); int numberChosen = r.Next(0, theWords.Count - 1); MessageBox.Show(the ...Show All
.NET Development OutOfMemoryException when creating messenger object
I am trying to use Messenger Type Library, and keep on getting the following error when creating an instance of the Messenger object. System.OutOfMemoryException: Creating an instance of the COM component with CLSID {B69003B3-C55E-4B48-836C-BC5946FC3B28} from the IClassFactory failed due to the following error: 8007000e. Has anyone run into this problem I have googled a bit and it seems that a couple of people have run into this, but there are no workarounds that work for me. I have tried enabling messenger service in Services, and also it isn't disabled in Group Policy Editor. Thanks Abhishek Chatterjee wrote: it is not working on mah computer and i have a deadline... I recall having to enable some system ...Show All
Visual Studio Team System Reuse of Schema & Data Comparisons?
Hello there, Is it possible somehow, to save our schema and data comparisons Even in details I mean, that not only the connection parameters, but the synchronization properties, directions also. Situation: I have 3-5 databases with the same schema, but different data content. I know, that several data (even some records in a table) different, but will not be synchronized with the master instance, other data will. Is there a possibility to save these once-it-had-been-set-up-why-to-set-up-again comparisons Thanks in advance. Hi Whisp Just to be clear on your request You are asking that - Schema Compare and Data Compare sessions can be saved - You can do more than 1-1 comparison, i.e. do a comparison between 1 sour ...Show All
Visual Studio Team System thread counters
What is the system/thread counter Is it a count of all the threads running on the box, or of the IIS worker process threads Is there a thread counter just for IIS worker process threads What about the "number of .net clr logical threads" and "number of .net clr physical threads" counters What are those We're in the process of refactoring from ASP and VB6com to .Net. We're looking to a) understand what exactly the thread counters I've mentioned are, and b) find a counter or counters that will tell us about threads in both parts of out app. Thanks! Charlie Charlie, with the VSTS load test editor, you can see these description for any performance counter by doing the follo ...Show All
Visual Studio Tools for Office Change Word formfield checkbox value
I have a checkbox in word and i've made a bookmark for it. How do I check or uncheck the box using C# in .net 2.0 I have done this in asp using vb here is the code. If (form1.bitJoint.Value = "True") Then .formfields("Check7").CheckBox.Value = True Else .formfields("Check6").CheckBox.Value = True End If Hi RajDas I've separated this to its own thread, since it's a different topic than your original thread. As you'd marked that as an answer, the chances of getting a reply were smaller than if you posted a new thread. object ffldIndex_Check1 = "Check1"; this.InnerObject.FormFields.get_Item(ref ffldIndex_Check1).CheckBox.Value = true; (If you're not using VSTO ...Show All
SQL Server Missing "Foreach File Enumerator and Foreach Item Enumerator"
Ever since installing SQL Server 2005 SP1, when using the Foreach Loop container in SSIS the Foreach File Enumerator and Foreach Item Enumerator are missing from the Enumerator drop down box. Anyone else seen this issue and know how to fix it thanks Eric My problem is the same, but the cause is not clear. When I run the C# code, I get the following two keys as rogues: {5ED60779-4DE2-4E07-B862-974CA4FF2E9C}: {bad19576-066d-4093-bbde-9c84e43587da}, which dont appear to be related either to lexmark or to macromedia flash. Funny thing is that these two same keys figure up when I run the code using my normal admin login too. I gave myself, the network service account and the "Users" group ...Show All
SQL Server Email Subscription RSReportServer.config settings are ignored
My company has a need to restrict email subscriptions to the local domain. I modified the RSReportServer.config file settings so that the DefaultHost and PermittedHosts elements only have our domain name listed. However, the email subscriptions seem to completely ignore these settings. I can still send emails subscriptions to anywhere. What am I missing ...Show All
