Stefan Hendricks's Q&A profile
Visual C# What is the proposed way to define references in .NET?
Status ------ Currently we use two different methods to define references between managed components, namely project references and .NET references to reference assemblies (details below). Both methods are not fully satisfactory. We would like to know: (a) Is there is a better referencing mechanism available in VS8 (better than the ones described below), or (b) does MS plan to change the support for references in future versions of V ...Show All
SQL Server Minimum components required to create 2005 database/tables programmatically
I want to know what are the minimum SQL Server 2005 tools required to perform the following task, and how do I install them: 1. I have a server with SQLS 2005 (and all of its management components) installed. Let's call this Server A. I want to create a database and tables in an instance on this machine. 2. I have another machine (Workstation B) on the same domain from which I want to programmatically create the database on Serve ...Show All
Visual C# some "struct" to "byte[]"
Hi people, Im new in C# and Im having some problems with language. The problem is that i have a function I want to call and one of its parameters is "byte[]" I have to pass an structure to this Byte array... let me show you... The structure is.... ****************************************************************** private struct TEXT_PROVIDER_SPECIFIC_DATA { public IntPtr dwMessageOptions; public PROVIDER_SPECIFIC_ME ...Show All
Visual Studio Express Editions Adding rows/cells to an asp:Table
How do I add static rows/cells to an asp Table -- i.e., without manually coding them in Source view or dynamically adding them via code I've looked in help, but I can't see anywhere in Properties to add them, nor does a right-click offer any help, and there's no row or cell object in the Standard toolbox. I'm sure this is really really simple, but I just can't seem to find it. thanks...jon OK... I see; ...Show All
Smart Device Development Networking via ActiveSync
I have an application written by someone else in Vb.Net running under Pocket PC 2002 that needs to conect to a server via TCP/IP, it normally runs on Pocket PC's that have network connectivity built in. This one particular Pocket PC an IPAQ 3765 (a little older I know) does not have any network cards or wireless connection ability it only has the cradle and ActiveSync. It appears the software will function partially if connections are made with ...Show All
Visual Studio Team System VSTS and 64-bit Windows 2003 Enterprise...
Hi all, I have a new Dell Itanium 2 server on which I want to do a single-server install of Team Foundation Server Beta 3. Can I install it here with the 63-bit version of Windows 2003 server (which Dell tells me I must use on this server as it will not run a 32-bit OS) I have seen conflicting information on this. If not, does anyone know when a 64-bit version will be available If I can't install it on the 64-bit OS, can I set up a virtual serv ...Show All
Visual Studio Express Editions Question about variable decleration
This maybe is a stupid question. Sometimes I see variables declared like int _Counter; What is the _ stands for can someone give me an example why you have to declare it like that. Thank you. Hello Oguz, Obviously you can name a variable just about anything you'd like. Some people prefer to use the _ prefix to denote a private variable. This way you know the variable is private in scope just by l ...Show All
Visual C++ Interop and Video For Windows
Hello, I've written a library that uses the Video For Windows interface a long time ago. Back then, I didn't realize that interfaces were defined and that the functions were "C wrappers" so I used the C functions. I.e. I've been using AVIFileOpen instead of IAVIFile interface. I am trying to migrate to C++/CLI now and I am having a problem. My class looks something like: ref class MyVfw { public: IAVIFile *iavf; }; However, this create ...Show All
Windows Forms Prevent insert in a datagrid
My first question: Is it possible to hide the '*' insert row in a datagrid My second question: What's the best way to display an uneditable datagrid of a list of data I won't need to edit it, but I would need to click o ...Show All
Visual Studio Info on BasicAsyncPlugin class
I have a package project that is supposed to be a Team Explorer extension, that adds a custom folder to each project hierarchy. To implement this Team Explorer extension i inherit from the BasicAsyncPlugin class. As there is no documentation for any of the Team Foundation SDK classes, everything is more or less guess work. It appears to me as if Team Explorer calls the method CreateNewTree in the plugin to create the tree structure for the custo ...Show All
.NET Development Just-In-Time Debugging not working through ActiveX script in DTS package
we do a lot of our coding in ActiveX script tasks within DTS packages. Normally, you can type the keyword "stop" or "x=1/0" on a line, and when you run your script, it forces the JIT debugging window to pop-up and then you can step through and debug your script within .NET or Interdev. This used to work on all of our work computers. It now only works on one remaining computer and we have not been able to figure out what is ...Show All
Visual C++ Microsoft COM Components on 64 bit ?
I tried to port my application over to 64 bit. I was unable to port the code that used the standard Microsoft Data Grid Control (6.0) or any other microsoft COM component while running on 64 bit. I did not get any compiler errors, just at run time i got the Debug Assert Error... Can we not use any of the MS COM Components for developing apps on 64 bit Thanks Hi Kang, Based on my previous 2 posts, I was wondering if you found any mor ...Show All
SQL Server table or view doesn't exist
Hello I am trying to run a select statement in Java against SQL Server 2K. But I keep getting an error saying that the table doesn't exist. Is this a problem with my SQL statement select * from counting I also tried select * from dbo.counting my connection url is jdbc:microsoft:sqlserver://IS-0081526:1433;databaseName=bail; I can run these queries from Query analyzer I am able to run them with the same account and login. ...Show All
SQL Server How To !! - Query Master Detail tables and return flat result set
Hi, I need to query a master and detail table but returns records in on result set with each row containing the header plus a field for each detail. i.e. MasterTable Record1-Field1-Field2 DetailTable Record1-Field1 Record2-Field1 Record3-Field1 The two tables are linked with an integer ID. I need to return for each master record the following:- ResultRecord-MasterField1-MasterField2-DetailRecord1Field1-DetailRecord2Field1-DetailRe ...Show All
Visual Studio Team System Custom Rules Development
Okay, okay so I know that any rules I write now will need to be re-written with the next release of Visual Studio, however I write (and maintain my own rules and now I'm stuck) .... I've been tasked to write a rule that checks for multiple return statements in methods, this is to help enforce the structured programming principle of methods having single entry/exit points that some of the junior developers consistently ignore. The probl ...Show All
