Steven Hemingray's Q&A profile
Windows Forms add items to databinded combo...
Hi, I have this combo box which is populated by a datasource. However, I want to add an item to this combobox, that is not in the datasource. I want to add a blank line as the first item of the combobox. But if I try to add& ...Show All
Windows Forms All Users and Admin Rights
I published a .Net Windows application to our company's intranet. I see that it is installed for a particular user. Is there a way for ClickOnce to install for All Users If not, does a user have to have Admin rights in order to install a ClickOnce app ClickOnce apps are meant to be isolated and low impact hence they're installed on a per-user basis only. There is no provision for machine-wide application ins ...Show All
Visual Studio Express Editions Which version of Visual C++?
Hi Folks, I would like to buy Microsoft Visual C++ to do write some simple Windows applications perhaps using DirectX in them. I am not really interested in .NET or web development, and would just like to write C++ applications using resources such as graphics/icons/sounds that compileto executables. I am a bit confused about what product I need to buy. Looking at past products, I can see that I would want something similar to Visual ...Show All
Visual Studio Express Editions How can I get UML from code?
I have Visual Studio 2003, Visio and Visual Studio Express. I am doing a proyect in the Express edition and I would like to get the UML out of it. I am stuck because I cannot open the proyect in the 2003 version, nor in Visio. Is there any plugin to convert 2005 proyect to 2003, to reverse-engineering to Visio or any external tool I think MS is doing a great job having this Express editions but I think they should have provided a way to work ...Show All
SQL Server Significant performance reduction after migration from SQL 2000 to SQL 2005
Hi all, I am wondering if anyone has similar experience. I did the migration by detaching the database from SQL 2000 running on W2K Pro and attaching it to SQL 2005 running on XP Pro. Some queries with simple aggregate functions such as AVG() have been slowed by at least an order of magnitude. I understand that SQL server can intelligently adapt to improve the performance. I am not s ...Show All
Software Development for Windows Vista unresolved linking errors whilst upgrading to visual studio 2005
I've recently upgraded to Visual Studio 2005 and busy recompiling my code, however I have got baffled by some linking errors which have occured: 1>dracscrp.obj : error LNK2019: unresolved external symbol "public: __thiscall CPushPin::CPushPin(long *,class CSource *,double,long,long,long,long)" ( 0CPushPin@@QAE@PAJPAVCSource@@NJJJJ@Z) referenced in function "public: __thiscall CPushSource::CPushSource(struct IUnknown *,lo ...Show All
Audio and Video Development Bug in Silent License Acquisition for server side playlist, any solution?
playlist1:(test1.wsx) < wsx version="1.0" > <smil> <media src="C:\Clip\no_drm.wmv" /> <media src="C:\Clip\with_drm_vid1.wmv" /> <media src="C:\Clip\with_drm_vid2.wmv" /> </smil> playlist2:(test2.wsx) < wsx version="1.0" > <smil> <media src="C:\Clip\with_drm_vid1.wmv" /> <media src="C:\Clip\with_drm_vid2.wmv" / ...Show All
SQL Server repeatwith property
I have tried for days to get certain textboxes and tables in page body to repeat on multiple page reports Any help is appreciated. Hello, The repeatwith property is not available on tables and is not supported by physical paginated renderes. However, the RepeateOnNewPage property of table&group headers and footers is supported by all renderers. Thank you, Nico ...Show All
SQL Server Invalid length parameter passed to the SUBSTRING function
Hi all, I am having a weird issue after we upgraded our DB server to SQL 2005. I have a SP used to extract exchange rate, and a job calls this SP daily. This job worked fine on SQL 2000, and works very well in Management studio if I call this SP seperately, but failed in sql job in 2005. The error statement pointed to: select left(@row, charindex(',', @row)-1), REVERSE(left(@reversedrow, charindex(',', @reversedrow)-1)) The error ...Show All
.NET Development Problem in DateTime Serialization
Hi, When I transfer a DataSet with a DateTime DataColumn (Nullable) to a remote server, the value changes to 1/1/1 3:30 and therefore it can't store it in DB. This also happens when I read a nullable DateTime column from DB and want to transfer it to a remote client. It means that When I read it from DB, on server the value of the Column in DataSet is Null and after serialization the column value in Client is "1/1/1 3:30". Please gu ...Show All
Visual C# question about linklabel..
how to make a linklabel once the mouse point to it, a box will appear beside it that display some text... or once the mouse point to the linklabel , the colour of the linklabel chage to other colour, and once the mouse move over, it change back to original colour is there a way for linklabel if not, button event also can, i just want to let my page look more attractive.... As for the box, it seems all you ...Show All
.NET Development .NET Framework and Windows User Profiles
Problem: We developed a VB.NET application using Visual Studios 2005 and are using table adapters (via the wizard) to bind the data to the forms. The program is using a hidden textbox field on the form as the key (a SQL identity field) to run stored procedures on an SQL 2000 server. With the issue we are having, the application opens the main form and can access data from the SQL server just fine. However, when trying to run the stored proced ...Show All
Visual Studio Since when does "EmptyProject" = "SmartPhone" project?
Using the June CTP of Vstudio and VSIP. Ive noticed that when you create a new project using EnvDTE.Solution.AddFromTemplate and get the template for "EmptyProject","VisualBasic" you really get a smartphone application. Adding a new form shows the form in designer mode with the "smartphone" graphic behind it. This is probably a bug, but I wanted to ask just in case this is somehow by design. :) ...Show All
Visual Basic Datagridview Row selection Style
Hi Is there any way to change the selection curser I have to use a full row selection in my application and now its a blue line and i would like to have something a bit more discret.. I dont know if cursor is the best word.. In vb6 i think it was called the selection fill style. A simple example which I think should show you how to chnage the cell formating. Public Class Form1 Private Sub DataGridV ...Show All
.NET Development .NET 2.0 Error Reporting, Can it be disabled?
I'm not looking for a system setting, I'm not looking for workarounds... I want a way to disable it on an application basis, programmtically, in code, the way it should be. To require all developers to workaround, write perfect code (who does this anymore anyways ), or make huge try...catch blocks is ludicrous. The fact that we got by just fine with .NET 1.x and the way that all exceptions were handled, and without it calling for a WER. ...Show All
