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

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

lynntankl

Member List

Lientjie Kat
boulderbum
bigmanu
Rturlapati
Shawn Burke - MS
John Selnekovic
Cristiano Freire
Soft Analyst
jagotaas
joeydi
Andrew Kowalsky
danpanex
SW2005
Manmeet Panigrahi
RajeshatTCS
RobG3
chafikb
Mach6Solutions
Dj Anonymous
Woo
Only Title

lynntankl's Q&A profile

  • Visual Studio Team System a "pre-sales" question of sorts about source control in TFS

    Our team would sure like to get answers to the following questions before we decide to purchase TFS. Thanks for any information or referrals. Does the version control system support moving a file or directory to a different location in Solution Explorer (via the IDE) while still retaining the history of the file Does the version control system fully support renaming a file in the Solution Explorer (via the IDE) Does the version control system support copying files or directories to a different location at the repository level, while retaining the history Does the shelving feature support shelving multiple versions of the same f ...Show All

  • Visual C# Memory problem..

    Which part of memory is used by running applications I would like to make a program which reads some values from memory. How can I read from memory. I have used C++ to do it with pointers but how can I do it in C# Can you give me a little code sample Thanks, Timo Take a look to this article, it covers your full question: Minesweeper, Behind the scenes . ...Show All

  • Visual Studio 2008 (Pre-release) Loosely Coupled Events

    What's the equivalence to COM+ Events in WCF I would like consumers to be able to subscribe to datagrams from my service in a loosely coupled fasion like COM+ Events. /Jonas Also keep your eyes out for an article by Juval Lowy on an LCE/Pub-Sub service implementation he has put together and will be writing about soon. ...Show All

  • .NET Development DataTable.CaseSensitivity affect on relational selects

    I am trying to modify how a DataTable.Select behaves with respect to case sensitivity. The documentation implies that: The CaseSensitive property affects string comparisons in sorting, searching, and filtering. Modifying the example to use a relative operater and not the equal operator I get the same results independent of the value of the CaseSensitive property. Is this a bug Is there a way to affect relational operators in a select statement private static void ToggleCaseSensitive() { DataTable t; DataRow [] foundRows; t = CreateDataSet().Tables[0]; t.CaseSensitive = false ; foundRows = t. ...Show All

  • Visual C# Append text in the first line of files

    is there any functions/methods to append text lines (2 lines) in the first line of .txt files ex: i got a txt files contains 3 lines and i want to append 2 lines above the first line I think the easiest way is to read the File using the System.IO.StreamReader and read it into a string and add the initial two lines to the string by concatenation. Then close the StreamReader and open the file using the StreamWriter with append option set to false(which would overwrite the file) and write the string to file. Sample code snippet: string strFileContents = ""; string strDataToAppend = "This is ...Show All

  • Visual Studio Team System Moving TFS servers

    Folks, There have been a number of postings requesting instructions on how to move servers (covering some of the following scenarios): Moving TFS from a workgroup to a domain Moving TFS from a Test domain to a Production domain Moving TFS (single server) from one machine to another (disaster recovery for single server) Moving TFS from single server configuration to dual server configuration. These instructions are not currently available as part of the latest MSDN documentation, but I'm happy to announce that they are avaialable here: http://blogs.msdn.com/vstsue/archive/2006/03/22/558178.aspx . As the blog article says ...Show All

  • SQL Server can not drop user from database

     I can not delete user from a database in sql2005 beta 3. the message errror is : TITLE: SQL Server Management Studio ---------------------------------------- Drop failed for User 'Amministratore'.  (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft SQL Server&ProdVer=9.00.0981.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Drop+User&LinkId=20476 ---------------------------------------- ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ...Show All

  • SQL Server UNION with the second set ordered

    Hi, I was trying to use the UNION construct to combine two tables. The second table was to be sorted before effecting the UNION. The first attempt was the following: SELECT emp_id , assigned_branch_id FROM employee WHERE title = 'Teller' UNION SELECT open_emp_id , open_branch_id FROM account ORDER BY open_emp_id The above was generating an error. I then tried SELECT emp_id , assigned_branch_id FROM employee WHERE title = 'Teller' UNION SELECT e . open_emp_id , e . open_branch_id FROM ( SELECT TOP ( 100 ) PERCENT open_emp_id , open_branch_id FROM account ORDER BY open_e ...Show All

  • Visual Studio 2008 (Pre-release) inheriting from itemscontrol - not able to bind to itemssource

    I have a situation where I want to wrap a (custom)panel with some stuff (scrollviewer, track and some buttons). Therefore I created a new class that inherits from ItemsControl. In it, I use a style to set my panel as the itemshost. However, when I use this usercontrol, the itemssource is always null! < cft:TijdslijnVisualisatie Grid.Column = " 0 " Grid.Row = " 1 " DataContext = " {Binding ElementName=ComponentLijst, Path=SelectedItem} " ItemsSource = " {Binding Path=Periods.xxxx} " ItemTemplate = " {StaticResource xxx} " /> < ListBox Grid.Column = &quo ...Show All

  • Windows Forms Switch connectionstring for TableAdapter

    TableAdapter is great. But, each TableAdapter needs itself connectionstring. Now, I need to switch Sql Server database, do I need to reset connectionsstring for my more than 50 TableAdapters Is there a better way to do it Thanks I believe you should have put your connectionString in app.config. If not, try doing search and replace. ...Show All

  • Visual Studio Express Editions Compile fails on network drive

    I installed VCX (VC++ Express) on my local drive, but my project files are on a network drive mounted as S:  I created a simple HelloWorld Win32 Console App and the compile fails due to: 1>cl : Command line error D8022 : cannot open 's:\project\TestExpress\TestExpress\Debug\RSP0000024283524.rsp' However, it works fine on a local drive.  I read about this problem with other products but I can no longer find the reference. Anyone know how to fix this Thanks What, no one has done this before   Doesn't Microsoft read these forums   This is such a "grasshopper" thing for them ...Show All

  • SQL Server ExecuteSQL Fails from Variable

    I am executing the following statement to setup a database: IF EXISTS (SELECT name FROM master.dbo.sysdatabases WHERE name = N'WTemplate') BEGIN ALTER DATABASE [WTemplate] SET SINGLE_USER WITH ROLLBACK IMMEDIATE DROP DATABASE [WTemplate] END GO CREATE DATABASE WTemplate ON PRIMARY ( NAME = N'WTemplate', FILENAME = N'D:\MSSQL\MSSQL.1\MSSQL\DATA\WTemplate.mdf' , SIZE = 2048KB , FILEGROWTH = 1024KB ) LOG ON ( NAME = N'WTemplate_log', FILENAME = N'D:\MSSQL\MSSQL.1\MSSQL\DATA\WTemplate_log.ldf' , SIZE = 1024KB , FILEGROWTH = 10%) GO EXEC dbo.sp_dbcmptlevel @dbname=N'WTemplate', @new_cmptlevel=90 GO EXEC WTemplate.[dbo].[sp_fulltext ...Show All

  • Visual Studio Report Designer - how to add ObjectDatasource?

    I am trying to add a local report to my ASP.NET 2.0 app. When I create new datasource in VS report designer it always creates SQL Datasource (it doesn't even ask me about the name of the dataset). I am going to use my business objects as a source of data, so it would help to be able to use them when I design the report. I don't need that DataSet1.xsd in my project. I just want to use my own objects. Is there any way to do that in the report designer Is there a way to access the session from this object to retrieve session stored info   System.Web.Httphandler.Current is nothing w ...Show All

  • Visual Basic What persists and why?

    So far I haven't been able to find out why a bindingsource retains results from a previous query. Does anybody know if it is the bindingsource or the dataset or whatever that holds this data. The table where the query results are stored has the new results, but I can't get at the new results using bindingsource or dataset. Does anybody know how to get the new results into a bindingsource or why the previous results persist and what can be done about it I figured this one out myself. As I was beginning to suspect, the problem was that the TableAdapter needed to be "refreshed". I did that with the follow ...Show All

  • .NET Development Another Undo operation encountered a context...

    I've been looking around these forums for the past hour, looking at the variety of solutions to this error. But none seem to be applicable in my case. I'm not an experienced visual developer, so a lot of this (including terminology) is very new to me. So I may be misunderstanding one of the solutions previously offered. I'm writing a mobile application that communicates with a local server that then goes on to communicate with a Unix server (our main application is Unix based). I'm using Asynchronous sockets (as far as I understand it). Client Unix Client - inherited from Client with overridden OnDataReceived and Send functions. ...Show All

©2008 Software Development Network