Software Development Network Logo
  • VS Express Editions
  • Windows Vista
  • Visual C++
  • SQL Server
  • Visual FoxPro
  • Windows Forms
  • .NET Development
  • Visual Studio
  • Smart Device
  • Visual Basic
  • Visual J#
  • Microsoft ISV
  • VS Team System
  • Windows Live
  • Game Technologies

Software Development Network >> Tom De Cort's Q&A profile

Tom De Cort

Member List

Sunny H
Telemachus
Gorbit
Aner Ben-Artzi
zreclay
Shabari
JasonCooke_MSFT
Ana Aguaisa
Jim Stapleton
PMass
DouglasN
madhan
Damien Sauveron
manny336
prashanthmscis1227
em malsi
eric_c007
Game Lover Jon
Ravi Verma_Ambala
Peterbriffett
Only Title

Tom De Cort's Q&A profile

  • Visual C# Pass by Whatever

    Hi! I am confused by the insistence of both Java and C# that passing a reference type is not pass-by-reference but pass-by-value. I take it that since you get a copy of the reference, they consider it pass-by-value Then, what is passed in pass-by-reference A handle (pointer to a pointer) And, if so, isn't it a copy of the handle that's being passed As you can see, I am missing something. Please, lay it out simply for me. (Pass-by-value--I get.) Thx! AFAIK, a reference type is passed, but if you change the value within the method, then a copy is made. If you use the ref keyword, then the reference continues to refer to the same ...Show All

  • SQL Server Force Execution on Import -- Ignore Duplicates

    I have a simply SSIS package with following data flow structure: Flat File Source > Data Conversion > Aggregate > Dervied Column > Ole dB Destination Basically, this package is executed on daily basis to import sales from a text file into sql server. Now there's a possibility that text file may contain previous sales (occasionally). My sql table structure enforces data integrity through primary key and therefore my package errors out if there's a duplicate in text file which already exists in sql server. I'm basically looking for a way to ignore these duplicates and continue to import rest of the file. I need a way to ...Show All

  • Visual Studio 2008 (Pre-release) create grid in richtext box

    Hi can anybody have any idea about how to create grid or canvas in a richtext box programatically thanx-prasanth The equivalent markup generated in Expression Interactive Designer looks like this - the markup is only a way to describe a heirarchy of objects, so your code just needs to reflect this markup. <RichTextBox x:Name="RichTextBox"> <FlowDocument> <Paragraph> <Grid Background="Red" Height="100" Width="100"> </Grid> </Paragraph> </FlowDocument> </RichTextBox> Grid grid = new Grid (); grid.Bac ...Show All

  • Visual Basic third-party installer for choice and security

    Does vb.net express offer a way for the developer or user to decide where an app would be installed or is a third-party installer necessary If so, any recommendations   McWhirter wrote: Thats good to know I was just whining to myself yesterday that the product comparison listed clickonce for the Basic Edition. I didn't wanna have to fork out the money for Pro. Now i might be happy :) Yes, I was pleasently suprised to find that out too. If you noticed (and unless it has been changed, haven't checked lately) the product comparison page, shows that the Express Editions don't have a depl ...Show All

  • Smart Device Development Form inheritance and the inputpanel control (SIP)

    I develop in VS 2005 with CF 2.0 and use form inheritance to put common functionality in a base form used by a number of derived forms used for editing of various things. In the base form I have a TabControl component. I would like to have an InputPanel component in the base form and respond to EnableChanged events so that the TabControl is resized based on the visibility of the SIP. When I add the InputPanel component to the base form the derived forms can no longer be designed because the IDE designer doesn't allow the use of device specific components or P/Invoke ("Visual inheritance is currently disabled because..."). After a ...Show All

  • Visual Studio 2008 (Pre-release) table of data

    I need to display the contents of an XML file in tabular form. The basic structure of the XML is; <table> <row> <column_name_1 /> ... <column_name_n /> </row> </table> where column_name_* etc could be <name>, <age>, etc. For example, <table> <row> <name>Bob</name> <age>32</age> </row> <row> <name>Alice</name> <age>23</age> </row> </table> Which should result in a table thus, [name][age] Bob 32 Alice 23 Unfortunately, what I am seeing is [name][age] 32 32 23 23 Obviously, my binding logic ...Show All

  • Visual C# Initializing an instance to a pre-existing instance

    Hello. I have a beginner question. If I create a new instance like below, what exactly happens Does the new instance reference the pre-existing instance, like a pointer, or does the new instance contain a duplicate of the pre-existing instance MyClass obj1 = new MyClass(); MyClass obj2; obj2 = obj1; //What is happening here I wanted to create a tile based game and store each tile reference in an array, but I guess that would mean using unsafe code and pointers which I want to avoid. Thank You You are correct, after "obj2 = obj1;" line you would have two references pointing to the same ins ...Show All

  • Visual Studio Does any one know how to use Contained Language!

    My task is to place sql statement in xml file ,but I need the contained language to parse sql statement ! See separate thread Can I extend the Xml editor. ...Show All

  • SQL Server Error Deploying Cube

    I have just installed Evaluation version of SQL Server 2005. Created a new database with two tables. Created new project with data source pointing to localhost and build a data source view containning tables from database created earlier. After creating the cube, I get following error while deploying the Cube: OLE DB error: OLE DB or ODBC error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.; 08001; Client unable to establish connection; 08001; Encryption not su ...Show All

  • Visual Studio Tools for Office refresh the reading pane

    Hello, Basically i'm writing a vsto add-in that modifies the emails that are presented to the user. i do this by retreiving the htmlbody property, manipulating it, and then setting it again to the new document. Most of the time, this works okay and you see the modified document. however approx 1/3 of the time, the reading pane is not refreshed and the old document is displayed. Somewhere else somebody suggested that you use the .close() method, except that this requires you to save or discard the changes. i do not wish to save the changes, and discarding them means that on the refresh the old document is displayed. if you switch out of the ...Show All

  • Visual Studio Add files in VSS 2005

    Hi there, I just learned from another thread that klicking on the [+] icon while holding Shift will only show files not already checked in. I prefer using my keyboard (IBM Model M from February 1986 :-) and Shift+Ctrl+A doesn't do the thing. Is there a keyboard shortcut for the old "Ctrl+A" function available TIA, Franz-Josef Hi Franz-Josef, I tried doing this in both VSS 2005 and Visual Studio and haven't been able to get it to work as you described. Can you give a little more information on where you're trying this out and perhaps a link to the thread you mentioned Thanks!, ...Show All

  • Microsoft ISV Community Center Forums Shared Addin using Word

    Hello Everybody, i have created a shared addin for word. i succeded with adding an item in the context menu of word (text context menu). The menu which appears during right click of a text. I did that thru adding an control button on "TEXT" commandbar which is for context menu thru addin. The problem now i am getting is the associated event for that command button which newly inserted is not firing. If i try to add the item in some other menus say "HYPERLINK CONTEXT MENU" or "WORDART CONTEXT MENU" etc., the click event of the menu item is firing properly. The procedure which i followed on both the cases is one and the same. I am sure that th ...Show All

  • Visual Basic using code written in C#

    Hi. I'm trying to use a code library written in C# in visual basic, but i cant figure out how to do it. Here's the library: i want to be able to use the functions in it in VB. I've tried compile it into a class library and then add it as a reference in visual basic, but it still doesn't work. mattias Where is the library There is no reason why you shouldn't be able to import and call a C# library from VB.NET, in fact to VB it will look the same as if it was also written in VB, as it's been compiled to the same IL. You need to define 'doesn't work'. Can you import it Can you call it Do yo ...Show All

  • SQL Server Is it possible to have record level security (via a lookup table) on OLAP cube?

    Is it possible to have record level security (via a lookup table) on OLAP cube For Example: Business entity table STORE contains STOREID, name, REGIONID, STATEID, COUNTRYID, address, revenue, expenses, opendate Business Entity Table USER USERID, Name Phone Address Entity Security table (records implies USER and access to STORE) STORESECURITY STOREID, USERID    Requirement: Implement a OLAP CUBE which allows a user to view STORE summary information on the REGION, STATE and COUNTRY dimensions taking onto account the user's rights to specific stores (via the STORESECURITY TABLE). ...Show All

  • SQL Server Documenting SQL 2005 packages

    Hi all I would like to select transforms in a package and paste them as jpeg or similar into word or powerpoint in order to allow me to create a separate set of documentation. However, whenever I copy some transformations and jump to word, the copy buffer is empty. Any suggestions Thanks Hi Jaysper, I use a very cool screen capture tool called HyperSnap. It is capable of capturing very long screens when you enable the "Auto-Scroll" feature. I find the picture quality to be just what I need for Documentation. I personnally do not use Word, I use a web page you can set up a j ...Show All

©2008 Software Development Network