Kolchak's Q&A profile
Windows Forms Where does Windows.Forms implement the control property editor?
When you have a property on a control of type Button and then edit it in the property window it presents a drop down with a list of all the Button instances on the form for you to choose from. This is great and works for whatever type of control or component the property is defined as. But I want to be able to constrain this presented list to filter out some of the instances for my specific property that is of a control type. Does anyone know what internal class is used to implement this functionality I realise I need to create a UITypeEditor of type DropDown and then give a list of controls the user can choose from. But if I could us ...Show All
Visual Studio Express Editions SOS:VC2005 B2 Express VC++ Directories Problem
I downloaded and installed VC2005 B2 Express, I can't set "VC++ Directories". screenshot: http://member.netease.com/~lilong/temp/VS2005ExOpt.jpg is this bug this is a BIG PROBLEM!! How about removing C++ Beta2 ane replacing it with Beta1 Will this work I am thinking about trying it. ...Show All
Windows Forms Bound DatagridView not refreshing
I have a DataGridView bound to an array of objects. When I change values in the objects the DatagridView does not show the change. I have to do a .refresh. Also the event CellValueChanged does not get triggered when values are changed by the program to the object values (they are exposed as public properties). Thanks for any help, Luis C. Uribe Thanks Scott for you help and your clear example. My grid is now working after raising the event for the different properties. Luis ...Show All
.NET Development Dial Up connection attempts when connected to Lan
Have a laptop with two Network connections configured - Company LAN & Dialup - XP SP2 Dialup is not the default network connection When Laptop is connected to company LAN, yet when Internet Explorer is opened, dialup attempts to connect - cancelling the attempt results in IE connecting using the company LAN connection - DHCP All attempts to correct this by changing the settings in the Dial up configuration have produced no results Any suggestions as to how to stop dial up from attempting connection This forum is dedicated to questions relating to the System.Net namespace. In order to ...Show All
Visual Basic Send and Receive text via serial port (Vb2005)
Hi: I connected two laptops via a non-modem serial cable, and drag a serialport and a timer to the form. By using the following code for sending the text: Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load SerialPort1.Open() End Sub Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick SerialPort1.WriteLine( "Hello" ) End Sub On the Receive laptop: Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load SerialPort1.Open() End ...Show All
Visual Studio 2008 (Pre-release) WPF Bitmap Effects
I'm having trouble building the RGBFilterEffect sample from the Beta 2 SDK. I modified my environment for c++ examples like it said in the readme, but I still can't build because of an alleged sytax error in unknwn.idl. What gives Also, it was my understanding that you could create a bitmap effect with a hardware accellerated pixel shader. Are there any examples of this Error 1 error MIDL2025 : syntax error : expecting ] or , near "annotation" E:\Program Files\Microsoft SDKs\Windows\V1.0\INCLUDE\unknwn.idl 108 ...Show All
SQL Server Can we use Stored Procedure in Report Model
One of the members said we can use Stored Procedures when we are designing the Report Model. Am I right Please could you tell me details of Where and how can you set the CommandType as "StoredProcedure" Thank you If you bring up the database ddesigner dialog (in the Data tab, click the ellipsis next to the dataset dropdown), and in the Query tab of that dialog is a dropdown called CommandType, in that you get to set the command type as stored procedure. sluggy ...Show All
SQL Server Data regions
Greetings, Can someone explain the rationale as to why nested data regions are restricted to use the same dataset Craig We didn't have time so far to implement hierarchical data source support in our processing engine - but it is under consideration for a future release. Anyway, there are a few options available today to achieve similar results: * join the datasets already in the query (e.g. by using linked server functionality) * use subreports for the "nested data region" - but this is usually not very efficient * use SQL Server 2005 Integration Services to join the datasets in the query (t ...Show All
SQL Server Problem with displaying image on the report
I have a webservice which creates an image returns that image in the form of Byte array. I want to consume this webservice and display that image on my report. When I see my report in the Preview tab of the report designer, it displays that image but when I deploy my report on the report server, image doesn't show up. I have copied app_code.dll (dll for the webservice) to the following locations: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer\bin Here is the code ...Show All
Visual Studio Team System No process is associated with this object
I created a new Testing project for my solution and when I go to run the tests they all abort. When click on the "Test Run Error" I get 0/2 tests passed, 2 failed, 0 skiped. In the "More Info" section I get "No process is associated with this object." I can't figure what is going on with this error. I've deleted and recreated the testing project in the solution several times and always have the same result. Please help!! Anson Goldade Hi Anson, A couple of suggestions: 1. Can you post the entire contents of the Test Results window It may help. 2. You may want to review ...Show All
Visual C# Differnce between DataSourceID and DataSource..
What's the differnce between DataSourceID and DataSource of the GridView in Web forms Thanks Julia MSDN: DataSource Gets or sets the object from which the data-bound control retrieves its list of data items. (Inherited from BaseDataBoundControl .) DataSource: Gets or sets the object from which the data-bound control retrieves its list of data items. (Inherited from BaseDataBoundControl.) DataSourceID: Gets or sets the ID of the control from which the data-bound control retrieves its list of data items. (Inherited from DataBoundControl.) ...Show All
Windows Forms How can I call a function in parent form from within user control?
Hi all, Can someone please fill me in on this. I have created a composite control for my windows application and on this control I have a link label. In the parent form, where the composite control resides, I have a function I would like called when the link label clicked. For example, user clicks the link label on the composite control and ...Show All
Windows Forms Application or Source or Temp Path???
In my Setup project I use a installer project, which handles some events (AfterInstall and BeforeUninstall) to install or deinstall a database. In the AfterInstall event, I attach the DB from a file. My problem is, where is that file I see three possibilities: 1.) copy it in the Temp path 2.) copy it in the new Application Path (maybe a subdir)&n ...Show All
Visual Studio Team System Is there an example of how to test web services using https with X.509 certificate
Any examples out there to test web services that require a client-side certificate using https I created the tests on my local machine without ssl and now am trying to enhance them for our larger test system. Can't record as we are using Smart Client WinForms. Actually, the problem migh not be the certificate but how to add a FormPostParameter with Username and password. Is this the same in Smart Client forms as in IE Thanks, Burkhard That's right. The web test credentials are used to respond to HTTP authorization challenges which is what that dialog is. Josh ...Show All
Software Development for Windows Vista WWF Beta 1.2 not installing properly
Hi, I tried today to install WWF Beta 1.2. However, after starting the setup, accepting the EULA, checking all 3 boxes, and selecting Install the GUI goes immediately to the final page telling me that the installation was succesful. However nothing is installed. I have the VS2005 RTM version/Windows XP SP2. The log file stops at [11:51:45 AM Error] c:\depotsetupv2\private\common\setup\wizard\exe\progressdlg.cpp(1109): FAILED hr = 80070422 === Logging stopped: 11:51:47 AM Tuesday, November 15, 2005 === Any clue on this will be appreciated. Thanks Doriak Finally i got it installed. The installation did no ...Show All
