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

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

leahcimp

Member List

mracuraintegra
Al Christoph
Adam Carpenter
Kobingo
bryanedds
Nneuromancer
xVxObliVioNxVx
Warren13
ZopoStyle
M.N. Ahmed Sahib
mpetanovitch
Apolodor
manjuWicky
Alquimista09
hmayer
ChrisMoje
Tom from cener.co.uk
TheJet
IrishGandalf
MelissaA
Only Title

leahcimp's Q&A profile

  • Visual Studio 2008 (Pre-release) [Animation] Rotate, Scale and Translate transform

    Hello, in my animation i draw two ellipses on the screen and animate motion between them. While animating only translation and scale transform everything works fine, but the things get complicated, if I try to add rotation. I thing problem is in the RotateTransform.CenterX(and Y)Property. I am not sure, how to set these properties. The rotation point should be the ellipse center. Meaning, if i set these properties to height/2 and width/2, the rotation should work fine. But only if objects width and height stay the same. In my case, they are changing during animation (scale transform). Is there a simple way to overcome this problem. Thanks. Just a thought. Width and height do not change as these are th ...Show All

  • Visual Studio Team System Question regarding published test results

    Hi, We are currently evaluating VSTS for Testers as a solution for our automation. I was looking for a way to export the results so that someone that is not hooked into VSTS to be able to view results. Specifically we have a customer that wants a report of response times for certain areas of our application. I tried searching out the answer, but could not find what I was looking for, so thought I would ask. Is this possible Disclaimer: I/We are very new to the Automation thing, please be gentile :) Hello, The .trx files (results files) generated by Visual Studio Team System when running your tests are xml files that you can open with any xml editor. You could use several tools to go through this xml files and generate your r ...Show All

  • Visual C# How to save and retrieve any color?

    How to save and retrieve any color that the user selects from the ColorDialog box I'm using C#.Net 2005 and my database is in SQL Server 2000. Please help me out. Best Regards |\||\|\|| I assume you have a problem writing the color in a format that a database can handle. Color.ToString doesn't work, you can't translate it back from a string to a color. Try using Color.ToArgb to convert it to a 32-bit number and Color.FromArgb to convert the number back to a color. ...Show All

  • SQL Server Getting Return type from Stored Procedure

    Hi all, I am trying to figure out a way to analyze a stored procedure to deduce its output type. A stored procedure can return values throught one of the following: 1) Using the Return keyword 2) Returning a recordset 3) Throught its Output parameters 4) A combination of 1, 2 or 3 Using the Information_Schema, you can access the SQL code of the stored procedure from, say, VB.Net. From there, I want to know what output type the stored procedure has. A) for 1), I guess I can parse the code for the 'Return' keyword, but that wouldn't be efficient, for the 'Return' word could be inserted into string values... B) for 2), it would be difficult to analyze the stored procedure's code to know FOR SURE whether a recordset ...Show All

  • .NET Development unexplained timer event

    Hi, When the user clicks a command button, my VB app starts a piece of hardware and then enables two timers: one timer callback reads and queues data from the hardware; the other timer callback processes that data. When all data has been processed, the timers are disabled (enable property set to false). When the command button is clicked again, one of the callbacks occurrs even though the code has not yet re-enabled the timer. That's not good for me. It acts as though there a backlog (queue) of timer elapse events remaining from the original run. Can that be The callback execution time is greater than the timer elapased setting. (The callback exits when it sees that a previous event of itself is still executing.) The flow ...Show All

  • Software Development for Windows Vista Depth Buffering using VMR9

    I've modified the VMR9Allocator sample that ships with the Windows SDK so that I can play to video files on two textures on two different rectangular surfaces. I want to use depth buffering in the scene with the two rectangles playing video. However, when I turn on depth buffering, the video images are corrupted. It looks like adding the Depth Buffer causes DirectShow to stop functioning properly. If you look at the VMR9Allocator sample, I changed the PresentParameters to use auto depth stencil so the two rectangles with be able to display one on top of the other according to depth. What am I doing wrong Does the VMR9Allocator need some additional setting to deal with depth buffers dear, i have ...Show All

  • Visual Studio Tools for Office Retrieving Data from Excel Pivot tables into Datatable

    Hi, Has any body so far retrieved Excel pivot data in to ADO.net If so please let me know your approach. For some reason i get more exceptions to my pivottable/cache objects than values. I am using the below namespaces. Pl. let me kowif i missing any using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Office = Microsoft.Office.Core; using Excel = Microsoft.Office.Interop.Excel; using System.Runtime.InteropServices; using Microsoft.VisualStudio.Tools.Applications.Runtime; using System.Data.OleDb; using System.Data.SqlClient; using System.Data.Common; And here is all the code: i have a ui fro ...Show All

  • Visual Studio Express Editions problem with SQL

    Dim totaltext As String totaltext = "SELECT SUM(Contributor) FROM GENERAL" Total.Visible = True Total.Text = "Total no of contributions is <b> " & totaltext & "</b>" Im trying to return a value here ie, a number. Its supposed to count the total no of contributors from my database and return me the sum. However, with my code above the label Total always returns me a String instead. Based on the current code,the result is: Total no of contributions is SELECT SUM(Contributor) FROM GENERAL This is wrong. How do I edit the code if I want the output to be: Total no of contributions is 20 How do I make it return an interger instead of just the whole string.. Pls hel ...Show All

  • Visual Studio Express Editions Bullet Points in a rich text box.

    Any ideas on getting bullet points in a rich text box Thanks Try something like this: RichTextBox1.Text = " Hello world" RichTextBox1.SelectAll() RichTextBox1.SelectionBullet = True ...Show All

  • Visual Studio Express Editions I need to open an existing txt file on a button click.

    Hi, I have a txt file that needs to be opened so that i can view the data/information in the txt file on a button click. I tried Response.ContentType = "text/html" but it doesnt open the txt file. When i tried the same for an excel using "application/vnd.ms-excel" it opened. Can someone help me in opening the txt file. -Rajesh. I assume you are working in Windows Application: Use this to open any file in C#: System.Diagnostics.Process.Start(completeFilePath); example: System.Diagnostics.Process.Start(c:\\Hello\new.txt); I think, this is what you need! Best Regards, ...Show All

  • SharePoint Products and Technologies MOSS2007 Thousands of connections to SQL Server, server crash

    Hi, I have some serious issues regarding a webfarm of MOSS2007 in an production environment. The webfarm is one frontend with MOSS2007 and one databaseserver with SQL 2005. The problem is that after a while,say a couple of hours in the production environment, the connection between MOSS and the DB is lost. When running netstat it displays that Osearch(mssearch.exe) has up to 5000 Established connections to the SQL Server!! A restart of the server works fine, but after a while the problem is back again. The search, crawling etc works fine. I have setup a dedicated account that has all the required privileages both on DB server and on frontend. I have recreated the SSP from scratch a couple of times, the server has been fresh instal ...Show All

  • Visual Basic Notepad program wants to write Fonts and Colors in XML.

    Hello, I have a notepad program which saves file in xml format. It saves current color and font along with all features in FontDialog and ColorDialog like underline etc. Here is the sample of a file i created in the program. < xml version="1.0" > <File> <Format> <Fontface>Tahoma</Fontface> <Fontbold>True</Fontbold> <Fontitalic>False</Fontitalic> <Fontsize>15.75</Fontsize> <Fontunderline>True</Fontunderline> <Fontstrikeout>True</Fontstrikeout> <Fontcolor>Color [Red]</Fontcolor> </Format> <Data>Testing</Data> </File> Now as you can the problem is with Color... coz sometimes the Col ...Show All

  • Software Development for Windows Vista Super Slow Indexing

    Hey everyone. My name is Scott, and this is my first visit to ths msdn forums so howdy all. My issue is with three processes that, I believe, are acting in a way that they shouldn't be. Here they are: SearchFIlterHost.exe SearchIndexer.exe SearchProtocolHost.exe I looked them up and I believe they are Windows Desktop Seach. Basically what happens is whenever I try to explore any directory (whether its the root of C:\ or some deep subdirectory) on any drive (even the control panel), it takes about 10-15 seconds to display all the files/folders that should appear relatively instantly. The little green progress bar moves across my navigation bar, and then it works. I discovered that windows desktop search makes periodic updates the the In ...Show All

  • SQL Server question on tasks

    hi, if a package fails on error, would i be able to know code wise which particular task failed also, if the task is using a connection manager, how will i be able to access that particular connection object if a task fails, i want to be able to do this PROGRAMMATICALLY on error event: 1. know which task failed and get the connection object used by the task, if any. 2. so that i will try to establish connection to the connection object and 3. reexecute the task if #2 is successful. please let me know how to do this. thanks. ...Show All

  • .NET Development In what public version of the .NET Framework will fixes to the BCLs appear?

    Hi all, Since the pre-release days of VS2005 and the .NET Framework 2.0, I've been posting bugs up on connect about various issues, e.g., ToolTip control and other Windows Forms widgets. We're coming up on two years now, has the core version of the .NET Framework changed On my XP machine, version string is 2.0.50727.42, which is RTM I believe for the .NET Framework 2.0. I do notice a different version string when running .NET 2.0 apps in Vista. 1. Will we have to upgrade to the ".NET Framework 3.0" to get the fixes in the CLR and BCL 2. In what version will changes in the CLR and BCL appear 3. Any thoughts on when these bugfixes will appear in terms of a public .NET Framework release Thanks, --Mike ...Show All

©2008 Software Development Network