USFbobFL's Q&A profile
Windows Forms Big Problem, I think it's bug
-VS2005 RC -Framework 2.0 release When I close a form with bindining datasource on it, I have this error. An unhandled exception of type 'System.ArgumentException' occurred in System.Windows.Forms.dll Additional information: Sort string contains a property that is not in the IBindingList. Looks like a bug to me as well. This is just a simple workaround: Private Sub Trxns_FormClosing( ByVal sender As Object , ByV ...Show All
Visual Basic Problem with Combobox and SelectedValue
Hi again from Spain. I'm working with the beta2 (VB.NET) and i have a problem with a ComboBox and the SelectedValue propertie. I fill a Combo from a database and i use the AutoComplete feature to make easy select a value. But... if i use TAB to enter the Combo... i type the value or select it with the keyboard... and ... then use the TAB to go to the next control (or click with the mouse in other field, button, etc)... the SELECTEDVALUE of th ...Show All
Software Development for Windows Vista Receiving message through window
Hi, I hope I am posting to the right forum. I want to perform some specific task when the system returns from hibernation. I found out from MSDN that I need to make use of the WM_POWERBROADCAST message that is generated. http://msdn.microsoft.com/library/default.asp url=/library/en-us/power/base/wm_powerbroadcast.asp It says that a window receives this message through its WindowProc function which has the following prototype: LRESULT ...Show All
SQL Server Problem installing SQL Server 2005 Express with Advance Services CTP
Hi, I was unable to install the CTP version of SS Express Edition SP1 with Advance Services. The installation failed with the following error message: TITLE: Microsoft SQL Server 2005 Setup ------------------------------ SQL Server Setup could not connect to the database service for server configuration. The error was: [Microsoft][SQL Native Client][SQL Server]Login failed for user 'sa'. Refer to server error logs and setup logs for mor ...Show All
SQL Server Threading in Custom Components and Script Components
Ok so its reall easy to use threading in .net. But what about doing it properly especially in SSIS. The following are my questions, Are there any implications of adding rows to a buffer from multiple threads How can the script components be written to close any spawned threads when running in Dtexec. It seems that only the top level thread is aborted leaving spawned threads running Is this an issue with dtexec Which of the core components use ...Show All
Software Development for Windows Vista Problem in sending mail through web instead of localhost(Drop)
I have done HOL 02 of wwf successfully. I want to send mail through web instead of sending it to the Drop folder of Inetpub in the local machine. So I have changed Smtpclient from "localhost" to SMTP Server name as shown in the below code. Then I am getting the following error. " An exception of type 'System.Net.Mail.SmtpException' occurred in System.dll but was not handled in user code Additional information: The SMTP ...Show All
Visual Studio Tools for Office question for Microsoft Office File Properties
Hi My question: I have created my custom file format. And i set “Summary information” stream and “Document information” stream to my file. Then in Microsoft Explorer on File Properties/Summary tab shows only Title, Subject, Category, Keywords, Comments, Source, author, Revision Number property. But if i change file extension (for instance) to “.doc” or “.ppt”, File Properties/Summary tab shows all properities such as word count and pages. How it ...Show All
SQL Server CTE Vs Temp Table in Yukon
Hi All, I would like to know which gives better performance: CTE or Temporary Table Thanks, Suresh I wanted to add another information here. When I replaced Temporary Tables with CTE in my query, it took more execution time. For ex., the query using Temp Table took 1 min 5 secs. The query using CTE took 4 mins. The no. of records hold by temp table in my query is apprx. 44000. Why CTE is slower ...Show All
Visual C++ Call Browser is not working in VS2005
hi, i just noticed that the Call Browser is not working anymore in VS2005. of course, i can view the Call Browser window but all searches fail. i also do not see the context menu option for call graph when i right-click on a symbol. what should i check thanks for any insight... g gchippie wrote: i just noticed that the Call Browser is not working anymore in VS2005. Compared to what This ...Show All
SQL Server Currency Symbol Problem
I am currently writing a report in SQL 2005 RS and have a problem with the format of a currency field. I am creating the report through the 'SQL Server Business Intelligence Development Studio' In the report preview (and live) it shows the prefix for the field to be $, and yet when I look at the custom format for the field it shows it as being Format Currency and the sample shows the output will be £1,234.00. If I change the format to percentag ...Show All
Visual Studio Team System Runtime context different when running through TestMgr and running as an application?
I am running VS.NET2005 (Version 8.0.50727.42) and are having some problems with a complex test I have that uses a 3rd party assembly. The code is to complex to produce a simple example to show here, but what happens is that when I run the testmethod from a new projects Main method it runs fine, but when I run the same testmethod as a test through TestManager it will fail (assert on an object of the 3rd party assembly that is empty which it s ...Show All
.NET Development need some advice here
Hi, I am developing an app with the common layers APP,BLL and DAL. I am puzzled as to where I should put the DAL I need the app to be distributed as possible as well as the DAL will be acceddes by multiple apps. I was thinking of puting the BLL on the webserver and the DAL on a separate server. If I go that way how would I access the DAL from the BLL Remoting I am using .NET 2.0. Should I consider Webservices to expose the DAL OR make the BLL we ...Show All
.NET Development OleDBCommand: what might be the problem?
Sorry you all if I bother you lately. I'm new to c# that's why I look out for assisatance often. I'm trying to insert user name and password into an access database through a create button. However, anytime I click on the create button there is an exception which suggests that there is a problem with my sql insert statements. I need help to ascertain what the problem is and how I can rectify that problem. pr ...Show All
Visual Studio Using Source Safe 2005 with VS 2003
I just installed Visual Studio 2005 and I have Visual Studio 2003 installed at the same time. I am migrating all my apps over to 2005 but I currently use Source Safe 6.0. Can I uninstall Source Safe and install Source Safe 2005, I know that it will work with the old source safe files, but will it work within Visual Studio 2003 Thanks, Cory Jorgensen Bitco Software Hi Cory, Yes, VSS2005 will wo ...Show All
Visual C# how to open a file implicitly when application invokes
hi, my intention : to open the image in the picture box in another application(image viewer ) automatically when ever user presses edit button. problem : i am getting the image viewer application running but i am not able to get the image running at the same time. could anyone pls help me in solving this i am running out of time..... regards praveen private void edit ToolStripButton_Click( object sender, EventAr ...Show All
