Ion Todirel's Q&A profile
Visual Studio Tools for Office Modifying Infopath controls through scripting
Is it possible to highlight an infopath control, say a textbox, via scripting. I want to focus/highlight a textbox on an infopath form when something is clicked in my custom taskpane. How can I achieve this Thanks rahul Hi Rahul. Great question. The team that can best answer this for you is the InfoPath team. For the quickest response possible, please post your question on the InfoPath forum located at this URL: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.infopath&lang=en&cr=US Thank you. -Mitch ...Show All
Visual Studio 2008 (Pre-release) Convert SQL to DLINQ
Currently I write my sql in Query Analyzer and once I am happy, I paste it into the code. With DLINQ, it is different enough that I cannot do this easily. If you can write a tool or special copy/paste action that converts SQL into DLINQ code, it would help a lot. Not only would it make me more productive, it would be useful in teaching people how to write DLINQ code. I know it probably cannot account for all SQL, but if you cover the basic select statements it would be enough. Jonathan Strangely enough, we have someone attempting to do just that. I can't yet claim that it will end up as ...Show All
Visual Studio Express Editions Function help needed...
I known that what I want to do is possible... i just dont know the commands. Here's what I want to do: ------------------------------- Find all files on the users computer Open every file and search for a text string... ------------------------------- Please help. hi, i asked the same question but about something else and i got an answer for that http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=189577&SiteID=1 hope it helps ...Show All
SQL Server Ignore Grouping
I'm trying to place 2 matrices on a list. The first matrix I want to listen to the grouping of the list, and the second I want not to listen to the grouping of the list. In other words, I want the scope of the second matrix to be at the same level as the list. Is this possible Basically I want the second matrix to always show the same results regardless of the list's group. - List groups on PersonID - Matrix1 -Count for Person - Matrix 2 - Count for all People I tried making to set the datasource on the second matrix to it ...Show All
Visual Studio 2008 (Pre-release) Will DLinq fully support objects-first development?
Microsoft: 1. Will DLINQ be able to a parent-child relationship without having to write a ParentId property in the child class 2. Will DLINQ be able to map dictionaries (not just sets) 3. Will DLINQ be able to map nested classes properties in the same table as the class 4. Will DLINQ support all inheritance mapping strategies (class table, single table, concrete table) and be able to mix strategies at different levels 5. Will DLINQ eventually be able to do all things that (N)Hibernate does well (with the added benefit of LINQ's type safety and intellisense) in a objects-first style development Or will DLINQ be another table ...Show All
Visual Studio Team System Using Extraction data from web tests
Currently I have an extraction rule that pulls in data - ExtractRandomUser rule1 = new ExtractRandomUser (); rule1.Name = "UserName" ; rule1.ContextParameterName = "UserName" ; request1.ExtractValues += new EventHandler < ExtractionEventArgs >(rule1.Extract); ExtractRandomUser rule2 = new ExtractRandomUser (); rule2.Name = "EMail" ; rule2.ContextParameterName = "EMail" ; request1.ExtractValues += new EventHandler < ExtractionEventArgs >(rule2.Extract); yield return request1; What I want to do is use that data in a new method - Cre ...Show All
Visual Studio Team System Possible to unmap a file in a workspace?
Can you unmap a file in a workspace so the server does not think the latest version has been retrieved I need to basically be able to do a "Force get" type operation on an MS Access database using the MSSCCI provider with the MS Access Source Control plugin. However, I don't see a way to do this using the MSSCCI provider, and you cannot simply just "Force get" the file using Source Control Explorer because Access has to do this for it to understand the database. Can you simply unmap the file Unmapping the folder does not work. The only thing I've found that works is deleting and recreating the workspace. BTW I'm ...Show All
Visual Studio Team System API Question #1
Does anyone know what this method does/means public System.Boolean ImplementsExplicitly ( Microsoft.Cci.Method meth ) Member of Microsoft.Cci.TypeNode Thanks so much for your reply. You gave me exactly what I was looking for and answered the same question about the Implemented InterfaceMethods method that I was thinking about posting! There are other API specific questions I have and if it's OK with you I might post them. Don't worry, I won't flood the forum with these questions. Usually the API in question is a method or property that I feel may be able to solve my problem more easily or qui ...Show All
Visual Basic visual basic Label number as a variable
Is there a way to assign a variable to a label number for i = 1 to 10 label(i).Text = Name next i or something like that Bruce You can build an array of labels, or use the Controls collection already on your form to look for labels ( you can identify them by name or the Tag property, if you set it ). If label was a list into which you'd passed the 10 labels you want to set, and Name was the text you wanted to put on all the labels, the code you posted would work. ...Show All
.NET Development Combine Visual Studio with Access
Hi All, I have an app developed in Visual Basic 2005 connected to an SQL Server 2005 database (both Express editions). What I would like to do is create an Access .adp connected to the same SQL Server 2005 database. It seems however that Access (I have 2002) does not support developing against SQL Server 2005. Never mind, I can use Visual Studio or SQL Server management studio 2005 to make changes to the database, and I can connect the .adp file to the database and make data changes. However when i open the .adp file i get a connection error when trying to run the VB app and I need to run both simultaniously. Is this due to some ...Show All
Visual C# How can I know if the Microsoft Media Player 10 has been installed in user's PC? thanks!
How can I know if the Microsoft Media Player 10 has been installed in user's PC thanks! Player.versionInfo <CLICK THERE ...Show All
.NET Development insert an element into a xml file using web application
why the new element and attribute can not insert into that xml file Any help will be appreciated. Code as following. using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Xml; namespace WebApplication1 { /// <summary> /// Summary description for WebForm1. /// </summary> public class WebForm1 : System.Web.UI.Page { protected System. ...Show All
Visual Basic Implements Interface problem
Implements Interface problem I have an Interface named Interfaces: Imports System.Drawing Public Interface IShared Function CalculateDistance(ByVal x As Single, ByVal y As Single) As Single End Interface Public Interface IPrintableObject Sub Print() Sub PrintPreview() Sub RenderPage(ByVal sender As Object, ByVal ev As System.Drawing.Printing.PrintPageEventArgs) End Interface I tried to apply it to a Customer Class in a different project, which properly references Interfaces Option Strict Off Imports Interfaces Public Class Customer Inherits Contact Private mPhone As String Public Property Phone() As String Get Return ...Show All
Windows Forms Question about different classes and EventHandler
Hello again everyone! I'm quite new in C#. Yesterday I made a Clock class - it's using a System.Windows.Forms.Timer and there's a EventHandler timer.Tick. When I define this class in another class. It won't update the clock. Why it is like that and how can I change it What do you mean by " When I define this class in another class" Can you post relevant parts of your code ...Show All
Visual Studio 2008 (Pre-release) WCF with "raw TCP" clients?
Hi All, I have been working on a custom Encoder to work in conjunction with the TcpTransportBindingElement (i.e. tcp transport) to communicate with "raw tcp" clients (i.e. the byte stream to/from the client is neither soap nor xml). The current obstacle is that the ReadMessage method in my encoder is not "firing". I presume it is because the transport is not receiving something it recognizes as a message terminator. I would appreciate if someone would point me to material on the internal workings of the WCF Tcp transport. Also, it is important for me to know if I cannot use the tcp transport that ships with WC ...Show All
