e.henriquez's Q&A profile
Visual Studio Team System Recording Atlas (Ajax) control
Hello, After recording a web test with a page including an Atlas control, there is no Form Post Parameter recorded from the page. How can I go around it Thank you in advance for your help Jeanvo QA Please Microsoft, do not suggest to customers to use recording of raw responses for Ajax calls. That is just like asking customers to shoot themselves in the foot. Please use an Ajax friendly automation framework for testing like Selenium or WebAii from artoftest.com.... We have been bitten with this approach just recently and it cost us days/weeks to update our automated tests when minor updates where made to our app. I had to personally get all that work done. It was hell! Also who knows what happens in ...Show All
Smart Device Development VS2005 Pockec PC FTP client in VB dosen't works.
Dear all, I'm building a PocketPC 2005 app. Using VS2005 (HW: IPAQ 6915 with Vodafone GPRS service provider). One part of this proyect is a simple file transfer using FTP. I’ll try different methods, using internet samples, using some advices included in this forum, MSDN, Microsoft, etc.. and for IS IMPOSSIBLE to create a simple FTP client. I’m using wininet ’s based custom library, SmartDeviceFramework20 objects, MSDN sample, etc.. and always get the same error: NotSupportedException . I’m download a shareware ftp client program and works fine, also I can use internet without any problems. Have any references or samples programs using Visual Basic, PocketPC2005 and VisualStudio 2005 ( I’m not an expert in C++ or C# so, that’ ...Show All
SQL Server Connection in transformation component
Hi, I'm on writing a custom data flow component (transformation). For this I need access to an external datasource. As best practice, it seems that you should use a connectionmanager in the package. But I don't really know how to access them. I've overwritten the AquireConnections() to lookup in the RuntimeConnectionCollection for the connection managers. But It seems it doesnt get called. If I call it my own, for example in validate (just for debugging purposes) the collection is empty, although there are two connectionmanagers in the package. What am I doing wrong or has someone a code snippet for me. Thanks T. To make the package connections available within the AcquireConnection or R ...Show All
Visual Studio Express Editions Object reference not set to an instance of an object when showing a form
I am getting an InvalidOperationException error when I click on a button that shows a form. The line of code that throws the error is: Catalog_Form.Show() The exact error message is: An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object. The strange thing is that the form was opening fine a few days ago, then all of a sudden it's not letting me open the form. I'm not sure what I could have done. I was doing some work on other forms, but not the one in question. I have no idea what I need to fix/change/update to fix this problem. Any thoughts/help Thanks, John This can happen when you have declar ...Show All
.NET Development manual IL code fails verification with "unable to resolve token"
Hi, I'm trying to write a (naive concept test) script that adds a prologue & epilogue to methods. It modifies the output of ildasm on an assembly to create a new IL file which I in turn compile with ilasm. It works by adding the following lines to the begining of every method: call class [Reflex]Reflex.ReflexWriter [Reflex]Reflex.ReflexWriter::get_Instance() callvirt instance void [Reflex]Reflex.ReflexWriter::Enter() It works on very simple assemblies I compiled with C#. To challenge my naive idea, I tried running it on the fxcop executable. The executable compiled but peverify fails with many similar errors, I copied the first one here: [IL]: Error: [D:\Program Files\Microsoft FxCop 1.35\FxCopy_trac ...Show All
Visual Studio Express Editions Making Application Start on Startup
Hi, how can I make my application start when a user logs on to windows (on start up) Okay, now I see what you mean, he wants the program to create an autorun entry during installation. Does this mean he doesn't want the end user to have control over it We'll have to disagree on this one, I prefer to add or delete the keys from within the program itself, usually within the preferences section of the application, that way users can decide the applications startup behaviour. I suppose it also depends of what type of application you are making. Sorry for any confusion earlier. ...Show All
Visual Basic Colour Combo Box
Hi, How do i get a combo box to display system colours As i am using it so the user can select the background colour for a graph. I have tried colourcb.text = color() but this produces an error any ideas Andy nogChoco, As i am rubbish at vb (new and all) How would i make your code eqal my colourcbo As in: i created your project and it displays three combo box's all i need is to produce the result you get in the combobox at the bottom (that displays aliceblue) in my colourcbo ( and be able to make selected colour variable equal to the selsect colour. By the way, very nice code Many Thanks, Andy ...Show All
.NET Development PingReply is slow
I have developed a Ping application using C# and it worked fine but after sometime, let's say a day it will be two slow so i have to restart the machine. i am currently using DOS ping command without any problem!! what's the solution.. Have you verified that PingReply is slow, or does your application simply slow down over time If you're using .NET 2.0 you'll probably want to use the SoundPlayer class instead of PInvoking PlaySound.... Since the String type is Unicode, you should use Encoding.Unicode instead of Encoding.ASCII. It's not a good idea to do lengthy operations on a tick event; this event is processed by the GUI thread; you're neednessly causing your GUI to be unresponsive while it processes the ...Show All
Smart Device Development adding vertical scroll bar in listbox.
hi, how to add vertical scroll bar in listbox in CF environment Env : VS 2003 - .NET 1.1 Thanks! Take a look a this: http://blog.opennetcf.org/ayakhnin/PermaLink.aspx guid=e1f4b429-cbb0-4d52-997e-f682f85340f1 ...Show All
.NET Development not quite sure what .NET technology to use for this
I have been tasked with developing a system similar to trading software that is used by brokers to bid and sell stocks. I have never developed a .NET application so this is to be my first. I have over 3years of programming though, so concepts are not that hard to grasp. I have read on web services, gone through a bit on threading and am not quite sure if it should be client server based. I have chosen c# as a language of choice. In brief, there are people in a room, each on a computer, bidding and selling for certain things. none of those people can see whats going on on the other's computer but each can choose to buy whats on offer, sell what they have or bid for something on sale. I think it is a typical in a stock trading floor. Its not ...Show All
Visual Studio Team System ACTUAL Expected Behavior of the <WHEN*>, <DEFAULT> and <COPY> Rules
I am reading through Section 1.16 in the Authoring Work Item Types document and although it makes perfect sense I am not actually seeing this behavior. To quote from the documentation: 1) A user gestures to create a new work item or edit an existing work item. 2) Fill in field defaults. For all fields, use any <DEFAULT> rules which are outside <WHEN*> rules. 3) Copy field values. For all fields, use any <COPY> rules which are outside <WHEN*> clauses. 4) For all fields with a <WHEN> rule that matches first do <DEFAULT> then <COPY> rules inside. 5) For all fields with a <WHENNOT> rule that matches, first do <DEFAULT> then ...Show All
Visual Basic I have exactly the same problem
I have an application written in Visual Basic 6 that uses an ActiveX control written in Visual C++ 6. I'm moving the visual basic 6 application to visual basic .NET (2003). The problem is when I try to pass an array from the visual basic code as a parameter of a function of the control. In Visual Basic 6 the code is something like this: Dim dummy(10) as Long '... 'some code '... myActiveXControl.myFunction(dummy(0)) myFunction expects a reference of the first element of an array of Integers. Passing the first element of the array works fine in visual basic 6. But if I try the above code in vb .NET, changing the definition of the array for this one (type Long in vb 6 is Integer in vb .NET) : Dim dummy(10) as Integer ...Show All
Windows Forms Update the registry during install
Hi, i would like to copy the Install path directory the user types during setup into a registry key. Any suggestions Thanks! Francesc Phil, thank you very much. That took care of it. I've been brosing other threads and i have not found documentation on how to do this basic stuff. Can you point me to a good blog or forum or whatever where i can teach myself Francesc ...Show All
Visual C# Thread/GUI communication
Hi! I apologise for the cross-post some days ago. I have been using C# for a while and am having trouble coming up with a good model for GUI interaction. In most programs I write I need to spawn new threads because I find that networking code is unrealiable otherwise. Those threads need to check InvokeRequired and Invoke controls to do their updating in their own time. This is extremely cumbersome for each control that needs updating! I don't want to use a BackgroundWorker because I don't have one or two long-running processes - I want my whole backend running in it's own thread. What I end up doing now mostly is having a global (static) object where I mirror data presented on the GUI. The GUI runs a timer and copies that data to the cont ...Show All
Visual Studio 2008 (Pre-release) Getting elements from a FlowDocument during pagination
I have a FlowDocument and I use DynamicDocumentPaginator to paginate it in memory. Now I would like to enumerate all the elements on the DocumentPage (obtained with GetPage). The purpose is to read the the coordinates where the paginator put those elements (text, table, etc.). Any suggestion TIA, Raffaele I can try to find out if there is a reason we dont support resetting the enumeration, my best guess is there are content update scenarios that complicate enumeration. The fact that we throw NotImplementedException as opposed to NotSupportedException is a bug though You could always (a) dump the existing enumerator and re call GetEnumerator (b) cache the enumations items in a List<IInputElement> For ...Show All
