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

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

koolholio

Member List

Ameri
HSBF Lewe
Ray_bihpgh20
Spoofer
c_shah
Constantijn Enders
Gerhardo
zensunni
Sanjukta
missa350043
AdeptBlue
thinkfreeto
Pavan Contractor
Steve Dunn
Gliksman
dipeshnepal
Polity4h
kampak1111
AFTIadmin
Michael Dickens
Only Title

koolholio's Q&A profile

  • .NET Development SortedList

    First I made it like this: SortedList^ probcode; probcode= gcnew SortedList; probcode->Add((Object^) 1 ,L "There is a problem" ); probcode->Add((Object^) 2 ,L "Its too hot" ); probcode->Add((Object^) 3 ,L "Its too cold" ); It didn't work (Failed on comparing two items in mscorlib.dll), so I made it like this: SortedList^ probcode; probcode= gcnew SortedList; probcode->Add( "1" ,L "There is a problem" ); probcode->Add( "2" ,L "Its too hot" ); probcode->Add( "3" ,L "Its too cold" ); And it worked. Why   I had to correct a typo "ContainsKey((Object^)2))" but it runs fine, as it should. Is this code failing on your system ...Show All

  • SQL Server Checkpoint file used by another process

    I have an SSIS solution with 8 packages in it. I have checkpoint turned on with the 'If Exists' option. Each of the 8 packages have 8 separate checkpoint files specified. One out of two runs will fail with one of the below errors: The checkpoint file \\xxxxxxxx is locked by another process. This may occur if another instance of this package is currently executing. Checkpoint file \\xxxxxxxx failed to open due to error 0x80070020 "The process cannot access the file because it is being used by another proces I have checked all the settings and everything looks fine, looks like the problem is when you have many Control Flow tasks in a package and if two of them are completed at the same time and they try to write to this fi ...Show All

  • SQL Server Latest value for all members at a given point in time

    We have a fact table with a current balance record. For this balance rows are added to the table only when the balance has changed. This way we can reduce the volume in the fact table by not saving redundant information for every point in time that we want to analyze. In SQL it is a simple task to get a view of the lastest fact records for a given point in time. SELECT f1.* FROM factTable f1 WHERE f1.timestamp = (SELECT MAX(f2.timestamp) FROM factTable f2 WHERE f2.timestamp <= givenPointInTime AND f2.balanceKey = f1.balanceKey). In other words, the given point in time directly determines which rows should be fetched from our fact table, one row for each balance record (balanceKey). This row will of course include several dimension at ...Show All

  • Visual J# Problem converting my java sources to work in J

    I have just started using J# and am having an issue with using scanner to get inputs. I started by importing java.util but i get errors saying it doesnt recognize scanner. I saw that J# is supposed to have something equal to scanner, but how do i import it Any ideas to resolve this The following post might be useful http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=53556&SiteID=1 ...Show All

  • Windows Forms Steam, Runtime error

    --------------------------- Microsoft Visual C++ Runtime Library --------------------------- Runtime Error! Program: C:\Program Files\Steam\steam.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. --------------------------- OK --------------------------- Can anyone explain this to me and maybe give me a solution please Thanks Ken I'm sorry, but I have no idea, I'm afraid to say that only Steam will be able to help you. That error message means very little without access to the source code, and only Steam has that. ...Show All

  • SQL Server export to PDF (reporting services)

    Greetings!, Does anyone here know where to configure the document properties/security settings of PDF files generated by reporting services thanks! In addition to Brian, you have to keep in mind that even the features of PDFing your reports is limited and can’t be compared to the original product as their are relying on some older engine (Guess it was 4.0). HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • SQL Server ETL Delta Pulling Huge data.. Right approach ?

    Hi all, In an approach of building an ETL tool, we are into a situation wherein, a table has to be loaded on an incremental basis. The first run all the records apporx 100 lacs has to be loaded. From the next run, only the records that got updated since the last run of the package or newly added are to be pulled from the source Database. One idea we had was to have two OLE DB Source components, in one get those records that got updated or was added newly, since we have upddate cols in the DB getting them is fairly simple, in the next OLEDB source load all the records form the Destination, pass it onto a Merge Join then have a Conditional Split down the piple line, and handle the updates cum insert. Now the question is, how slow the s ...Show All

  • Visual C# Why Modifier can't be set like C++

    I am using C++ Language and learning in C#. But I used to set Public modifier as class cls { -----param public : -----method and param } Why C# don't have this. I think all modifier should be able to set as this method like C++. And can set like Java too. Or Microsoft has some reason Why it can't is syntax. Why it was designed that way has already been pointed out: to clarify member modifiers and to increase quality (by avoiding accidental and un-obvious modifier changes because a declaration's class offset was changed resulting in a different modifier). ...Show All

  • Software Development for Windows Vista Error when NOT using DependencyProperty but a "normal" type variable

    Hello, l et me explain my situation: I created a (sequential) workflow which contains a private variable defined in code-behind. This variable is filled when a new workflow instance is created, using the "namedArgumentValues" property of the "CreateWorkflow" method. The workflow uses the SqlWorkflowPersistenceService (with the "UnloadOnIdle" property set to "True") to make sure no information can get lost. When that private variable is defined as a "DependencyProperty" (which registers a type "TestApp.Document"), my workflow works just fine...even after a reboot! When the workflow is retrieved from the persistence store, the private variable is still filled. To test some ...Show All

  • Visual Studio 2008 (Pre-release) Error in Net.Tcp + CallBack Contract + Streaming

    Hi all, I am getting following error: "Contract requires Duplex, but Binding 'NetTcpBinding' doesn't support it or isn't configured properly to support it." when i am tring to open "ServiceHost". Waiting for positive reply. Thanx in advance. Pratik Thank you for your kind reply. And yes, my ServiceContract has CallbackContract. I am not using config file. Instead of that i am doing all things through coding. And it is as follow: Service: ====== using System; using System.ServiceModel; using System.IO; namespace prjVCServices { [ServiceContract(CallbackContract = typeof(ICliDesktop))] public interface IsvcDesktop { [OperationContract(IsOneWay = false)] void svcBuildStream ...Show All

  • SQL Server Concurrent Cube Processing

    Is it possible to have multiple incremental updates to the same cube or partition We have imports into the same cube that would occurr at different times as the data from multiple business areas is processed and becomes available to the cube for processing. Further to this, is it possible to query the cube when processing is taking place If so, what data is visible Is the data visible as each row is added to the cube or is it only available one the transaction is 'commited'. This is quite important for us since it will define the partitioning and processing strategy. I was actually wondering if you can have multiple independent processes doing updates to the same cube, but in different par ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where is the download?

    It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D it's past 9 am over here (Netherlands). By my calculations it should be past midnight Pacific Time... I'm bored of cleaning my Holy Grail, let's get this show on the road!! ...Show All

  • Visual Studio Team System CTP7 BUG - Block Schema Updates if Data Loss Might Occur - Does not block data loss

    CTP7 - Tools->Options->Database Tools->Schema Compare ->Block schema updates if data loss might occur IS CHECKED. - Project Properties->Build -> Block Incremental Deployment if data loss might occur IS CHECKED I would expect, as the options are self explanitory, that a deploy / or schema compare would be blocked when I refactor a COLUMN name. At least the refactor wizard warns you that there will be data loss if there is data in the table. If I don't use the refactor wizard I will not get this warning, and apparently the option does not prevent the update / data loss. Tests here have definately resulted in data loss using schema compare and deploy. Scenario - renamed a COLUMN from "Text7" to "Text4 ...Show All

  • Visual C# Caret Position SelectionStart, Simple?

    This should be simple... I have a maskedtextbox on a form, and I've added an OnEnter event which I want to set the caret position to zero (it defaults to the end). From what I've read you should use the SelectionStart Property to do this, but I can't get it to work. In the debugger it seems to reflect the correct selectionStart position but even though I set the value the caret doesn't get repositioned. I've also tried setting the selection length to various numbers along with the selectionStart... Any help would be greatly appreciated. I've gotta be doing something wrong. This is driving me crazy! This didn't work, I stepped through the debugger to make sure the event is being fired but sure enough it fires correctl ...Show All

  • SQL Server INSERT command question

    I am working from C# VS2005 environment. My databases are in SQLEXPRESS. All tables have a unique Primary Key field. The key is just one field of int value that has seed 1 and autoIncrement 1. My question concerns a Stored Procedure that I just created. If "executed" fine. I did not get any compillation errors My question is: if I called this procedure from C# code with paramaters I specified will it create a NEW record for me which is my intent I did not specify the Primary Key field value: it is not among parameters. I hope that when the first record is created it will be seeded with value = 1 and the subsequent records will be autoincremented by 1 each time. Am I right If not then how shall I specify the Primary Key val ...Show All

©2008 Software Development Network