Atulpatel's Q&A profile
Commerce Server Tax Support in commerce server 2007
Hi Is there any tax calculation support in commce server 2007 Praba, I've got a basic C#/VB pipeline component template posted that can get you started along with an explanation of developing pipeline components . The basic tax component is relatively simple (pseudo code): orderForm.TaxTotal = decimal.Zero; orderForm.TaxIncluded = decimal.Zero:; foreach(LineItem lineItem in orderForm.LineItems) { lineItem.TaxTotal = lineItem.ExtendedPrice * taxRate; orderForm.TaxTotal += lineItem.TaxTotal; } Depending on the needs of your region's tax rules it can get quite complicated which is likely why the sample tax components weren't shipped. Cheers, Colin ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I'd like to have a game developed...but I need a partner.
I teach 1st grade. I have an idea for a simple 2D (Phonics) game...but I don't have any skills as a programmer. I wanted to know if any programmers would be interested in a partnership The game basically involves a little character running around the screen to pick up letters and form words. The character would have to avoid certain obstacles on screen. The game would require a lot of speech to sound out the words that the onscreen character created. That sounds interesting. How big do you think the market is What distribution channels are you looking at Also, do you already know someone who can handle some part of game-making, such as art, sound, or programming If you don't k ...Show All
Visual Studio Why does Exec not have
Both a Program and a Command attribute It's a bit of a pain to always put a "" around the command part in case it has spaces in it's path. thanks - dave ..so which one of those is the arguments MSBuild team: if you implement this then for pete's sake choose a good name.. (But I much rather see that Exec task logged the working dir at least on the more verbose levels) ...Show All
Visual Basic I NEED HELP!!!! PLEASE
How do i go about skipping spaces in my Visual Basic 2005 Express Edition console application output lets say i type the number" 12345 " and want it to display " 1 2 3 4 5 " skipping 3X spaces in between each letter. I already am using Modulus to single out each integer, Yes it is useless. Except maybe as a learning exercise! Which I suspect is the purpose of this question. Here is my 2 cents on the best algorithm: Dim Input As String Dim MyBuffer As System.Text.StringBuilder Try Console.WriteLine( "Please input a number" ) Input = Console.ReadLine If IsNumeric(Input) Then MyBuffer = New System.Text.StringBuilder 'this puts no rea ...Show All
.NET Development Exceptions in Timers.Timer.Elapsed
Hello .NET gurus!! I have attached a sample of code that demonstrates an issue I am running into. An unknown exception occurs in the Elapsed event of a System.Timers.Timer. I would like to catch these exceptions globally for logging, etc. I would 'like' to avoid creating a generic exception handler in the Elapsed event. In the past I have used the AppDomain.UnhandedException event for global exceptions, but in this situation the exception never falls into that event. Ultimately the app will be running as a Windows Service. I am developing as a Console app. Here are some of the things I have been thinking about but don't know the answer to. Does the AppDomain.Unh ...Show All
SQL Server Choosing field from same row based on an aggregate.
I have a table with two columns. Let's call them Value and Hour. Looks like this: Value Hour 4 9:00 3 11:00 6 2:00 2 12:00 I want to be able to make a total line and give the Max(Value) and the time it happened. What would be the function to get the Hour value based on the Max(Value). Just for example, for this one it would be Max(Value) = 6 and it's Hour would be 2:00. Can't you make a calculated field with the expression = Max(Value) That can be put in the footer of the table (which will display '6' in this example). To get the hour belonging to the value with an expression ...I'm not so sure how to do that ...Show All
Windows Forms Maximum width of a panel
I find that the maximum value I can assign to the width property of a panel is 32,767 which implies that the parameter is a type short and not int . I have tried in both the designer and at runtime. Does anyone know how to make a larger panel Obviously, for the wrong reason! My application includes the drawing of a "timeline" which shows some simple graphical objects that represent events. I wanted the user to be able to scroll the timeline and zoom in and out the time scale. The technique that I used to do this was to put a large (in width) panel (double buffered) inside a fixed size panel which was scrollable. I would draw the entire timeline on the first panel and use the containing ...Show All
Visual Studio VB2005 No data in CrystalReportDataviewer
Hello, I just created a crystal report with the 'CrytalreportViewer'. I used the ADO.NET datasets. A report is shown but there is no data in it. What did I do wrong I searched the forums here but I havent found my solution yet. I hope you guys can help me.... I think after you set your data source etc, the last line should be crystalReportViewer1.Show(); ...Show All
Software Development for Windows Vista Call for success stories: Retrieving data from WF (State Machine) with ASP.NET
Starting up an ASP.NET / WF project and am interested in finding out from users of this forum what you've found to be the most successful / efficient approach for pulling data out of an individual WF instance for display in ASP.NET pages/controls. Interested in any approach that has genuinely proven successful, from the most tightly coupled to uber-generic. Ideally we would like to use Session as little as possible and have the pages retrieve the data from the workflow as needed (i.e. Page_Load/Page_Init). What we have at present is a set of "dumb" forms that pass data into the workflow instance via an ExternalDataExchange service (based on the architecture of the "Order" sample app avail. on the workflow site) and sto ...Show All
Visual Studio Supporting 2003 version of compiler and runtime in VS2005
Hi, I have a question regarding C++ projects created with the 2003 version of Visual Studio. For the most part I have been using VS2005 but I still keep VS2003 since I haven't migrated all of the codebase. The reason for it is that some projects link to code which is not managed by me and I cannot get new versions of those libraries. My question is is there a way of using the old C++ compiler and libraries from the 2005 IDE, that is without converting the project files. I was the Makefile project and I am wondering if I could set it up to with with the old tools, or if you could give some other advice it would be great. Regards, Angel Kafazov AFAIK no, there is a tool named MSBee but it is for VS 2005 building .NET 1.1 managed applic ...Show All
Audio and Video Development MFT_MESSAGE_SET_D3D_MANAGER
Hi, all: How can I get MFT_MESSAGE_SET_D3D_MANAGER from ProcessMessage in a MFT And where to assign MF_TOPONODE_D3DAWARE and MF_SA_D3D_AWARE attributes BTW, is it possible a MediaSource to get the D3DManager interface Thanks Fei-tian I have same issue here... IMFTransform::GetAttributes is NEVER called on my transform. I don't know what's wrong. I tried to set MF_SA_XXX on all IMFAttributes interfaces I can touch in IMFTransform but still this message is never passed. ...Show All
Visual Studio Team System source control server events
Hi, how can I subscribe for events like check in, before check in, pending changes and etc I saw that VersionControlServer class has very interesting events that I can use but they did not fire up for me. Basically here is what I am doing: TeamFoundationServer tfs = new TeamFoundationServerFactory.GetServer(serverName); VersionControlServer vcs = (VersionControlServer) tfs.GetService( typeof (VersionControlServer)); vcs.BeforeCheckinPendingChange += OnBeforeCheckinPendingChange; Then I keep the application running so the method can be called. And I expect when someone else is making a checkin to receive a notification about it. What am I doing wrong or I got the whole idea wrong Where can I find more information about t ...Show All
.NET Development export to excel
how can i export the data from gridview to excel file without do any looping by using .net framework 1.1. If my data is too large it is posible to export so there solution is convert it to xml first then transfer the xml to the excel mode can you show me some of your code currently im using SQL server direct covert to excel by using looping method, its very slow. thanks ...Show All
.NET Development Nobody?
Hello everybody, I am having a problem with authenticated streams and hopefully one of you can point me into the right direction. I would like to send an object (a filled dataset, as it can be fastly loaded for performance testing... ;o) ) via an authenticated stream. I managed to send it without authentication within a NetworkStream and I go the samples for Negotiate and Ssl streams to work (Thanks to Mike, Durgaprasa, and the rest of your team). But unfortunately the samples are only sending simple ASCII strings. As soon as I switch to my DataSet I am getting stuck with some problems. As serializing into a Networkstream did not work (any ideas why ) I serialized it into a MemoryStream and copied the bytes afterwards into the Negoti ...Show All
Windows Forms ToolBar Flicker problem
Dears, i use windows user control using C#, that contain a toolbar. after build windows user control i used it in web application (<Object ......>) the problem is when user move to links (mouseover) the toolbar will flicker, i need to solve this problem please advise yes i use this method this .SetStyle(ControlStyles.DoubleBuffer, true ); but dose not work, i dont find any property name DoubleBuffer , please if you have any idea reply to me ...Show All
