Tharkysis's Q&A profile
Windows Forms Custom Control Click Event
I Have created a custom control which has a couple of labels on it and a progress bar. When i use it on a form, i want to assign a click event to it, so that if you click anywhere on the control, its registered as a click on the control. Adding the control.click event to an eventhandler doesnt seem to work. What am i doing wrong What do i need to do to get it to do what i want Cheers Hi I came across this post while searching for a way to get at a TextBox's TextChanged event when that TextBox is part of a custom control on a form. Your method solved the problem for me. I code in C++ so I used "t ...Show All
Windows Forms Releasin Resources
I have a control on which I have a picture box and I draw it from a Bitmap (a TIFF file). I then determine how many pages (frames) the TIFF file has and create each frame as a file in a temp directory. 0.tif, 1.tif, 2.tif, etc. If I change my query parameters, I get a new TIFF file. At this point I want to delete the ...Show All
Windows Forms Composite Control and Click Event
I have a composite control made of 5 image controls. I would like to have an event handler that would be raised if a contained image control is clicked. Can anyone point me in the right direction I would onload of your composte control add handers to point to a centeral sub that then raises the composite controls click event. Just&nb ...Show All
Windows Forms Simple binding c# 2005 very strange problem (bet you cant solve it!)
Hey guys, I am dynamically building a datagridview and above each of the columns there is going to be a combobox which allow the datagridview to be filtered. The columns of the datagridview are going to be resizeable and so i need the combobox's above each column to resize as well. I can do this programatically but i wanted to use Data binding, my thoughts were it was really basic and here are the lines to do it.... ComboBox theFilter; DataGridViewTextBoxColumn theColumn = new DataGridViewTextBoxColumn (); theFilter.DataBindings.Add( "Width" , theColumn, "Width" ); If you can please tell me why this ...Show All
Windows Forms using panels
Hello all; I've three panels. Each panel is downword the upper panel. I want to show these panels in such a way, when you open My computer or My Document in windows XP you can see on left side different panels which can be open or collaspable panels like 'System tasks', 'Other places' etc. I don't know what is the name of this control. So please tell me about any url from where I can download this control. Thanks. Adnan You can write you own collapsible panel, but there are a lot of these for sale everywhere. But for sale means money and that doesn't sounds good, so i found a free control at code p ...Show All
SQL Server Error deploying SSIS package to SQL Server
I am getting strange error on deploying ssis package to SQL Server. TITLE: Package Installation Wizard ---------------------------------------- Could not save the package "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\Integration Services Project1\Integration Services Project1\bin\Deployment\DataTrans.dtsx" to SQL Server "(local)". ---------------------------------------- ADDITIONAL INFORMATION: The SaveToSQLServer method has encountered OLE DB error code 0x80004005 ([DBNETLIB][ConnectionOpen (PreLoginHandshake()).]Encryption not supported on SQL Server.). The SQL statement that was issued has fai ...Show All
SQL Server MDAC won't play
Trying to set up a harware testing machine. OS is 98SE, the test software (Sandra MAX 3) won't install as it "requires MDAC 2.5 or greater". Tried install ing MDAC 2.8, it just sits there doing nothing in an open window. Same result with MDAC 2.7. Tried installing Component Checker, nothing at all happens! MDAC 2.8 installed fine on another 98SE just last week. Anything else Um ... both machines are running NAV 2005. So I'm a bit stuck for ideas. Anyone have any advice, please Ray Did you clean the environment of the failed installation of your test software (Sandra MAX 3) That app may have done something behin ...Show All
Windows Forms DataSet change does not update bindingSource.
Hi, I have a DGV with a datasource of a BindingSource. THe BindingSource has a DataSource of a typed DataSet table. These have been linked using the designer. On a button, I want to change the rows that the DataSet table contains, and then have the bindingSource and DGV update automatically (as well as any other controls bound to the bindingSource). Currently, I make the change to the DataSet using tableAdapter.Fill(DataSet.Table) and the bindingSource and DGV do not update. I've tried adding resetbindings to the bindingSource.. but no avail. Any ideas... please. Also, is there any standard doc on this type of thing.. e.g ...Show All
SQL Server SQL Management Studio install problems
Hello, I received the Visual Studio 2005 Standard and SQL Server 2005 Standard from the Microsoft Launch event in Anahiem. I was able to install SQL Express via VS 2005 without any problems. I am able to install SQL 2005 Standard without any problems the only problem I have is that I cannot install the Management Studio. I uninstalled SQL Server 2005 Standard and installed the SQL Server 2005 Express managment studio and it installed without any problems. Is there any reason why I can install SSMSE but not SSMS Let me know what information you need besides what I have provided below. Error message I recieve when trying to install ...Show All
Smart Device Development C++/CLI for Smart Device
Hi alls, I tried to create MFC and WTL projects for smarts devices, but I can't find in Project Setting options possibility to use /clr option of compliler. Is it possible to use C++/CLI for Mobile Device, PPC 2003 /2005 I use VC++ 2005 Profesional Edition. thank Are there any plans to bring support for C++/CLI to Windows Mobile/WinCE platform and .NET CF I am particularly interested in using it as a means to interop with legacy code (through IJW). Thanks. ...Show All
Visual Basic How to view out-of-scope variables with debugger?
Good morning: Can anyone tell me the trick for viewing out-of-scope variables while debugging I have a time-dependent application that I cannot stop by using a breakpoint (and get predictable results anyway). I could write values to the quick-console, but I don't always know what variable I want to look at in advance. Stopping the application to re-write the code often alleviates the problem that needed debugging. I have read several books on vb.net, and none seem to handle the subject of debugging very well, other than the use of breakpoints, and try/catch. As a follow up question. Any recommended reading for learning how to use th ...Show All
Windows Forms VB 6.0/ADO Data Control ??
Hi.. I'm new to VB 6.0. Haven't programmed in years. Last time was with VB 4.0; so its been awhile. I have come to the ADO Data Control. I have a form that loads the data into the ADO Data Control with an SQL statement (selecting only certain records from my table). I bind a datagrid to the ADODC and have the fields&n ...Show All
SQL Server deploying report models
Hi Friends I've quick question ,we have a .net application and we want develop a report builder utility for our end users.I found sql server's built in Report builder is very useful so i created a report model which is easy enough for our end users to select different data items to create their own reports. My questions is how can i deploy this from our production machine to client site what are the requirements etc., I have looked web for any references but in vain. Any help with this regard is much appreciated. Thank you Hi, This is what i came up with while searching for a way to create model programaticaly. Upload ...Show All
Visual Studio Cannot install VS .NET 2003 Pro
I'm running Windows XP Professional Service Pack 2 and trying to install Visual Studio .NET Professional 2003. I should mention that while I'm installing, I have run the program in a way that it bypasses the prerequisite check because whenever I try to install the prereqs it always fails on the J# redistributable package and simply will not install it. Included read-me's have said it is not crucial to running the Studio and I decided to skip it. Anyways, installation has gone fine on CD1 until it comes up with this error: Error 1305.Error reading from file: G:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\QuickStart\aspplus\sample ...Show All
Visual FoxPro VFP 9.0 SQL worthless under a non client server network?
Hello everyone; I have posted this problem here and also on UT and no solution yet. I have a small network with a 2003 server, and XP pros. I am running vfp 9 select * from products where status = "S0000" takes apx 10 seconds when run over the network. When running this locally, it takes only a fraction of a second. The product table contains 100,000 records, and the result of the SQL command is just a few hundred records. I have checked sys(2023) and my temp files are on my c: drive. Does this mean that VFP has to run in a client-server environment in order for SQL commands to be performing reasonably ...Show All
