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

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

Kardi

Member List

Fille
COBOLBeginner
Dmitriy Ovdienko
JamesPang
mattdawg
Burrough
vadex
Beetle54
robertje
steveareno
Badhris
Saiboro
blange
Nim Chu
GertB
Ahmad Mageed
SerratedSoftware
Music Mogul
EBeckers
Nick Martyshchenko
Only Title

Kardi's Q&A profile

  • Software Development for Windows Vista Vista Security - Privileges not enough?!

    Hi, I am trying to write an application using Event Tracing for Windows (ETW). And I am getting an "Access is Denied" HRESULT from the OpenTrace function. This is understandable because I am trying to start an NT Kernel Logger Session as outlined in MSDN. I am running this application through remote debugging with Visual Studio 2005 on Vista RC1. It is a command line application as it stands right now. Now, if I copy the debug to the remote machine and right click "Run as Administrator" everything works fine and I don't get the Access is Denied error. This is very inconvenient however since it does not allow for easy remote debugging. So I tried a programatic way of escalating my applications privileges, so I crea ...Show All

  • SQL Server 0xC02090F5 DTS_E_DATAREADERSRCUNABLETOPROCESSDATA

    I am moving over 100 tables from mainframe to SQL Server 2005 using SSIS all but 2 tables have worked to some degree. 2 of the packages when executed write 0 rows to SQL Server becaue they are getting this error 0xC02090F5 = DTS_E_DATAREADERSRCUNABLET OPROCESSDATA I have looked at the definitions on the mainframe and SQL Server side all looks good. I have looked at the data on the Mainframe side and there is nothing unusual. The Mappings are simple one to one mappings At one time I could even preview the data while in designer building the package but when the packages for those 2 tables are executed I get the same error. Other tools can read the data. Does anyone know what could possibly be wrong ...Show All

  • SQL Server advice/suggestions PIVOT

    Hi all, Please look at the attached - I think it works, but I'm looking for some comments/advice. Included is table creation, samepl data and the t-sql statement. [code] SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[DBO].[ProductPriceComparison]') AND type in (N'U')) DROP TABLE [DBO].[ProductPriceComparison] CREATE TABLE [DBO].[ProductPriceComparison]( [CatalogueItemID] [nchar](8) NOT NULL, [RetailerName] [nvarchar](100) NOT NULL, [RetailerPrice] [money] NOT NULL, [RetailerPriceCheckDate] [datetime] NOT NULL, CONSTRAINT [PK_ProductPriceComparison] PRIMARY KEY CLUSTERED ( [CatalogueItemID] ASC, [RetailerName] ASC, [Retai ...Show All

  • Software Development for Windows Vista FileNotFoundException in GetWorkflowDefinition

    When I used GetWorkflowDefinition, I got a FileNotFoundException: Could not load file or assembly 'file:///E:\MyWorkflow.dll' or one of its dependencies. The system cannot find the file specified. MyWorkflow.dll is the DLL containing my workflow definition. If I copy this DLL file to the directory of my program, the problem will be solved. What I don't understand is that, why does GetWorkflowDefinition still need the DLL file now that it is a method of WorkflowInstance I create my workflow like this: Assembly workflow_assembly = Assembly.LoadFrom(my_workflow_path); Type workflow_type = workflow_assembly.GetType(workflow_type_fullname); if (workflow_type != null) { _wi = __w ...Show All

  • Visual Studio Team System New TFS VersionTree addin

    All, I just wanted to let people know that a new TFS version tree addin for Visual Studio is available from the wesite below http://www.cupithome.com/foundationtree/home.html Please feel free to download and try it out. Jem Jem, If I were you, I would create separate version (call it Beta or Trial) to save all the hassle, and then if and when someone wishes to purchase it, would supply signed version download. I have seen that approach working fine with tools like PL/SQL Developer. Product keys just end up being distributed over the newsgroups... Just trying to be helpful... Regards, Eugene ...Show All

  • Visual Studio How to un-filter Help?

    I installed a third party toolset and at some point filtered my help results so it only hits on subjects in that toolset. When I look for help, I can't get to anything in 'vanilla' C# or Win32 subjects. For example, when I choose Help->Index and enter CreateFile(), I get zero results. My choices in the Filter By dropdown are limited to those in the third party help files. How do I set my help options to get the full array of available topics Eric Try going to the Collection manager (Help->Index enter "collection manager" choose subtopic Help) and check if there is something that isn't checked that should be checked.. ...Show All

  • SharePoint Products and Technologies problem about Impersonating

    I have added the "ReturnsPersonalInformation=true" markup to my method. But the code wiil throw exception when i run at : System.Security.Principal.WindowsIdentity wi = (System.Security.Principal.WindowsIdentity)System.Threading.Thread.CurrentPrincipal.Identity; And the error message: Unable to cast object of type 'Micorsoft.Office.Excel.Server.CalculationServer.WorkOnBehalfIdentity' to type 'System.Security.Principal.WindowsIdentity' any suggestion You need to enable delegation on your Excel Services (does this happen when you run in Excel, or in Excel Services ) In the console, on the server, run this: stsadm -o set-ecssecurity -accessmodel delegation iisreset This should solve the problem. ...Show All

  • Windows Forms Specifying the format for a column bound to an expression column

    I have a DataGridView displaying values which the user can format in Millions, Thousands, etc. I am setting the format like this: myDataGridView.Columns[4].DefaultCellStyle.Format = "#0,,.00" ; This works fine for all of my columns that are bound to a DataTable, except for ones where the DataColumn has an Expression specified (e.g. someCol.Expression = "Col1 - Col2";) In this case, no formatting is done on the value. Has anyone else encountered this Or is the DefaultCellStyle not where this should be done in the first place Thanks in advance. The format will only work with number data types. If you do not specify a data type for the new datacolumn c# will assume it is ...Show All

  • SQL Server a

    When I am using aggregations design wizard it is stopping at 49%, even through I am asking to go for 100% performance or choose until I stop option. This happens only to one cube, for other cubes wizard works fine. What could be preventing the wizard not to reach 100% Thanks. Chris Webb has a really good Blog entry about this subject that you can find here: http://cwebbbi.spaces.live.com/blog/cns!7B84B0F2C239489A!907.entry Regards Thomas Ivarsson ...Show All

  • Visual Studio 2008 (Pre-release) PropertyGrid

    I'm using a Windows Forms control in my WPF app and would like to get grid of it actually...is there a control replacement for the PropertyGrid :) Nicolas, You are right it's merely to have a pure WPF application because of all the differences between WPF and Winforms a Winforms PropertyGrid doesn't really make things easy to create a designer for a WPF application....actually I am finding that I have to do more work to adapt System.Drawing and System.Windows.Forms types over to their WPF counterparts and probably could have developed a rudimentary propertygrid in WPF. :) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. ... TRIDEX VB.NET dimistified Can it be done YES YES YES YES .............

    ok guys and girls a lot of people think you cannot use vb.net with XA, well either I am crazy or I am a wizard, it can be done the same way you do with c#, I have code for all the vb.net users who wold like to try it on my website, http://www.tridexconsultants.co.uk/pages/DirectxClasses.htm I am just waiting for the conetent pipe line stuff to get some animation into the models!!!! Every thing can be done including creating game components e.t.c, No secret to refrence an Assembly!!!! ... Tridex...      quote: "there are known that we know are knowns, but the knowns that are known are still unknown so....."   ok, but will this be possible in the ...Show All

  • Visual Studio Binding To Object

    Hi I have and object that has a one-to-many relationship to another one. (an object that has a property of another object, for example Person that has Address). I have Person's and Address properties in data sources as a tree. I have a table on the report, and assign the Person's and Address properties  to it's cells (in a drag-drop way). In run-time there are only Person's properties displayed correctly on the report. What can i do to fix this Class Person and Address code: public class Perosn { private string m_name; private int m_age; private Address m_address; public Perosn( string name, int age, Address address) { m_name = name; m_age = age; m_addre ...Show All

  • Gadgets MIME Types

    I am trying to serve our own gadget from our linux server and it keeps trying to come across as a .zip rather than a .gadget install file. Any help with what mime type to send would be appreciated :) ...Show All

  • Windows Forms How to create clickable pie chart?

    Hi, I have a requirement where I need to design a form in which I need to create a clickable pie chart without using any third party component. When I click on any area of pie chart it should be able to display the data accordingly. Any idea Thanks in advance. Pooja. Hi. Create a UserComponent, that includes a container of segment information. One Segment could contain the Color of the segment, percentage and for example string data. User can add Segments to the SegmentCollection. Then, expose a custom Clicked-event for your class. When user adds a event handler to the custom Click event, provide the event handler with information about the segment, by deriving a class from EventArgs and including the clicked segment ...Show All

  • Visual Basic Remove invalid character from string

    Hello -- this is probably super easy so forgive my lack of knowledge here ... but can someone help me out with this: I have a VB program that parses a text file. Within that text file, however, are "unrecognized characters" that show up as blocks when the file is opened in Notepad. Ex -- DCCG00000 When I actually parse some text from one of these files that includes this character and output it to the Console it appears as a double arrow similar to this: DCCG00000<-> How do I programmatically identify and remove these characters TIA! Here is a good example to do that : Dim Stn As String '= Something Dim VaildCharacters As String = "abcdefghijklmnopqrstuvwxyz" 'The ...Show All

©2008 Software Development Network