raq's Q&A profile
Visual Studio Team System Info about Datawarehouse adaptor architecture?
Hi, I recently read some stuff about the way TFS updates its datawarehouse. I got interested in the way the Adaptors work but I could not find any documentation about the architecture of the datawarehouse solution and the components that make up that part of TFS. It looks like they use new functionality of SQL Server 2005 to provide an intelligent way of mapping sourcedata to the storageformat in the datawarehouse. Does anyone know some documents on that topic I would like to read about how that works and see if I can use a similar way for one of my projects in the near future. TIA, JB If there is any public documentation available, it would be in the TFS documentation in the Visual Studio 2005 S ...Show All
Visual Studio Express Editions Instance of Class and context
Hi, I have a project that contains the following: Form1------------------Form AccountsForm-------Form Search-----------------Form AccUpdate-----------Class I have created the following instances of the above AccountsForm in Form1 and called it ObjAccountsForm Search in the AccountsForm and called it ObjSearch AccUpdate in Search and called it ObjAccUpdate My question is When I need to reference, forexample, the instance of the AccUpdate Class form within my project I am having to type the full context to its instance Form1.objAccountsForm.objsearch.ObjAccUpdate. somepublic property in this Class My project contains many more Class's, and I have had to draw a table to keep track of where each instance of a ...Show All
SQL Server Custom Data Flow Task throwing error when run from command prompt
Hi, I developed a custom data flow task in .net 2.0 using Visual Studio 2005. I installed it into GAC using GACUTIL and also copied it into the pipeline directory. This task runs absolutely fine when I run it on my local machine both in BIDS and using the script in windows 2000 environment. However, when I deployed this package into a windows 2003 server, the package fails at the custom task level. I checked the GAC in windows\assembly directory and it is present. Also I copied the file into the PipeLine directory and verified that I copied it into the correct pipeline directory by checking the registry. The version of the assembly is still Debug. I looked up documentation in MSDN but there is very little information about the error ...Show All
Visual Studio Can't debug threads anymore
since a couple of days, I am unable to debug inside threads with Visual Studio 2005 Something simple like below, leads to the effect, that the first breakpoint inside the thread function is hit, and when I step over, the program throws an C++ exception which is not catched by managed code, disassembly of the exception location is below the code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Threading; namespace WindowsApplication60 { public partial class Form1 : Form { private Thread myThread = null ; public Form1() { InitializeComponent(); myThread = new Thread ( ne ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Tool for converting animated GIFs to spritemaps/bitmaps
I basically wanted a tool to convert animated GIFs into a bitmap so that I could use the bitmap in a sprite. I couldn't find one, although I'm sure they do exist. In the end, I created one myself. Please feel free to download it. There's a link on my blog at http://blog.dunnhq.com . If you know of any other tools that do this, could you let me know Cheers, Steve Dunn. Paintshop pro comes with an animator product that lets you open animated gifs and open one of the frames in Paintshop. Once there you can do anything you like with it. ...Show All
Visual Basic Timer countdown?
Hi, Ive looked for like 4 hours and this is only for fun... How do I make a timer countdown to midnight for example. And could there be answers with the time to countdown to as what would be select in a combo box thanks. Nothing to hard don't strain yourself trying to help me... well basically you set the timer interval! so you could set the interval to 1 second (1000 milliseconds) and this will tick every second. in the tick event, simply find the difference between current time and the destination value using a TimeSpan object. you would need to declare your destination value globally so it can take that and compare it with the current time. something like... public class Form1 Dim destinationTime as DateTime = DateTi ...Show All
Visual Studio 2008 (Pre-release) How to find out horizontal/vertical resolution of screen in WPF
What will be an equivalent of Graphics.DpiX or DpiY in WPF considering that I do not have graphics object as I am using a custom map control hosted on a canvas and rendering graphics using visualCollection and visuals. Thanks Atul One thing to note is that the input units for positions/sizes/etc in WPF are already DPI independant. The units are 96's of an inch, and we automatically convert that to the appropriate number of device pixels based on the system's DpiX and DpiY. Ideally, this behavior will allow you to ignore the problem entirely. If this isn't the case, can you describe more about what you would do if you were able to access DpiX/DpiY so we can help get your scenario workin ...Show All
Visual Basic Custom Dialog Help
I created Dialog1 in my current project. I cannot figure out how to get it to come up when my "New" button is clicked. The various ways I have tried all fail. Thanks for the help. Double click on the new button in the designer to create a click event. Inside put Dim dlg as Dialog1 = new Dialog1() dlg.ShowDialog() That will work. Now, go and buy a book to help you get over the initial learning curve that includes these sort of questions. We will be happy to help you either way, but you really need some sort of reference to accelerate your early steps, or it will take you ages to get past them. ...Show All
Visual C# Reading digits from String
Hi guys, I'm kind of new at this and I seem to have very small experience on the C# language... I hope someone can help me out. I need to built a console application that will read a card number with the following format ( 999-999999-9). The program needs to identify the la number which the verification digit . With the digit it determine if the card number is valid or not. I started out using a long variable but it wont accept the "-" so i decided to use a string which it can take the entire statement as the software requires. How i can read the digits ignoring the "-" and storing the last number on a seperate variable Thanks Guys thanks for replying I got the first part of the program done thank to a ...Show All
Visual Basic Error codes
When I use an add command to add data to an Access dB, supposing that db doesn't exist or a connection is lost to the dB or anything atall, and my VB program returns an error to my program, rather than allowing it to crash is there an error code that gets returned that I can use to handle the program execution appropriately thanks tattoo place a try catch block around where you think the error would most likely happen, or rather, read the documentation on the class to see what errors/exceptions it will throw and place the try catch block around it. Example: Dim theOleDbConnection as new OleDbConnection( connectionString ) Dim theOleDbCommand as new OleDbCommand( commandHere ...Show All
Visual Basic Sort with gridview
Hello, I have been trying to get this to work now for 2 days and I must be missing something cause I don’t think it should be this hard. I have a gridview that I fill without using a datasourceid. All I want to do is be able to sort the columns however the user wants to. I have been able to find C code that helps but no examples with VB. I have got as far as being able to get to the sub gridView_Sorting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewSortEventArgs) but cant get past this point. Can anyone please give me a hint or send me to a good example on the web. Thanks Hi, How do you add the data to the grid manually Is the data in some sort of array that can be sorted If y ...Show All
.NET Development Deploying certificates for wse 3.0 web services
Hi everyone I was wondering if someone could help. We have an app and web services that we have built, the web services are secured using WSE 3.0 with certificate based authentication. Whilst everything has been developed we have been using test certificates but now we are getting close to the deployment stage. I have been trying to look for some information on how to use certificate based security in a production enviroment, but really can't find a great deal. I have been speaking to verisign to get a certificate that can be used but when it comes to deploying that certificate my mind is hitting a brick wall. Also this application will be deployed via click once. Can anyone help or has already used WSE 3.0 certificate security in ...Show All
Visual C# Am i in the wrong forum with this Query, could somebody direct me to the correct one?C# convert Excel to PDF or any image format
I have a C# application and i am trying to figure out the best way - or any way to retrive data from my excel file and convert it to a pdf file for printing. Thanks, Pam My main objective is to get the document to print wth all the current excel formatting on the client machines.. which is why i was looking for direct convert to a pdf format... but if i can even figure out how to convert to an image format like .tif, .bmp or a .jpeg i can still convert it to .pdf from there at run time... Currently i am trying to directly print it as: Microsoft.Office.Interop.Excel. ApplicationClass app = new ApplicationClass (); if (app == null ) { MessageBox .Show( "ERROR: EXCEL couldn't be started!" ); return ; //System.Windows.Forms.Applic ...Show All
Visual Studio Team System Outdated Work Items - Saving not possible
Hello, We have found a little annoying problem with Work Items, especially when working with Scenarios and/or links. 1. Create a Scenario, save it, keep it open 2. Create a Task and link it to the scenario, save it, close it 3. Edit the Scenario and try to save Result: You're not allowed to save the scenario; you first have to refresh it (and lose your changes). Workaround 1) Always Refresh work items before editing them Workaround 2) Don't "Save" Work Items, close them and say "Yes" when asked to save Best regards, Martin If someone changes the work item and saves it while you are editing the work item and then you try to save it then you get the error message to first refresh the wor ...Show All
Game Technologies: DirectX, XNA, XACT, etc. C vs C#
Currently I'm taking a C class at my university and I was wondering how different is C# from C code wise. Thanks Sebastian The C# language is a descendant of C, so it shares many common features, including operators, operator precedence, if/else/for/while constructs and much more. C# however is a modern object oriented language and contains many more sophisticated and useful constructs than C. Things like Events, Delegates, Generic Types, Runtime type information and reflection. Learn C for your course. If they don't offer C# at your university, start learning it on your own now. It's very important to learn an object oriented language early on in your programming career. It changes the way you t ...Show All
