xplosiv_1's Q&A profile
Commerce Server Catalog Import Adapter
Hi, I want to use the catalog adapter to make changes to a products price. What do I need in my import message to accomplish this - < MSCommerceCatalogCollection2 version =" 1.0 " > < Catalog name =" "Adventure Works Catalog" " > < Product id =" AW1000 " listprice =" 71 " /> </ Catalog > </ MSCommerceCatalogCollection2 > ...Show All
Visual Studio Event related to "Check in"
Hi all, Could anyone tell me the event that has to be captured when checking in a file into to the team foundation server. regards dseknat Hi Ole Preisler, Following is the secnario that I want to implement. In visual studio 2005 Team suite, when a user right clicks a particular file (the file is already checked out for edit from team foundation source control) in solution explorer and clicks check in, I want to caputre this check in event and want to obtain time the user has worked on the file using some dialog box for my manipulation or storing. Also the user may also intiated the check in event from pending check in(s) toolbox window. I am using Visual studio 2005 SDK for creating an addi ...Show All
SQL Server Hide 'New Subscription' in the explorer bar
Hello We do not want the end users to know of the subscription capability. How do we hide 'New Subscription' link for a report. Thanks InderSunny, You can edit your Browser role and remove the capabilties of the user - Report Directory/Properties/Security should get you going. Ham ...Show All
Gadgets A couple of flyout questions
I know that the flyout can't fire unless the gadget has focus. I want to make a gadget launch a reminder at certain times, I have a less conveniant fallback method, but I'd prefer to get focus on the gadget first. Does anyone know of a workaround Secondly, is it possible to launch a flyout whilst keeping focus of an input box on the Gadget I want to use the flyout as a little helper window to aid the user input. Andy Use "focus()" to set focus, ie "self.focus()" to put focus on the current code, or "document. <id> .focus()" to set focus on an element. As you want to set focus back to the Gadget after opening the Flyout, add the following code to the end of your flyout.html: <script langu ...Show All
Visual Studio Express Editions randomly generate one of four words
Randomize() lblassign2.Text = Int((10 - 1 + 1) * Rnd() + 1) How can I change this so It will generate one of 4 words. The words are Hearts, Clubs, Spades and Diamonds Also these four words should be capitalized. Dim Suit () As String = New String () { "Hearts" , "Spades" , "Clubs" , "Diamonds" } Randomize () Dim UpperBound As Integer = 3 Dim LowerBound As Integer = 0 Dim value As Integer = CInt ( Int (( UpperBound - LowerBound + 1) * Rnd () + LowerBound )) MessageBox . Show ( Suit ( value )) ...Show All
Visual Basic VB6 calling a C# dll
Hi all, I am trying to call a c# dll from VB6. I could able to add the refernece for the dll but I am not able to access the methods of the dll. What could be the reason I registered the dll using the regasm and .tlb is also generated. If any one could help me. Regards, Santha This is because C# will create a .NET CLass Library and not a COM Class Library. VB6 knows only about COM Class Libraries. So if you have the C# project you can make it a COM DLL's which then would be visible to VB6. ...Show All
Visual Studio crystal reports 9.x compatibilty with Windows Vista
Unable to gauge out whether Crystal Report 9.x is reqd as minimum or absolute in Windows Vista if not then which version is required as minimum and/or absolute in Vista Thanks and Regards Luv Walia As far as I know Vista is still not mentioned anywhere in crystal reports online documentation. I'd like to add that Crystal Reports 9 Viewer OCX works on VB6+Vista. So I managed to convert all my "embedded" reports created with RDC to external .rpt files, so that I can edit them with the CR9 main app. I then load them through code at runtime. This way I worked it out! ...Show All
SQL Server Subquery in SELECT statement before FROM
Hello! I can use querys like these in Access: SELECT Field1, (SELECT Field2 FROM Table2 WHERE Key=1) AS Field2 FROM Table1 SELECT Field1, (SELECT Count(Field2) FROM Table2 ) AS Field2 FROM Table1 But when I try execute it with SQL Server Everywhere it says "Token in error = SELECT". Is there some kind of limitations to do this with SQL Everywhere SQL Everywhere seems to be nice compared with Access and JET but for my project it's useless if I can't use subquerys. -Teemu With SQL Server Compact/Mobile Edition v3.1, you can use sub-query in WHERE clause ONLY. However, with future versions of it (v3.5), you can use sub-query in WHERE, and FROM clauses. And you are using sub-query in proje ...Show All
Visual Studio 2008 (Pre-release) Combination bug of TextBox.MaxLength and Ime?
It is a thing when MaxLength of TextBox is set and used. Conversion ends on the way when conversion that exceeds MaxLength by the Ime conversion is done. MaxLength should be applied to the input result, and should not be applied in the state under the input. Will this be corrected in the future It was confirmed that this bug was not corrected. Windows XP SP2 + Microsoft Office IME 2007 + Windows Presentation Foundation Framework Library 3.0.6920.0 (vista_rtm_wcp.061020-1904) It is a very big problem that cannot use the MaxLength property. Is not this corrected ...Show All
Visual Studio Express Editions Confirm Deletion of a Record
I have a datagridview with a binding navigator with a delete button (the red X). I want a message box to appear when the user clicks on the delete button to confirm whether they in fact want to delete the record. I have the following code so far: Private Sub BindingNavigatorDeleteItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BindingNavigatorDeleteItem.Click If MsgBox( "Are you sure you want to delete selected record(s) " , MessageBoxButtons.OKCancel, "Confirm Delete" ) = Windows.Forms.DialogResult.Cancel Then End If End Sub As you can see, I do not have anything after the Then line because I can't figure out what code I need to cancel the event. Of course, th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. RenderTarget2D rendered with garbage all over it
Hi I've got a 2D project where the world is rendered to a 1024x1024 RenderTarget2D texture, then that texture is drawn to the backbuffer. It works fine on my laptop. On my desktop, however, the RenderTarget2D texture is drawn with an overlay of garbage consisting partly of a frame of a DVD I was watching on the other display. I'm clearing the RenderTarget2D texture properly, and everything is drawn properly, but when this texture is drawn to the backbuffer it receives a nicely alpha blended amount of garbage that covers the entire texture. So I can see everything rendered perfectly on the RenderTarget2D texture, it's just covered with translucent garbage. Sorry, I can't get any shots now. When I get home from work I'll get right on that, a ...Show All
Software Development for Windows Vista how can I connect 2 states ?????????
I'm trying to connect a startstate and a state to each other, but I don't see the connectorhit object in the toolbox. How can I connect 2 states to each other First you need to add a Initialize State / Finalize State or an EventDriven activity to your state. From here you can add a "Set state" activity. On this activity you can choose the destenation state and the WWF designer will draw the line for you. Regards Anders Kjellerup Jacobsen ...Show All
Visual Studio Team System Problem building Setup Projects with Team Build
Hi, We're experiencing problems while building setup projects from team build. We have VS installed on a build machine and use a custom build step calling devenv for building the setup project. It works so far that we get our desired msi package. But the problem is that before the setup project is build, all other projects in the solution are build as well regardless of the fact that team build did this right before! I checked the vdproj file and it contains the right paths (yes, all are relative paths to obj/Release folders). Devenv seems to be unable to detect that all projects are up-to-date. However, when I launch devenv with exactly the same command line on my desktop, the setup project is correctly b ...Show All
Visual Studio Team System LatestVersionSpec Class 2006.06 versus 2006.07
I downloaded the 2006.07 drop of the Visual Studio 2005 SDK. The api for class LatestVersionSpec has changed from what was published in help in 2006.06 and 2006.07. When I look at the dll's I am referencing (Private Assemblies) they expose as per the 2006.06 api documentation not the 2006.07 documentation. It may go beyond this class but I have run into the issue with this class as of now. Does the 2006.07 docs represent changes in SP1, or should I be referencing a different set of dll's in order to get the 2006.07 api calls Anyone have any insight Which methods look different for you Michael A quick glance using intellisence and the methods seem to match up with the help file to me (but I only just had a quick check now as ...Show All
Visual C++ Why am I getting an ERROR?!?
I really can't see how this causes an error. This is the whole program: int main() { double* pbeans; pbeans = new double [3][4]; delete [] pbeans; return 0; } when I try to compile this i get the error message: (4) : error C2440: '=' : cannot convert from 'double (*)[4]' to 'double *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast How am I supposed to dynamically declare this array The error message is quite explicit, pbeans must be of type double(*)[4]. That means you have to write it like this: int main() { double (*pbeans)[4]; ... ...Show All
