Software Development Network Logo
  • Windows Vista
  • Visual C++
  • IE Development
  • Microsoft ISV
  • Visual C#
  • Audio and Video
  • Visual FoxPro
  • .NET Development
  • Smart Devicet
  • Visual Basic
  • Windows Forms
  • SQL Server
  • SharePoint Products
  • VS Team System
  • Visual Studio

Software Development Network >> ahmed921983's Q&A profile

ahmed921983

Member List

SQL_newbie
Oran Dennison
TA123
Gustavo Carrazoni
Jason56
Steve1999
Santhoo
Phil026
Santosh Ransubhe
djaiken
leclerc9
Sweeps78
Flavia Lemes
Christophe Bauwens
DavidR100
ManishaPatil
Malleswar
J. Ho
Lee boon gan
NLebron
Only Title

ahmed921983's Q&A profile

  • Visual Studio Team System Had to use Mercury Loadrunner to capture certain HTTP Requests

    While recording scripts, certain pop up screens weren't captured by Visual Studio. Hence ran Mercury Load runner and captured the corresponding HTTP request. Copied nad pasted that HTTP request in the appropriate section of the Visual studio Web test. On playback, instead of displaying the corresponding web browser, the code was displayed. - <P2PApprover> <RequiresP2PApproval>True</RequiresP2PApproval> </P2PApprover> You could also use a tool called fiddler for trying to record requests missed by the VS recorder. www.fiddlertool.com . This tool has an option for generating a webtest file. The web browser in the playback UI is displaying the result of th ...Show All

  • Visual C# simple string compare not so simple

    I am doing jsut a simple little string compare and the values are equal, however, I cannot get them to see that they are equal. Unless I am so Dyslexic I cannot read two simple strings. Here is the code: public bool test_ArPermHasPermission(string prefix, string action) { string permission = prefix + action; bool test = false; foreach (string p in arPerm) { //the values that fail: p = auth_update and permission = auth_update if (String.Equals(p.ToString(), permission.ToString())) { return true; } } return false; } I got so fed up with the string.equals I also tried the following: (p.ToString() == permission.ToString()); (p == permission.ToString()); (p.ToString() == permission); ...Show All

  • SQL Server Error running openquery(mdx) through a linked server

    I'm trying to create linked server to access DMX functions from SQL Server as per: Executing prediction queries from the relational server http://www.sqlserverdatamining.com/DMCommunity/TipsNTricks/3914.aspx I create the link this query EXEC master . dbo . sp_addlinkedserver @server = N 'KLSSQL01AnalysisServerLink' , @srvproduct = N 'Analysis Services 2005' , @provider = N 'MSOLAP' , @datasrc = N 'kls-sql01' , @catalog = N 'AnalysisServicesPredictorPrototype' GO SELECT * FROM OPENQUERY ( KLSSQL01AnalysisServerLink , 'select node_caption, node_type from [Misuse Abuse Profile].content' ) where [Misue Abuse Profile] is the Mining model Provider options: Allow in p ...Show All

  • .NET Development RESOLVED

    I'm calling a remote server (client activated, hosted in WinForms app). A simple call without parameters (or with a simple string param) works fine. When I pass certain parameters, it crashes. Build is the remote class. This call to CreateBuildTree() works: Build prp = new Build (); prp.CreateBuildTree(); This one doesn't: Build prp = new Build (); string BuildDir = prp.GetBuildDir(); TreeNode root = new TreeNode (); root.Text = BuildDir; prp.CreateBuildTree(root, BuildDir); even when CreateBuildTree doesn't contain any code!!! public void CreateBuildTree() { } The error I get on the client side is "Server encountered an internal error. For more information, turn off customErrors i ...Show All

  • Commerce Server Weird Windows Installer Resiliency Problem

    I've noticed on system startup the Windows Installer resiliency functionality kicks in on the Commerce Server 2007 MSI: Event Type: Warning Event Source: MsiInstaller Event Category: None Event ID: 1004 Description: Detection of product '{79069318-A3E1-46C7-BF37-512FA9CAAFBB}', feature 'Feature.MS.CS.Interop', component '{1B0028F3-E0BA-4CF1-A201-259A640881EC}' failed. The resource '' does not exist. Event Type: Warning Event Source: MsiInstaller Event Category: None Event ID: 1001 Description: Detection of product '{79069318-A3E1-46C7-BF37-512FA9CAAFBB}', feature 'Feature.MS.CS.Interop' failed during request for component '{0913EFD4-967F-4B7D-89F6-5D65D21A0464}' I've look at the package using Orca and the component loo ...Show All

  • Customer Care Framework No. Of Subscribers in Transactional Replication....

    Hi, I am Using Transactional Replication with Updatable Subscriptions. Is there any limitations in the number of subscribers (Servers) used for this type of replication I have a scenario of configuring this replication in 60 Subscribers (Servers). And the replication should be in the Continuous running mode . Will Transactional Replication with Updatable Subscriptions work in this scenario Or is it meant to work for less than 10 subscribers Please reply asap. Thanks in advance. Regards, Swapna.B. ...Show All

  • Software Development for Windows Vista How to manage delays in a state machine WF

    Hello, I am developping a web application who host a state machine WF.One state of the WF is wainting for an event. If this event doesn't occur before a predefined delay, some business logic is going to be executed. My problem is How to define this delay. In other words , how to define a delay for the WF Process, if WF Process remain more than the delay in one state , some business logic is going to be executed. Thanks in advance Easy enough.. in your state, drag two EventDriven activities. Rename these 'HandleEvent' and 'Timeout' respectively. In 'HandleEvent' you handle the event you are waiting for by adding a HandleExternalEvent activity (or whatever other trigger you need). In the 'Timeo ...Show All

  • Visual Studio Refreshing data source

    I am using business objects as my data source, they are situated in a separate assembly. When I update and rebulid my bizentity assembly and web site I still dont see new properties I have added to my bizentity classes. Has anyone got any suggestions how to get the data source view to really refresh //jonas I have tried several different approaches and I guess there is some kind of bug in vs.net 2005 that makes the datasources disappear. Often u just haft to close down vs to get them back but doesnt work always. I have then tried adding a dummy class to app_code and a dummy method returning a strongly typed list with my business object, rebuilding web site and viola... it works. Of course u have ...Show All

  • SQL Server The 4000 character limit for expressions

    I am building rather large SQL statements using expressions and I am about to hit the 4000 character limit. First, what were the reasons for setting such a low limit With it in place you are forced to come up with other solutions, but perhaps that was the intention. Speaking of limits, what are the limits for storing a value in a string that is defined in a package configuration file What are the limits when creating a string within a script task and then use it to set a string variable in the package What are the limits when using a string value as an input parameter to an Execute SQL Task using OLE DB Do these differ depending on the connection type I guess I'm getting a bit paranoid about limits, but I don't want to hit any other ...Show All

  • Visual Studio Tools for Office Button action of VSTO

    VSTO 1.How to retrieve the active worksheet value when click the button on action function. 2.How to select the worksheet (visible or invisible) when click the button on action function. VBA:- Worksheets("Sheet2").Visible = TRUE Worksheets("Sheet2").Visible = FALSE Please advise. Thank all. Create Ribbon XML button. Used VSTO2005SE+Excel 2007+Visual Studio 2005 Pro. ***** I hope in this section can control the worksheet cell value and control active worksheet page. Thanks. ------------------------------------------------------ Ribbon1.xml <customUI xmlns=" http://schemas.microsoft.com/office/2006/01/customui " onLoad="OnLoad"> <r ...Show All

  • Visual Studio Team System Recording more than one action in a single web test

    I want to create scripts that record more than one user action e.g. got to parent page and do some update and then go to a different second page to do an additional update all in one script When i have tried this, e.g. open webpage, create an item, save, then attempt to delete that item, the second action is never recorded/captured, so when replaying my script, the only thing is does is just create that new item but not delete it as originally recorded Cheers. Hi, My guess is that your recording uses original (recorded) id when trying to delete item instead of id of item test just created. You will have to do some additional work on recording to make it work (define id variable and bind it) ...Show All

  • Visual Studio Team System Multiple TFS Projects

    I am planning out our TFS strategy. I have read MS recommendations that say not to create a lot of Team Projects, but this concept mankes many of the reports useless: If I have 10 web services in a single TFS Project, and each has its own solution file. If I build one of them, the build report contains all the check-ins since the last build, even though many of them had nothing to do with the single web service I am building. My work item reports give me all work items for all the web services, not just the one I am working on. ... Wy the "minimize Team Projects" recommendation The recommendation comes from a couple things: - Team Projects are heavyweight -- each takes several min ...Show All

  • Visual Studio Express Editions Chart Control

    I have upgraded a VB 6 application that has a chart.  The upgrade was successful but when I run the application I get the following error: System.InvalidOperationException was unhandled   Message="An error occurred creating the form. See Exception.InnerException for details.  The error is: Unable to get the window handle for the 'AxMSChart' control. Windowless ActiveX controls are not supported."   Source="WindowsApplication1"   StackTrace:        at WindowsApplication1.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 180        at WindowsApplication1.My.MyProject.MyForms.get_Form1()   &nb ...Show All

  • .NET Development Intefaces like IDisposable

    Hi at all, I'm trying to create an interface like IDisposable. If I create a Class that implements IDisposable automatically, when I press enter/tab, VS2005 IDE will create code: Private disposedValue As Boolean = False ' To detect redundant calls ' IDisposable Protected Overridable Sub Dispose( ByVal disposing As Boolean ) If Not Me .disposedValue Then If disposing Then ' TODO: free managed resources when explicitly called End If ' TODO: free shared unmanaged resources End If Me .disposedValue = True End Sub # Region " IDisposable Support " ' This code added by Visual Basic to correctly implement the disposable pattern. Public Sub Dispose() Implements IDisposable.Dispos ...Show All

  • Visual Basic vb6 Sendkey with Vista

    I typically turn on the keypreview property so that I can trap the enter key and transform it to the tab key so that my users can use either the tab key or the enter key to shift focus to the next tab stop. However, since upgrading to the Vista Operating system.  The enter key gets trapped as usual but when converting the keystroke to a tab key it does not get sent.  Here is the code that I use for this functionality.  Any Suggestions The compiled code works as usual, but in the IDE the Sendkeys "{TAB}" is ignored.   Private Sub Form_KeyPress(KeyAscii As Integer)         Call TabEnter(KeyAscii) End Sub Public Sub TabEnter(KeyAscii)       &nb ...Show All

©2008 Software Development Network