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

Software Development Network >> David Chicks - MSFT's Q&A profile

David Chicks - MSFT

Member List

-Eric Bouguen-
StackAdder
mzKitty
jamieo1908
JSMARTIN
RDuke
Plume-Tsee
Brett Nieland
co-rd1
djenerate
Brian Corcoran
Davidsfg
ijemiD
Sarfaraz Soomro
lasouris
Egil Hansen131755
Miles Cohen
Alex Ward
Kapul
mg0123
Only Title

David Chicks - MSFT's Q&A profile

  • Smart Device Development is there IJW support for smart devices?

    I am attempting to mix unmanaged (C++) and managed (C#) code. Normally I would enabled CLR support for the C++ file that calls the C# code and rely on the IJW support in the linker to handle this. However, in the smart device application I am attempting to build, I don't see the option anywhere in the properties (for the project or the file). When I attempt to build, the compiler complains that managed code requires a /clr option. If I add it manually to the compiler flags (via the Command Line property) the compiler reports /clr as an unknown option. This makes me wonder if /clr is supported in the compiler for smart devices. Anyone know ...Show All

  • Visual C# Generics and Interfaces concepts

    Hello, I am learning how to apply generics and when to use it. I saw an example somewhere showing how to use constraints in generics, where you can specity a Type which implements an interface, something like this: class MyClass<T> where T : IMyInterface { //here come all sorts of toying with T } Now to my question: what is the advantage of using generics here Why can't I simply refer to the interface After all I am limiting T to be an IMyInterface implementation. Am I missing something Thanks in advance, David. Just some literature for you to read ;) http://msdn2.microsoft.com/en-US/library/512 ...Show All

  • Visual Studio Tools for Office Issue with Validation.Add

    I'm creating an excel sheet using VSTO and i have a situation wherein the user needs to enter only decimal values and that particular cell has a format set to percentage. Here is my code Excel. Range oRange = Globals .Sheet3.Range[ "TaxRate" , missing]; oRange.Validation.Add( XlDVType .xlValidateDecimal, XlDVAlertStyle .xlValidAlertStop, XlFormatConditionOperator .xlBetween, 0.0 , 99.9 ); oRange.Validation.IgnoreBlank = false ; oRange.Validation.ErrorTitle = "Not a valid tax rate" ; oRange.Validation.ErrorMessage = "Please enter a valid tax rate" ; Now, when i execute this i get a ...Show All

  • Visual Studio Express Editions upload XML file into database table

    I'm trying to create a WEB application that allows the user to upload an xml file. This xml file would then be parsed and loaded into a database. Does anyone know of code samples to get me started Thanks in advance. Well, you need to use a file selection control to upload the file. Then, you'd use an XmlDocument to parse the XML, and depending what database, one of the ADO.NET classes to move the data into the database. You may want to apply an XSD first to see if the file is in the format you expect. There are tons of examples on the web for any one of htese steps. www.codeproject.com is also a good site ...Show All

  • Visual Basic Updating multiple tables from one form using TableAdapters

    Hi, I am new to VB.net but have been programming in other languages for years. TablesAdapters are new to me... Most of my forms have one tableadapter on it - or only one that updates. Those work fine. However I have one form that is like a master form that needs to insert records to several different tables. For instance - there is the customer table which has a one to many relationship to the job table (on cust_id) which has a one to many relationship to the job_details table (on job_id). I have filled them with the tableadapter and added a new record. When I go to save this data to the database, the customer table updates cor ...Show All

  • Software Development for Windows Vista Error 2 and 183 while registering a windowe class and creatinga window.

    Hi all when i try to register a new Window Class, I get the Errors no 2 and 183 Error 2: The system cannot find the file specified. Error 183 : Cannot create a file when that file already exists. Following is the Code thats creatting these errors: LRESULT CALLBACK WndProc ( HWND hwnd , UINT iMsg , WPARAM wParam , LPARAM lParam ) { switch ( iMsg ) { } return 0; }   int APIENTRY WinMain ( HINSTANCE hInstance , HINSTANCE hPrevInstance , LPSTR lpCmdLine , int nCmdShow ) {   WNDCLASS wndclass ; HMODULE hmod = GetModuleHandle ( NULL ); wndclass . style = 0; wndclass . lpfnWndProc = WndPro ; wndclass ...Show All

  • Visual Basic menu dropdown list with check marks

    I am populating a dropdown list for a context menu at runtime. How can I place a check mark next to some of the items I tried (amongs others) Dim list As ToolStripItemCollection = ContextMenuSelectLine.DropDownItems list.Item(i).Checked = value This gives a compiler eror that "Checked is not a member of System.Windows.F...... ToolStripMenuItem". I can cludge it by declaring each item a " ToolStripMenuItem" in the loop, but that seems wrong. Any advice on the right way to handle this ToolStripMenuItem.CheckOnClick = True toolstripmenuitem.checked = true Does this help ...Show All

  • Visual Studio Team System How to create a report on Work Item Links?

    I have the Microsoft Report Builder open and am using a model based on the TfsReportDS data source. I see a pile of Entities on the left in the Report Builder model, including one called "Work Item" for example. The Work Item entity has a pile of fields in the box below that which I can use to populate my report. However i the Work Item entity, nor in any other entity after extensive browsing am I able to find any way of reporting on the links between work items. Logically these links would be entities unto themselves, but I can't find them. Am I missing something How can I report on these links In order to report o ...Show All

  • Architecture WSE 3.0 solution

    I am designing a system that will be using WSE 3.0 with RM for message transfer. One of the endpoints of this system is BizTalk 2004 (may be 2006), which does not support WSE 3.0 natively. That means that I need to have Web Services component that will unwrap the message and send it (or drop it) to Biztalk. What would be your suggestions for exchanging messages between this Web Services component and Biztalk What's the interaction style with the other end-points in the system for example, if it is asynchronous you probably want your adapter to just take the incomming message and post it to MSMQT (in a (distributed) transaction s ...Show All

  • Visual FoxPro richtext control and memo fields

    Is it possible to store full content of RichText.RichTextCtrl.1 in a memo field I tried to define it in a table as Display Class OLEboundControl but it did not help. I do have RTFControls class attached to the form. Thank you. Yes absolutely you can save RTF content in a memo field (and not only you can but you should do that way instead of using General field). You wouldn't use OleBoundControl. Instead you'd directly use RTF active control (OleControl not OleBoundControl). See sample in solutions.app ...Show All

  • Visual Studio Register and view Help 2 collection files on a MS Virtual PC

    1. I apologize in advance for being born a blonde (alas, no longer!), but what is the easiest way to register and view Help 2 collection files on a MS Virtual PC   When I use the naespace.exe to view the Help 2 collections registered on my PC, I see that all of them have a filter sub-folder with a DocSet command string for the Help file that is visible in Visual Studio.NET IDE. They also have a titles sub-folder, with the GUID to register the Help 2 collection.   My PC does not show my latest version of my Help 2 project and there is no Filter folder.   2. What is the easiest way ...Show All

  • .NET Development cached dataset or sql table

    Hi... I have an xml file with approx 3000 nodes..i need to create a keyword search facility and am undecided on whether to go down the cached dataset route with results extracted into a dataview or just use a sql table..does anyone have any experiences or comments to share...thanks ang That really depends. If DB or network issues have ever caused bottlenecks, then it would push things toward the caching side. If data needs to be absolutely current, the same thing holds. In general, I opt for using a dataset and query it, just b/c it takes strain off the db and network, but i've encountered a few times where we ended up changing it b ...Show All

  • SQL Server EMail Notifications

    Yukon Apr '05 CTP Using Notification Services Trying to send out notifications by mail Entry in the instanceconfig file   <DeliveryChannel>       <DeliveryChannelName>MailChannel</DeliveryChannelName>      <ProtocolName>SMTP</ProtocolName>       <Arguments>        <Argument>          <Name>SmtpServer</Name>          <Value>1.1.1.1</Value>         & ...Show All

  • Visual Studio ANN:VS SDK 2005 Feb CTP for v2

    Community, the Feb CTP bits are live at https://www.vsipmembers.com/   this release contains DSL and an RC of VSTA. The TFS bits are still the B3 bits from the RTM SDK. New samples since the RTM SDK include SingleFileGenerator, CodeSweep, SingleViewEditor, DSL Samples, VSTA Samples, SCC Samples, and the IronPython end-end integration sample. Other important improvements include doc updates, VSL improvements, the prototype VSTC tool to replace the current commandline CTC tool, and more. Please download and provide us feedback on this thread. thanks, Phil Taylor VS SDK PM PS. I edited the admin part out of the ...Show All

  • SQL Server The Report Services Instance could not be found

    I Try to connect to Report Services I Recieved This Message The Report Services Instance could not be found (Microsoft.SqlServer.Management.UI.RSClient) which version of Microsoft Server do you use I thought a small business server did not have a aspnet-user ! ...Show All

©2008 Software Development Network