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

Software Development Network >> Rui Fiske's Q&A profile

Rui Fiske

Member List

Bastiaan Molsbeck
JDee
lpx
gr8mind
MarlAtkins
Minherz
BioSlayer
Chris Baldwin - MSFT
Carl Berger
KAAU
KentaroM
Yabadabadooo
Newt.Net
kesim
pomp
little_girl
MarkNi
ECHS BACHS
KAAU
mreitano
Only Title

Rui Fiske's Q&A profile

  • Visual C# Number Combinations

    Ok. What I need is a method that discovers all the different combinations of any give set of numbers. For example, if my numbers were 1, 2, 3 all the possible combinations would be 123 132 213 231, ect. Can someone help Here is a simple, recursive solution (up to you to implement it): - If you're going to construct all the possible combinations of n characters, all you need to do: - Find all the possible combinations of n - 1 other characters, and prepend the n-th charachter to that result. Here's an example in php: function permutations ( $string ) { $results = array(); // only 1 letter -> only 1 permutation if ( strlen ( $string ) <= 1 ) { $results [] = $string ; return $results ...Show All

  • Visual C# Detecting changes for "Save" and "Save As..." purposes

    I have a base abstract class that contains a generic dictionary. All of the derived concrete classes inherit this dictionary. The Value of the dictionary is of the base class Type. This is to allow adding/deleting of derived types. Ok, what I would like to do, is detect when changes have been made in the object model, so that I can implement a "Save" and "Save As..." method. What is available out there that allows me to do something like this For your custom object type, you have to implement the Equal() method yourself to tell in what condition the two objects of that class is equal. public class Robot {         private string name = "";        ...Show All

  • Visual Studio Team System Schema compare locks up

    I ran a schema compare between two live databases. While in the process of choosing to skip certain objects, I clicked on update for an object and the application froze. I checked task manager and my processor was at 100% and devenv.exe had 99% of the CPU cycles. After 4-5 minutes, I killed the process. I had tried the same compare multiple times. It seems to function properly the first time I select schema compare, choose objects to skip, and then script the changes, but on the second time I execute it, on about the 20th change from update to skip, the visual studio freezes. This is the trial version of visual studio team suite with the database professional edition and I have applied the team services service pack. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Indexed Vertices - (in)visibility through index flip?

    This is more a basic question and I currently lack the time to try it myself, so I hope that somebody can give me an answer to this: Considering you have a huge vertex buffer and index buffer that you blast to a shader, forming e.g. 100.000 primitives. Now I would like to hide a bunch of known primitives completly and I know that they form a fully enclosed form like a pyramid or a cube. Extracting them from the buffer would of course be an expensive operation as I would have to rebuild the buffers. But would it work if I just go ahead and flip the indexes in the index buffer for each triangle, e.g. the first and the second from each From my understanding the object would effectively become invisible (if the camera does not move inside t ...Show All

  • SQL Server InteractiveSize not behaving

    Hello, I'm having an issue where a report's Interactive Size property is not obeying what I tell it. My report has the standard portrait settings (8.5x11 for PageSize and InteractiveSize). However, when I render the report in Visual Studio, the pages' lengths are obviously much taller than 11 inches. Therefore, the number of pages in the viewer are much less then when I actually print the report. As an aside, if I set my InteractiveSize's height component to 7 inches, only then is the viewer close to the printed output. I have no idea where the 4 inches is going. Also, I have tried all kinds of iterations of substracting margins from my height and it brings me no where close to where it should be. Any ideas ...Show All

  • Visual Studio Team System TF80070 Error in Microsoft Project

    We are using Team Foundation Server Workgroup edition. I open up Microsoft Project and 'Choose Team Project'. Then I can 'Get Work Items' into the project, but it throws the error below before all of the work items are rendered (but they all show up after I hit OK). Also I can't 'Publish' or 'Refresh' the Work Items from Project. When I try, I get the following error: "TF80070: Team Foundation encoutered an error while performing the operation. It is recommended that you save your work and restart the application." Any help/ideas would be greatly appreciated. Looks like if I can publish changes for Bugs, Quality of Service Requirments, Risks, and Scenarios. But it gives the error when ...Show All

  • SQL Server How do i getting many Rows from a single XML column?

    using SQL 2005... I have a table called training. It has 2 columns ID and data. The ID column is a INT. The data column is an XML data type that contains XML looking like the following: <TrainingRequests>  <TrainingRequest>   <ProgramName>Learn SQL 2005<ProgramName>   <UrgencyLevel>3</UrgencyLevel>  </TrainingRequest>  <TrainingRequest>   <ProgramName>Learn To Walk<ProgramName>   <UrgencyLevel>1</UrgencyLevel>  </TrainingRequest>  <TrainingRequest>   <ProgramName>Learn To Eat<ProgramName>   <UrgencyLevel>1</UrgencyLevel>  </TrainingRequest ...Show All

  • .NET Development Can't use Word APIs

    I wrote a C# app that uses the Word PIAs to parse some data out of an existing Word doc. It works fine. Now I invoke my app via a web service and I get the error: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80080005. I went into Component Services | Computers | My Computer | DCOM Config | Microsoft Word Document and set the appropriate security settings but it still fails. Can anybody help VS 2005, Win XP Did this last suggestion fix everyone's problems I'm interested to find a solution to this since apparently so many people are hitting the same problem! thanks Alex ...Show All

  • Visual Studio 2008 (Pre-release) Why does ClientBase Dispose need to throw on faulted state? (Or, what's the difference between close and abort?)

    Could someone enlighten me as to why calling Dispose on a faulted client proxy needs to throw an CommunicationObjectFaultedException instead of just aborting the client   Essentially we have to do this: Client c = new Client(); try {  c.Foo();  c.Close(); } catch (Exception) {  c.Abort();  throw; } Instead of: using(Client c = new Client()) {  c.Foo(); } Yes, I've read the justifications in the SDK and here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=627970&SiteID=1  but the "summary of internal discussion" seems to be "well, that's what we're doing, so deal with it." I still don't understand why Close must throw instead of just, well, closing I know I'm going to have to live with i ...Show All

  • Visual C# "Clean Solution" is missing from the Build Menu

    subject says it all. anyone knows ahy Hello All. Hermano Cabral: You can add this to the Build menu by right-clicking the menu bar and selecting "Customize." This will bring up a dialog that will show you all of the available commands for each menu. Select "Build" and about halfway down you will find "Clean Solution." Just drag that icon to the "Build" menu and the command will be added. HTH. ...Show All

  • Visual Studio Team System MS Project and TFS questions

    Here are some more issues that my client has encountered while using MS Project with TFS. Are there any work arounds 1. TFS seems unable to deal with special characters such as brackets ' [' e.g. Smith, John [ABC Company]. When synchronizing Project after making changes on TFS, it doesn seem to be ok with special characters like commas and parentheses ',' and '(' e.g. Smith, John (JohnSmith) 2. When changes are made to Remaining Work and completed work, how does MS Project interpret those updates It seems that the finish dates are dependent on the values entered in TFS. There is no easy way to 'approve' the changes before the update is done ( like with PWA). Hey...if your company having the VSIP membership or gold partne ...Show All

  • SQL Server SQL 2000 CALs on SQL 2005

    Hallo are CALs bought for SQL2000 valid for SQL 2005 We're going to move the database servers from 2000 to 2005, and would like to know if we need to buy new CALs too. thanks ...Show All

  • Windows Forms volume control

    hi I'm using VB 2005 Express I would like if you could give me a code snippit / sample - for volume control I'm writing a program that uses 8 volume faders for wave output and 1 for master output + balance and mute I have the sliders all set up but now I need the code that will give me volume controle inside my application/program at runtime. I have looked evrywhere - but cant find info about this please can you help ...Show All

  • Windows Forms HTML Editor (WYSIWYG)

    I'm looking for a HTML (text) editor for a WinForm application. Do these exist Try this query from the Oracle... ...Show All

  • .NET Development Error: Unable to open shim database

    I get this kind of events logged in the eventlog: Source: .Net Runtime Type: Error Unable to open shim database version registry key - v2.0.50727.00000. Is this 'normal' behaviour or is there a misconfiguration. I have this messages on Windows 2003 Server, on SqlServer2005 boxes as well on TFS app tier and Terminal Server running VS2005. Strange thing is: everythings seems to work OK... Rene Hello Jesse, It appears this is more of a global issue than just Excel. I am encountering the error running BizTalk 2004 (on 1.1) when an Http Receive is executing. I suspect any process that wants to host the CLR that lives on the COM side of the fence (could it be any other way right now ) thr ...Show All

©2008 Software Development Network