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

Software Development Network >> 0xDEADBEEF's Q&A profile

0xDEADBEEF

Member List

IceAngel89
Reshmi Singh
KitGreen
VenkatRaghavan
dbeau
PRMARJORAM
R.Tutus
NamelessJuan
ReneeC
Timmy
LasseJ
Stuy_b838
Vivek Natani
laja
vitich
palestine
Wicket
0xDEAD
Are Haugsdal
TSZ
Only Title

0xDEADBEEF's Q&A profile

  • Visual C++ Explicit Interface Method Implementation

    In MC++, I can do the following: - __gc __interface ICloneablePerson { Person* Clone(); }; public __abstract __gc class Person : public ICloneablePerson { private: String* _name; protected: Person() :_name(String::Empty) { } Person(String* name) :_name(name) { } Person(Person* source) :_name(source->_name) { } public: __property String* get_Name() { return _name; } }; public __gc class Student: public Person { private: String* _id; public: Student(void) :Person() { _id = String::Empty; } Student(String* name) :Person(name) { _id = String::Empty; } ...Show All

  • Software Development for Windows Vista Replicator and Generic IList question

    I have a custom activity that looks like this: using System; using System.ComponentModel; using System.ComponentModel.Design; using System.Collections; using System.Collections.Generic; using System.Drawing; using System.Workflow.ComponentModel; using System.Workflow.ComponentModel.Design; using System.Workflow.ComponentModel.Compiler; using System.Workflow.ComponentModel.Serialization; using System.Workflow.Runtime; using System.Workflow.Activities; using System.Workflow.Activities.Rules; using HFO.BusinessDataSet.Pricing; namespace MCP { public partial class CreateStagingRecordsActivity: System.Workflow.ComponentModel.Activity { public CreateStagingRecordsActivity() { InitializeComponent(); } public static DependencyPr ...Show All

  • Audio and Video Development Looking for Example of Sliding Control Panel

    I'm trying to get a working sample where the control panel (panel of menu buttons) slides up and down from the bottom at any time (on selection). Similar to what was shown in the demo at the CES. I'm trying to use some java script from the popular AJAX style libraries (like Scriptaculous), but so far have had no luck getting it to work. Does anyone have a sample of this type of behavior to share Thanks. I see that your example is driven all from the XML. In my development, the animation has been driven from the JScript. Is there any advantage or disadvantage of doing one or the other ...Show All

  • SharePoint Products and Technologies Meta tags in MOSS 2007 master pages

    Does anyone know how I might go about inserting meta tags such as "description" and "keywords" into my master pages and page layouts in a MOSS 2007 external facing site Ideally, when an author or editor is editing a page, I want field controls for the meta description and keyword tags, so the author can fill those in and save those with the page content. The problem is that I can't put a server control like a contentplaceholder inside of the content="" attribute on a meta tag. I've tried the following: <meta name="description" content="<asp:ContentPlcaHolder ID="PlaceHolderMetaDescription" runat="server"></asp:ContentPlaceHolder>" /> The ShareP ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Multi threading in a game (using XNA)

    Hello. I am able to create thread and make them exchange information through common objects they know (server / each other reference) Now I would like 2 threads to update a server. Each of those threads takes for inputs a keyboard for one, a mouse for the other one. However, it seems that the thread that listens on the keyboard do not detect events from it. Seems like it is the parent thread that is able to listen to a keyboard event and only that parent thread. How would you do so that a children thread is master over a device even if it does not have the focus Regards, Chryso Multithreading does not always lead to better performance. You have to consider the interdependencies of your code. Multiple thr ...Show All

  • Visual C++ C3200 Compile Error in VC++ 2005 - Compiles Ok in VC++ 2003

    Any ideas why this fails to compile with 2005 but compiles Ok in 2003 /* * Microsoft Visual C++ 2005 Version 8.0.50727-4200 * Fails to compile with error C3200 (see below) * * Microsoft Development Environment 2003 Version 7.1.3088 * Compiles Ok. * * Both have 1 C4355 warning */ namespace C3200 { namespace A { template<class _Derivate> class Z { public: Z(_Derivate& _d) {} ~Z() {} }; template<class _Derivate,class _B> class Y : public _B { public: Y(_Derivate& _d) : _B(_d) {} ~Y() {} }; template<class _Derivate, template<class _Derivate> class _B > class X { public: typedef Y<_Derivate,Z<_Derivate> > Type; }; template< ...Show All

  • SQL Server [264] An attempt was made to send an email when no email session has been established

    [264] An attempt was made to send an email when no email session has been established is the error I get when I try to send mail on the database. It is a SQL Server 2005 Standard edition. I have configured database mail and tested it and it works there, then I configured a database operator. then I just created a test job to notify the operator of the job completion, and the email fails. Any ideas Ryk SQL Mail for SQL 2000 is VERY different that Database Mail for SQL Server 2005. We intermittently have issues with SQL Mail and I'm not surprised that restarting the agent service resolved the issue (at least temporarily!). Michelle ...Show All

  • Visual C# MarchalAs multidimention array

    This is for a single byte array x [MarshalAs(UnmanagedType.ByValArray, SizeConst=SERIALNO_LEN)] byte[] x What happens when x is a multi dimentional array what should SizeConst be I am guessing the product of the two dimentions. Depending on the row|column counting convention in the DLL, it will either work, OR, you will have to change the row|column counting convention in your code (i.e., pass the Transpose). ...Show All

  • SQL Server Copy Database Wizard Error- SQL Server Agent cannot execute the SSIS package

    I am trying to copy a database from our company's external SQL Server(production) to our local SQL Server(development). The Copy Database wizard fails on the step "Execute SQL Server Agent Job". Following is the error in the log file.. Please advise InnerException-->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. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) When I click on Remote Connections, I get a message saying"You cannot configure surface area of clustered services by connecting to a com ...Show All

  • Software Development for Windows Vista AsyncUI: opening notification channel from XPS-Drv filter using

    Is it possible to use CreatePrintAsyncNotifyChannel() to open a notification channel from a filter of an XPS-Drv driver When I invoke CreatePrintAsyncNotifyChannel() from my filter DLL, the returned error code was -2147467263 (0x80004001) that implies "Not implemented" . Is this because the filter is loaded by the filter pipeline manager and not the spooler I found that the WDK help mentions that "a printing component can open a notification channel only if the component is loaded by the spooler". Note again that I am trying to make the filter DLL as server that creates the channel and sends notifications. TIA! dyNamite I have written to MS about the same issues and this is what M ...Show All

  • Visual Studio Express Editions Remove all points n lines plotted on graph

    Im using the paint event to plot my real time graph, some of my codes are shown below. I want to add a function/button where once its been clicked on, the graph which has been plotted would be erased or removed..How can this be done visual basic code: I just want to remove everything being plotted on the graph..I have tried me.yvalues.removeall() but it still doesnt work..The reason why i want to remove all of them is so that i can plot new graph based on a new set of data. ...Show All

  • Visual C# static method - Is there any workaround?

    I think most know we cannot declare a static anything in an interface. However, let's say I have this: public sealed class MyClass { private MyClass(string someText) { m_someModifiedText = someText; } private readonly static m_someModifiedText; public static MyClass Create( string someText ) { string modifiedText= ModifyText(someText); return new MyClass(someText); } private string ModifyText(string someText) { string modifiedText = someText; //do something to modify text return modifiedText; } public static string UsefulText { return m_someModifiedText; } } Now, this "sample" is just to keep it simple, but PLEASE just consider the concept rather than what the ...Show All

  • Windows Forms datagrid wrong row after column sort

    I'm seeing some really weird behavior in my datagrid and it only seems to happen when I click one of the column headers to resort the datagrid by that column. Here's what I do. I have a datagrid that is read only and a checkbox to enter edit mode. I click on a particular column to sort the datagrid by that column. Then I click on a row that I want to edit, click the edit checkbox to enter edit mode and then click the column I want to edit. Type in a new value, tab to the next field and type in a new value there as well and then click the save button. If I don't sort the datagrid by a column, or if I just edit one of the columns and don't tab to another, when I hit the save button I am taken to my save-button click event function and I'm ab ...Show All

  • Visual Studio need help on FileCodeModel

    hi,guys: my boss just assigned me a job, which involved VS add-in development. that's what i'm not familiar with, so i need some help. in a VS add-in project: 1.does FileCodeModel.CodeElements   contains comments 2.could i load a source file(not open in IDE) and analyise it with FileCodeModel if so, how to do it 3.could i build the solution with specified configuration, like "Debug" thanks. Felix Ji Unfortunately, the ProjectITem.FileCodeModel returns null for web project items. In order to get the code model for a web project item, it have to be "loaded". This doesn't open it in an editor, it just makes VS load them and build a code model for them. BTW, this is VS ...Show All

  • Microsoft ISV Community Center Forums Sum of hours using select statement & VBA

    Hi - ok here is my question: I have an activity recording form that records hours logged against a company. I have added a field called 'sumactivityhours' to the table and the form.  what i would like to do is when a user selects a company from the drop down list (thanks derek and duck thing for your fantastic help with that problem) it automatically populates the 'sumactivityhours' field with the total number of hours worked thus far with that company  so that the user can see the total hours and then writes that information into the 'sumactivityhours' field in the table. as i gradually begin to learn a little more about VBA im guessing that i should create an on exit event on the companyname combo box that re ...Show All

©2008 Software Development Network