windsurfer's Q&A profile
Windows Forms Howto: Insert Default Blank Item to DataBounded ComboBox
A very classic question for databinding of Combobox, but is there any easy way to do so in ADO.NET 2.0 Thanks, Q. How can I add a “null” or “DBNull” entry to my bound ComboBox When data bound, the Windows Forms ComboBox does not provide a general way to add a “null” or “not selected” value to its items list. The only generally supported way to do this is to add a “null” item to your data source list. ...Show All
Visual Studio 2008 (Pre-release) Editing style of selected row in ListBox
Hi, I'm using the February CTP and I want to edit the style of the marked item in a ListBox. I have figured out that I probably need DataTriggers, but I don't know how to use them. All I want to do is to be able to change the blue background when a list item is clicked to something else. Can anybody help Thanks, Tomas You should try and use Microsoft Expression Interactive Designer ...Show All
.NET Development Date Picker Microsoft JScript runtime error
Hi, I'm not a very experienced developer so bear with me. Hope someone can help. I have created a date picker to populate a textbox but when I select a date I get the following error: Microsoft JScript runtime error: 'window.opener.document.Form1.StartDate' is null or not an object Here is the code I use: <script language="javascript" type="text/javascript"> funct ...Show All
Visual Basic Accessing List items
Got on of these Lists on the go, it goes a bit like this: Structure Player Dim etc etc etc End Structure Dim lstPlayers as List (of Player) Now that's working fine, and I can access them using a For... Each statement. BUT... When I have one (Say, for example For Each tmpPlayer In lstPlayers) I can access all the properties of each player, but cannot change them. Is there any way around this It may make things clearer if I say that I'm using ...Show All
Visual Studio Express Editions Express Beta 3?
Hi, Would microsoft release a beta 3 or would they just stick to CTP's until RTM If it would be CTP, I really hope that it would also be available in manual downloads... (I'm only on a dial-up)... cheers, Paul June A. Domag Hi, Any plans on making upcomming CTP's available as a manual download Coz I really can't install it via internet. (Got a Problematic Connection)... cheers, Paul June A. Domag ...Show All
.NET Development how do I authenticate to web service?
I'm trying to re-create my Visual Studio 2003 application in Visual Studio 2005 that should create a secure connection to a web service using SOAP protocols and digital signature, I have a problem establishing a secure connection( I can't authenticate to the web service) using a x509 certificate. Thanks for help. The sample is nice but I still can't authenticate to the web service (can't make a trusted connecti ...Show All
Visual Studio Team System Web Test - Accesing values from a Datasource
Hi, When you use some values extracted from a Datasource (for User ID, Password or other parameter) you specified the Database, table and field. How are rows managed I mean which is the criteria to chose a record from this table (always the first, randomly or another criteria). How does it works when you include this test in a Load Test Does it change the rows from the table randomly Thanks LucasC There is not a custom access method.  ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA needs visual studio 2005?
I am working with Dark Basic Professional and want to check out XNA. I have visual studio.net I can't find if XNA will work with VS.NET or if I will be forced to upgrade to VS 2005. Knowing Microsoft they will use XNA to drive sales of every new version of visual studio that gets released. So will XNA work with visual studio.net Sorry if I sound bitter about all the new version of visual C. I don't have a lot of money and I keep hitting ro ...Show All
SQL Server SQL express on pc / svr questions
I have a few questions about SQL express. Will SQL express make my workstation (regular PC on network) act as a server Or does it just allow VB express / Web Developer Express to write code that will work on an actual My SQL server The goal is to make a simple DB that will then be used on a website on a live server which has My SQL on it. I don't need SQL express on that server also do I MY knowledge about SQL is next to null. Thanks ...Show All
SQL Server SQL Server 2005 Reporting Serivces: XML Datasource problem
Hi, I'm just starting to use SQL Server 2005 Reporting services, and need to use an XMLdocument as the datasource. I will get the xml data from a webservice and then need to bind it to the report. Here is what I am doing: 1. I created a webservice at the following location: http://localhost/myWebDirectory/myService.asmx . this webservice has a method called " GetXMLDocument" that has 1 parameter (sql). This method uses the sql st ...Show All
SQL Server DTSX file
A developer asked for help to schedule a xxxx.dtsx file developed via Visual Studio 2005 on SQL Server 2005 Management Studio Job Agent Not too familiar just yet with VS2005 and SQL2005. Any help would be appreciated. Thanks OK, you're in VS, right Save your file (File/Save xxxx.dtsx) Save a copy of your package to the SQL Server (File/Save Copy of xxxx.dtsx As...) You then get a 'Save copy of Package' dialog. Enter the s ...Show All
Visual Studio Visio and display of Cyrillic words (Russian)
Hi all, I am having a problem trying to insert some Russian translations into Visio. Now this is not really the problem but rather when leaving Visio to return to Word, the Russian translation copied into the cell is displayed by question marks( ). If I reenter VISIO, I can read the Russian translation - I have tried out all the options known to me at the moment, but nothing seems to help. Digits are displayed OK, if I replace the Ru ...Show All
Visual C# Remote registry access
HI, Can anyone tell me how to access remote registry which is in different domain ...I am getting UnauthurizedAccessException What are you using and can you provide us related source code The UnauthurizedAccessException you get indicates that you haven't the rights to read the remote registry. This is a security issue and depends on the rights you have. ...Show All
Windows Forms equivalent of server.mappath for windows sesrvice
Hi, I am making a windows service. In asp.net application we have Server.mappath to get teh project foler path, what is its equivalent for windows service. I tried Application.path , but after typing Application. it does'nt show me any dropdown which sh ...Show All
Windows Forms What service does the datagrid use to create tablestyles
Does anyone know what service does the tablestyle editor use to create tablestyles I have my own host designer project and when I drop a datagrid on the form and edit the tablestyles it creates them but with no name property which tells me&nbs ...Show All
