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

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

cherriesh

Member List

hrubesh
Romantic_touch
Subby Dev
Deuce BOI
Dwight Kulkarni
imj
Matt A
MaggieChan
Johnny Kauffman
aztec2_step
Derek Ju
maddman
BenSisson
Santosh Ransubhe
Alberto De Marco
kidwidahair
Hosma293
Lightening
Dave Chong
abi
Only Title

cherriesh's Q&A profile

  • Visual C# Free access to W2K, WXP etc source code!!!!!!!!!

    Well, not so easy. Microsoft has initiated a program called "Shared Code Initiative" that allow yu guys to access W2K, WXP etc source ocde free of cost using a smart card.. I tried this is what I got.. http://mydoonghaati.spaces.msn.com/blog/cns!98D9346F517232D0!252.entry Thanks Sushil ...Show All

  • .NET Development Question about DataTable Constraints

    It seems the only constraints you can add to a DataTable are UniqueConstraints and ForeignKeyConstraints. I would like to see a CheckConstraint such as column value < x or > 0 or <> 0…. Is this possible with DataTables aztec2_step wrote: Perhaps there's a way to just raise an error on validation. I'll have to look into this yet.... Yes, validate the column data before it is put in the row...either from direct data reads or from user input. With user input you have validation events to work with ...Show All

  • Visual C# Need help with enum and color assignment

    Hi, I need help with some enum and color assignment. This is what I need to do. I have an enum like: public enum statusFlag { Unknown = 0, Easy = 1, Medium = 2, Hard = 4, ExtremlyHard = 8 } From xml: (not sure how this is repesented) Unknown = Black Easy = Green Medium = Yellow Hard = Orange ExtremelyHard = Red Now, I have a set of color for each of the different status flags. These colors are user definable. Possibly will reside in an xml file. I am wondering how am I doing to do this requirement in C# assuming the color matching color of each status flag will be coming from an xml file (probably, app.config file) So, depends on the status variable, I need to pass back the equivalent color. ie. Is is probably going to ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA and Visual Studio 2005

    Hi, I have been browsing the forums and reading various FAQ's bu my answer is stil..unanswered ;) I would like to try the "build management" functions of XNA so I downloaded the XNA Game Studio Express and tried to install it, but it said I need to use it Visual Studio 2005 Express. We are currently using the 2005 Professional Edition and I would rather make some tests with that version. Is there anything I could install on my version of 2005 (not the newest full package) so I could work with the "build management" functions My question can seems obscure, so do not hesitate to ask questions ;) Thanks Robert Hi, XNA Build is a product aimed at professional game developers w ...Show All

  • Visual Studio 2008 (Pre-release) Must reboot windows?

    I'm not sure what is causing this issue, but when I delete and re-create my test certificates using MakeCert and CertMgr, I seem to have to reboot before it will actually work. This seems a bit odd, and makes diagnosing small issues a big issue. Is it IIS I'm using IIS hosted services, iisreset isn't enough do I need to kill inetinfo.exe Is there a service I can restart, something less than "reboot" Thanks for responding. It wasn't happening every time, but I was resetting IIS :) Since I have switched to using real certificates, I have almost no problems. ...Show All

  • SQL Server Linked Server with SQLNCLI and a default database.

    I have a linked server from one 2005 server (server A) to another 2005 server (server B). The linked server is created like this: EXEC sp_addlinkedserver @server = N 'TEST' , @srvproduct = N '' , @provider = N 'SQLNCLI' , @datasrc = N 'twx-webdev' , @catalog = N 'Hornet' This query works fine: SELECT * FROM TEST . Hornet . dbo . NotificationTrigger But, I need to be able to make a query from server A to server B without specifying the database name. I need the default database of the linked server to be used when making the following query: SELECT * FROM TEST ... NotificationTrigger This query does not work. The query returns the following error: Msg 7313 ...Show All

  • Visual Basic Shrinking a file

    Hi, I have a long file, and I want to make it smaller. How can I do it There are a couple of options. You could strip out all the unwanted stuff like the message headers and whatever. Alternatively, storing the file in a different format than plain-text/rich-text/ASCII might work. You could possibly store as hex or similar. Might work. Why is the size of the file so important ...Show All

  • Software Development for Windows Vista What Windows Workflow Foundation can do?

    Hi all, We are currently in the phase of comparing different WFMS's like JBPM, K2.Net, Ultimus etc. Came to know about microsoft own WWF, and we are really interested in this. Just downloaded the beta pluggin for VS 2005 and the labs, now I'll try them out. I have three questions: 1. We can orchestrate ASP.net web pages using WWF alright, but can we orchestrate webpages developed in any Non-.Net language using WWF like JSP 2. Does WWF support importing of Business process from MS -Visio , if yes then how 3. It is said that we should not go for WWF in the case of EAI or integration scenario, but from WWF we can call web services and can reach outside systems from that, In a scenario where all the systems which need to be ...Show All

  • Visual Studio 2008 (Pre-release) Running client and host from different machines

    Hi, I've been struggling for past few days with trying to get my client (windows form application) and host to communicate with each other. Everything works great when the client and host exist in the same machine but once I move the host to a different server, it looks like the client never receives any reply from the host. I tried looking at the Event Viewer but the errors do not make any sense. Here is my client's app.config <system.serviceModel> <bindings> <wsDualHttpBinding> <binding name="WSDualHttpBinding_IPersistentSubscriptionService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypass ...Show All

  • .NET Development Socket Exception with Asynchronous Sockets

    working on Client and Server side programs using Asyncronous Sockets,when i hit the connect button after about 15 secs give or take a few. i get the following Error:: "The calling thread cannot access this object because a different thread owns it" here is the Section of code that is producing the Error itself,right after the "Catch" Block conStatus.Text = " Error Connecting" throws the Exception below..I have provided the Stack Trace so hopefully someone can look at this and help me work this part out...If you need to see the "Server Side Code" which is pretty close to the Client Side below, i will post it up.. Thxs in advance Rattlerr I have posted the entire block of code pertaining to this...Also this is wrote in WPF ...Show All

  • SQL Server WEBCASTS

    I was able to download the SQL Server 2005 webcasts till last week. Now few of them are avaialble, whereas others comeup with "Page not fond",....any idea   Also I need to downlaod all webcasts, is there any way of doing it all, rather then individually. I'm able to get in there now from here: http://msdn.microsoft.com/SQL/community/webcasts/default.aspx I've not seen a place to get them all. Buck Woody ...Show All

  • SQL Server Create a column in RecordSet with the Record Count...

    Hello I'm reading a XML file and the next operation need a column with the row count. I don't want to know how many rows there is in the recordset, but, the row count of each record. How can I implement this tkx in advance Paulo Aboim Pinto Odivelas - Portugal That issue was discussed here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1074253&SiteID=1 ...Show All

  • Software Development for Windows Vista How does the serialization work?

    I have the code shown below to serialize a workflow to XML. The workflow consists of custom activity classes, each having its own associated designer. The resulting XML file only contains the names of the activities but not a single property of them. Why are the built-in properties of the activity base classes not automatically serialized Do I need to create a custom serializer for each of my custom activities, even for the built-in properties Is serialization of the activity designer classes also managed by the WorkflowMarkupSerializer or does it only manage the serialization of the activity classes I have many properties for visual appearance in the designers, that I would like to be serialized so that the visual ...Show All

  • Visual Studio 2008 (Pre-release) Vertical Text Alignment in Textblock

    Is there a way to align text vertically (i.e. centered) inside a textblock It seems that it defaults to aligning to the top, and I can't seem to find a way to change it. Thanks in advance! Following up on this issue (I did make the transition to Buttons), I have been trying to allow them to size themselves to fill the space. Given my constraints of: The # of rows & cols are not known until runtime, The buttons must placed in the grid at the initialization of the program, and The grid may need to be re-generated multiple times during runtime, I have found it very difficult to do so. My problem is that the grid is not actually sized to the parent object (it appears) until it is ...Show All

  • .NET Development A problem in restarting the service of MSSQLSERVER

    I had the following problem in my application. I need to Restart MSSQLServer service before do the connection test. In some cases, I have to Restart the MSSQLSERVICE again after connection test. In the old version of MSDE2000, no problem occured at all. But in MSDE2000 SP3a, I got the following error when restart the MSSQLSERVICE for a 2nd time. But if I run the test program so as to execute RESTART and CONNECTIONTEST in pair each time, no error occured. Can somebody give some advice to avoid this problem Thank you! The error log says : 2007-01-11 10:30:26.45 server Using 'SSNETLIB.DLL' version '8.0.766'. 2007-01-11 10:30:26.46 spid5 Starting up database 'model'. 2007-01-11 10:30:26.51 server SQL server listening on ...Show All

©2008 Software Development Network