Maddog C's Q&A profile
Visual Studio Tools for Office Problems performing the practice exercises in MSDN Article
Hello, I am brand new to Visual Studio and request up front your understanding. In your reply please don't assume that I know anything or that I will be able to decipher anything but step by step instructions. I am interested learning to use Visual Studio to put together basic Word2007 Ribbon cusotmization. I have installed a fresh copy of Visual Studio 2005 and Visual Studio Tools for Office Second Edition. In MSDN article: http://msdn2.microsoft.com/en-us/library/aa338202.aspx On (printed page 19 of 28) there is a section titled "Using COM Add-Ins to Modify the Ribbon UI. In the section there are two exercises demostrating what I want to try to do. The first demonstrates using a Shared Add-In method. I can not com ...Show All
Software Development for Windows Vista MsiRMFilesInUse dialog using VS2005 Installation Project & Orca
I have a pretty simple installation project created using VS 2005 installation project, and am having several issues complying with some of the requirements. So far, my most frustrating problem is test case 25(v1.1.001 of Certified for Windows Vista Test Cases). There is no MriRMFilesInUse dialog available through visual studio, so my understanding is that I have to create my own manually using Orca. After digging and digging, I was able to find a very old, prerelease rss feed of what the tables needed to have in them for the dialog: http://blogs.msdn.com/windows_installer_team/archive/2005/11/03/488945.aspx Based on this, I added all those fields and values (with a couple minor variations such as the binary banner filename (i just u ...Show All
SQL Server Debugging SQL Server 2005 Stored Proc with Visual Studio 2005
Hello, we have a SQL server 2005 with Visual studio Prof. 2005 in the employment. The debuggers function only in Visual studio correctly, as long as no code on the SQL server must be implemented. If a BREAK POINT in a Stored Procedure is set, this is not activated, since this cannot be bound. Does someone know, what it lies and can like one it eliminate Thank you for your assistance in advance. Yours sincerely Big_Ben_31 I will have to ask the obvious question about your setup. Have you ensured that it is complete The new topics in BOL and MSDN describe the steps in details including troubleshooting ones. Please start with the links below: http://msdn2.microsoft.com/en-us/library/kkyhd4yb.as ...Show All
Internet Explorer Development Organizing IE7 Toolbars - Google hijacks toolbar layout.
What a Horrible experience has been using IE7. First I can't put more bars in the same row as the address bar So I get a incredibly big address bar and loose a lot of screen. Other problem is that toolbars dont stay in the place you put them. They keep moving even if you lock the toolbars. Is this a Primary BUG at IE7 Is there anyway to make IE 7 as useful as IE6 and customize bars the way I want and not the way the developers wanted Thank you in advance for solutions.... Hi All, Toolbar tip - This applies to all versions of Internet Explorer. I have been using IE since the mid 90's and it was only recently that I discovered this toolbar trick, quite by accident. Keep your toolbars unlocked a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Loading a Model from a List<> problem?
Hi, I`m storing info in a list which I`ve written: List < float > mapList = new List < float >(); I`m storing mapList[x] = `ModelName`, mapList[x +1] = `ModelpositionX`, mapList[x +2] = `ModelpositionZ` amongst others. ..and would like to. DrawModel( mapList[x], Matrix .CreateTranslation(mapList[x +1], 0, mapList[x +2]) ; Which gives the error: Error 2 Cannot convert type 'float' to 'Microsoft.Xna.Framework.Graphics.Model' : for mapList[x] above. Is there anyway I can convert mapList[x] so its accepted I`ve only just starting with lists and arrays, which one would be better for the type of thing I`m doing above Any information on any of the above would be great. I`m off to read up some more. Tha ...Show All
Visual C# Finally Fixed.
I am trying to make it so when a button is clicked the text on that button will change to something else using a method from a different class. I can't quite get it. This is what I have so far: using System; using System.Windows.Forms; public class Form1 : Form { public Button button1; // Windows Form Designer generated code here... } private void button1_Click(object sender, EventArgs e) { // I want the method to be called here } And here is the class that I want the method in: using System; using System.Windows.Forms; public class Change { public void ChangeText() { // How would I be able to modify the button and its properties } } Can someone please help me with this Thanks. yo ...Show All
Visual Studio Express Editions "Invalid Email"
For some reason the registration page says my email address is invalid so i can't get the key, but its the same one i logged on with. Help Thanks!! I came across the same problem. I have had my email address for many years and it's find, but it keeps barking about it. I'm stuck as well and MS is no help unless I pay $99 for them to resolve this issue. ...Show All
Visual C# Need help converting VB to C#
Hi Can someone help me by converting this VB to C#. Thanks a bunch. James Keele Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MsgBox(Modulo10(TextBox1.Text)) End Sub Private Function Modulo10(ByVal strNummer As String) As Integer 'strNummer may only contain numbers between 0 und 9! Dim intTable(10) As Integer Dim intTransfer As Integer Dim intIndex As Integer intTable(0) = 0 : intTable(1) = 9 intTable(2) = 4 : intTable(3) = 6 intTable(4) = 8 : intTable(5) = 2 intTable(6) = 7 : intTable(7) = 1 intTable(8) = 3 : intTable(9) = 5 For intIndex = 1 To Len(strNummer) intTransfer = intTable((intTransf ...Show All
Visual Basic Visual Studio 2005 - VB Compiler crashing
Visual Studio 2005 - VB Compiler crashing: Operating system: Windows Server 2003 SP 1 msvb7.dll version: 8.0.50727.73 Event Type: Error Event Source: Microsoft (R) Visual Basic Compiler Event Category: None Event ID: 1000 Date: 5/18/2006 Time: 10:05:16 PM User: N/A Computer: *** Description: Faulting application devenv.exe, version 8.0.50727.42, stamp 4333e699, faulting module ntdll.dll, version 5.2.3790.1830, stamp 424377d2, debug 0, fault address 0x000396d0. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Data: 0000: 41 00 70 00 70 00 6c 00 A.p.p.l. 0008: 69 00 63 00 61 00 74 00 ...Show All
Software Development for Windows Vista Missing Persistence Schema RC2
I have installed the most recent release canidate for windows workflow. I went to add the default persistence service to my workflow and discovered that the schema files do not exist on my computer (in fact in the C:\WINDOWS\WinFX\v3.0 directory, there are only two folders WinFX Runtime Components 3.0 - Beta 2 and WPF and both are empty). I have installed the RC on 3 machines, and all three are the same, so I don't feel reinstalling will fix the problem. I have tried the installer that came with the labs (in C:\Windows Workflow Foundation\Labs\SQL_Scripts\Lab03 I ran CreateDatabaseObjects.cmd) and the installer did not work. I got "0sql is not recognized as an internal or external command, operable program or batch file." Does an ...Show All
Windows Forms Dragging an Item to a Minimized Window on the Taskbar
[C# WinForms Application in VS2005 running on Windows Server 2003.] Typical Windows functionality: If you have multiple windows open and minimized to the Taskbar, dragging an item from a visible window to another window on the Taskbar will maximize the target window. For example: Open Outlook, then create a new email message. You now have two windows open: Outlook and your email message. Minimize the email message. On the Outlook window, drag the Inbox down to the taskbar over the email message. The email message will become maximized (or restored). I have an application that uses node like Outlook, but in my application this will not work. Moving the icon above the minimized window does nothing.&n ...Show All
Visual Studio Team System Working folder is already in use
Just migrated from VSS to TFS and its fantastic! Having a problem on my PC when trying to get source code for a project. I get the message ' The working folder is already in use by another workspace on this computer'. I have cleared all the work spaces for all users on my machine (as far as I can tell) by clearing down the C:\Documents and Settings\[user]\Local Settings\Application Data\Microsoft\Team Foundation\1.0\Cache\VersionControl.config files. I have also had a poke around in the tbl_Workspace and tbl_Workingfolder on the server to make sure there are no stray workspaces defined. Does anyone have any ideas on how to resolve this One thing that may be causing the problem is that our development team is working on vir ...Show All
Software Development for Windows Vista Problem with custom CallExternalMethodActivity
I have successfully implement a local service allowing me to pass parameers into the workflow. Now I want the workflow to return data. I have created a custom activity derived from CallExternalMethodActivity. I have followed the example as outlined at http://windowssdk.msdn.microsoft.com/en-us/library/ms734768.aspx . I then added the custom activity to my workflow. I attempted to then bind the data property under the Properties of the activity. It is here when I receive an error. Could not bind property "ReturnData". Object of type "System.Workflow.ComponentModel.ActivityBind" cannot be converted to type "System.Collections.Specialized.IOrderedDictionary". NOTE: it still creates the property bindin ...Show All
Windows Forms Another ListView Question
What member function for ListView's would I use to clear out the contents I've added (data items) I tried using Clear(), but it blanked the entire control, removing not just data rows but also column headers, and the columns themselves! Is there a member that only deletes the contents of rows ...Show All
Visual Studio 2008 (Pre-release) Example of GridViewItemContainerStyleKey usage?
I'd like all of my ContentPresenters within my GridView to have HorizontalAlignment=Stretch, but this does not seem to be the default behavior. It looks as if I can use GridView. GridViewItemContainerStyleKey to define the style of the cells in my view. Does anyone have any sample code to demonstrate how this works Try - gv.SetValue(ContentPresenter.HorizontalAlignmentProperty, HorizontalAlignment.Stretch); gv.SetValue(ContentPresenter.VerticalAlignmentProperty, VerticalAlignment.Stretch); ...Show All
