Prabu.'s Q&A profile
Commerce Server CS 2007 Starter Site - SampleDataImport catalog failure
I am getting a failure running SampleImportData on the commerce server 2007 starter site. It appears to fail setting up catalog data. This is what I get: Loading data into site: StarterSite Connecting to Catalog system: Done. Connecting to Orders system: Done. Connecting to Marketing system: Done. Adding the user D3JMPL91\Jason Duncan to AzMan policy files: MarketingAuthorizationStore.xml MarketingSystem MarketingAdministrator OrdersAuthorizationStore.xml OrderSystem OrdersAdministrator ProfilesAuthorizationStore.xml ProfileSystem ProfileAdministrator CatalogAuthorizationStore.xml Catalo ...Show All
Visual Studio 2008 (Pre-release) Adding controls & 3D in to WPF/E application
Hi , Is there any method to add controls in to My WPF/E application it is now supporting Canvas only When MS going to give support to host controls as well as 3D (ViewPort3D)in to WPF/E Regards, Joy Hi Joy, There was a technical chat a few days ago about WPF and WPF/E, you can find the transcript here : http://www.sneath.org/tim/06_1220_msdn_wpf.doc From what i remember : Canvas is the only supported Panel. Not sure there will be others in the future. MS is working on adding basic control (TextBox, Checkbox, ...) in the next CTP or two. There's no plan, since the beginning, for 3D in WPF/E. If i remember correctly it's because all render is software. Guillaume ...Show All
Windows Live Developer Forums How to Add PushPin using FindLocation (without providing lat and long)
Hi guys, Just started playing with the API. I am trying to add a pushpin to general points e.g. Cities, Provinces, Postal Codes but everytime I try to the pushpin appears in a totally different point. Any insight would be much appreciated. Thanks K <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src=" http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script > <script> var map = null; var pinID = 1; function GetMap() { map = new VEMap('myMap'); map.LoadMap(); FindTO(); AddPin(); } function FindTO() { map.Fin ...Show All
Visual C# string
i have a string called str and a char array called dizi. i have an if statement.if the string hasn't one of array members the if statement must be run.but it isnt working of course.where's my mistake :( if (!str[j].ToString().IndexOfAny(dizi)) { gecici = str[j] + gecici; index[l] = j; l++; } if (!str[j].ToString().IndexOfAny(dizi)) // Won't compile because IndexOfAny() returns an int, specifying the index of character found in the string and returns -1 if none of char is found else it returns the found index... So your code willl be: if (!str[j].ToString().IndexOfAny(dizi) != -1) // It will compile fine Best Regards, Rizwan ...Show All
Visual Studio Express Editions Mathamaticians please !
I want to resize an image using a NumberUpDown control, Here's what I have, Dim pcent As Integer pcent = 100 / nudPercent.Value pbxResize.Width = pbxResize.Image.Width / pcent pbxResize.Height = pbxResize.Image.Height / pcent If I enter 50 then 100 / 50 = 2 so the image width and height is divided by 2 = 50% If I enter 25 then 100 / 25 = 4 so the image width and height is divided by 4 = 25% you can see that this does not work for 76% for example 100 / 76 returns 1 which gives 100% so how do I resize the picture by the number in the NumberUpDown box. Ok Dave, Did what you suggested and according to me the answers should read as follows; 3.75 6.25 8.75 When I ran the program the answers ca ...Show All
Visual Studio 2008 (Pre-release) URL Escaping.
Hi, I know this isn't a WCF question per say - but related. I'm calling a WS from a .NET WCF client. The endpoint is formated like this: http://IP/wsgwsoaphttp1/soaphttpengine/http%3A%2F%2Fblah.dk%23ACTION Now this is a URL-encoded string for: http://IP/wsgwsoaphttp1/soaphttpengine/http://blah.dk/ACTION When the endpoint is opened a Uri is created behind the scenes. This URI escapes the string into: http://IP/wsgwsoaphttp1/soaphttpengine/http:/blah.dk/ACTION (Notice missing "/"). This is done in the canonicalize function of the URI : http://msdn2.microsoft.com/en-us/library/system.uri.aspx "Canonicalizes the path for hierarchical URIs by compacting sequences such as /./, /../, //, including escaped representations." ...Show All
Smart Device Development Can't Start New Smart Device Projects
Please Help....anyone... I have just successfully installed MS Visual Studio 2005 version 8.0.50727.42. When I click FILE - NEW - PROJECT - click on any of the Smart Devices - click Device Application and click OK, I expect to begin a new Smart Device project. But instead, I receive the error ..."error HRESULT E_FAIL has been returned from a call to a COM component". I can successfully begin any other New Projects, just not any of the Smart Device projects. Any ideas What happens when you Select Tools Options - Device Options. Can you see any devices listed there. or from Tool Menu, Can you start Device Emulator Manager and launch say an Pocket PC Image Repair of VS does not ...Show All
SQL Server Long report on one page?
I have a very long report that I would like to appear all on one page. I want to be able to scroll from the top to the bottom without having to use the little page selector. How do I do this I got it to work for one report so I know it's possible. I just can't figure out why it works for that report and not for other reports. Thanks, Greg Van Mullem I assume you are using HTML or report preview. You can set the InteractiveHeight property on the Report to 0 in order to have everything on one page. You could also get this if you have toggleable or conditionally hidden items in the report. ...Show All
Visual Studio Express Editions i want to install vb
i want to install it Are you having any problems installing You can download the installers from http://msdn.microsoft.com/vstudio/express ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Adding models at runtime
Hello! My application reads information from an OPC server. Each model is a cylinder (Standard Primitives) I have made 1 basemodel of the cylinder that i change the height and radius in runtime by scaling it. My problem is that when the application first time gets information from the OPC server it contains only one cylinder, 2min later it could be 30cylinders. The number of cylinders will change under runtime. In the startup i load one model of the cylinder: protected override void LoadGraphicsContent( bool loadAllContent) { if (loadAllContent) { Model modelRulle = content.Load< Model >( "Content\\Models\\Rulle" ); } Can i resuse this model to clone or copy it in runtime ...Show All
.NET Development How to monitor an I/O event from a separate process?
I have a third party application that reads a file. I am trying to create an new application that writes updates to the file after that 3rd party app reads it. Is it possible to monitor file access from .NET on the O/S level to trigger my application to syncronize read and writes over time How would you do it If this is not possible, how would you solve this problem other than recreating the third party application (which is not realistically possible) I/O monitoring seems to be possible, as there are programs like http://www.sysinternals.com/Utilities/Filemon.html that does it. I just need to know how they hook into Windows and trigger an event ...Show All
Visual Studio Express Editions Displaying a Bitmap
Sorry to bother with such a simple issue. I've digged through MSDN and google but I cannot find a document that explains how to display a bitmap in the client area of a Window. I've read the famous forger's tutorial but it's a little out of date and the code examples need top be adjusted to compile on VC++ 2005 Express. The example about the bitmaps is simply getting me mad. If I try to compile this code I receive Error C2440 case WM_PAINT: { BITMAP bm; hdc = BeginPaint(hEditorWnd, &ps); HDC hdcmem = CreateCompatibleDC(hdc); HBITMAP hbmOld; hbmOld = SelectObject(hdcmem, g_MapGrid); //Error C2440 HERE GetObject(g_MapGrid, sizeof (bm), &bm); BitBlt(hdc, 0, 0, bm.bmWidth, bm.bmHeight, hdcmem, ...Show All
Visual C++ Linking static library to a managed dll
I have a static library that i want to be able to link into a different project that is written in managed code. The project I am creating is a webservice and i need to be able to use the classes in the static library. When I build the project I get tons of link errors like unresolved external symbols. I am assuming from what I have read the i have this mixed dll loading problem. Is this the case I am currently getting errors like : msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall std::locale::facet::_Register(void)" ( _Register@facet@locale@std@@QAEXXZ) already defined in libcpmtd.lib(locale0.obj) msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall std::locale::facet: ...Show All
SQL Server Sorting on SUM Field
I have the following sum field for a grouping: = SUM(Fields!Account_Market_Value.Value) I want to be able to sort on that in a descending fashion, when I do the sort without the SUM everything works fine, but as soon as I add SUM, it doesnt sort anymore. Not sure what I should be doing to sort the field. Sorting on groups would sort the group instances based on the results of the sum for each group. If you remove the sum, it'd sort the group instances based on the field value from a row that belongs to each group instance. Is this what you are seeing ...Show All
Visual Studio Getting error while opening solutions.....
I got a developing project from my friend and I was trying to open this in VS - 2005, It was developed in VS - 2005 only. I am getting this error "The project file "Path of project" can not be opened. The project type is not supported by this instasllation. Can anybody help me on this matter Thanks in advance. Mahen > "it was developed in VS-2005 only" VS 2005 installation allows you to choose which language packages you want to install: VB.NET, C#, C++, Web Development, etc. Also, you can install new packages such as Business Intelligent packages (SQL Server 2005 Reporting Services, etc). If you try to open a project in a VS 2005 installation which lacks the package which was used to create ...Show All
