noobie's Q&A profile
Visual C# Avoid duplicate data
Hi, I want to insert data in a database. How is it possible to avoid inserting duplicate data If I want to insert a row which also is in my database, I get an Exception and my program stops running. How can I tell my programm to go on without stoppng even if there was an Exception Or has anybody a better and faster solution ! Thank you! 1. For each table create a stored to do the insert/update. This wi ...Show All
Visual Studio Simulating App.config behaviour
I would like to be able to have App.myconfig files copies to the output directory like AssemblyName.myconfig, like it happens with App.config files. How can I do that without creating the targets from scratch Ovatsus, Just add the following just before the </Project> tag: <Target Name="AfterBuild" Inputs="@(MyFilesToCopy)" ...Show All
Windows Forms making combobox read only
I'm trying to make the comboboxes in my program read only so that the users can select an option but can not change the text or add options to the list. I know how to do this in asp.net by using the .readonly property but c ...Show All
Visual Basic Package & Deployment Error
I have Visual Basic 6 Service Pack 6. & crystal Report 8.5 When i generate the package for my project with crystal Report , this message appears : "Unexpected error number 28 has occurred. Out of stack space" Please help me Answered at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286636&SiteID=1 Please don't multi-post. In addition, you will be more likely to receive a reply to Visual Basic 6.0 (and ...Show All
Visual Studio Express Editions PRoduct Key
How i can registry VB.Net Express on mashine what dont have internet. If you need to install and use an Express Edition on a computer that is not connected to the Internet, you will need to create an installation CD using the CD ISO (IMG) files that are available on the Express site. The installation CD you create will then allow you to install an Express Edition on a computer that is not connected to the Internet, and that Express Ed ...Show All
SQL Server TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host
We are getting a problem when the below error Log Server: SQL Server 2005 and SP1. Then, All the Web Servers will drop all connections and stop the network service. Later, the network service will start up automatically but all the before service is dropped. We would like to know the error coming from Error Log ================ TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host ...Show All
Visual Studio Team System traceability in Team Foundation Server
Does anyone know if TFS maintains traceability between requirements, specifications, testing, etc. you can create links between workitems either manually through team explorer, or automatically through event synchs when work items are created (eg when a scenario is created, a number of tasks are also automatically created to support the scenario, and links between these are auto-generated). Once you have l ...Show All
.NET Development New Class. How can i made it?
Hello, i want make a Control for me. A Control what have some Panels inside. (like TableLayoutPanel). The Panel at Top have a Label inside that shows the Caption. The Panel at bottom you can use as Panel and can have other controls inside. I made one with a UserControl. But the BottomPanel don’t want work. I can’t put other controls inside. How can i do this Thanks If you want it to act like a ...Show All
Visual C++ Adding tooltip controls in unicode fails
Hi guys! I'm having problems making tooltips work with unicode. At first, I used them in infotip feature of the listview controls in WTL. What happens is, it works when I set the project to use Multi-byte libraries and fails when I set it to unicode(no infotip appears). In both cases, LVN_GETINFOTIP is called. Assuming that it's probably a bug in WTL or in the listview infotip implementation, I tried manually using tooltips in WinAPI.... Here's ...Show All
Visual Studio Get pinned version of VSS through automation
I have a script that searches through a release branch of our software, and detects the difference from the branch to the common dev dir (diff on all files) so i get the file... try to figure out the pinned version to diff it with the one in the other directory. There the problem starts. I cant figure out the pinned version. There is a MSDN KB article, but they say that the Action of the version starts with "Pinned" or "Unpinned".. this does not ...Show All
Visual Studio Tools for Office How to copy the sheet on excel development environment?
I have some problem when I use VSTO development Excel program. for example,I want to copy a sheet to current workbook that i use the follow syntax, but the VSTO create a new excel workbook. Globals.ThisWorkbook.Sheets.Copy([before as object],[after as object]) Why Pls tell me the usage about the "before" and "after" Hello, The before and after parameters are the Microsoft.Off ...Show All
Visual Studio Team System Microsoft Partner Program License Benefits FAQ
The Partner team has provided me with the following FAQ, which I'd like to share with all of you in the hopes that it answers many of your questions. Thanks, Ajay 12/8/05 - I've updated the FAQ with a new version that I received from the partner team. This information will be making its way to the partner Web site as well. Eligible partners are scheduled to have access to Team Edition for Software Developers on 12/16. In the meantime, the Tea ...Show All
SQL Server How to positioning the tables.?
Good Day! can any one help me how to posistoining the tables I have a layout ofthe reports. the report is in the landscape view. there are some text boxes in my reports but when i put the tables my textboxes arrangement will be dis arrange. can there be a solution for this Please help me im stuck. thanks Hi, can you explain how the arrangement is being thrown off Sometimes the CanGrow property on TextBoxes can cause une ...Show All
SQL Server Best Oracle source provider?
Hello, I am using a massive Oracle db in SSIS and am trying to figure out the best way to increase performance in moving data from this db to sql server. As far as Oracle sources, which seem to have the best performance Thanks, Adrian Hello, We have built a super fast connector for Oracle for SSIS. We have been able to achieve about 30 times performance improvements over the OLEDB Oracle provider. E.g 1 m ...Show All
Visual Basic when true isnt really true
A feature I think would be the best way to describe this... or at least it doesnt behave how I would expect... Try the following: debug.print(true) I would expect a boolean value of -1 to be returned.... true being defined in the VB docs as being a boolean value of -1 with false being a boolean value of 0. What I actually get is a string value of "True" Ah well.... How did I discover this Well I was pre-populating a check ...Show All
