Jan M's Q&A profile
Windows Forms UITypeEditor Problems
Sorry if this is the wrong group. I couldn't find anything that was closer.... I'm trying to create a UITypeEditor. I really want to be able to create a drop down editor, the problem is that when I set GetEditStyle = UITypeEditorEditStyle.DropDown I don't get any drop down displayed so it never drops down my control. When I set it to modal and handle the EditValue function that my value doesn't cause the Form Designer to recognize a change has occured with a * beside it to save the changes, and clicking on the edit button again, doesn't have my changes. I've copied the sample from the help almost exactly and still no go. Here's how ...Show All
Visual Studio Team System Failed to connect the Team Foundation Server in VS2005
I have followed the beta 3 installation guide (V50926.chm) to setup the following in ONE machine 1) Windows 2003 Std edt with SP1 2) Setup IIS 6.0 3) SQL server 2005 Std edt Sept CTP 4) SharePoint service with SP2 5) Team Foundation server Beta 3 in single-server mode including the TF Build and TFS proxy 6) Setup the VS 2005 RC version 7) Setup the MS Office 2003 and MS Office Prof 2003 8) Setup the Team Explorer Everything installed fine...but when I start the VS2005 and click Tool > Connect to Team Foundation Server Immediately an error windows appeared "The request failed with HTTP status 503: Service unavailable " Any hints fo ...Show All
Visual C++ Notification on Text change for Windows Control
Hello, I have a question in SDK windows programming. I have a window control, implemented as an editable control for user to enter text. User can add text in the window control either by typing through keypad or copy/paste using mouse. I call GetWindowText() to read text from the control. I want to display a message while user is entering text or copying a value, if the text exceeds a certain length. I am aware that I can trap keyboard and mouse events to do this. But I would like to know if there is any way to get notified, when there is a change in text on a window control Your response is appreciated. Thanks. ksrks ...Show All
SQL Server Selct from a table and insert in other
Hi I have these two tables.... CREATE TABLE [dbo].[TELEFONICA] ( [DATA_HORA] [datetime] NULL , [NRTELEFONE] [varchar] (255) COLLATE Latin1_General_CI_AS NULL , [TEMPO_SEGUNDOS] [real] NULL , [TIPO_PABX] [varchar] (2) COLLATE Latin1_General_CI_AS NULL , [LOCALIDADE] [varchar] (255) COLLATE Latin1_General_CI_AS NULL , [VALOR_TEMPO] [money] NULL , [VALOR_TARIFA] [money] NULL , [CLASSIFICA_PABX] [varchar] (50) COLLATE Latin1_General_CI_AS NULL , [NUMERO_DIA] [int] NULL , [CLASSIFICA_TELEFONICA] [varchar] (50) COLLATE Latin1_General_CI_AS NULL , [TIPO_TELEFONICA] [varchar] (50) COLLATE Latin1_General_CI_AS NULL , [VALOR_TOTAL] [money] NULL ) ...Show All
Visual Studio Express Editions Setup and Deployment
Hi , I can't see Setup and Deployment Projects in the File > New Projects Menu in VB 2005 Express Edition Beta 2. Where can i found And they aren't there in the release version (which is available for download, BTW). The deployment of VB2005EE projects is provided through the 'ClickOnce' feature. ...Show All
Visual C# How do you change the Z-Order?
Now I know how to send things to the front of back, that's easy, my question is how to set the level of an item to an actual value, say (topmost-1) or (background level +3). Any help would be great, Thanks! Rob. The z-order can only be set using BringToFront, SentToBack commands, or automictly when using the control.Controls.Add\Insert methods. To set insert order when using Dock for instance, you can use: this .Controls.SetChildIndex(control, 2); WHERE this is a container control. ...Show All
Software Development for Windows Vista workflow design for enduser
In my application, workflows can be created by VS2005 and compiled in DLLs. Can WWF give a way for enduser to design extra workflows and integrate into the app Thanks You have to do a little work, but the workflow foundation comes with a workflow designer control that you can host in WinForms, WPF, or IE apps. There are samples in the SDK related to hosting the designer including the workflow monitor. Check out the samples on www.windowsworkflow.net for more use of this control. You can also check out this simple editor example posted by Mark Schmidt . http://blogs.ms ...Show All
Windows Forms Hosting controls in IE 6
Can anyone tell me what I'm doing wrong I'm running XP SP1, IE6 SP1 and IIS 5.1. I have installed the .NET framework v1.1, the .NET SDK v1.1, and Visual Studio .NET 2003. The quickstart sample for hosting a control in IE works fine. Now, I want to host my own controls in IE. I created a simple control which inherits from UserControl, and con ...Show All
SQL Server TransactionScope
Hi, I am trying to use transactions as below: using (System.Transactions.TransactionScope scope = new System.Transactions.TransactionScope()) { //some code here // Throw an exception to roll back the transaction. // Call the Complete method to commit the transaction } I can't seem to get it working though. Have trided several things like Security Configuration on the MSDTC tab, restarted “Distributed Transaction Coordinator” Service, iisreset, different constructors on the transactionscope etc. I haven't tried running it from the same domain since this won't work with the source safe. Is it really suppose to be this " ...Show All
Visual Studio 2008 (Pre-release) Does BitmapCreateOptions.PreservePixelFormat support custom pixel formats?
I wrote a codec to load Dicom images, that have a native pixel format of 12 bit gray scale with 16bpp space for which I also defined a custom pixel format including implementing a converter. When I try to load one of the images with the BitmapCreateOptions.PreservePixelFormat flag I get an System.NotSupportedException. How can I load the images without them being forced to be converted to another pixel format Is the DLL that your codec and format converter live in signed WPF will refuse to loat any extensible components from non-signed DLLs. ...Show All
Visual Studio Team System Permissions and Groups
Hi, I am working on Team Foundation Server. Currently i am exploring TFS. I am just created 2 TeamProjects. I have followed step-by-Step guide published in Blog. It was useful. But project level users can able to access the global level permissions. I am bit confused. I am facing problem while, coming to Reports. Users able to view the Template/report , no data is shown. Also i have added Task, Bug, Scenarios. It is not reflecting in the report. Hint me on How to configure SQL Reporting Services . On right clicking of Report Site i am able to view it. But while processing it i am getting ...Show All
Visual Basic Issues with Express Registration and Activation
Now that Visual Basic 2005 and Visual Studio 2005 has shipped the final release, we have a new home for setup and registration issues for VB Express. Please direct all setup, install/uninstall, and registration issues to this forum: Installing and Registering Visual Studio Express Editions Thanks, Paul I am still having the issue I described on 5/29. I have 12 days left. HELP!!! ...Show All
.NET Development Forcibly unload an interop assembly w/ blocked unmanaged thread?
I have the situation where I think my 3rd-party unmanaged COM object, which has opened a critical system resource, is blocked on a thread or something. In C#, .NET 2.0, I call FinalReleaseComObject() on my object, which returns 0, and then set the varible to null. I tried forcing a garbage collection and it didn't work (I know, it's bad, but I'm trying everything). Watching it run via depends.exe, I see all my other 3rd-party COM DLLs unload but not the one in question. Another twist is that this is a .NET 2.0 user control hosted in IE6. For some reason, I thought that IEHost would have shutdown the appdomain and thus forcibly unloaded ...Show All
Visual C++ Creating a tabbed view in an SDI
Hi, I just want to know how to create a simple tab in a SDI document. Are there any good examples of this I found one in the www.codeproject.com but it was too difficult to understand. Much obliged! "I suggest switching to a CFormView view and use the designer to drop a tab control into the view" Is this the only way to do this Is there no code where I can add the tab ...Show All
Visual C# How to store a TreeView state and restore it back
hi everyone, My code looks like this dataentryTreeView.Dispose() ; // disposes off the old tree InitializedataentryTreeView(); // again rebuilds the tree with the updated information return true ; Everytime i add,update or delete a node from my treeview it disposes the old tree view and rebuilds a new tree with updated information but the problem i am loosing the previous state of the tree view so it's becoming hard to navigate again and see where we have added the node. could anyone help me in saving the state of the treeview before i dispose off the old treeview and restore the state back again after rebuilding th ...Show All
