Rubens14605's Q&A profile
Visual C# Multiple Fonts in a single Label/TextBox Control
Is it possible to set 2 or more fonts for a single Label or TextBox control Suppose I have a string: " Times New roman , Verdana, Lucida Handwriting " like this. This string contains different types of fonts. It is saved in database. I want to show this string in a Label control. As far as I know a label control must set a specific font. If I show this in a label control or TextBox control, it converts in a single font(which is ...Show All
Visual Studio Team System Plugin error text: “TF30272: Template not found on the server”
Hi there, I'm getting this error when trying to create a new team project.. Kinda lost, I guess my next step is to try reinstalling again. Error TF30170: The plugin Microsoft.ProjectCreationWizard.Portal failed during task SharePointPortal from group Portal. Explanation Plugin error text: “TF30272: Template not found on the server” User Action Contact your Team Foundation Server administrator. Warning TF30144: The New Tea ...Show All
Game Technologies: DirectX, XNA, XACT, etc. PS_3_0 Error
Can someone interpret this error for me ps_3_0 shader can only be used with vs_3_0+ shader (SWVP or HWVP), or Transformed vertices. I wrote a pixel shader but no vertex shader because I never needed to in the past (ps_2_0 etc) Thanks Thank you Jack, you are exactly correct. I simply needed to implement a pass though vertex shader. Thanks ...Show All
Visual Studio Express Editions Trouble creating an Array of Objects
I'm having trouble creating an array of objects. I created a class StudentInfo. I'd like to create and array Student() of StrudentInfo. At design time I do not know the size of the array. I have attempted many different variations. This is my latest: Public Student() As Object i=0 While Not file.EndOfStream txt = file.ReadLine Student(i) = New StudentInfo() Student(i).myInfo=txt i += 1 End While The code ...Show All
Windows Forms VS 2005 Express, Clickonce, and Roaming Profiles
It appears that Clickonce deployment in VS 2005 Express is disabled for roaming profiles. The app that I'm trying to deploy to a roaming profile does not allow the user to connect to the database. The exception thrown indicates the user does not have the permissions necessary to connect. When I deploy the app on a box that does not have a roaming profile, everything works great. I've found the property in the Clickonce de ...Show All
Visual Basic How to manage the "cross" button?
Hi. How can I set the properties of the botton with a "cross" sign on the top right hand corner of a window. In my programme, when the user click that button, the window will hide. But what I expect is to let it close rather than hide once the button is clicked. You can handle form close event. On this event handle the event and hide the form. You can use the following Code (C#) :- private void ...Show All
Visual Studio Tools for Office SelectionChange only fires once
I am trying to run some logic as a user selects different folders in Outlook (e.g. - Inbox to a subfolder to another subfolder, etc.) I want to enable / dusable some commandbuttons, etc. The problem is that the event fires once and no more. What is the best event to handle for this purpose Is it SelectionChange Why would the event stop firing WHat could I have done wrong in my code Misha is corr ...Show All
Visual Studio How do you reference to an assembly to a project programmatically?
I have a Project, and I want to add a reference to an assembly to the Assembly "References" folder - say "System.Xml". How do you do this The IDE seems to assume that you will be using the provided GUI (i.e.; Add Reference) dialogs to do this, but I want to do it programmatically. Any body have any ideas Thanks, Rod If the project implements VSLangProj.VSProject (VB, C#, and J# do) ...Show All
.NET Development problem usin output.bstrVal for indent XML string
i am having problem using the output.bstrVal property for creating a pretty string of the xml DOM tree, The problem is that when i am passing a long xml documents the property returns a bad pointer and when i am using a small a small xml document it works well i am attaching the function that is beeing used tstring XmlDocument::XML2String( void ) { BSTR temp; //document_->get_xml(&temp); -> Without indent HRESULT hr ...Show All
Windows Forms tree view , list view relation ship, master detail relation ship
Hi guys,, Im working on an application that retrieves data from an xml fiile to my form using tree view and list view controls... I wrote the code to populate the employee code in the treeview control and it worked fine then I wrote the code&n ...Show All
Visual Studio Team System TF30321: The name you typed is already used for another team project
I had a project fail part way through creation (sharepoint timed out on creation for some reason) and it also failed to "back out" of creation properly. Now when I try to create a project with that same name I get error TF30321 "TF30321: The name you typeed is already used for another team project on the Team Foundation Server. Type a unique name for the new team project." I would have thought this was a big problem, but I had alread ...Show All
Visual Studio Team System Wildcard for version type
Is there any way to specify a wildcard for a version data type in the SCE e.g. Common Language Runtime version 2.*.*.*. Currently, I can only set it to 2.0.0.0. ...Show All
SQL Server In what order are these methods on the PipelineComponent class called
I am interested in what order these three methods are called because they are all needed early in the component's life. RegisterEvents RegisterLogEntries ProvideComponentProperties I would guess ProvideComponentProperties, RegisterEvents,RegisterLogEntries Thanks Allan Matt I'm not sure that I would say they are unrelated as they all provide details AFAIK about your component in some way RegisterEvents - Add a ...Show All
Windows Forms Gdiplus Graphics Clear Method
What is the best way to clear a region of a gdiplus graphics surface Color c(0,0,0,0) Graphics g; g.Clear(c); // clears the whole lot, and I dont want to do this thanks so much in advance aidanh ah yeh... new there must be a simple solution thanks aidanh ...Show All
.NET Development BindingSource and Web Services
First, let me apologize, for I'm sure this is a simple answer subject. Now, on to business. Question: Why doesn't this code work to update the underlying datasource (Northwind "Customers" table served from SQL2K, as an XML web service. ALL designed using the designers in VS2K5, and the Data Sources wizard. private void customersBindingNavigatorSaveItem_Click( object sender, EventArgs e) { localhost. Service ws = ...Show All
