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

Software Development Network >> Karl Kaiser's Q&A profile

Karl Kaiser

Member List

apaspula
EvgenyG
Sculptor
barkingdog
Manuel Sampen
rajesh_batchu
lokeshbohra
james_cline_
geertdeprez
George Clingerman
guilherme mendes
nhaas
oasisman
cookieCutter
OROCHKA
leonardoreyes
vdv_phuong
Mongoose7
yjacket2006
Skidmark
Only Title

Karl Kaiser's Q&A profile

  • Visual Studio 2008 (Pre-release) Xml Data Binding Performance Issue (Re-post)

    I am running the .Net 3.0 RTM and have come across a performance problem with data binding. I am data binding XML which is updated once per second to a ListView/GridView . I have noticed that cpu utilization increases rapidly as the number of items in the ListView grows. For example, on my IBM Thinkpad 43p, if I have 3 items, cpu utilization is 8%. If I have 6 items cpu usage grows to 30%. At 12 items it is approaching 100%. As the number of lines of XML grows, the performance gets worse. In the code behind, I have a single XmlDocument that I set to the data context of the ListView: XmlDocument doc = new XmlDocument (); instrumentList.DataContext = doc; When new Xml is available, I do the following: doc.LoadXml(theX ...Show All

  • .NET Development How to easily load data from an XML doc?

    Let's say I have an XML file that looks like this: <profiles> <profile> <name>My First Profile</name> <defaultColor>Color.Blue</defaultColor> <size>6270</size> </profile> <profile> <name>New Test</name> <defaultColor>Color.Red</defaultColor> <size>500</size> </profile> </profiles> And I basically want to load this data up in a simple method, such as the example below (pseudo-code): xml = LoadXML("blah.xml"); foreach profile in xml // profileName = xml.Get("name"); // myColor = xml.Get("defaultColor"); // pageSize = xml.Get("size"); next How could I do this in C# ...Show All

  • SQL Server Cannot connect to AdventureWorks db

    All, I am running SQL05 Dev with AdventureWorks on my desktop with local admin rights. I also have it configured to connect locally since it's a DEV version of SQL. When I use either of the connection strings below I get the error message at the end of this post. Thanks, >Scott Here are the strings: Data source=(local); initial catalog=AdventureWorks or Data source=(SQLDEV05); initial catalog=AdventureWorks Here is the error message: TITLE: Microsoft Report Designer ------------------------------ A connection cannot be made to the database. Set and test the connection string. ------------------------------ ADDITIONAL INFORMATION: An error has occurred while establishing a connection to the server. When c ...Show All

  • Visual Studio Team System Get the actually files when using Workspace.Get through the API

    Hi, I'm trying to implement get preview operation for given Workspace through the API. I'm using: workspace.Get(VersionSpec.Latest, GetOptions.Preview) How can I get the actually files (path to the files) that need to be download from the server Workspace.Get doesn’t returns the actually files that need to returned from the server Thanks in advance, If you are programmatically creating the workspace you should be knowing the path of the folder mapping to the workspace. If otherwise you can check the Workspace.Folders readonly property to get that mapping. You can map a local folder to workspace using Workspace.Map method. Richard Hundhausen in his book on VSTS has given a full listing of ...Show All

  • SQL Server installing RS2000 without SQL Server

    everywhere i read, i am told to have reporting services on a separate server to my sql server. and that i have the option to use a remote server for the report server database. but when i try to install RS on a machine with no sql server installed, i dont get any options at all. it goes through the following steps: 1. installing setup support documentation (completes) 2. checking system requirements (everythings fine) 3. a screen comes up saying something like "to install, click next" - but there is no next button! only cancel. so i click cancel and it goes through an install (doesnt give me any options, eg where to install to) once its finished, it is in control panel>add remove programs, but it is not in services, and ...Show All

  • Visual Studio 2008 (Pre-release) Itemname on simple Arrays.

    Hi, I'm using the DatacontractSerializer, and my data contains a simple array of type A[]. I would like to format the names within this array - but it seems only to be possible if I implement IEnumerable Any thoughts Hi, thats just the problem DataContractAttribute only works on collections which implements IEnumerable. for instance... [DataContract()] public Class A{ B[] myitems } Will end up looking like: <myitems> <B/> <B/> .... </myitems> But I want to change "B"s name. ...Show All

  • SQL Server Logger

    Dear all, I'm using the following command to schedule an export data job. Now I would like to know how to use the option "/logger" getting a log file for verification. DTExec /FILE "C:\Test.dtsx" /CONNECTION DestinationConnectionFlatFile;"c:\test.csv" /CONNECTION SourceConnectionOLEDB;"Data Source=CP0762;User ID=user;Initial Catalog=DATA_CONV;Provider=SQLNCLI;Auto Translate=false;PASSWORD=password" /MAXCONCURRENT " -1" /CHECKPOINTING OFF /REPORTING EWCDI What I understand from both your posts is that you have the expectation that you can use the /logger switch to direct logging output to a file "c:\logt.txt". The /logger option allows you ...Show All

  • Visual Studio Express Editions Please Explain Variables

    Could someone please explain to me about variables because I think I must be misunderstanding the concept. This is what I think they are: a variable is a holder for a piece of data; text, a number, a date etc etc. For example Dim abc As Integer = 2. I would then use abc in a piece of code to use the number 2, At this point, I now get confused. Can the same variable hold different values or am I stuck with one value per variable ie can I have abc to be 2, then later it may be 35, or 7 etc. (depending on the entry into a textbox) - I want to make a variable then assign it to a textbox so that the entry in the textbox becomes the new value. Many thanks for your help and advice!! Steve Howdy! A variable is exactl ...Show All

  • Windows Forms how to find the tan inverse in c#

    hi, Anyone tell me how to find the tan inverse in C#. thanks gqlu not arc tangent. tan (45 degree ) = 1 tan -1(1)= 45 i want the fuction tan-1 ...Show All

  • Microsoft ISV Community Center Forums Setting ChartObjects Properties throws Run-time Error '1004'

    I have been trying to figure out what is wrong with this macro for a month now. Can someone please help me, I give up I have columns of data ranging from A to EK and 352 rows of data for each. Each column will be a new dataset and therefore a new chart. Each set of 5 columns is a group so after I go through 5, I offset the output column for the charts by 7 and start a new group. It throws really random Runtime Errors '1004 ' , like "Unable to set the Size property of the Font class" or "Method 'HasTitle' of object'_Chart' failed." One day it will be the Legend object, then the Axes. There doesn't seem to be any consistent error besides the fact that it progressively quits creating charts the more I run it whil ...Show All

  • Gadgets Read versionnumber from gadget.xml

    Hi @all, does anyone know how to get the versionnumber from the gadget.xml file Is there any variable to access this value Thanks for your help! Yes use: System.Gadget.version (remember case sensitivity of object model!) Was looking for just the same myself, found the answers in the object model reference at: http://msdn.microsoft.com/library/default.asp url=/library/en-us/sidebar/sidebar/reference/refs.asp Chris ...Show All

  • Visual Studio Team System HELP!!! Databases deployed with wrong database name [for Jamie Laflen if he's reading ]

    We were previously running on CTP6. We have TFSBuild running our database deployments against the SQL Server isntance in our build environment. Everything was working OK. Yesterday we upgraded to RTM and all of a sudden - not so good. Our databases are being created with the name of the project as the database rather than the name specified in the <TargetDatabase> property in the .dbproj file. Here's the contents of our .dbproj file: < RootNamespace > UpstreamSolutions.SqlServer.MinervaRepository </ RootNamespace > ... < TargetDatabase > MinervaRepository </ TargetDatabase > But when the database gets deployed it is created with the name UpstreamSolutions.SqlServer.MinervaRepository ...Show All

  • Visual C++ LINK : fatal error LNK1104: cannot open file 'LIBCD.lib'

    HI, I'm trying to install GLUI to work with Visual Studio 2005, i'm just trying to run one of the examples but i keep getting this error: LINK : fatal error LNK1104: cannot open file 'LIBCD.lib' the only reference i could find to it was in a microsoft help page but it said the bug had been fixed in an eariler version. Any help would be great. Cheers This file is the static library for the debug single threaded version of the C runtime. Visual Studio 2005 no longer supports this version of the C runtime: instead you need to use the multi-threaded version (libcmtd.lib) or the dynamically linked (DLL) version (msvcrtd.lib). To fix this problem you will need to change t ...Show All

  • Windows Forms Is it possible to hide the tabpages?

    there are many tab page i want to hide tabpages. if i select the TabPages heading in the combobox then this page are visible how can i do this thanks ...Show All

  • Visual Studio 2008 (Pre-release) Communication Client Server via http

    HI , What is the best way to communication between Client and Server. The Sever will be a Web Server. Client will be a windows application, windows service or Web Services. Client cannot be a Explorer. Basically client need to access its own machine and machine on local network. And send the info to Server. Ofcourse, if you are posting on this forum, the answer is WCF! Seriously, what you're asking is a 101 scenario for WCF - client and server talking to each other where the server is hosted on IIS; and the client could be a self hosted console application. I would suggest you download the SDK if you havent and just go through some quickstart samples; if you get stuck, you c ...Show All

©2008 Software Development Network