chris bax's Q&A profile
Windows Forms DataGridViewComboBoxColumn value is not valid
howde... I decided to move towards VS-2005 after seeing that the Datagrid has be revamped to included comboboxs, buttons, images etcs.. I noticed that the Dreaded Tablestlyes has been dropped (YAAAARR!!!!) any way after useing for about a day scratching my head.. I keep getting DataGridViewComboBoxColumn "value is not valid" dont make sense to me.. btw I am not useing the wizard as I need to dynamically create Colums.. ok here is some code., shorthand code ----------------------------------------- (assume all sql statments are correct and datagridview is setup) datagridview1.datasource = dtCompany datagridview1.Autogenerate = fa ...Show All
Visual C++ CGdiObject error C4482
While compiling a project that 100% clean compiles under VC6, I am getting the following error: e:\program files\microsoft visual studio 8\vc\atlmfc\include\afxwin.h(259) : error C2248: 'CObject::operator =' : cannot access private member declared in class 'CObject' e:\program files\microsoft visual studio 8\vc\atlmfc\include\afx.h(540) : see declaration of 'CObject::operator =' e:\program files\microsoft visual studio 8\vc\atlmfc\include\afx.h(510) : see declaration of 'CObject' This diagnostic occurred in the compiler generated function 'CGdiObject &CGdiObject::operator =(const CGdiObject &)' There is no reference to the line o ...Show All
Windows Forms ZOrder of dropped control incorrect?
I'm using VS 2005 Beta 2, and I've built a usercontrol that consists of 2 other user controls as the 'default base'. The problem is when a user drops a control in my container control, it goes BEHIND the background image control! I can manually correct this by doing a "Bring to Front" to the newly placed control, but I need it to automatically be on top, and not allow the user to move it behind the main graphic control. Any ideas or recommendations Thanks! Is the control used at design time or at run-time . If the control have a designer behavior, you need set its Parent property to the DesignerHost's RootComponent (Se ...Show All
Visual C++ Err: Attempted to read or write protected memory - only in VS2005, works fine in VS2003
Hi all I am wrapping an unmanaged c++ win32 dll functions ( export naming decration is c++ ) into a managed c++ dll using IJW. While calling the managed wrapper from C#, it crashes at line where I call the unmanaged function and saying the error "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." If i compile the same managed c++ wrapper code in VS2003 (framework 1.1) and execute, it works fine without any error. Is there anything else I need to taken care ( like /clr switch or anything else )specific to 2005/ framework 2.0 thanks...milton. ...Show All
.NET Development typed dataset
Hi, I am using vs 1.1 and sql server 2005 beta 2. Trying to create .xsd file From the server explorer, I drag a table to the designer window. But I get the following error: DataAdapter configuration error. The wizard deyected the following problem when configuring the dataadapter for "Invoice" Details: error is select clause: expression near '['. error in from clause near '[' unable to parse query text. Thanks You might get a quicker response on the .NET Framework Data Access and Storage forum. ...Show All
Visual Studio Team System Using Unit Tests to drive the Profiler
I have several operations that take a long time, and I'm trying to determine what exactly the bottleneck is. I have created tests using the testing infrastructure that allow me to run the same operation over and over, so I can see trends in how long the operation is taking. What I really want to do is have the Profiler run while the Tests are running, so that I can figure out what portions of the code are taking a long time. So far, I can't figure out how to do this. How can I maket his work -- Chris Mullins Hey Chris, Once you have run your tests and see the results in the Test Results window, try right-clicking on a single test.&n ...Show All
Visual Studio Express Editions .NET Framework 2.0 won't install 'cause Windows Installer 3.1 won't start
I have faced similar problem, when I upgrad to Windows Installer 3.1. I cannot deploy MSI on a windows 2000 Professional Machine. It gives, Error 997 – “Overlapped I/O Operation is in progress.” I have tried the above suggested solution, and its solved my problem. ...Show All
SQL Server Can't create stored procedure with access 2003 when connected to SQL 2005
It tells me I may have to update a driver. Where can I find this update and what is updated Thanks for the help. More than likely you have a disconnect with the MDAC. You can download the latest version of that here: http://msdn.microsoft.com/data/mdac/default.aspx If that doesn't work out, you might need the SQL Server Native Client. You can find that here: http://msdn.microsoft.com/data/sqlnative/default.aspx Buck ...Show All
Software Development for Windows Vista Win32 APIs to find other hosts
<mountain_lion@discussions.microsoft.com> wrote in message news:17cd1fb2-d43f-41a6-8f4a-6575d6a4c1a8@discussions.microsoft.com > What are Win32 APIs to find other hosts in a LAN Pretty much like > what DOS command: "net view" does. WNetOpenEnum, WNetEnumResource -- With best wishes, Igor Tandetnik Hello, What are Win32 APIs to find other hosts in a LAN Pretty much like what DOS command: "net view" does. Thanks. ...Show All
Visual C# Opening a tabControl
Hi, all. I have created a tabControl, with 3 tab pages. I have created another 3 buttons, each representing the selection to open the 3 tab pages accordingly. So, how should I set the contents of the event handler for the 3 buttons Thanks for any suggestions! Hi. I cant really understand what you're aiming at. If I have understood you correctly...you want whenever button1, for example, is pressed to show tabPage1...button2 to show tabPage2 and so on...or maybe I am wrong! woof ...Show All
Software Development for Windows Vista Audio device mapping
The mapping of kernel streaming WDM audio devices to waveOut, waveIn and mixer devices appears to be quite different to previous versions of Windows, and is causing problems with multichannel sound cards. Each output pin seems to map to a waveOut device named only by the pin type (for example "Speakers"), each input pin on each input miniport seems to map to a waveIn device, again named only by the pin type, and all the topology miniports created by a multichannel card are lumped into a single mixer device. This is going to cause great difficulty for application software that needs to be able to find its way around the various outp ...Show All
Windows Forms update error
Hi I created a simple input form by droping a table from a data source ,and that worked fine untill I decided to change a text box to a combo box. I deleted the text box and droped a combo box from the data source. I now get an"update requires a valid delete command" exeption. I am sure its something simple but as a novice I need help! Thanks ...Show All
Software Development for Windows Vista how to provide remote log in Windows vista.
need information about 1. how the remote login can be accomplished in Windows Vista if it is being disallowed. With the advent of Windows vista, it seems that the remote Registry service is disabled by default and a local policy is set to disallow administrators to login remotely – when vista is a part of workgroup. This effectively means that each computer has to be reconfigured mainly, defeating the benefits provided by the remote deployment methods. Thanks in advance ...Show All
.NET Development problem with dataset in combobox
I am creating a dataset from two tables. the combobox datasource is set to this dataset. but when I try to set the displaymember and valuemember properties, the drop down window is not displaying any column names. only "none" is available. If I use only one table, the columns of the table gets displyed properly. why I am not able to view the columns in two tables together Hi, Ok, tried it and it displayed none. Actually, what your datasource here is not really a dataset object, instead a BindingSource object. I don't really know if the combobox supports this at runtime. What I did was drag a DataSet object ...Show All
SQL Server Error on Reporting Server - but only through the ReportViewer control
We are using the webviewer control. We get the following error when we try to export to EXCEL. InternetExploer cannot download ...n=OnlyHtmlInline&Format=EXCEL from app.webcobra.com. Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later. This error comes up almost immediatly after it starts trying to download the file. It is a large dataset but it isn't "overly large". There are basically 44 records. The other wierd thing is that it works fine on our BETA servers but not on our Production servers. We figure this is a ...Show All
