Brian Kramer's Q&A profile
Commerce Server Basic things about the Pipelines?
Hi I have an basic doubt in the pipeline function. i have created an basket with one order form and some LineItems in it . after that if i executed an Basket.pcf pipelines means, what the next action in my application actually what - the basket.pcf done in my applicaton.. what are all the things to be changed by the pipeline in my application (in database level as well as catalog level) after then how can i ensure that , this change's are all done by that basket pipleine .. in details like wise what are all the other pipeline functions in commerce server 2007..It will be very help for all the new pipeline developers.... Praba, Check out the following: Commerce Server Pipelines in a Nutshell Everything y ...Show All
SQL Server BUG: UPDATE updates not listed fields
Hi Everybody, I am in this forum for a first time. Today, I think, I found a bug in SQL Server 2000. I tried it on SQL Server 2005 and it is alive yet. Before I explain exact the problem I have a stupid question. Is there any type of award if I have found a real bug. It is about a situation when I try to update some fields in a table and I get updated some other wrong fields. There aren't any triggers ot something else. Create a new table, insert one row, update some fields but other ones get changed too. Is there something known about this Thanks, Hristo. I am with Microsoft SQL Server 2000 - 8.00.194 On my version and other ones (without SP) BUG10 changes to 0. It seem that this is fixed i ...Show All
SQL Server Thanks a lot i was able to connect
TITLE: Connect to Server I have downloaded the sql server express edition 2005 .When i open Sql Server Management Studio i am unable to connect this is the error message Login failed for user 'sa'. (Microsoft SQL Server, Error: 18456) hi, are you sure this is the exact exception you are reported with, or does the error message say "Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection" if this is the case, SQLExpress install by default disabling standard SQL Server authenticated connections.. only WinNT trusted connections will be available.. you can thus connect via a local Windows account member of the local\administrators group, as this group is by default granted login ...Show All
SQL Server Framework 2.0 changes - TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.
If you connect to a server and open a query in SQL Managment studio (2005) and looses connection and then regain the connection, when you try to run the query it gives me a "TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host." This happens against both 2005 and 2000 servers. If I re-run the query it works. However, this happens in our VB.NET app as well for clients with Wireless connections. So, something has changed in Framework 2.0 regarding this, does anyone know how to tell the client to not throw this error and just try connecting the server instead which will work Hi Fredrik, It appears that Sqlclient grabs a connection from the pool that has alread ...Show All
Windows Forms Is there any way to multi selection when I browse to files
I want to select # of files from folder so .. is there any way to do that ... or can any one give me a code to open all files in a folder thanks in advance adorer wrote: I want to select # of files from folder so .. is there any way to do that ... or can any one give me a code to open all files in a folder thanks in advance sorry i have found the solution... this is the solution... private void button3_Click( object sender, System.EventArgs e) { OpenFileDialog fdlg = new OpenFileDialog(); fdlg.Title = "Open File Dialog" ; fdlg.InitialDirectory = @"C:\Documents and Settings\All Users\Desktop" ; fdlg.Filter = "Exe file ...Show All
Visual Studio 2008 (Pre-release) How to apply control template in external libraries dynamiclly?
In my scene, I have two Buttons. Then I create two control templates in different ResourceDictionary xaml files, each of them is in an independent control library. During run-time, I hope to apply the two templates to the Buttons dynamiclly according to user's input. (Maybe template1 for button1 while template2 for button2). Any idea to do this Thanks following will help http://nerddawg.blogspot.com/2005/11/resources-in-windows-presentation.html http://nerddawg.blogspot.com/2005/12/more-on-resource-loading-in-wpf.html ...Show All
.NET Development Problem with Environment.GetLogicalDrives method and Windows Service application
Hello, I am using the following method Environment.GetLogicalDrives to access all available drives on my system. This method works just fine when I run it inside the Windows Form application; however, when I run the same code inside the Windows Service application it returns only local drives without the mapped network drives. The Windows Service application runs under my user id. Thanks Tom Hello nobugz, Thank you for your reply. I actually implemented the API call to the GetLogicalDriveStrings method and I got the same result. Based on the article, I assumed that the drive is mapped in the LocalSystem context; therefore, I tried to use the drive letter, which was already assigned t ...Show All
Visual Studio Team System During a merge, the "Building Change Summary" goes into infinite loop
My machine hangs while resolving conflicts during a merge. Here's what is happening: I initiate a merge between 2 branches It correctly identifies the conflicting files. I select one of the conflicting files and click on "Resolve" button. The "Resolving Conflicts" window comes up saying that its building a change summary. This process of building change summary keeps spinning.....and my machine hangs. The resolving conflict operation never ends. Note: This only happens for some files and not others. I tried doing this from multiple machines and got the same result. Is this a known problem, bug Thanks. Now they are saying the article is either being worked on, ...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
.NET Development Error Launching the Framework MDbg debugger
I am having some difficulties with the Mdbg sample debugger so I thought I would try the Framework version MDbg.exe. 1. I launch MDbg.exe from a command prompt 2. Issue an "echo hello world" command 3. Works fine. 4. If I execute the following fragment then I can Issue the echo command and it works. Process process = new Process (); process.StartInfo.FileName = "Mdbg.exe" ; process.StartInfo.WorkingDirectory = Application .StartupPath; process.Start(); 5. If I execute the following fragment in which I pass the command arguments then it ends with "the system can not find the specified file" exception. Process process = new Process (); process.StartInfo.FileName = ...Show All
Visual Studio Express Editions CheckedListBox simple question
I have a CheckedListBox with 10 items in it. None of the checkboxes are checked. How can I programmatically check a specified unchecked checkbox or uncheck a specified checked checkbox I hope that tongue twister makes sense to someone. Thanks... Private Sub Form1_Load ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Me . Load For x As Integer = 0 To 9 Me . CheckedListBox1 . Items . Add ( "Item" & x ) Next End Sub Private Sub Button1_Click ( ByVal sender As System .Object, ByVal e As System . EventArgs ) Handles Button1 . Click 'check all For x As Integer = 0 To Me . CheckedLis ...Show All
Visual Basic Is it possible to update teh msysobjects table?
I like to change the connection on some attached tables . Can I make an update on table MSysObjects to change the string of connection . I don’t like to attach the tables again Anybody can give me a suggest dolphin99 wrote: I like to change the connection on some attached tables . Can I make an update on table MSysObjects to change the string of connection . I don’t like to attach the tables again Anybody can give me a suggest ...Show All
Internet Explorer Development IE 6/7, restart computer on plugin update
Hello. I noticed that after some Windows Update, IE6 (also 7), XP, asks to restart the computer after some plugin was sucessfully updated. The plugin is not in use at the moment when the webpage (that requires the plugin) is loaded. Do you know why And, most important, does anybody know a way how to avoid the restart Thank you. Cosmin There is no install program running. There is only one instance of iexplore.exe running. The sequence is the following: I update the plugin on the webserver and the javascript code that specifies the version. The client downloads the page and IE gets the latest version of the .cab file. And then it asks to restart the computer. One little thing is annoyin ...Show All
.NET Development ADO.net and Excel
I am trying to open an excel file from a asp.net page (C#) using ADO.net. all works good...but if the the excel worksheet has a name different from [Sheet1$] the code goes in error... Any idea how to solve this problem... how can i discover the name of the worksheet Here my code: String sConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" ; sConnectionString += "Data Source=" + DirFileName + ";" ; sConnectionString += "Extended Properties=\"Excel 8.0;HDR=YES;\"; OleDbConnection objConn = new OleDbConnection (sConnectionString); try { objConn.Open(); OleDbCommand objCmdSelect = new OleDbCommand ( "SELECT * FROM [Sheet1$]" , objCo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. UberFX "All-Inclusive" DirectX Shader
Well, after working a lot with shaders (and more importantly getting them to work on my game), I started re-writing one of the shaders that came in the 3ds MAX fx folder (StandardFX.fx), this effect file has a lot of useful functions, but it was lacking in a few others (and some parts of it were faulty) I fixed it up and added a few things. Below is a list of what the shader can do: - Colors for Ambient, Diffuse, Specular - Specular level - Specular by texture - Diffuse by texture + Two detail maps, each separately scalable + Opacity by texture + Self illumination by texture - Normal mapping - *faulty* parallax mapping - Cubemap-based reflections (those designated by a + were added, some of the others were fixed as well) The shader uses Wo ...Show All
