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

Software Development Network >> Carver42's Q&A profile

Carver42

Member List

Vinodonly
jojo123
kenny08
__ButterFly__
skyliner34
MDesigner
fiaolle
Ravencraft
elephas
carpediembr
Munita Vohra
kunal.pandya
Paul Gerald
joseacta
robinjam
Telemachus
Max Diamond
rekasnuh
daniel mark
Merie Cockrum
Only Title

Carver42's Q&A profile

  • Visual Studio Tools for Office Word 2007 content control event sinking in VSTO

    I am confused on whether (and if) Word 2007 Content Controls will be supported as a first class object in VSTO (similar to how Ranges and Bookmark objects are currently implemented using VSTO against Word 2003). For instance, I can create a Word 2003 template project in VSTO, and hook into the Bookmark events of the template using VSTO code. I am seeking similar functionality in Word 2007 using VSTO, but with Content Controls. At the moment, the only obvious way that I can find to access content control events is using VBA behind the Word template. (I am seeing other posts that refer to the use of "ThisDocument_ContentControlOnExit", but since VSTO SE currently supports Add-ins and not Template projects for Word 2007, I am ...Show All

  • SQL Server How to Uninstall Sql Server using MSIEXEC.exe

    Hi, Is it possible to uninstall an SqlServer Instance (not Msde) using msiexec.exe. For uninstall using msiexec.exe we need product code. But in the registry i could not find any product code for an installed sql server instance Hi, It is Sql 2000. but anyhow, i can use the Registry entry key 'UninstallString' to uninstall it (IsUninst.exe). But i want to know how to find whether the Installed version is Sql Server or MSDE. (Not from the Query). I want to know by registry key. ...Show All

  • .NET Development Reflection and GetMethod when generic parameter

    Hello All, I have a class with the following methods void Sort(int) void Sort<T>(IList<T>) I want to have access to the second one by reflection. When I use GetMethod("Sort"), I receive the AmbiguousMatch exception so I was thinking to specify the parameters with GetMethod("Sort", new Type[] {typeof(IList<>)}) but I receive null --> The method is not found. When I change the name of the first one and that I use the GetMethod("Sort") method, it works and if I look then the parameters I receive IList'1[T] when typeof(IList<>) gives me IList'1 What can I do to access my mehtod by reflection Thanks, Pierre-Emmanuel The basic problem is that you need to ...Show All

  • Visual Studio 2008 (Pre-release) Reliable Sessions - The Image Transfer Demonstration

    Trying to download this sample application, but the zip file is corrupt. Has anyone managed to get a copy of this Can someone post it here Regards, Brett Hardman Anybody tried this sample with .Net3.0 I have 3.0 SDK installed, trying to build this sample , but it couldnot find IRequestContext & BindingElementExtensionSection etc. The Documentation says they are in System.ServiceModel namespace. But when i browse the namespace in object browser I couldnt find those interfaces. Can somebody throw some light Thanks Chava ...Show All

  • Visual C# WebBrowser 2005 Document.Selection

    I was using webbrowser.document.selection on a webbrowser control in VS.net 2003, and now I have upgraded to 2005, and the selection object is not there. Is there any easy way to get the selected text from the webbrowser control without having to copy the text to the clipboard Thanks, - Jon Well you can still use the interfaces of MSHTML. There are several options, that include the possibility to search up or down, in the current selection only, match whole word... the works. I will stick to the most basic situation, in which you might need to implement a FindFirst and a FindNext. The two are very similar, with the only difference that the first method will always start from the beginning of t ...Show All

  • SQL Server Adding logins via SSEUtil compared to SQL Server Management Studio

    Hello all, I am currently in the process of setting up an SQL Server Express installation that comes packaged with an application I have written. My problem is that I want to use SQL Server user management (not just windows users) which work fine if I set them up manually. I started writing a script that I have SSEUtil execute once the application is fully installed (a step in my installation script) which sets up the users and passwords etc. The script is similar to the following: USE [DBName] GO EXEC sp_DropUser 'user1' EXEC sp_DropUser 'user2' EXEC sp_DropUser 'user3' EXEC sp_DropUser 'user4' GO USE [master] GO EXEC sp_DropLogin 'user1' EXEC sp_DropLogin 'user2' EXEC sp_DropLogin 'user3' EXEC sp_DropLogin 'user4' GO CR ...Show All

  • .NET Development Get Ressources of a referenced assembly

    I have an simple assembly A that refernces (linked) another assembly B that includes ressources (png files) that I want to use in assembly A. I included the png images into assembly B just via Visual Studio --> add new item --> build action --> embedd as ressource. When I look into assembly B using .NET refelctor I find the ressource directly under the ressources folder: public resource MyNameSpace.MySubNameSpace.FileFolderName.ImageFileName.png how can I acess this file in assembly A. I suppose I have to use the RessourceManager but I fail to find the correct parameters for its contrsuctors. This is odd, and doesnt really feel like the right way to do it. Why would I have to define a dummy class just t ...Show All

  • SQL Server SQL Server dumping continuously after running SSIS package

    My problem is the following: I've created a SSIS package that will run without any problems in my development environment, but when I move the databases and SSIS packages to another testenvironment it will trigger the SQL Server to dump on every sub-sequent command. The chain of events: Create the SSIS package and databases in my development environment. Run tests wich has no problems. Move the SSIS package and create backups of the database from my development environment and restore the database in the testenvironment which is in an different AD using an AD-account from that AD. I run the SSIS package without any problems. But when I look in the SQL Server logs I can see that the SQL Server is dumping on what I pr ...Show All

  • Windows Forms DataGridViewCell Text Insert Index

    Hi, Looking in particular through both the FormattedValueType and the ValueType objects, I did not see the text index property when a DataGridView cell content is edited. Any Idea where this property could be Regards, Reza Bemanian I am not sure if you can get that from DataGridViewCell. If you are dealing with a TextBox cell and trying to perform operations on the cell while it is being edited, your best bet would be to derive a class from System.Windows.Forms.DataGridViewTextBoxEditingControl and associate it to your cell template. Check out the http://msdn2.microsoft.com/en-us/library/7tas5c80.aspx link - it might help you. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. newb question: do I have to use files to draw textures

    After digging through a few samples and stuff, Im ready to start my first game idea. Obviously my first screen has to be the main menu. I was thinking I would like to dynamically generate the menu. What I would like to be able to make some generic menu classes that can be customized. (aka three options "start", background color is this or that etc....) But this means that Sprintbatch.draw calls wont work because it needs a texture. is there a way to dynamically create a texture rather than using a premade file You dont HAVE to use texture files no, it's just a lot simpler though. The other way is to create textures proceduarally, for more info check on http://gpwiki.org and http://en.wikip ...Show All

  • Visual Basic Video Capture in VB.NET possibly using directx directshow

    Hi I'm afraid I'm fairly new to VB, but I've done C++ at uni and did make use of DirectInput, so please bear with me! Basically I am looking to perform video capture from two USB devices using VB.NET. Although I dont need to actually record the video, I just need to display a preview in my application. The preview is to be of one device and the application has to be able to switch between them. Also if possible I need to identify the devices and ensure the application always addresses the correct device even if it is disconnected and reconnected. I'd like to use directx as I'd like the experience, but I'm happy to consider any suitable method. Please let me know if I need to provide any other details. Thanks, Stephen ...Show All

  • .NET Development code for html to pdf conversion

    hi all, I wants to convert html to pdf document in c#, code for that..... hi all, thanks for reply,i was searching for hours to get the code. can you tell me the free download sites which will allow me to use their code/API/third party tool. While searching i came to know that you can use third party tool,any name..... help me to solve this problem ...... ...Show All

  • Visual Studio Team System TFC installation, Cannot see workspace in Visual Studio

    I have installed TFC and in Visual Studio 2005 things look ok. I can connect to the TFS server and see all projects but I cant perform any actions. I can see that there is a workspace set up for my account and machine using the tf tool. I can alos map projects to folders using this tool. In Visual studio I cant perform any actions. THere is no workspace defined and there is nothing added to the File-> Source Control menu. What am I missing The TFC installation went fine as far as I could see. Thanks Hello, In Tools->Options->Source Control does the "Visual Studio Team Foundation Server" is selected If no solution is open and you are connected to TFS server (you can see ...Show All

  • Windows Forms Change Assembly name cause error in reflection

    I change my assembly name from a.exe to b.exe. My application is running ok but when I try to load assemblies in reflection I get {System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.... Any idea What i did was change the assembly name at post-build event Ugly hack but works.... copy $(TargetPath) "$(TargetDir)\MyApp.exe" copy /Y "$(ProjectDir)App.config" "$(TargetDir)MyApp.exe.config" ...Show All

  • .NET Development Garbage Collector disposes wrong object?

    Application had been running for months without changes and without errors. Shortly after installing the June 2006 Microsoft patch, began receiving reports that application would display the message "Failed to load resource from resource file" and crash. Since then, I have been able to replicate the errors on 6 separate, differently configured systems. CONFIGURATION: Pentium III 800 MHz, 128 MB RAM, Windows 2000 SP4, .NET 1.4322 Pentium III 800 MHz, 256 MB RAM, Windows 2000 SP4, .NET 1.4322, Visual Studio 2003 Pentium III 700 MHz, 512 MB RAM, Windows 2000 SP4, .NET 1.4322 Pentium 4M 1.6 GHz, 1.0 GB RAM, Windows XP Pro SP2, .NET 1.4322, Office 2003 Pentium 4M 1.7 GHz, 1.0 GB RAM, Windows XP Pro SP2, .NET 1.4322, Office 2003 ...Show All

©2008 Software Development Network