Herr Vorragend's Q&A profile
Windows Forms combo box
Hi, There is a combo box on a windows form which is populated with three items. The clear button clears this combo box so that no text is selected but if you click on the arrow of the combo box you will be able to select an item. This only works if the item selected is the first one. For example if the second item is selected in the combo box and then you click on the clear button, then the first item becomes the selected item. any thoughts pls At present I am using .SelectedIndex = -1 to clear the selected text. But as mentioned before, this method does not work if an item (other than the first item) is already selected. It basically will ...Show All
Visual Studio Express Editions XML/SOAP based webservice Help
Anyone using VWD Express to develop / test XML/SOAP based webservice I'm getting the errors when trying to test a webservice from the 'Walkthrough' XML webservice exercise. Any help is greatly appreciated! A name was started with an invalid character. Error processing resource 'http://localhost/TemperatureWebService/Convert.asm... <%@ WebService Language="C#" CodeBehind="~/App_Code/Convert.cs" Class="Convert" %> -^ Or developing webservice under Visual Studio Express Editions is not supported ...Show All
SQL Server execute DTS from asp.net 2.0 - package does not exist error
I am trying to execute a dts from asp.net, but getting an error “The specified DTS Package ('Name = 'DTS_USERS_LIST'; ID.VersionID = {[not specified]}.{[not specified]}') does not exist.” I know I have saved the dts package on the sqlserver, and have run it from the server successfully. Here is my code: Package2Class package = new Package2Class (); object pVarPersistStgOfHost = null ; package.LoadFromSQLServer( sServer, sUID, sPWD, //DTSSQLServerStorageFlags.DTSSQLStgFlag_UseTrustedConnection, DTS. DTSSQLServerStorageFlags . ...Show All
SQL Server How to Select Few row data from SQL Server 2000 database
i am facing a problems, hope that anyone who know the answer can help me. i am using sql server 2000 and vs.net. i wan to retrieve a data from the table which only select 3 top row based on their different contingentID. the table have different contingent and each contingent have 5 row data. i wan to retrieve 3 top row based on the total group by contingentID and sum up the total to order by the total and generate the ranking based on total. what i can do is only retrieve every row of data in that table. so anyone know the answer please help me, or if u dun understand my question , can message me..thank your Skyline... 2006-04-0 ...Show All
SQL Server rsAccessDenied
I have a reportViewer control on a webform. In my partial class I set the report path, server and parameters in the Page_Load. When I run the report I get this error: The permissions granted to user 'NT AUTHORITY\NETWORK SERVICE' are insufficient for performing this operation. (rsAccessDenied) Here is my code: Dim u As New UriTypeConverter Dim ReportParameters(0) As ReportParameter ReportParameters(0) = New ReportParameter("ProjectKey", 262) rv.ShowParameterPrompts = False rv.ServerReport.ReportServerUrl = u.ConvertFromString(" http://localhost/ReportServer/ ") rv.ServerReport.ReportPath = "/Test/Dupl ...Show All
Visual Studio Visual Studio 2005 perfomance issue
Well, i just converted my 10 project solution to VS .Net 2005, and i'm finding out the converted app is running very slow. There has been no real change(except i substituted ConfigurationSettings.AppSettings to ConfigurationManager.AppSettings to see if that was the performance issue) and no luck. My application connects to Microsoft SQL Server(not 2005). What may be the cause to this problem My computer is a 2.39GHZ Celeron pc with 752 mbs RAM. There was no problem whatsoever with 2003 though. Thanks. This disables 'Managed Debug Assistants', which is special code that the CLR runs to detect common program ...Show All
Software Development for Windows Vista Scalable desktop
Thanks for dropping by! We're here to listen to any comments and answer any questions you might have concerning Presentation and UI in Windows Vista. Note that this is a software development forum, so the focus is on issues related to writing programs to take advantage of Windows Vista. You can discuss your issues related to installing Windows Vista in the microsoft.public.longhornhelp newsgroup . If you wish to report a Windows Vista bug, double-click the "How to report a bug" shortcut on your Windows Vista desktop. We all know from PDC05, WPF is supporting scalable graphics for application. Will final ...Show All
SQL Server Successfully Implemented expression-based query to workaround Oracle 8i problem
Can anyone help with a resolution to the error message below, or authoritatively confirm that the new multivalued report parameters feature of SQL Server 2005 Reporting Services does not work against an Oracle 8i database I am getting an error running a report using a multivalued report parameter mapped to an embedded query where the data source is an Oracle 8i database. However, the following error only occurs if I actually select more than one value from the multivalued report parameter's drop-down list: Query execution failed for data set 'DataSetStyleList'. ORA-12704: character set mismatch Note that the report runs fine ...Show All
Visual C# How to read exact line from text file?
Hello again.I have one question: (example) How I can read the 3rd line from a text file and transform the rezult to string Yes, you can do this by using the StreamReader Object. include the System.IO Namespace then StreamReader sr=new StreamReader("FilePath"); sr.readline(); // reads first line sr.readline(); // reads second line sr.readline(); // reads third line check out for different read options according to your need. ...Show All
Visual Basic tab control problem
hi, i having a tab control and i want my tab to handle a click event and prompt me a message when i click on it. However, i found that only inside the tab page can handle the click event not the tab on above. what should i do or is it no such handling for click event on the tab i think selectIndexChanged is more suitable for me..anyway...thanks for ur hint..thanks very much ...Show All
Visual Studio Team System Code analysis vs FxCop
I'm current trying out a conversion of an FxCop project to Team System to bring over existing exclusions. However, I've noticed that Team System Code Analysis seems a poorer relation, have I missed something No spell checking - FxCop uses a dictionary (plus custom dictionary) to check the names of methods, classes, etc. Code Analysis doesn't seem to do that Help - FxCop not only complained when something was wrong but provided a great deal of help/hints to resolve the probelm. Code Analysis just seems to present the problem with no sign of a hint. Seems like a backward step, what have I missed For more information ...Show All
Visual Studio Express Editions C# Equivalency of VB function "DoEvents"
Basically the DoEvents function does something mainly used for waiting. Here's an example: Do Until Winsock1.State = 7 DoEvents Loop That example waits for the winsock control to successfully connect. So how would I perform the same task in C# Thanks in advance ...Show All
Visual Basic How to Get Optional Parameter Names automatically typed through Intellisense
I'm having a method which accepts more then 10 Optional parameter. In calling code, i want to give facility to the person using my class to get optional parameter names directly through intellisense. is there any way to accomplish this Optional parameters have full Intellisense support by default in both VS2003 and 2005. For example, if you define the following function: Public Function Test( ByVal Param0 As Boolean , Optional ByVal Param1 As Boolean = False , Optional ByVal Param2 As String = "" ) As String ...trying to invoke it elsewhere will show the types ...Show All
Visual C++ Beta 2 error, Project : error PRJ0003 : Error spawning 'cmd.exe'.
Hi, I've just installed the new visual c++ beta 2, and I get this weird error when compiling a project. ------ Build started: Project: FindWeights, Configuration: Debug Win32 ------ Embedding manifest... Project : error PRJ0003 : Error spawning 'cmd.exe'. Build log was saved at " file://c:\My\Active\FindWeights\Debug\BuildLog.htm " FindWeights - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Any idea what I can do to fix this Thanks Hai I got same error with cmd.exe when i said manifest=no and debugged then no error ========== Build: 0 succeeded, ...Show All
Windows Forms converting an integer to a string in C++.NEt
Currently i am learning c++.net, and i want to make a simple little begginer program, basically, i want to do is..have something like...saying..please enter your name:...then you enter your name. I then want to display that name on a blank screen saying..your name is:...how do i get C++ to recognize what the user has entered as a string instead of alwa ...Show All
