Software Development Network Logo
  • Windows Forms
  • Visual Basic
  • Visual C#
  • .NET Development
  • VS Team System
  • Windows Vista
  • Game Technologies
  • Visual FoxPro
  • Visual Studio
  • VS Express Editions
  • Architecture
  • Windows Live
  • SQL Server
  • Smart Device
  • Microsoft ISV

Software Development Network >> HardlyNoticable's Q&A profile

HardlyNoticable

Member List

Sharon277
EdMellor
Jack M
Mike Mozhaev
liangguotx
Snafi
ravenhack
Bejoy
YodaC
chris1r123
Marga
cori
anndy
Harsh Modi - MSFT
Fredrik G
Naveen Kohli
JumboGeng
Pat Garrity
Mei Liang
SergeiU
Only Title

HardlyNoticable's Q&A profile

  • Windows Forms Subject morphs to PostMessage?

    I have a CheckedListBox which draws its contents from a datasource, and this is set at design time. When the form loads up, there are 8 items in the CheckedListBox, but no matter where I seem to intercept events before the form appears, there are always ZERO items in the box. At what point can I assume that the data binding has actually filled&nbs ...Show All

  • SQL Server service broker error : Connection handshake failed

        When I configure SSB in two machine to send message, I get a error message in target machine SQLProfiler:     "Connection handshake failed. There is already an existing connection with the same peer and this connection lost the arbitration. State 80."     Then I get another message "This message could not be delivered because it is a duplicate.", but I am sure the configuration of routes is right.    How to solve the problem Thanks.  I test it in Version 9.0.1399. Can you download the script from http://www.gotdotnet.com/codegallery/releases/checkForDownload.aspx id=9f ...Show All

  • Smart Device Development Using the Data Access Application Block in Smart Device Apps

    I am writing a Smart Device App and trying to use the Data Access Application Block (Microsoft.ApplicationBlocks.Data.dll) version2 in the data layer. I have succesfully use the dll in normal windows programs without any problems. However when i add my Data layer project to the Smart client project, i receive the "TypeLoadException" exception. Is the Data Access Application Block  not supported in the .NET compact framework Take a look at the recently released application blocks from OpenNETCF which were released in collaboration with the patterns & practices team at Microsoft. http://www.opennetc ...Show All

  • .NET Development How can one add executable extension into IIS application Conf mapping programmatically

    I tried using WebSvcExtRestrictionList, however the list contains no data. Any idea My target is to add a php5isapi.dll into application configuration mapping of IIS4 server with a extension of ".php". C#: DirectoryEntry site = new DirectoryEntry ( "IIS://localhost/W3SVC" ); PropertyValueCollection ext = site.Properties[ "WebSvcExtRestrictionList" ];   -XZ Hi! Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP.NET forums at http://www.asp.net/welcome.aspx tab ...Show All

  • .NET Development Sudden DB connection failures & session expiry problems - How to find the cause

    I've been tearing my hair out over this one and I can't seem to find a solution :( Here is the error message in question: ExecuteScalar requires an open and available Connection. The connection's current state is closed. at System.Data.OleDb.OleDbConnection.CheckS tateOpen(S tring method) at System.Data.OleDb.OleDbCommand.ValidateC onnection( String method) at System.Data.OleDb.OleDbCommand.ValidateC onnectionA ndTransact ion(String method) at System.Data.OleDb.OleDbCommand.ExecuteRe aderIntern al(Command Behavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteSc alar() I get this error on certain functions from time to ...Show All

  • Visual C# Know if windows is shut down

    How my program know if windows is shut down so my program can stop itself. thanks, Check the Microsoft.Win32.SystemEvents class. It has an event called SessionEnding. ...Show All

  • Windows Forms versioning in .Net

    I wrote the following code to display the version number of my app:       strMajor = System.Diagnostics.FileVersionInfo.GetVersionInfo _         (Reflection.Assembly.GetExecutingAssembly.Location).FileMajorPart       strMinor = System.Diagnostics.FileVersionInfo.GetVersionInfo _         (Reflection.Assembly.GetExecutingAssembly.Location).FileMinorPart       strBuild = System.Diagno ...Show All

  • SQL Server Import objects from SSAS to Business Intelligence Development Studio

    Hi all, Could anyone tell me how I can use Business Intelligence Development Studio to browse or even modify data source views, cubes, etc. on SSAS created by means other than the Studio Thanks, hz Two ways: 1. BI Dev Studio online mode: Start BI Dev Studio . File->Open->Analysis Services Database. 2. Create new project based on the live version of the database. Start BI Dev Studio . File->New Project and choose project type "Import Analysis Services 9.0 Database" Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Windows Forms DataGridView and the automatic ellipsis

    I am working on converting a project from VS3 to VS5. One form has a grid which now uses the new DataGridView. Overall it is great. However, there is one small issue: When the amount of data in a cell is larger than can be displayed, an ellipsis is shown. This normally would be fine. However, this grid displays records from a database and a field may be 30 characters long, but with only 5 actual characters and the rest spaces. The cell, however, still thinks that they are actual characters so the cells always display the ellipsis, even when it is actually empty (only spaces). I have looked for a way to format it with the DefaultCellStyle. ...Show All

  • .NET Development Performance of ADO.Net in CLI Console app vs Windows Forms app

    I have been playing with ADO.Net and at first, I created a CLI console application, where I did different things, such as querying the schema collections of a database. I then created a Windows Forms application and did similar things (wrote code from scratch). What strikes me is that some simple calls that took no time under the console app now take a long time under Forms. I use VS C++ and SQL Server 2005 Express on a Win2000 PC and the ODBC provider factory. I establish a DbConnection to the database via ODBC data source, which was manually set up using the ODBC control panel. When I make the simple call: MyDataTable = myDbConnectio ...Show All

  • Windows Forms Saved new record, what is the best method for clearing a form.

    OK, this is a nub question by a guy who knows a lot about web but not nearly enough about Windows forms. If I open a new form to create and save a new record (like a new user), what would be the best way to re-initialize the form after the record was saved to start over again with a blank form I do not really want to close the form, because a data entry person may want to sit and enter numerous records without having to open a new form all the time. Is there any way easier than manually resetting each individual control (which could be a pain on complicated forms) Thanks. There isn't a generic way to re-initialize a for ...Show All

  • SQL Server SQL Server Express Security?

    We are releasing an application built on SQL Server Express in the next few months.  Our clients are mostly small companies with little technical knowledge, and they will be using our application on desktop computers where everyone likely logs in as the same user.  As such, my thinking is that we setup SQL Server Express as in SQL Server Authentication mode.  This way they could select an Administrator password upon first installation, and manage user names and passwords from within the application itself.  Any thoughts   Also, how would we install this scenario   We haven't been able to figure out how to custo ...Show All

  • SQL Server Exporting the Table Structure...

    Hye guys, I want 2 export the field names and their properties of my tables to a file by which I would be able 2 print it , Study it and share it with my other friends... for discussions... Which tool can be used 2 export the table stture in a printable format Kabin You can get the structure from the query analyser by the command --> sp_help tablename ...Show All

  • Windows Forms IEnumerable error for graphical node tree

    I am writing a window form using the following example. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/datastructures_guide5.asp I am getting the following error and I used all the code there exactly... 'visualTree.NodeList' does not implement interface member 'System.Collections.IEnumerable.GetEnumerator()' The error is from here.... using System; using System.Collections; namespace visualTree { public class NodeList : IEnumerable // error from this line in red { // private member variables private Hashtable data = new Hashtable(); Suggestio ...Show All

  • Visual Studio Express Editions How to get IP address

    I am trying to get the IP address of the PC that will be updating records in database and insert into one of the field of the record. I get need the local LAN IP for now as the application using VB 2500 express with MySQL will be running in a local LAN. Vincent Thanks so much. Both the above works for me. ...Show All

©2008 Software Development Network