jw700's Q&A profile
Commerce Server Application Logic... How to do ?
HI there ! I have the following problem... I need to create a SIte (I hope with CS2007) where I manage a number of Supplier each one with its Catalog. Pratically I need to BUY something from someone... I DO NOT NEED to SELL something... I want to manage my Supplier with their Catalogs and then make an order to them for buying their products. The question is: May I use "something ready" in CS2007 or I have to develop everything by myself HI ! thanks for responding to my post. I understood what you wrote. What I need is to permit to suppliers to register into my site (with all their data) and somehow put in their catalog. Once populated, I need to have the possibility to process an order (I need ...Show All
Visual Studio Team System selective Schema Import
Is there any way in which I can import selective objects from a database (other than using import Script) I have a database containing objects from many projects together. I want to get the objects related to a specific project in my DBPro project... Another problem....when I tried to import script as a workaround for this, only the tables and views got added. None of the stored proc's got imported. And when I tried importing the whole database schema with CTP 5, it took 3 days to do the same... Please help me solve these problems... Thanks, Mairead. One more issue... When I compare schema, I do not have the option of selectively comparing two particular objects. I am forced to compare the entire database! This will al ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Does texel space offset result in dependent read?
Ok, so here is the problem. I have PCF, and I am doing something like: [unroll] for (int y = ...; ...; ++y) [unroll] for (int x = ...; ...; ++x) tex.Sample(sampler, input.texcoord, int2(x, y)); Everything is fine, unless I want to optimize it and for example do PCF only for shadowed points. I put loops into an if() branch, and the compiler puts texture sampling instructions outside the branch, leaving only arithmetic ones inside. Obviously not what I wanted. Ok, I had the same issue with D3D9, where texel-space offset needs to be simulated via arithmetic instructions, which causes a dependent read - and this in turn causes a problem with mip level estimation - because if a branch is executed in one pixel in a block (2x2 ) of ...Show All
SQL Server Classroom SSIS training
Can anyone recommend a live classroom environment SSIS training course Anwhere in the U.S. would be fine. Thanks, Ken Idea Integration provides hands on training for SSIS, SSAS, and SSRS. I think we have some classes coming up too. Send me an e-mail at jason.gerard AT idea.com and I'll get you the info. ...Show All
SQL Server duplicate primary key error
Im gettig the error " Well in that particular listing, I don't see any insert into an Employees table. Are you familiar with the PK_Employees primary key constraint in your schema What table does it exist on (my guess is employees) and on what colum(s) is it on I would look at what is going on when the one insert shown above does occur. Are there any triggers entering info that violates this constraint If not, I would reanalyze and make sure this is really the section of code causing this problem. ...Show All
Visual Studio Team System Problem with DATE dimension of RTM Team Foundation Server Data warehouse
We are trying to Migrate Team Foundation Server (RC) reports to Team Foundation Server (RTM). All the reports using Date dimension are failing as Date dimension is changed in RTM. Can anybody help me to understand the changes occurred in the date dimension (RTM) and how we need to use it. Here's my Report query which was successfully running in TFS (RC) WITH MEMBER [Measures].[daycurrentweek] as 'dateadd("d",15 - Weekday(now()) ,now())'MEMBER [TaskStartDate].[Year Week Date].[Current Week] as 'strtomember("[TaskStartDate].[Year Week Date].[Week].[Week of " + str(month([Measures].[daycurrentweek])) + "/" + str(day([Measures].[daycurrentweek])) +"/"+ str(Year([Measures].[daycurrentweek])) + "]").uniquename' MEMBER ...Show All
Visual Studio 2008 (Pre-release) Is the VS C# project file format going to change?
I've got a ton of VS 2003 projects that I still haven't converted to 2005, I'm wondering now if I should just wait for Orcas to come out, if the project file format is going to change yet again. I don't have the CTP, I'm waiting for the February edition. Chuck Mike, Actually, the document titled "MSBuild MultiTargeting -- Enabling the use of Multiple Toolsets" states: "Visual Studio Orcas can open Visual Studio 2005 projects with a minimal upgrade (the upgraded project will no longer be usable in Visual Studio 2005)" So whether they add the term "minimal" or not, it's still the same situation with VS 2003/2005. They seem to want to distinguish between opening and building proj ...Show All
Software Development for Windows Vista Bug!? global transaction with SQL Server connection + TransactionCompleted event
This is an example of a problematic behavior that we encountered during trying to trigger an action after a successful database commit. It took a while to find characterize the behavior and to bring it down to an example like this. I am pretty sure it is a bug! Just to outline the global scenario: The application has several objects which may open a database connection and select or manipulate data. As some of the calls are expensive the data should be cached in a cache. On database updates the cache should of course be synchronized so an obvious idea is to have objects which manipulate such cached data to hook up to the TransactionCompleted event and check for the transaction outcome to do something. Another idea is to use e.g. Juval L ...Show All
SQL Server Error Loading SSIS package - CPackage::LoadFromXML fails
When I try to load an SSIS package via C# code I get the following error message:- "The package failed to load due to error 0xC0010014 \"One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.\". This occurs when CPackage::LoadFromXML fails.\r\n" The code is pretty straightforward:- Application app = new Application (); PackageEvents evts = new PackageEvents (); Package pkg = new Package (); Package pkg = app.LoadPackage("C:\\Documents and Settings\\dominic_s\\My Documents\\Visual Studio 2005\\Projects\\SSIS_Util\\bin\\Debug\\DTS\\Cle ...Show All
Visual Basic Checkbox value in datagrid
Hi every one. I am working on a web form which allows people to tick on a specific item they would like to reserve. I have a datagrid which contains 5 data fields. It also contains a template colunm which contains the checkbox. (The sixth colunm) The problems is no matter user tick on the check box or not, the checkbox value remain the same. Therefore, the code can not tell what has been selected by users. The following codes are used in this web form I described above. Code in html <asp:DataGrid id=DataGrid2 style="Z-INDEX: 107; LEFT: 328px; POSITION: absolute; TOP: 504px" runat="server" DataKeyField="CRID" DataMember="CourseReader&qu ...Show All
SQL Server EXCEPT not working
TIA. Here is my situation: I have two tables that I need to find the perform an EXCEPT op on. Table1: ToBeAddedCodes CodeID - varchar(14) Table2: ExistingCodes ExistingCodeID - varchar(14) DateIssued - datetime Active - bit ...&c I perform the following command, to no avail: select CodeID from ToBeAddedCodes intersect select ExistingCodeID from ExistingCodes Specifically, the following error appears: Msg 156, Level 15, State 1, Line 40 Incorrect syntax near the keyword 'intersect'. I don't understand what the issue is... Please help. Thanks. Did you happen to install SQL Server 2005 on a machine with an existing SQL Server 2000 installed You might have mistaken the install ...Show All
SQL Server How to import flat files into Microsoft SQL 2005 Express Edition automatically?
Iam aware that Microsoft SQL 2005 Express Edition does not have agent or DTS capabilities, but how may I automate an import of flat files to the DB tables Must I use an external VB development of is there a way to schedule an import of flat files to Microsoft SQL 2005 Express Edition hi, Kraven3d wrote: Here is a sample of the data and what I need to do with it. 1ETTX800401V411TTX BNSF851293 1ETTX800913V411TTX BNSF840295 This data needs to be brought into the data base as: 1 ETTX 800401 V 411 TTX BNSF 85 1293 1 ETTX 800913 V 411 TTX BNSF 84 0295 The seperation will ALWAYS occur after the 1, 5, 11, 12, 15,19, 23, 25 & 29th characters. Do you have any idea how I can accomplish t ...Show All
Visual Studio 2008 (Pre-release) walking through a tree hierarchy
Hi there, I'm trying to expand all the TreeViewItems inside a tree programmatically, but I can't seem to walk through the whole hierarchy if some of the TreeViewItems are not expanded yet. For instance, if I have the following code: public void ExpandAll( ItemsControl targetItemContainer) { ItemCollection itemCollection = targetItemContainer.Items; for ( int i = 0; i < itemCollection.Count; i++) { TreeViewItem treeItem = targetItemContainer.ItemContainerGenerator.ContainerFromIndex(i) as TreeViewItem ; if (treeItem != null ) { if (treeItem.HasItems) { treeItem.IsExpanded = true ; ExpandAll(treeItem); } } ...Show All
Visual Studio Express Editions HELP WITH RTF
How can i get my programm to add diffrent fontstyles and read the selection font out of the Font combobox en the Size combobox I need help fastt Ok, The comboxbox will have a SelectedItemChanged event. You can combine both in the same event if you wish. Psuedo code: Font_management(byval sender as object, system.eventargs) handles ComboboxFontsize.SelectedItemChanged, _ ComboboxFont.SelectedItemChanged Select Case sender.name Case "ComboboxFontsize" Select Case ComboboxFontsize.SelectedText Case "8" ' Fontsize 8 ' put size 8 code here Case "10" ' Fontsize 10 ' put size ...Show All
Internet Explorer Development Hide part of address in IE7
Is there any way to hide the entire address from the address bar or even just part of it I am developing a web application that includes another web application. That application uses the address bar to pass the user name and password, and I don't want that information to be shown. Thanks You should consider a different architecture. Anyone who watches their web traffic (say, with Fiddler from www.fiddler2.com ) will be able to trivially view the usernames and passwords. Simple encryption won't necessarily help you here, because the viewer can simply replay the encrypted credentials. ...Show All
