Andrew Lisogor's Q&A profile
Windows Forms last record changed not saving in dataset
Hi. I have a combobox and a text field tied to a dataset using databindings. The combo box displays titles of movies and the text field displays a description. This works nice so that when the user selects a different movie title, the text field automatically shows the correct movie description. However, I want the user to be able to ...Show All
Visual C# Access addin attributes and parameters:
I have written a class that can have access to a database and collect some information. Then based in this information it will create am excel template and lunch this template. In the other hand I have created an addin which should synchronize with my class. 1- Before launching my template I need to set some properties in my addin 2- During the runtime my addin should be able to send info to my class. 3- Addin should be able to receive info from my class. Is there any way that I can have access to my excel template’s addin instance Thank you in advance. Your help will be appreciated. ...Show All
SQL Server commenting hyperlinks in query editor window
Is there a character or character sequence to annotate hyperlinks in your query windows so that it will conform to valid TSQL code and simply ignore the hyperlink, yet still allow the hyperlink to function in the editor For example... Create Proc dbo.Hyperlink as begin --below link is the sql server homepage for MSFT http://www.microsoft.com/sql --commenting it out disables the link in the editor end Hi, why I suppose that you will always use a hyperlink in a string representation, so you normally quote it, would be interesting to know why you want to "esc ape" this. HT ...Show All
Visual Studio Team System VSTS integration with QTP
Hi, We are currently using Mercury QTP 8.2. And our application is a .NET based application. So I wanted to know if you guys have any plans of integrating QTP with VSTS so that we don't have to switch the scripts from QTP to VSTS. Thanks, Amit. I believe that is what the generic test type is for. It allows you to call external programs to execute a test for you. MArk B. ...Show All
Visual Studio Team System Target against a specific .Net version?
Hi, I've just got a nightly build automation process set up using TFSBuild.exe and supplying it with the appropriate server, project, and BuildType paramaters. Is there any way to specify that I want the particular build to be under .net version 1.1 or 2.0 I am assuming that as I have installed VS 2005, SQL Server 2005, and now the trial of VSTS etc that it will automatically think it is building for 2.0, but is there a way to do 1.1 as well Is this feature also available via the gui, either in Visual Studio, or in team suite Regards, Peds Another useful post - http://blogs.msdn.com/gautamg/archive/2006/04/19/5789 ...Show All
Windows Forms DIfficulty with Running Server on Local Machine
I've been trying to run both the TaskVision Client and Server on my machine. I get the error reported elsewhere: "An unknown error has occurred, please review the event logs for more information." There are two errors reported in the event viewer both sourced by ASP.NET 1.1.4322.0: aspnet_wp.exe could not be started. The error code for the failure is ...Show All
SQL Server Web Site Admin Tool problem in VS2005
All, When I create a new project and try to use the WSAT security tab, I get the following : There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: Unable to connect to SQL Server database. I am using VS2005 beta2 with a local copy of SQL Server Express. I am new to all of this so a little help would be great Thx jonpfl ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problem installing dxsdk(april 06)
Hi, Ive got a problem installing the directx sdk (april 06). I go through setup untill right at the end when it says Starting Services. Then it comes up with an error message saying Error 1290.Service DirectX Debug Service (DXDebug) failed to start. Verify that you have sufficient privleges to start system services. Any suggestions Here's another big problem with the April 06 SDK installer. My install seemed to work OK, but actually toasted my msdev 2005 keyboard. I can't copy or paste, etc. No control keys work. The "Tools->Options/Environment/Keyboard" command shows all blanks. No ...Show All
Visual Studio Changing database login info at runtime VS05 RTM vs VS05 Beta 2
I've a group of reports developed with Crystal 11 that need to have their database connection information changed at runtime. I'm following the sample code pattern for integrated security with winforms. With VS05 Beta 2 this all worked just fine. With VS05 RTM if the runtime database connection matches the report connection everything works fine. If the runtime connection is to a different database I get an error that seems to indicate that the Re portDocument.DataDefinition.ParameterFields values aren't being read correctly. Has Crystal functionality changed from Beta 2 to RTM Is the sample code wrong for the ...Show All
Visual Studio Express Editions CDate function returns 'IndexOutOfRange' error - also in VB.Net 2005 Beta2
Hi folks, I have already reported this error in the VS 2005 Beta2 forum, but was told that it was not reproducible (VbCity and VBug, and your UK Launch team were also unable to reproduce the problem). I think I now have a lead on the issue! It also looks similar to a problem reported yesterday on the VB Express forum - 'I keep getting the out of range exception'. I have condensed the problem to two lines of code: Dim myDate as DateTime myDate = CDate("01/01/2005") The above error is reported on execution of the second line. This has now occurred on 6 different ...Show All
Windows Forms Problems in remote mode
Hi! I have done an application in Windows Forms using C# and in the enterprise we want to use it as remote resource in the intranet. The application works fine in local mode, but in the intranet it shows the next error: (it works with SQLServer) *------------------------------------------------------------------------------------------------------* System.Security.SecurityException in mscorlib.dll Additional I ...Show All
Windows Forms how to populate a datagridview?
how can i populate a datagridview without a database i'd like to use it as a list. You need to manually create the columns for the datagridview at either design time, or runtime. Check out msdn resources for "Unbound Datagridview" You'll also have to create the rows programatically. ...Show All
.NET Development how to set the short cut key in VB.net (eg. Ctrl + O = Open file)
i am fresh in VB.net..so i got one quesiton here and need to be solve quickly. how to set the button short cut key...for eg if i want to open a file, normally the short cut key is ctrl + O, i had add a edit button, but dunno how to set the short cut key for edit as Ctrl + E...hope can get answer here.. Hi, My suggestion is to trap the Ctrl+O from the form's keypress event. Here's a sample code: // don't forget to set your Form's KeyPreview property to true... private void Form1_KeyDown(object sender, KeyEventArgs e) { & ...Show All
Windows Forms Naming conventions for form Controls?? i.e. btnExit vs. frmExit....HELP
Hi there - we are trying to come up with some standard naming conventions for our controls. I was taught to prefix the name with the control type. Ex. Exit Button would be btnExit Ex. Name Label woulc be lblName I have also seen prefixing the control name with "frm" Ex. frmName. I'm not sure where the industry is moving....but would greatly appreciate some feedback on this. Thank you! Kelley Bryant I use this. textName labelName treeViewLibrary groupBoxOption optionTextName optionLabelName & ...Show All
Visual J# ResourceBundle problem
Hi; If I call ResourceBundle.getBundle("resources", locale) where locale is for a locale I don't have a resource for (I used "zz_XX") - it throws the ArgumentOutOfRange exception. In this case it should work and just use resources.properties. I also tried "en_XX" which should fall back to resources_en.properties - but again I got the exception. - dave Hi, I am not getting the exception that you have mentioned. It would be really helpful if you could provide me your sample code and the resource files. The exception mentioned above is seen when neither of the following steps are done: 1. Execute "resgen" on .resx format if you are working ...Show All
