barmaley70's Q&A profile
Visual Studio VC++ 2003 Code Model not returning certain functions - please help!
I am using Visual Studio .NET 2003 and writing an add-in to the IDE. I am writing in C++ and am experiencing difficulties with the following problem: Certain functions are not being returned by the VC code model in it's code elements collection. =============== Here is my understanding of how this all works. The development environment (DTE) is described with a Code Model. This is similar to my previous work where I was working with XML documents described with a Document Object Model (DOM). The Code Model describes structures that are commonly seen in source code. This would be classes, functions, variables, parameters, enumerations, structures, and more. The DOM equivalent would be words, paragraphs, sections, chapters, titles, and more ...Show All
Visual C# In C#, how should I use a VB ocx that is dependent on a win32 dll ?
Hi, I am trying to use a VB ocx control in C#. Internally the ocx control makes use of a C++ dll. I have done the following 1. Registered the ocx 2. Included the component in VS .Net IDE tool bar. But when I try to drag and drop the control I am getting an error "Failed to import the ActiveX control. Please ensure it is registered properly." I am using .Net Visual Studio 2005 Looks like there is some problem in creating the wrapper for the ocx. After drag and drop, under Project->References the wrapper is not available. It simply shows the wrapper's name with a warning icon ( i.e.., the icon used to indicate that the reference is not available or not built). When ActiveX is dependent on another dll should we do something di ...Show All
Windows Live Developer Forums The oncontextmenu event isnt fired when im in 3d mode
The oncontextmenu event isnt fired when im in 3d mode. helphelphelp... Yep... that's the problem we're facing. We were able to figure out transparent iframes only to see the 2D map as the background instead of the 3D map as expected. ...Show All
Visual Studio 2008 (Pre-release) UpdateObject() / AddObject issues
I just got done reading Danny's excellent article here and I just tried to incorporate that logic into my own ObjectDataSource. When I call db.AddObject(), the entity's ID gets reset to 0. This doesn't seem right at all. :) Is there something I could be overlooking Thanks for any help! (Have I mentioned yet that this is AWESOME STUFF I haven't been this excited about programming in years!) Mike Yeah, that's messy. Our CTP has missing functionality. AddObject assumes you're adding an object to the context to add that object to the database. AddExistingObject (that you need that we don't yet support) assumes you're adding an object to the context that already exists in the database. AddObject (when ClientAutoGener ...Show All
Audio and Video Development What are “content elements” and “block element” described in spec?
Hi, all I want know what are “content elements” and “block element” which are used in spec 7.6 Which element defined in Table 7.5.3-1 are they I encounter lots of problem when I try to render style markup. Can you give me a help Thank u! Is your second example <p> inside a <div> <p> cannot exist by itself in the <body> tag, and requires a <div> to enclose it. Things I always check when I'm having rendering problems: Did I specify a <timing> block (As I mentioned above) Did I specify a font Without a specified font, no text will render. Did I make sure the font (and all other resources) is specified in the playlist and ...Show All
Windows Forms extend binding navigator service
Hi I want to add two button controls to the binding navigator for query by example first button: filter , in that case , all controls of the form are cleared , and user can enter values in the controls. second button: apply filter, when user click it , the filter which is composed by reading every control value is applied to the base table and data is reterieved. i want to add these services to the binding navigator . can you help me thanks in advance To add custom control like button, checkbox,comboxbox,datetimepicker, etc. into the BindingNavigator, you should make your own ToolStripItem inherited from ToolStripControlHost, as: [ ToolStripItemDesignerAvailability ( ToolStripItemDesignerAva ...Show All
Game Technologies: DirectX, XNA, XACT, etc. "Indie" Game Development on Xbox 360 and PC
I would really like to thank microsoft for making this happen, obviously a few of us were hoping that it would. Now its up to the comunity to come back and make some killer products for the 360. ...Show All
Visual Studio Express Editions Installing Resources
I have a .wav file and .exe file in my resources. When I install my program on other computers it won't play the .wav file and it won't open the .exe. How do I make my install so that it installs my resources with it If it wont open the .exe file then that may account for it not playing the wav file. The exe requires that .net framework be installed on the machine - so simply copying the exe to another machine would result in .exe not working. The best way to get and application to work outside of the development environment is to create a deployment package by publishing the application. The underlying technology is called clickonce deployment and is rather neat as it ensures that required compone ...Show All
Visual C# disabling and/or hiding Windows taskbar
Could somebody post code that disables and/or hides Windows taskbar and enables it when I or user click on the button in Form. Goran Do you get any exception I have tested this class on Windows XP, here is the code: public class Taskbar { [DllImport( "user32.dll" )] private static extern int FindWindow( string className, string windowText ); [DllImport( "user32.dll" )] private static extern int ShowWindow( int hwnd, int command ); private const int SW_HIDE = 0; private const int SW_SHOW = 1; protected static int Handle { get { return FindWindow( "Shell_TrayWnd", "" ); } } private Taskbar() { // hid ...Show All
SQL Server How to integrate ADO in a Windows Service
The problem is integrating an ADO connection into a Service in C#. The peculiar thing is that the same thing works well in an application but throws a problem in the Service i.e. the Service doesnt want to start... The problem is at establishing the connection - but the same thing works just fine in an Windows application. string MySqlConnString = "SERVER=N16\\SQLEXPRESS; TRusted_connection=yes; database = EventTrack2007" ; MySqlConnection = new SqlConnection (); MySqlConnection.ConnectionString = MySqlConnString; MySqlConnection.Open(); Thank you! YOu are using a trusted connection. Which account is the service runnig with HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Microsoft ISV Community Center Forums ISV Royalty Program - OA2007
1) Are there different types of ISV programs If so, what are the differences between the programs 2) How does the Royalty program differ from other ISV programs 3) Does each program offer different benefits to the end customer 4) How does the Royalty program differ from other ISV programs to the end customer 5) Does Microsoft have a brochure or a list of the benefits for the end customers 6) If I was to have a techincal problem with a soultion and I can not get in touch with the ISV that sold me the soultion will Microsoft be able to help me 7) What are the benefits from buying solutions from an ISV to an end user ...Show All
Visual Studio Tools for Office Word 2007 exception - elements and attributes in restricted namespaces are not allowed
I am getting an error when trying to open a docx with an xml schema attached. It works on two pcs but not a third and I am trying to troubleshoot the issue. Word displays that: ' The Microsoft Office Open XML file <docname>.docx cannot be opened because there are problems with the contents.' Details: 'Elements and attributes in restricted namespaces are not allowed' Location: 'Part: /word/fontTable.xml, Line: 2, Column: 158' Thoughts Hi Bart This forum is not for supporting Office 2007 beta questions. Office 2007 is only on-topic when VSTO 2005 SE beta is involved. There is no official on-line support for Office 2007 beta, but you can get discussions going in the newsgroups in this ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Animating Billboards Using A Single Texture
I just finished a basic billboard class that is capable of reading in multiple textures and animating. However, I would like to read in a single texture file and be able to simply change texture coordinates to change the appearance of the billboard. Now, I could recreate my VertexBuffer each frame, but that would be a lot of wasted processing. Is there a way to dynamically alter the texture coordinates for VertexBuffer objects each frame Edit: As a bonus question, how do I enable the alpha channels in my textures Right now it shows up white. I am using the BasicEffect. Would I have to write my own effect just for that Seems rather silly but I will if I have to. Edit 2: As bonus question 2, how can I disable antialiasing of my textures I'm ...Show All
SQL Server Invoking SSIS Packages from DotNet
Hi, How can we invoke SSIS Packages from an Windows or ASP.NET Application (using C# ). Thanks Jegan First you have a look at the documentation - ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/dtsref9/html/1a08c75e-ce8c-45ee-81bd-32248bbdb2b2.htm or Managing Packages Programmatically ( http://msdn2.microsoft.com/en-us/library/1a08c75e-ce8c-45ee-81bd-32248bbdb2b2.aspx ) Then you ask some specific questions if you get stuck. ...Show All
Windows Forms How to Fill 1st textboxcolumn of Datagrid...
hi, In my application...I have a datagrid on my form.My datagrid contains a textcoxcolumn & a comboboxcolumn…so I want to know how I can put values in textbox column on form load event…. Say I have 5 rows & I want those 5 rows to have 5 strings in the textbox column. Strings are(string1, string2, string3, string4 & string5). So how I can put it in that datagrids 1 st textboxcolumn (in form load event ). Thanks, Vinay Thanks, But i want to use a single cell of my one column which is of ComboBoxColumn type as a TextBox ...means i want user to enter text in that Cell by typing text in it...that cell should not be of type ComboBox... Can we do it like this... T ...Show All
