Amos Soma's Q&A profile
Visual Studio Team System Validation rule> required tag. Problems
Hi all. Our company is soon to adopt VSTS. I am currently exploring the testing section. I am using a Validation Rule to look for a required tag. I have tried multiple tags including <a> (and simply 'a' believing that the <> may have confused the parser) and every time I run the test against the page, the test fails and indicates that the tag does not appear. I have verified that the tags do indeed exist in the response. Also, when I try to use Required Tag against and XML response I get: Object reference not set to the instance of an object Finally, we do work with AJAX. In order to validate the information getting sent to the browser I expect I will need t inspect the DOM. Is that possible Thanks for any help. Eigen ...Show All
Windows Live Developer Forums DisambiguationCallback returns only 10 results
Hello, I'm testing the new disambiguationcallback in v3.2. I get only the first 10 results. For example: When you enter "5th ave, new york" in the "Search city, address or landmark"-field on local.live.com, you get only 10 results. Any solution to get the other results I think it's possible to use the Find method and supply a pageindex. Then all pushpins are painted for me, what I don't want. Kind regards, Maarten Claes That's a brilliant idea! Can't wait to see an example. Are you using MapPoint for this I don't think it possible with only VE, because of the reverse geocoding. Maarten ...Show All
Visual C++ Go to next C++ function?
How can I position the caret at the start of the next (or previous) C++ function in the text editor This was possible using WizardBar in VS6, but WB has been removed. I tried Tools->Options, select keyboard, and added Ctrl-Q as a global shortcut for Edit.NextMethod. But typing Ctrl-Q does nothing in a C++ source file. I also tried Alt-Shift-Ctrl Z, in case there was something special about Ctrl-Q. I would prefer a button on the toolbar, and this was possible under VS6. ...Show All
Visual Studio Tools for Office Does the Tools for Office edition still have the ability to build and deploy traditional VS applications or .NET websites?
Wrote an email to a college for advise about which version of Studio to upgrade to from 2003 professional I am asking for an upgrade of Studio for next year. Thinking that the "Visual Studio Tools for Office" might be better for me that the regular "Visual Studio Professional Edition". Main difference is that I only get vb & c++, and no Crystal Reports", but I get "Office Access 2003 Developer Extensions". College wrote: That sounds like a good idea at first, but I'm not sure that you assumptions of the capabilities of the Tools for Office edition on its own is entirely accurate. I am suspicious that you will only have the ability to build MS Office applications with the Tools for Office. I am not cer ...Show All
Visual Studio Documentation Compiler - Sandcastle
We did code complete of documentation compiler ( code named "Sandcastle") on June 15th and currently we are testing the tool building our .NetFramework documentation. We would like to release the CTP version of Sandcastle in Microsoft download center by next week. The perf in our testing has been great as we are able to build the entire framework content in less than 1 hour. I am in the process of going through final check and code signing required to post this in our download center. Please expect the CTP in the next week or so and I will provide an update here as soon I post the CTP. Anand.. Sandcastle (not sandbox) will not process non-standard tags. However user can post process these tags or extent the transforms (XS ...Show All
Windows Forms datagridview combobox column
Hi All, I need code which support vb.net 2005 Problem: While clicking the items in DataGridViewComboBox which inserted in DataGridView( Grid control in vb.net 2005). i want to populate the records in the grid that related to the item which i selected in combo box. I will explain with example: I have grid control named GridCustomer. My grid have three columns which are customer ID, Customer Name, and Address. On the first column i created one combobox contain Customer ID(CmbCustomerID) which comes along with DataGridView. So while selecting this CmbCustomerID i want to display corresponding records in the grid. The data which are coming in the combo box is from table. Sample Code I am attaching sample code, that ...Show All
Visual Studio How to disable the Parameter prompt for Crystal Report using VB.Net
I'm having a problem whereby I can't disable the parameter prompting in VB.Net with the following codes:- Dim crPDV As ParameterDiscreteValue Dim crPFD As ParameterFieldDefinitions Dim crPFL As ParameterFieldDefinition Dim crPV As ParameterValues crPFD = CR.DataDefinition.ParameterFields crPFL = crPFD.Item("paramterName") crPV = crPFL.CurrentValues crPDV = New CrystalDecisions.Shared.ParameterDiscreteValue crPDV.Value = valueToPass crPV.Add(crPDV) crPFL.ApplyCurrentValues(crPV) CrystalReportViewer1.ReportSource = Application.StartupPath & "\TheReport.rpt" CrystalReportViewer1.Show() Any error with the above codes OR do i need to add any additional code(s) that able for me to pass the parameter value direc ...Show All
Smart Device Development Looking for alternative to ActiveSync to provide network access to Pocket PC
We are using Microsoft ActiveSync to provide network access to Pocket PCs. We do not use the synchronize features. I would be interested in an alternative product that provides just the network portion or some information on how I might create such a utility. You can look into Mark/Space products (though I suspect they are for Mac OS only since AS is available for PCs for free). Another way to go would be to use native Pocket PC networking capabilities by adding wired or wireless network adapter to device. No software on desktop would be needed in that case. ...Show All
Visual C++ LNK2020 when importing a mixed-code static library
Hello. I have a rather strange problem with VC2005 Express : Project A : I do a static library that contains both managed and unmanaged code. I have 4 100%-unmanaged .cpp files and 3 mixed-code (A.cpp, R1 and R2.cpp, the last two containing definition of two managed classes members). I link with the /clr option, no problem. Project B : Windows Forms App. I import my A.lib and corresponding header files. I get LNK2020 errors (unresolved tokens) on managed classes members in R1 and R2. Compiled with /clr also. => Why these errors It works fine if I move the content of R1 and R2 in A.cpp in project A (!!), but I need not to for other projects. Moireover, I would like to understand . Thanks in advance. And sorry for English mistakes. ...Show All
SQL Server custom code question
Is it possible to use custom code to take a single parameter and generate multiple parameters that would be used in the mdx code querying the dataset. Lets say I have a parameter where the user enters a value of 6, could I then create other parameters that are multiples of the user entered value. e.g. 12, 18, 24, etc... which would then be used in the with member mdx code that generates the dataset member measures.bucket1 as sum ([REL TURN HRS].[TRN HRS].&[0] : strtomember ( "[REL TURN HRS].[TRN HRS].name = @param1 " ),[Measures].[FACT CUT RELEASE Count]) member measures.bucket2 as sum ([REL TURN HRS].[TRN HRS].&[0] : strtomember ( "[REL TURN HRS].[TRN HRS].name = @param2 " ),[Measur ...Show All
Commerce Server Discounts
How can i manpulate many discounts to show them on aspx page ( we are using commerce server 2007, SQL 2005, VS 2005) Johan, What properties are you setting on the DiscountCriteriaFilter This is probably the reason you're not getting any records. Here's the documentation on it: http://msdn2.microsoft.com/en-us/library/microsoft.commerceserver.runtime.marketing.discountcriteriafilter.aspx I don't know what the default setting is for the five member properties, but you'll probably need to set some of them to true to populate the collection. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. [C#] Quadtree (2D Game)
me are trying to do a 2D Game (tile map), and me read a lot articles that talk about quadtree are used in order to improve the colliection detection(with deduced the time of collision checking) although me know the quadtree structure, but totally have no idea to implement it, also no idea how to use in 2D game and me found no where talk details about it. can anyone explain deep into it for me, or just provide me some article/tutorial. thanks a lot for spending time on my question. and sorry for my poor english. ...Show All
Visual C++ Multiple Slider Controls
Hello, When it comes to C++ and dialog boxes I'm at a loss. What I want to do is have multiple horizontal and vertical slider controls with static text that shows the position of the slider. I have made one horizontal and one vertical slider with a static text parameter for each and this works. But when I added the second horiz and vert sliders nothing happens when I change the horiz_slider2 or vert_slider2. What am I missing Thank you for your help. void CGPSsimDlg::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) { m_horizslider1_value.Format("%ld", m_horizslider1.GetPos() ); m_horizslider2_value.Format("%ld", m_hor ...Show All
SQL Server Can't Insert Binary Data Into Sql Mobile
Hi guys, I'm having a problem inserting a file into a SQL Mobile table. I'm updating the table via a tableadapter designed through the Dataset designer in VS2k5. The SQL used to insert is "Insert into TestTable (itemid,itemdata) values (@itemid,@itemdata)" Where ItemID is a GUID, and ItemData is an Image field. The tableadapter has typed the parameters as GUID and Binary properly already. Only problem is when I actually call the command with a byte array containing my file, I get a "Byte truncation" error message. I remember this working properly in SQL CE 2.0 but so far I don't seem to get it to work in SQL mobile, anyone got any pointers How big is the array If you try ...Show All
.NET Development Problem downloading Framework 2.0
Hello all, I'm having this problem and I found this forum title is most closely related to it so I thought I try here, hope you don't mind if the problem is misplaced. I'm downloading the .NET framework 2.0 setup and, everytime, it just hang (seems to be forever) at a point Registering System.EnterprisingServices.dll which Executing: "C:\WINDOW\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe" /bootstrapi Has anyone else been throught this before Or anyone that might know how to get pass this.... I welcome all of your inputs and thank you. Thank you Mark, and may I correct one thing ... When I wrote "I'm downloading..." I meant "I'm installing..." instead. Please ex ...Show All
