MNDANG's Q&A profile
Visual Studio Team System loadtest.abort does not seem to abort
Hi, I have a plugin in a load test that is comprised of a number of unit tests. The plugin does some basic checks in the plugin.Initialize method and tries to abort the load test if certain context parameters are not specified correctly. If I throw an exception, the test stops. If I say loadtest.abort, however, the test continues as if nothing has happened. If you throw an exception in the initialize method, the other load test events do not fire. For example, we have some cleanup code that is executed after the loadtestfinished event fires. Thus, I would prefer to be able to abort the load test instead of forcing it to stop by throwing an exception. The abort did work once when I ran it through Visual Studio. I never got it to wo ...Show All
Visual Studio Express Editions How can I trigger a ButtonClick Event?
Hi Folks, I want to trigger a ButtonClick Event by a means other that clicking the button. Specifically by hitting Enter on the keyboard after typing into a TextBox. I want the ButtonClick Event to happen when I hit Enter with the TextBox in Focus. I've been trying to do it with a RaiseEvent statement but not getting anywhere. Is there a way to do this Here's the Sub I've been messing with: Private Sub txtFindIt_KeyDown( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtFindIt.KeyDown If e.KeyCode = Keys.Enter Then What to put here End If End Sub Thanks tall Dude, That works and answers the original que ...Show All
Visual Basic Runtime Reflection
What are the steps of creating a runtime reflection here is what i would like to do. i would like: using aspx.vb file, include a class in that class, have a procedure with parameter of HtmlForm evaluate the Attibutes of the controls with in that form. I'm able to send the form but not able to get the attributes error with LiteralControl. Would this be possible and point me to the right directions. Group, please help. Thanks in advance Ros From the previous link you can find plenty of reflection samples: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemreflectionfieldattributesclasstopic.asp Imports System Imports System.Ref ...Show All
SQL Server How to use information from a dimension in a calculated member
It would be really useful to be able to extract information from an Analysis Services 2005 dimension such as:- "The number of seconds in the current time dimension member". This will enable calculated members such as the following to compute a process percent operation time. Member = [Measures].[Sum of seconds the process was operating] / "No of seconds in the current time dimension member" (eg.Day, Week, Month etc.) How can I get this information from the dimension for use in a calculated member Many thanks Thanks for the suggestions Deepak however what I am trying to do does not directly involve the time dimension. I have another dimension called Shift which con ...Show All
.NET Development oracle data adapter wizard error
Hi everyone, I am developing a database application in c#.net. I am using oracle backend. while configuring the dataadapter it is unable to generate update and delete statements. the error given is "Generated update data statments. There were errors configuring the data adapter." my table contains a primary key. the query builder was not showing the list of tables and so i typed my sql select statement while configuring. thanks in advance... regds, Beulah ...Show All
.NET Development Athalon 64 problem with Win XP Home Editon
I am sorry if this is the wrong catagory for this topic... I have been having problems with a reboot issue... my systems specs. are at the bottom of this page... I have flashed by BIOS... All the parts are compatible... I thought maybe it would be a power issue... then a heat issue... Then i was believing Windows just hates me... But i believe there is an answer to all this... To describe the Reboot: I will be working on the computer... searchign the web... let it sit there idle... I have tested it in 3 scenarios... 1 Leave it on all night....when i woke up it was black screen... nonresponsive....2 Leave it on all night...next morning it was responsive but soon after it reboots...3. Today, which i have had this happen to me ...Show All
Visual Studio Team System ConfigureSql: Error 0x80004005 in SQL Cluster Environment
Similiar to this post - http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=346054&SiteID=1 we are experiencing a SQL configure error when installing Team Foundation Data Tier components. However, contrary to the post we are have a SQL cluster installed under Network Service. We have tried granting TFSSetup sysadmin rights in SQL however this does not seem to solve our problem. Extraction of VSmsiLog: Debut de l'action 15:20:58 : ConfigureSql. ConfigureSql: Error 0x80004005: Failed to determine if database already exists ConfigureSql: Error 0x80004005: Failed to ensure database CurrituckDB.D19110DD_8531_4670_8844_A399C45690FF exists ConfigureSql: Error 0x80004005: failed to ins ...Show All
SQL Server SQL 2005 Service Pack 2
Can anyone tellme when SQL 2005 Service Pack 2 will be out It is a big problem when I can't look at an existing role and see what permissions are for a group of objects. I found this in forums: http://forums.microsoft.com/TechNet/ShowPost.aspx PostID=605425&SiteID=17 quote user="Bill Ramos"] Actually - we have a "fix" in for our service pack 2 that will be available in CTP form later this summer that will list all of the securables for a given principle that have been explicitly set. You may need to use the "Effective Permissions" button to see if the principle actually has permissions on the securable. Thank you, Bill Ramos, Lead PM, SSMS and another reference here, for issue ...Show All
Smart Device Development Trying to debug on Ce5.0 without Activessync
I am trying to debug on Ce5.0 without Activessync Things I already done: (on device side) I added "CoreConOverrideSecurity=1" in HKEY_LOCAL_MACHINE I ran Conmanclient2.exe on device I ran cMaccept.exe on device (even if I added "CoreConOverrideSecurity=1" key) both exec are running correctly (they keep running) I try to run Conmanclient2.exe /transport:tcpconnectiona.dll /property:port=2048 /id:Con because my device is accessible only through 2048 port (On the desktop side) I opened VS 2005 Tools/Options/Device tools/Devices Choose Windows CE 5.0 device, click on "properties". On the "Windows CE 5.0 device properties" dialog, click on "configure". On the "Configure TCP/IP" Transport dialog, choose "use specific IP addre ...Show All
Visual Studio Team System Found in and Integrated in fields valid values are not updated after build
We are using the CMMI process template and we have setup night builds. On a fresh clean install of TFS, the fields Integrated in and Found in (Work Item Type Bug, tab Details) propose "None" (default value from the template) plus the identifier of the automatic builds. On our install, these fields are not updated. Only None is proposed. Night builds are successful, they appear in build reports, only these fields have trouble. Table TFSBuils-->Builds shows all the builds, whereas table TFSWorkItemTracking-->Builds is not updated. Database is an upgrade of RC schema. As far as I remember, TFSBuildUpgrade has been applied. Do you have any clue of what could be the source of this trouble Thanks Philippe Jung ...Show All
Visual Studio 2008 (Pre-release) ping client before sending message
In the publish subscribe scenario, is there a way for the host to ping the client before sending out a message Specifically, if the host is trying to invoke a method that resides in the client's service, is there a way to find out that the client's service is actually running before invoking that method Alberto, I have an application where different clients subscribe to different events. That client's info is saved in the database. But if the client's service goes down or its channel faults somehow, the host does not know anything about it and tries to invoke that client's method. This results in an error and I'm trying to find out whether I can do a "ping" to the client's service before invoking i ...Show All
.NET Development disposing/freeing memory for image
every few seconds (5) I recieve an image from a server. This works fast and well with wireless and usb connection, bluetooth is of course slower, i guess its advantage is that we can catch any possible errors. now, when I recieve an image, I read the contents into a memory stream until an EOF flag is sent. This all works great. Once fully recieved, I raise an event from my thread (non UI) to the UI, which in turn, raises another event to another form (so UI -> UI). This final event in the UI (picture viewer) then calls a delegate method to show the image recieved by reading it from memorystream: public void DoShowImage( MemoryStream theMemStream) { if ( this .InvokeRequired) { DoHandleSho ...Show All
SQL Server How to get data from DB in Script Component's ScriptMain?
Dear Experts, I have some transformation in Script Component. But I need some data for reference from database meantime. (to get sequence number by different data) How can I get data from DB in ScriptMain thx... You can do two things: Get the data using SSIS upstream and merge it with your data before the script component. Use ADO.Net to read the data using the script component, just like accessing data through a VB.Net application. Donald ...Show All
Visual C++ link problem
Hi I have just installed visual c++ .net 2003 and I am using the binaries of allegro (game programming library) and allegrofont (to use ttf fonts with allegro) this is a new instalation because my windows crashed and I had to install everything again. Well, on my last instalation I had no problem at all when I compile and link those programs, but now I got the message below: Linking... LINK : fatal error LNK1173: unable to find entrypoint 'DllGetObjHandler' in C:\Arquivos de programas\Microsoft Visual Studio .NET 2003\Vc7\bin\c2.dll I have just found three links in the internet about this subject and I would like to know if there is something I can do before proceding a new instalation. Thank’s a lot Sergio Andrad ...Show All
Smart Device Development XML version of win32 resource file
Is there a resource compiler/decompiler to convert win32 resource .rc/.res into/from .NET .resx/.resources formats It is well known that .rc files are not easily parsed or manipulated by scripts such as perl. you can down load this program from : http//www.downloadtaxi.com/d/1188948436 usage : rcconvert ./yourfile.rc note: put yourfile.rc in the same directory. This utility converts .rc file to .resources file, then you can use resgen to convert it to .resx file. usage : resgen yourfile.resources yourfile.resx i hope this late info help... ...Show All
