DominiqueMassiot2's Q&A profile
Visual Studio Team System Feature request - column datatypes visible in project
Greetings, In the project tree view each column, in a table, is visible but the data type of that column is not displayed. It would be desirable for the data type to be either visible next to the column name (like SSMS and Query Analyzer) or alternatively displayed in the property grid for that object. -- Regards, Neale NOON Dear noonie, Thank you for your suggestion. I will relay it to the part of our team implementing this functionality. By the way, there is a great way to submit bugs and suggestions for our (and many other products) online at http://connect.microsoft.com . Your ...Show All
Visual C# How can I filter data by DataTable ?
Please tell me how to filter data by Dataset or DataTable Thanks in advance ! hi, the easist way to do that is to filter your bindingsource like for example Mybindingsource.Filter = string .Format( "MycolumnName = '{0}'" ,valueToUseAsAFilter); but you can use dataview if you want to filter some records in your dataset , it will give you a desired view of data in your dataset then later you bind your controls to the dataview as you bind your controls to anytable programaticly DataView Dv = new DataView (MyDataset.Mytable, "write yor filter here" , "column you will use to sort data ...Show All
Windows Forms DrawToBitmap Transparent Background
When using DrawToBitmap, is there anyway to enforce the fact that my control's background is transparent When I use DrawToBitmap, it shows the standard gray background. If I recall, in C++, I would just send the control a message to erase its background first, is there anyway to force this in .NET Check out Cropper, a great little screen capture utility written in .NET with full source code. Hopefully that gives you some ideas of how to solve your problem. http://blogs.geekdojo.net/brian/articles/Cropper.aspx ...Show All
Visual Basic fun with arrays
Hallo, Does anyone knows an answer to this array-related questions... 1) Is it possible to concatenate arrays, or add elements like you do with strings.Pseudocode would look like: dim myarray() as integer foreach element in elements myArray=Array( myArray, element) next element 2) Can a function return an array and how can I read the returned value. Now I work with a globally declared variable to return the calculated array. I always get the error "assign to a matrix is not possible" Dim MA1(), MA2() As Integer &n ...Show All
SQL Server Error: Subreport could not be shown
I am a new one in using ReportViewer in VS 2005. I try to use Main and Sub report to show data from my dataset. It doesn't matter if I use main report only, but the problem is when I use subreport intergrated with the main report. When I run it in browser, it shows: Error: Subreport could not be shown The main report is ok.Is there any solution to the problem Thank for your help!!!! Don't know if you are still struggling with this one, but passing parameters to subreports is simply a case of right click on the subreport where you have included it in the main report, open the Propertie ...Show All
.NET Development I want to populate a datagrid with the result of: MySubRow.GetChildRows("MyRelation_Sub_Account")
Hi all, I guess the function : Mydatarelation.getchildrows returns a list of child rows from a certain parent row in the parent table. According to the selected parent Row, I want to put the resulting child rows in my datagrid. If I do this: I create MyRelation then: MyDatagrid.datasouce= MySubRow.GetChildRows("MyRelation") All I get are empty child rows in a datagrid like this: RowError HasErrors False False In my example, I only have 2 child rows corresponding to the parent Row. What should I do please Thanks for help. ...Show All
Windows Forms C# code problem
Hi !!! I have translated a VB code to C# code but i have problem as it gives me an error that i can not solve. my code is :- this.treeView1.Nodes(refEmp.Type).Nodes(refEmp.SSN); Type and SSN are read only properties that return only <b>: 'System.Windows.Forms.TreeView.Nodes' denotes a 'property' where a 'method' was expected</b> Please help what could be wrong!!!! ...Show All
Visual Studio Express Editions About "About"
I included an About form to come up when someone clicks on the menu item - to put a link to the website information, support, etc. At least, that seems to be how the big kids do it. But I've looked and looked - can't find a way to get it to evoke. I guess this is my first attempt at more than one form in a program. Any Cliff notes on this function Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load End Sub Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Abo ...Show All
Visual Basic MDI application
Hi I want my MDI application to have it's menu in tree view form at the left of my main form. When i pick a menu option in the tree viewon the left, I want it's child form to open on the right. My problem is that when i maximize my child form, it fills the entire parent form, instead of the portion of parent form that is to the right of my tree view menu. I have tried using a split container, but I cannot set the child's MDI Parent property to splitcontainer1.panel2, it says system.windows.forms.splitterpanel cannot be converted to system.windows.forms.form I've seen programs with a tree view menu on the left, and multi docum ...Show All
Visual Basic Select Questions??
Select tblRepairCodes.Name, tblWatchRepairXRef.RepairCost From tblWatchRepairXRef INNER JOIN tblWatchInstance ON tblWatchRepairXRef.Instance_Key = tblWatchInstance.Instance_Key INNER JOIN tblRepairCodes ON tblWatchRepairXRef.REPAIRCODE_KEY = tblRepairCodes.REPAIRCODE_KEY Where (tblWatchInstance.WatchID = '0010000269') I have this select query and it works fine but when i run in the Querey Analyzer i get all the repair associated with it....But in my client code i use my datareader to pull the info but it only shows ONE repair when in QAnalyzer it shows them all....any help with this issue would be great! While dr1.Read() ...Show All
SQL Server How do I shrink the log of a DB used in trans replication?
I am sure this has been asked multiple times before, but I have a DB (SQL 2K) that is involved in transactional replication. The log periodically grows to a seriously big size. How can I shrink it without damaging replication I have opened SSIS (SQL 2005 is the subscriber) and tried to shrink the file, but to no avail. It reckons I could shrink it to 0MB, but I feel this would throw out replication. Any help appreciated. Which database are you talking about, the published database The file won't shrink if there are pending transactions that need to be replicated. ...Show All
Visual Studio Express Editions disable the hotkeys in VB.net how ?
hi i'm looking for help, I'm having problems figuring out how to disable the vb.net application hot-keys, the problem is i have a application and inside i have a browser pointing to a html file, i found out i could open a new window by pressing ctrl +n and so on, i don't want people to be able to see where the html file is coming from, i hope you understand. below is a code i tried, didn't work :( =================================================== Private Sub cmdDisableCTRLALTDEL_onload() Dim Ret As Long Ret = ( True ) End Sub =================================================== could someone point me to a ...Show All
Visual Studio VSS Replication/Synchronization
Hello, We have problem: VSS (VSS 6.0) Database is hosted at customer server. Developers team uses SourceOffSite and VPN to get code from this VSS database. The project is big and team is not small. The process of getting last version takes too much time (at least 10 min, often - 30 min). If several people try to take last version simultaneously it can take an hour or more. We'd like to get local version of VSS database with project. How can we organize synchronization between two VSS databases with correct merging of changes (something like MS SQL database replication). Does anybody know any tool for this May be VSS 2005 can do it ...Show All
Software Development for Windows Vista Custom Service and long running Workflow
I built a custom Service to listen to MessageQueue Messages: using System.Workflow.Runtime.Messaging; using System.Workflow.ComponentModel; using System; using System.Messaging; using Microsoft.SharePoint; using Microsoft.SharePoint.WebControls; using Microsoft.SharePoint.WebPartPages; namespace connvision.Sharepoint... { public class AskSharepointService : IAskSharepoint { string _SharepointSite; System.Collections.Generic.Dictionary<string, Guid> KeyToProcess = new System.Collections.Generic.Dictionary<string, Guid>(); public string SharepointSite { get { return _SharepointSite; } set { _SharepointSi ...Show All
Visual Studio Tools for Office More problems with the permissions (Word, VSTO 2005)
The last time I had such amount of time lost was using BizTalk 2004, I guess here it is going again with the Word / VSTO and permissions. Ok, here is what I am doing, and the results: 1- I’ve created a word document VSTO 2005, C#. 2- I’ve added a bookmark in the word document. 3- The word document was connected to a web service. 4- The word document loads data from the web service, and places the data in to a bookmark. All of that is working just fine when I run the solution from VS.NET 2005; but when I copied the file to another folder, in my machine, with the DLL file, it st ...Show All
