Thomas.AT's Q&A profile
Visual C++ stl queue - why don't you work
I'm wondering why I get this message when I try to use a stl queue in a managed class. I'm using .net 1.1, so i can't use the new 2.0 typed queue. error: error LNK4006: "class std::queue<short,class std::deque<short,class std::allocator<short> > > * (* ALDaps::que)[64]" ( que@ALDaps@@3PAY0EA@PAV $queue@FV $deque@FV $allocator@F@std@@@std@@@std@@A) already defined in main.obj; second definition ignored So, I added ...Show All
Visual Basic menustrip
In my menustrip I have an item call "Bad Items" when I click "bad items" my dropdowns appear (i add the dropdown items programmaticaly) The question is, how can I assign to a variable the text in the dropdown when it's clicked. Been messing with this all day and cant find the method. Thx for any help! Carl addhandler like so : AddHandler MenuObj.click, AddressOf MyClickEventHandler Remco ...Show All
Visual C# How to associate a column with dataGrid
suppose i have query select name, father_name, Grad, Loc from emp , now i want to associate only name and father_name with data grid. So how can i do. You can this by creating two columns in the DataGrid i.e NAME, FATHER NAME. then assign the Column DataPropertyName to the respective column of the Database. ...Show All
SQL Server RS on the Internet - security issues
Hi there, We are looking at making RS over the web for a client. Is is safe to put RS on the web Is it possible to provide adequate security for complete peace of mind - ssl etc Or does another security layer have to be placed over it Advice, thoughts, and some pointers would be greatly appreciated!! Many thanks Chris It is relatively safe, to a point. Check out this article: http://msdn2 ...Show All
Visual Studio Print from ReportViewer without PrintDialog?
When you click Print button in ReportViewer toolbar it will open PrintDialog. What I want is when click Print button to print report directly without opening PrintDialog. How You can't do that with the built-in button on the toolbar, but you can implement your own print functionality by rendering the report to EMF and sending it directly to the printer. See www.gotreportviewer.com for samples that do thi ...Show All
Windows Forms How to handle Ctrl-Drag on design surface?
Hi, We've got a custom designer working, we can drag items from our toolbox onto the design surface without any problem. However, we want to handle dragging while holding down control - this should create a copy of the control. When ctrl-dragging, the icon changes to a + to indicate that this is what it's going to do, but on releasing the mouse, nothing happens! The MSDN magazine example from March 2006 has the same 'feature'. Wha ...Show All
SQL Server Server upgrade question
We plan on doing an in-place upgrade of our SQL 2000 server. It is currently on 2000 Server and the plan is to upgrade it to Server 2003. Are there any gotchas that I have to worry about with this, or is it a stright forward upgrade with few to no faults I'm confident that the hardware will check out OK, so it's mainly SQL that I'm concerned about. Thanks, Aron There is a new tool called Upgra ...Show All
Visual Basic Passing DataGridView record
Hello, Using VS2005, I created a dataset that grabs some data and populates it in a datagridview, is it possible to capture the highligted record and then write some code to a button that will pass that data to another form so 1)Load list 2)Select Record 3)Press Button So far so good but now I need to know how to capture the record that is highlited. Please can someone help Regards, Pace Use the *selectedRows* method ...Show All
Visual Studio Express Editions Print text from inside textbox
i want to be able to print what ever text is in my textbox1. how do l do this Look up 'printing' in Help. Specifically, Printing.PrintDocument has a printing example under the constructor method. From there you can link to anything you need to know about printing. ...Show All
Visual C++ Trouble with Visual C++
Hello, I'm having some trouble with Visual C++ . It seems like a lot of things in the program don't, "Update," correctly. For example, I started a very small project, and compiled it with no troubles. I used the namespace std, and it gave me no errors. Then, I created a new project, and tried using the same namespace. It said that it did not exist. Why is this happening Thanks in advance for any help. ...Show All
Visual Studio FileProperties2 interface in VsSDK ProjectBase
Hi, I'm implementing my custom project type for VS and I use ProjectBase project from the latest version of VsSDK (C:\Program Files\Visual Studio 2005 SDK\2006.04\VisualStudioIntegration\Common\Source\CSharp\Project). Now when I create custom project the project items (files) does not have all available properties regular project has. For example, CopyToOutputDirectory. I start to looking for that property and found that this property ...Show All
Windows Forms DataGridViewComboBox - different items each row
After trying desperatly to manipulate the underlying datasource and anything else.... I give up... I tried even to exactly reproduce this example: http://forums.microsoft.com/msdn/showpost.aspx postid=60076&siteid=1 But it simply does not work. Did the behavior of the DataGridView change from the time of that post to now Or do I do something wrong all day long Please help... After giving up on manipulating the underlying DataSource, I ...Show All
Visual Studio ASPNETCompiler Error - System.Web.AspNetHostingPermission, System
We are getting the following error in our automated build process. AspNetCompiler: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v /PreCompiledWeb -p "Web Sites\Campaigns\\" -u -f -d PreCompiledWeb\ AspNetCompiler: : ERROR /PreCompiledWeb/Controls/SignInOptions.ascx(4,0): Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e0 ...Show All
Visual Studio Express Editions I do not want SP2. I do not want SP2.
Hi. I run on Windows XP Professional SP1 and I really need Visual Basic .NET Express edition, as SharpDevelop2 is very buggy (atm). The thing is: I do not want SP2. Please do not flood me with comments such as "BUT OMFG SP2 PWNZZZ SP1 ! !" but tell me one good reason why to update into it. Not "security", not "more stable", but something real. Incase it comes with some updates needed by the Visual Studio's, why not ...Show All
Visual Basic Code for Find (on This Page) Feature In Webbrowser Menustrip
With Visual Basic 2005 Express I am using the WebBrowser control and a MenuStrip control to create my own browser. I want to include a "Find (on This Page)” option under the Edit section of the menustrip. This would be exactly like Internet Explorer where clicking "Edit/Find" produces a “Find” dialogue box for doing a word search in the loaded Web page. I have searched the MSDN library but have not be ...Show All
