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

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

carlp22

Member List

ron nash
Navneeth143
Daniel_Geo
Ellaboudy
jjcchheenn
DLG007
Handschuh
drizzed
Cory.Isakson
Softwaremaker
Sql4088
Robert Beaubien
xRuntime
GrayMatter Software
Francis Shum
DyngoMan
ThePatrickP
KannanPV
stallion_alpa
pintu17
Only Title

carlp22's Q&A profile

  • SQL Server Using a Dynamic XML Dataset

    Is there a way to dynamically use an XML dataset as a datasource We got it to work. The problem that we are having is when multiple rows are returned in the dataset, it will not display them on the report, even though there is not a first wrapped around the Fields!whatever.value, the report is only displaying the first value that comes back. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Serializing Custom Content

    I've created a custom level class that I would like to load through a custom content processor. Everything seems kosher until it tries to serialize the class. Is there a particular interface I need to implement The exact error is "Error    1    Building content threw InvalidOperationException: Cyclic reference found while serializing SpaceRace.SpaceLevel. You may be missing a ContentSerializerAttribute.SharedResource flag at  Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler.ContentWriter.WriteObject[T](T value) at SpaceRace.SpaceLevelWriter.Write(ContentWriter output, SpaceLevel value) in C:\Documents and Settings\Nick\My Documents\Visual Studio 2005\Projects\SpaceRace\SpaceLevelLoader\Spac ...Show All

  • Visual Basic chart type in run time

    hi i m using crystal report in web page. i want to give a facility to my client that he can change chart type at run time. pls suggest me that how can i implement this thing gorla, Unfortunately, this capability isn't possible yet (although I heard that this might be coming in the next version). The only way to do it is to create multiple sections with each type in each section. Then dynamically hide all the sections except for the one that has the chart type they want to see. A pain in the butt, but that is your only option. The answer is from this link: http://www.crystalreportsbook.com/forum/forum_posts.asp TID=204&PID=583#583 The above texts are from one of the posts in Crystal Reports Official website forum written b ...Show All

  • Visual Studio 2008 (Pre-release) DLINQ: Please help

    Hi, all I created a c# windows application to try out the DLINQ Im using LINQ May 2006 Preview with VS2005 and connect to Sql 2005. i use sqlmetal to generate the MySample.cs (my sample database) and Mappings.xml and my windows application compiled successfully. when i try to run it, i got a exception when excute below public MySample(string connection, System.Data.DLinq.MappingSource mappingSource) : base(connection, mappingSource) { } say "the type of 'SurfTrack' is not entity". SurfTrack is a table in my database and i can see the sqlmetal create the class SurfTrack in the MySample.cs as well as the mapping information in the Mappings.xml. anyone can tell me what is the problem. thanks a lot. ...Show All

  • Visual C++ Why is the variable "components" (System::ComponentModel::Container) added?

    When a Windows Forms Application project is created in Visual Studio a variable named components (System::ComponentModel::Container) is added to the generated source code. But why I only see this variable accessed in the destructor: ~Form1() { if (components) { delete components; } } So, why is that variable added and how is it used I think the  components member is used when you add to the form an item from Components panel. For instance, if you add a Timer , then a line like this is generated:   this->timer1 = (gcnew System::Windows::Forms::Timer( this->components )); ...Show All

  • Visual Studio Express Editions can't create exe-files (LINK : fatal error LNK1104: cannot open file 'e:\test\Debug\test.exe')

    Hi, I created a new project with my Visual C++ 2005 Express Edition. After finishing the Wizard I try to build the projekt and get the following output: ------ Build started: Project: test, Configuration: Debug Win32 ------ Compiling... stdafx.cpp Compiling... test.cpp Compiling manifest to resources... Linking... LINK : fatal error LNK1104: cannot open file 'E:\test\Debug\test.exe' Build log was saved at "file://c:\Dokumente und Einstellungen\Michael\Eigene Dateien\Visual Studio 2005\Projects\test\test\Debug\BuildLog.htm" test - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== I tried several Project with different names and locations. Allways the same error. The programm test ...Show All

  • SQL Server Replication problem in SQL Server 2000

    Hi all SQL Server experts! I have created replication on my two servers (production and backup servers). I used wizards to create it and then generated SQL script for deleting and creating replication. For another task I came across the command sp_removedbreplication 'dbname' and I tried to use that for removing replication more easily on the servers. It seemed to not remove everything on the production server and whenever I install replication now, either by using wizards or my generated SQL scripts I get an error icon (red circle with a black X in it) on my Replication Monitor all the way down to Publisher and the publication named with the computer name. Also this icon is on Agents and Log Reader Agents but not on the actual agent. ...Show All

  • SQL Server problem scripting a BULK INSERT

    Hi, I'm trying to script the creation of a database. I've used Visual Studio to generate the scripts to create tables and views. I now want to script populating the data. Some of the tables contain a lot of data so I was going to use BULK INSERT but when the script runs, it cannot find the location of the data and format files. Is there a way of getting around this I can't use a fixed location. thanks Jason Do you know if the client you will be running the scripts from is remote or local If it's a remote client, than you would probably be better off loading the data using BCP. Assuming that you will use either SQLCMD or OSQL to run the scripts, it would be really easy to launch BCP using the ! ...Show All

  • .NET Development How to get the System.ServiceModel.Configuration.ClientSection

    How can I get the System.ServiceModel.Configuration.ClientSection from the current config file It would sit under configuration\system.serviceModel\client but I can't seem to get it using system.configuration.configurationmanager.getsection() Cheers, Daniel ServiceModelSectionGroup serviceModelSectionGroup; ClientSection clientSection; serviceModelSectionGroup = ServiceModelSectionGroup.GetServiceModelSectionGroup(ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None)); clientSection = serviceModelSectionGroup.Client; ** Note: You can use any configuration that you wish; I just thought that using the default configuration might be best for an example ...Show All

  • Smart Device Development smart card library for vb.net

    hi is there any library for vb.net to access and manipulate smart cards any help is greatly appreciated...thanks Try looking here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcesecurity5/html/wce50consmartcard.asp   ...Show All

  • Smart Device Development Get window handle from process id

    Hi, does anybody know how to get a window handle by knowing its process id thanks for your help Hi, this is the api call i used [ DllImport ( "coredll" )] public static extern uint GetWindowThreadProcessId( IntPtr hwnd); but strangely returned IDs that doesn't match with any of the running processes!! even when  i try to kill the processes using these strange ids using System.Diagnostics. Process .GetProcessById(  the obtained id  ).Kill(); i recieve and exception saying that this process is not running!!!! do you have any suggestions thanks alot   ...Show All

  • Visual C# Problems with Nullable DateTime Type.

    Hi all, I have a Class with a field called UpdatedDate that is of type DateTime. This field gets populated from teh database, but is possible (90% of the time that it is a NULL value in the database). I have the following statement that is throwing the following exception... Code: r ec.m_dtUpdatedDate = (!objSqlCeDataReader.IsDBNull((int)RecNspInspectionAnswer.Columns.UpdatedDate)) (DateTime)objSqlCeDataReader[(int)RecNspInspectionAnswer.Columns.UpdatedDate] : null; Exception Type of conditional expression cannot be determined because there is no implicit conversion between 'System.DateTime' and '<null>' But if I was to place a ' ' in that same line of code after the (DateTime) such as follows it works fine. rec.m_dtUpdatedDate = ...Show All

  • Visual Basic Types in VB?

    Hi, Does VB support custom types I can not find a way to define my own datatype. For example I need a datatype named "DeviceId" that works as integer. In Delphi I use Type DeviceId = integer; in C/C++ typedef int DeviceId; :-( :-((((((((( Damn, It's one from basic elements of programming language and it's missing! Thank you for the answer. By the way, can I do it in C# ...Show All

  • .NET Development xml serialization problems with asynchronous callback

    hey guys, im developing a windows application that uses asynchronous callback as network communication technique with xml serialization for sending complex objects over the network. the problem is that at receiving the buffer to be written to the file is never written fully and in correct format. its always cutted from the middle and so the serialization always fails. any clue thanks I'm also guessing you are having the same problem I had a while back - its the way TCP is, sending out data in bursts, so your reciever appears to read all the data it recieves but actually on the next read, the rest of the data just turns up. Are you also able to post the code for your recieving end, whe ...Show All

  • SQL Server Soundex

    I have two tables in Access database. One table has 166,000 rows and another -75,000 rows. Both tables consist of the ids, names and addresses. I need to run a program, which was written in VBA, to find similar names and cities in these two tables, and then I need to populate the third table with id only from both tables. I forgot to mention I use Soundex function in Access. I try to run this program for 48 hours, and it still running. Do you think this is a good idea to use Access for this task Or could you please help me to find another solution Please let me know. Rose I don’t know what you are running in th database, but 48 hours sounds as something is messed up in your logic. You could use SQL Server f ...Show All

©2008 Software Development Network