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

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

pc_83

Member List

1Deepthi
Jessica Alba
MikeT49
ScubaBob
siavoshkc
Rudy Hentzen
Pipe2Path
Raja Pratap
Patrick-SURFThru
Karthikeyan Mahadevan
Paps
scdlewis
MaggieChan
mbuchetics
Laurent.Guinnard
Bryant Likes
ogtr
Prem Joshi
jte
John Bowen
Only Title

pc_83's Q&A profile

  • Visual Studio 2008 (Pre-release) DLinq Designer / SQLMetal in Orcas January CTP

    Hello, Just looking at using Linq to SQL (Dlinq) in my final year disseration as it has some really interesting points for me to talk about. I was trying to create a database file (sorry, not sure what the true terminology is) using either the DLinq designer or SQLMetal but I can't seem to find it in the CTP. Will I have to wait until the Feb CTP or use the old May CTP to access this Or am I just missing something Thanks for your time. Ben It looks like we take a few steps back for every step forward. Its understandable for a CTP, but it cost me about $60 to download. I wish I has known before hand. Regards Craig ...Show All

  • .NET Development Using XPath for Identity Constraint of Elements and Attributes

    Hi to all, I have an XML schema document that looks like this : < xml version="1.0" > <xs:schema id="Employees" targetNamespace=" http://tempuri.org/Employee.xsd " xmlns:mstns=" http://tempuri.org/Employee.xsd "   xmlns=" http://tempuri.org/Employee.xsd " xmlns:xs=" http://www.w3.org/2001/XMLSchema " xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"   attributeFormDefault="qualified" elementFormDefault="qualified">   <xs:element name="Employees" msdata:IsDataSet="true" msdata:EnforceConstraints="False">     <xs:complexType>       <xs:choice maxOccurs="unbounded">         <xs:element name="Emp ...Show All

  • SQL Server SQL Server 2005 SP2 CTP Version

    Hi, I m using Windows 2003 Server. I installed SQL Server2005 and now i want to apply CTP service pack on it. I downloaded all the SP2 patches available on the site http://www.microsoft.com/downloads/details.aspx FamilyID=D2DA6579-D49C-4B25-8F8A-79D14145500D&displaylang=en . Each of them is giving an error and it is not getting installed on SQLServer 2005; Is it a problem with my hardware or the version of Windows or the version of SQLServer 2005 Can anyone help me with this problem THanks, Srividya Yes I tried to install SQLServer2005SP2-KB921896-x86-ENU.exe but I m getting an error saying this exe is not a valid win32 application. ...Show All

  • Visual C# Any way to mix C++ templates and C#?

    I've been trying to write a small library that depends on C++ templates (C# generics are just too restrictive for my purposes), but I'd like to be able to access and use the final library from C#. I haven't been able to dig up much information about this, but my observations so far are that: 1: If I just define a class template in a managed C++ assembly, it's inaccessible from another assembly (This makes perfect sense given how and when C++ templates are instantiated. I'm actually surprised this is possible between two managed C++ assemblies) 2: If I specialize the class template, the resulting type is not accessible from a C# assembly either. That is, I do something like this in my C++ assembly: template <typename T ...Show All

  • Windows Forms even

    If you look at the code below you will see i override the add function . I forgot how to tie a event to a delegte please help public class QueueClass : ArrayList { public delegate void Adding ( object sender, EventArgs e); public event Adding OnAdd; public override int Add( object value) { if ( this .Contains(value)) OnAdd( this , new EventArgs ()); return base .Add(value); } I think you should declear the delegate outside the class public delegate void Adding ( object sender, EventArgs e); public class QueueClass : ArrayList { public event Adding OnAdd; public override int Add( object value) { if ...Show All

  • Visual C# Partial Specialization of Generics

    I want to do something like this: using StringDictionary<T> = System.Collections.Generic.SortedDictionary<System.String, T>; How do I accomplish that If C# 2.0 doesn't syntactically support the notion, what is the next best equivalent Create a generic class that inherits SortedDictionary class StringDictionary<T> : SortedDictionary< string , T> { } ...Show All

  • Visual C++ move to VC++ 7.0 compiler problems

    Hello! compiling Net2( http://www.gameprogrammer.com/net2/net2-1.html ) using Visual Studio 7.0 generates error: net2sets.c(61): error C2054: expected '(' to follow 'IP' code which produces the error: SETCODE(, IP, IPaddress, 10, ipEqual(a, b)); SETCODE is defined in set.h (sorry for posting the whole file contents, but I cannot pull out of it important part ): #define SETTYPE(NAME, TYPE) \ typedef struct \ { \ int itr; \ int last; \ int size; \ TYPE *set; \ } NAME##Set; #define SETFORWARD(MODIFIER, NAME, TYPE) \ \ MODIFIER int init##NAME##Set(NAME##Set *s, int size); \ MODIFIER void finit##NAME##Set(NAME##Set *s); \ MODIFIER int member##NAME##Set(NAME##Set *s, TYPE *v); \ MODIFIER TYPE *item##NAME##Set(NAME##Set ...Show All

  • Visual C# Windows Service -- do I need to reinstall my service every time I change something?

    Question changing code in my Windows Service. Let's say I have a Windows service, MyService, which uses dll1 and dll2. When I build I see MyService.exe and dll1.dll and dll2.dll. Let's say I have changes in dll1 and dll2 but not in MyService. Assuming that I stop the service first, is it sufficient to just copy in the new dlls and restart the service, or do I have to actually do a re-install of the service I can think of no reason why I should have to reinstall (isn't it just the exe that gets installed ), and when I tried just copying over the modified dll it worked, but I thought I'd ask the question to be sure having been bitten by COM in a similar situation a couple of years ago. Installing a servi ...Show All

  • Visual Basic Zed Graph - Simple Clear question

    Hi, Has anybody used Zedgraph if so can you tell me if there is a clear graph function, as i am allowing the user to add up to 4 curves and would like to have a clear button to empty the chart so the user can add 4 different charts. Many Thanks, Andy Note: - you can find the zed graph homepage at http://zedgraph.org/wiki/ or just google search zed graph – The page seems to be down at the moment though You will have better luck asking a question about a third party control at the 3rd parties web site.... http://zedgraph.org ...Show All

  • Windows Forms TabOrder for multiple groupboxes and other container controls

    vb2005 i have a form which has multiple groupboxes, tablelayoutpanels, and other container controls. i would like to set up a TabOrder which not only stores how to tab within each container control, but also stores on which order do i want to tab from one control to the next. for example, if i have 2 groupboxes on top, and 2 groupboxes on bottom, how do i set up a tab order that goes Up-Down within each groupbox, and Left-Right from container to container thanks! I believe this would just be a simple matter of setting your tab order in each control within each group. So in group box one (top left) each control you want tabbed into would be numbered 0 to m. In group box two (top right) each control you wa ...Show All

  • Smart Device Development How to read an XML file which is in the web server?

    Can anyone pls teach me how to read an XML file which is returned from a jsp application(e.g. http://192.202.51.61/test/App1.jsp &myID=001 ) I have been searching for long. I found that if my application is developed as a computer application, it works fine. But if I copy and paste the code into a smartphone application, it does not work.... It returns timeout error.... Can anyone tell me how to do this It is under the debug mode and after a long time, it returns an error... I have tired other program that if a window-form application which access this XML file in server, it is ok. Only when I copy and paste the code into a smartphone application, it returns error.... ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What does creators club include right now?

    I'm a little puzzled about what the creators club actually includes, I've checked the FAQs and can't really find an answer. I have however managed to find the following: "The XNA Creators Club is available on Xbox LiveR Marketplace for $49 (U.S.) for a four-month subscription, or $99 (U.S.) for an annual subscription. Both subscriptions provide aspiring game developers with access to thousands of game assets from Microsoft and key partners such as Turbo Squid Inc., as well as white papers, specialized starter kits, samples and technical product support to help turn Your World, Your Game into a reality." I signed up for a year because it sounds like quite a good package, however there seems to be no information provided on ...Show All

  • SQL Server Formatting dates on a chart when sourced from SSAS2k5

    I am creating a few charts in SSRS that are sourced from a cube in AS. On the x-axis is time, which is what I assume a date-like field in the cube. On the y-axis is the measure. My problem is that I cannot seem to get the dates to format on the chart - regardless of the format code I use, the dates appear in long format, like "Thursday, November 23 2006". Are the dates from SSAS just string values That's what I feared...thanks for the confirmation. Hopefully something to look forward to in Katmai [better integration between SSAS and SSRS, that is] ...Show All

  • Visual C# reg-datagrid

    is it possible to turn off the multiselect in a Datagrid if yes, how (By DataGrid I assume that your talking about DataGridView ) You have a property called Multiselect,set it to false; DGV.MultiSelect=false; ...Show All

  • Visual C++ VS 2005 Compile C in C99 mode?

    Hi, Due to the fantastic debugger and Intellisense technology Visual studio provides, I am now attempting to write my C code in VS.Net 2005. I was able to compile C files, but the most annoying thing is that I cannot declare locals in "for" loops. Is there a way to configure the C compiler in VS.net 2005 to use C99 mode Thanks, Bahadir No, VC does not support C99 and probably won't for quite some time to come. There's support for a couple of C99 things (including for C++ mode), such as "long long", variadic macros, __restrict (which works like restrict), __FUNC* identifiers, __pragma (which is similar to _Pragma). Of course, you might want to think about using C++ mode -- after all ...Show All

©2008 Software Development Network