Software Development Network Logo
  • Smart Devicet
  • Audio and Video
  • Visual C++
  • VS Team System
  • Visual Basic
  • Visual C#
  • .NET Development
  • Visual FoxPro
  • SQL Server
  • Visual Studio
  • Microsoft ISV
  • Windows Forms
  • Game Technologies
  • Windows Vista
  • SharePoint Products

Software Development Network >> ctusch's Q&A profile

ctusch

Member List

Worf
Tb2006
Vaish
aybe
M a t i a s
dmb13
Luis Esteban Valencia Muñoz
alphonso
Sudip1
Kimberly Wheeler
aria8
vladb
fscarpa58
ToddL
Nigel Horne
Sukhvinder
anubisascends
marco.beninca
kwards3
2326ac
Only Title

ctusch's Q&A profile

  • Windows Forms Bindingsource.Filter fails

    When I filter a bindingsource that is the data source for a grid I get no records even though applying the same filter to a regular query gives the expected results. barCodeJobsBindingSource.Filter = "Job='" + sJob + "' AND Task='" + sTask + "'" ; this.barCodeJobsBindingSource.Filter = "Job='CS-3229' AND Task='201'" The grid shows nothing and this.barCodeJobsBindingSource.List.Count = 0 If I run Query Analyzer with SELECT * FROM barCodeJobs WHERE Job='CS-3229' AND Task='201' I get the correct number of rows. Any ideas Thanks! Paul I am a little confused as to why the DefaultView.RowFilter and BindingSource.Filter are ...Show All

  • Visual Studio Tools for Office Are VSTO 2005 Outlook add-ins thread-safe?

    During the start-up routine in ThisApplication I make a call to a web service on a secondary thread. Based on the results of the web service, I must enable certain CommandBarControls. Is this safe to do from a secondary thread If not, how would I invoke it on the Outlook UI thread after the web service returns. I am trying to set the enabled property of the Outlook CommandBarControl (Microsoft.Office.Core.CommandBarControl) with the secondary thread. I dont see an invoke method on this object. How else would I be able to marshal it back to the main Outlook thread. ...Show All

  • Visual Studio Team System Can't Delete Orphaned Version Control Folder

    I'm having trouble removing an orphaned version control folder. I've tried TFSDeleteProject but it returns: The project 'test' was not found on the Tfs Server. I've tried some of the tricks found in this group regarding creating the folder under the reporting service but it didn't help. I've tried recreating the Team Project under the same name without creating a source control folder so I could hopefully reattach the orphan to the Team Project to be able to delete with TFSDeleteProject but it returned: Module: Initializer Event Description: TF30207: Initialization for plugin "Microsoft.ProjectCreationWizard.VersionControl" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: Dupli ...Show All

  • Visual Studio Team System error - Cannot create a connection to data source

    Just deployed a report to the TFS Report Server --- myself and the other developers can view the report just fine. However, the PM and the QA team get the following error message when attempting to view the report: An error has occurred during report processing. Cannot create a connection to data source 'FuncAreaSummDS'. For more information about this error navigate to the report server on the local server machine, or enable remote errors Those who can view the report are members of: Developer 1 - Publisher Developers 2 & 3 - Browser, Content Manager, My Reports, Publisher, Report Builder Those who CANNOT view the report are members of: PM - Browser QA - Browser, My Reports, and Report Builder Any ideas Thanks! ...Show All

  • Visual Studio Express Editions Going back to Originating Form

    Okay, This may seem like a newbie question, and it probable is.  How does one go back to an originating form when the originating form could be one of many, many options.   So for example: You have twelve forms.  Each named (for simplicity sakes) Form1 through Form12.  Form1 can take you to each of the twelve forms. Forms 2-5 can take you forms 6-12. Forms 6-8 can take you forms 1, 2-5, 9-12 or they make go back to themselves (From Form 6 to Form 8 and vice versa) Forms 9-12 can take you 1, 2-5, 6-8 or they make go back to themselves (From Form 9 to Form 12 and vice versa) All Forms can always go back to Form 1 (which easy enough) But if I am on Form 9 and I want to go back to 5 (an orginating For ...Show All

  • Visual Studio 2008 (Pre-release) Filling Related dataset...

    Hello all, I have a dataset that contains e.g. two tables, and they are related. (Parent -> Child) How can I fill the child table only with the rows that are related to a parent row in the parent table Lets say in my database I have a couple of parent rows, which has two child rows each in the child table. Now, I fill my parent table with one row from the parent table, and I only want the two child rows from the child table to be fill into the child table in the dataset. I could have gotten the same result by creating a dataset containing the result set from a simple SQL statment. (select bla, bla, bla, from parent, child where parent.id = child.parentid) My goal here is to use the result in a report. So the question is, is the first e ...Show All

  • Visual C# IEnumerator: Why is 'foreach' Reset memberfunction not executed?

    Hello, I'm trying to understand the 'foreach' statement and the IEnumerator interfacing. I run code like: foreach(MyCitizenType x in MyCity){} In the associated IEnumerator class, inside the 'Reset', 'MoveNext' and 'Current' memberfunctions I put some Console.WriteLine output. During debugging then at the first time that 'MyCity' is accessed, the IEnumerable GetEnumerator function is called. That seems okay to me ;-) Then with each run through 'foreach' the 'MoveNext' memberfunction is executed followed by the 'Current' function until 'MoveNext' returns false then the 'Current' function is not executed and the foreach loop exits. So far so good... But never do I see the 'Reset' function being executed. I was thinking that ...Show All

  • Visual Studio 2008 (Pre-release) DataBinding vs Static classes

    Working on May CTP... I'm trying to bind to a static class : public static class MyCommands { public static RoutedCommand ClearAll; static MyCommands () { InputGestureCollection ic = new InputGestureCollection(); ic.Add(new KeyGesture(Key.P,ModifierKeys.Control)); ClearAll = new RoutedUICommand("ClearAll", "clear", typeof(Window1),ic); } public static string Name { get { return "ok"; } } } And trying to use it on a Menuitem <MenuItem Name="mi1" Command="c:MyCommands.ClearAll"" Header="x:Static c:MyCommands.Name}" /> Everything works fine if i remove static operator on classe definition, any idea why Currently I am usingMay CTP, it obviously that you can ...Show All

  • Software Development for Windows Vista Automate testing Website using C#

    I would like to automate testing of a Website writing code in C#, The idea is to open the browser,navigate to the site,once the page is loaded search for a text box write some stuff in it click a button wait for the page refresh and search a string or an element on the page if so Succeeded else report failure, Guide me with some method or article describing the procedure how to do it, Thanks in advance Habeeb I can read by that way But how can I have control over the elements that is to write into a text box , click on a hyperlink etc can u help me with some sample code I would be very greatful to you, Thanks Shaik Habeeb ...Show All

  • Visual Studio Express Editions Getting data from a web site.

    Hi I'm just wondering how you can get data from a web page. This might be a little hard to explain what I want, but Ill try. Okai, I want to make a program access a .txt file or any other type of file, and get the content of the file, and then paste it into a text box in the program. Anyone have any ideas for that its because you are declaring the variables within the try block so its only within that scope. you need to either declare the variables outside or in this case close the reader within the try block... Try Dim theRequest As WebRequest = WebRequest.Create("http://stigern.net/Version.txt") Dim theResponse As WebResponse = CType(theRequest.GetResponse, HttpWebResponse) Dim theReader As New StreamReader(theRespo ...Show All

  • Visual Studio 2008 (Pre-release) Integrate with Visual Studio

    Hi, - I have dotnet 3 installed on my machine. - I've created a website and added a .svc file that I can browse and gives me the Service Information - I've tracked down SvcUtil.exe in the following folder "C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin". - I've downloaded an installed "Visual Studio 2005 Extensions for Windows Workflow Foundation RC5(EN).exe" Now I"d like to create a client talk to the website. But I'm not sure what to do from here. I'm using the following blog ( http://dotnet.org.za/hiltong/articles/52518.aspx ) and there's a mention there of right clicking onthe client project and selecting "Add Service Reference". But there is no such menu option. When I click "Add Web Refere ...Show All

  • Windows Forms TextBox with AutoComplete

    Hi, I am trying to populate AutoCompleteCustomSource (for my TextBox) only when the user hits the <Enter> key. I.e. when the user hits the <enter> key in the TextBox, i want to (a) send the text to the server, (b) do a server-side search for matches, (c) return the set of matches to the client, (d) populate the AutoCompleCustomSource programmatically, & (e) then display the matches in a drop-down. The difference here relative to how one normally sets this up, is that i want to issue a server-side request for the list of matches, & dynamically populate the AutoCompleteCustomSource. Now, i am able to do (a) thru (d), above; just not (e). Any idea how i'd do this Thanks, Mark ...Show All

  • Visual Studio Team System Advocates, advocacies, constituents, constituencies

    I'd like to know what is the difference between advocates and advocacies, constituents and constituencies. Especially constituents and constituencies. As my understanding, advocacies are the "things" that an advocate advocates for. For example, user experience.  And constituents equals to customers (can I say that ).  What most confused me is "constituencies". Should I call them voters or electors That sounds odd. Is there a document that explains the key MSF terms   I think I really need this. Oh tricky one because the meanings are so close and it might not translate well. Also, we may not be exact in our use of the terms either... A person can advocate ...Show All

  • Visual Studio Team System Symbolic Links in TFS?

    Hi, is there something like symbolic links in ClearCase in TFVC A symbolic link is a directory entry whose contents is a character string that specifies a full or relative pathname. The link acts as a pointer to a file or directory (or another symbolic link ). Many UNIX functions and commands “chase” this pointer: a reference to a symbolic link becomes a reference to the object at the full or partial pathname specified by the link. (Taken from CASEVision /ClearCase ) In the CC database I want to migrat they are used to aviod redundency of common sources. Does anybody know Tom There is no facility within TFVC to "share" files between projects or Team Projects, either through the mechanism in used in VSS or throu ...Show All

  • SQL Server Where to use SQLCLR ? Data access is not recommended?

    Just wondering which scenarios is suitable to use SQLCLR. Any kind of data access is not recommended I guess. Only things that cannot be easily done in TSQL should be done in SQLCLR but why Can't those things be done in app layer itself Scenarios recommended for SQL CLR: - External data access like filesystem, registry etc - Complex calculation - Recursion without data access (this can be implemented with CTE for data access) If data access with SQL CLR is not recommended why should CLR should be even used and logic reside in database layer.. it makes no sense to me. Any thoughts Auto-parameterization occurs for certain queries automatically, when you -don't- provide parameters (i. ...Show All

©2008 Software Development Network