Software Development Network Logo
  • Visual C++
  • Game Technologies
  • Visual Studio
  • Microsoft ISV
  • Smart Devicet
  • Visual Basic
  • Windows Forms
  • Visual C#
  • SQL Server
  • Visual FoxPro
  • SharePoint Products
  • IE Development
  • Windows Vista
  • Audio and Video
  • VS Team System

Software Development Network >> Thomas S. Andersen's Q&A profile

Thomas S. Andersen

Member List

Hassan Ayoub
Henry Chuang
LutherW
RMooreFL
Danny Tuppeny
Andre's
Bapa
Pramod M
DPotages
invantix
is98
Jarron
rwbogosian
Santhosh Pallikara
codetale
imtaar
SQLHelpFTS
António Pedro Sousa
johnof
DreamerZ
Only Title

Thomas S. Andersen's Q&A profile

  • Windows Forms ListView Help

    Hello All, I need a little help with my listview. I have a list view with 5 columns that are being filled by 5 variables. I also have a while loop that updates the variables continuously and I want to update the listview at the same interval.... I know i can use : listView.Items.Clear(); (then re-add the item) listView.Items.Add(..) however i causes a severe flicker and will not allow the user to highlight a row... I have tried to use Update and Refresh, however this doesn't seem to update the row with the updated variables... Any Ideas Thanks, Andrew Maybe while you are trying to highlight a row, you are re-adding the items, so you can't highlight it. Do you really have to do refresh every moment ...Show All

  • Visual Studio UNC path of a local folder on Server??

    I have installed VSS 2005 on a WinXP Pro box (Server). I created a database at C:\VSS. I open SSAdmin, Server > Configure > Enable SourceSafe Internet for this database. It says, open the DB in UNC path. The folder is shared as "VSS". It is not accepting the "VSS" string in the create new database wizard.  It says, its not a valid UNC path. What do I need to give the UNC of a folder which is in the local file system of Server and shared as "VSS"   I tried "<computername>\VSS".. its not working because the server is looking for the computer on the network while its the name of the server itself. Sorry if I am dumb, but I couldn't find any documentation on this. TiA. I am trying to access this VSS folder from ...Show All

  • Visual Studio 2008 (Pre-release) xmlns deisgner versus compiler assembly resolving

    I have an assembly, sldcore, which has a namespace SolidCore in it, and the dll is named solidcoreud.dll. I assumed the namespace referennce would be: xmlns:SolidCore="clr-namespace:SolidCore;assembly=sldcore" But the assembly isnot resolved so I tried explicitly calling out the dll name xmlns:SolidCore="clr-namespace:SolidCore;assembly=soldcoreud" This works, types are resovled, at least from the aspect of compiling the xaml, however the designer gives Error 3 Assembly 'SldCoreud' was not found. The 'clr-namespace' URI refers to an assembly that is not referenced by the project. How do I carry on using the designer -- Dan P.S. The Data Trigger ...Show All

  • SQL Server Keep existing object unchanged or Create Schema at subscriber =false?

     Hi, I have the same database(3GB) in 2 physical locations in usa and europe I need to create a publisher and subscriber between these 2 database without sending any snapshot  because i have the same data in the 2 sides, is it possible Thx Jim Do you already have a guidcol in your publishing table and subscriber table If not, how did you add it The guidcol column value need to be exactly the same on publisher and subscriber table. Did you run snapshot agent before merge agent I was playing with your script yesterday but hit some issues, I will let your know the outcome today. Thanks, Zhiqiang Feng ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. loading textures on array

    Hi i am making a simple pool game and have my balls in an array (each ball runs through a class to set the properties. i have a Texture2D property to set the texture so i can set the white ball colour and yellow and red ball colour. however i have set up the array and try to draw but it will not accept the array property as a texture it keeps saying it is of null value even though i have set each of the balls here is the code below as you may understand a little more. //ball class for each ball public class balls { public Texture2D tex; public float x; public float y; public Vector2 v = new Vector2 (); public float r = 12.5f; public float m = 10; } //array of ball ...Show All

  • SQL Server parameter passing with blanks - help required

    Hi, I am having a curious problem with parameter passing between reports. I have 2 reports the first report gives employee name, Department and in the second report I have employee details. If the user clicks on the Employee name in the First report it should go to the second report and display the details. My problem comes if suppose the employee name is “Don King” when the parameter gets passed it does not recognize the space between the name and throws an error saying King not recognized. Would appreciate if anybody could suggest as to how I can pass the name with spaces in the report parameters. Thanks and regards PMNJ I'm having the same problem. I've als ...Show All

  • Visual Studio Express Editions Reset a databound combobox

    I have a databound combobox which works fine EXCEPT that the user has to reselect each time for the value to be input properly. The revalent extract of the code is Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Me .position < NameArray.Length Then Result(position) = Filter_partnumberComboBox.SelectedValue Label1.Text = NameArray(position) Me .position = Me .position + 1 'Here i need to reset the Filter_partnumberComboBox Else I have tried setting the selected value back to 0 which does set the combobox back to the start BUT the last selected value's display member is overwritten with the text of the 0 display member. If I ...Show All

  • Visual C# StringBuilder and System.Windows.Forms.Label

    Hi I am trying to get all my links in a Stringbuilder and show them by a Label like this: DataSet LinksDS = GetLinks(); if (LinksDS.Tables[0].Rows.Count > 0) { StringBuilder sb = new StringBuilder (); sb.Append( "<UL>" ); foreach ( DataRow dr in LinksDS.Tables[0].Rows) { sb.AppendFormat( "<LI><A href='{0}' target='_blank'>{1}</A></LI>" , dr[ "LinkURL" ].ToString(), dr[ "LinkName" ].ToString()); } sb.Append( "</UL>" ); LinksLBL.Text = sb.ToString(); } but the problem is the label shows everything like this <UL><LI><A herf='http://www.canada.ca' ..... ...Show All

  • Visual Studio Team System error 1402 installing virtual server 2005 R2

    Installing virtual server 2005 R2 on a Windows XP OS, I'am getting the error "Error 1402 could not open HKEY_LOCAL_MACHINE \Software\Classes\Msxml2.DomDocument.4.0\CLSID Verify that you have sufficient access to that key, or contact your support personnel". My UserId has admin rights so I don't think that access rights are the problem. Logged under the local admin account and tried again. Same error. I tried on un Lap top with windows Xp and all is OK. Why I need help aurelio I had the same problem installing Virtual PC, and the solution that worked for me was provided by Michael Iacoviello as shown below: Open regedit, and navigate to HKLM\Software\Classes Delete all regi ...Show All

  • Visual Basic Need To Create Search Bar For Database

    Greetings, I am completely and utterly amazed at the lack of information on how to create or employ a search bar. This is the one simple attribute that has made the internet what it is today. Nearly every program I have ever used has a search bar which, when data is entered into the textbox and the search button is clicked, it returns matching criteria. However, I have searched (Imagine That) Google, Yahoo,LearnVisualStudio.net, MSDN, and Help for three days on how to create such a simple procedure and have found nothing. What I need to do: I am creating a database where I have all my Employees Information which includes columns: [Employee Number], [Emloyee First Name], [Employee Last Name], etc.... I have created the database and ...Show All

  • SQL Server User Database backups in SQL Server 2000

    Hi, I am in the process of setting up periodic Database backups for my server. I am aware that I can use the Database Maintenance Wizard to generate a plan to backup all my USER databases. But when I set the Plan, even though I have specified to delete the backups a day older, it does no happen. So I end up having one copy of each backup created at the end of the day. How do I set it correctly, so that I can delete the backups say after 7 days In other words, at any point of time, I want to have just last 7 copies of the user database as my backup plan. How do I achieve that Alternatively, I can directly use SQL to backup the databases. But I could not find a reference to writing a single SQL to backup all my user databases in one ...Show All

  • .NET Development Soap Extension ChainSream method

    Hello, I use the soap extension to log the request and response soap messages in my web service like documented in the MSDN: http://msdn2.microsoft.com/en-us/library/7w06t139.aspx it works fine with no problem but i want to understand: why we should finally copy the stream from the memory stream to the oldstream. First at the beforedeserialize stage we copied the stream to the memory stream and in the chain stream we returned the memorystream, in the afterserialaization stage i got the serialized message from the memory stream, this means that the .Net framework worked on the memory stream so the serialized message was written on it, so why the response to the client wasn't sent from memory stream, why should i copy it from the ...Show All

  • SQL Server How can i "script table as" at sql server 2005 to sql server 2000 compatibility????

    Hi, I have a sql server 2005 . But my old customers have a sql 2000 database. I want to create table script, and upgrade my custumers tables.. i script table in sql 2005 and run at sql 2000. but it doesnt work for example: sql 2005 create this 1uery on the test table: "USE [test] GO /****** Object: Table [dbo].[TBL_TEST] Script Date: 11/24/2006 13:21:19 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[TBL_TEST]( [ID] [int] IDENTITY(1,1) NOT NULL, [KOLON1] [nchar](10) NULL, [KOLON2] [nchar](10) NULL, CONSTRAINT [PK_TBL_TEST] PRIMARY KEY CLUSTERED ( [ID] ASC )WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY] ) ON [PRIMARY]" then i run to sql 2000, but it doesnt work. but when i convert manually this que ...Show All

  • Visual C# Problem in accesssing System.IO.Compression

    I'm not able to access Namespace: System.IO.Compression, even thought i have installed .NET Framework 2.0. I need this as i need to access the Class Library GZipStream. Is there any setting that needs to be done Thanks in advance. Mayur. ...Show All

  • SQL Server Snapshot Agent,

    Dear Colleagues, I am using Windows Server 2003 RT, and SQL Server 2005. When Replication is performed with SQL Server Mobile. All 3 taskes i.e. Publisher creation, Article Publish, Snapshot agen starting. All are ok. However after replication is done when checking the Status of the Snapshot Agent it is not Running, and I cannot make it Run as well. Please advice me as to what could possibily be wrong with it, what can I do. Thankx. The problem is: 2006-09-26 07:47:24.62 The replication agent had encountered an exception. 2006-09-26 07:47:24.62 Source: Replication 2006-09-26 07:47:24.62 Exception Type: Microsoft.SqlServer.Replication.ConnectionFailureException 2006-09-26 07:47:24.62 Exception Messa ...Show All

©2008 Software Development Network