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

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

AlexBB

Member List

danni123
Zach7
Amit Thakur
Joo Park
Leaf.
SBorch
Brunosdd
3D Paul
SCRunner
jbhatia
Ashish P. Ruparel
xlordt
0xDEADBEEF
Sven Rutten
PawanSingh
DotNetGuy_03
Melissa H.
Carlos Silva
nick5454
Channelzero
Only Title

AlexBB's Q&A profile

  • Windows Forms MDI windowlist formclosing bug

    Hello, In my application, I have an MDI parent form and several MDI child forms. Wanting to allow the user to click the X on the child window and hide the window rather than close it, I implemented the FormClosing event handler as follows: if (e.Close Reason == CloseReason.UserClosing) { e.Cancel = true; Hide(); } This does hide the child window but when the user opens the window again, the windowlist is never populated again for that window. It is undesirable for my application to make new instances of the child forms each time one is displayed so instantiating a new form instance when I want to show the child form is not the solution. The code in the parent window to display the child windows does this: myForm.MdiParent = this; myForm. ...Show All

  • SQL Server Object Explorer/Server Explorer Error

    I have just installed the released VS2005 as well as the released SQL2005.  When ever I try to browse my SQL Server with either the Object Explorer in MS SQL Server Management Studio or the Server Explorer in VS2005 I get the following error: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.OLE.Interop.IServiceProvider'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{6D5140C1-7436-11CE-8034-00AA006009FA}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). Does any one have possible solutions for me Any help would be greatly appreciated. --Nick ...Show All

  • SQL Server Liste of report made with ReportBuilder

    Hi ! I'm trying to figure out how can i get a list of the reports made with reportbuilder. I have create a folder in ReportManger and all my report are in this folder. When i create report with ReportDesigner i get a .RDL file, but when i create a report using reportBuilder i can't file the file created. What i want to do is to create in our web application a Web page with a list of report that our client has create using ReportBuilder. I was thinking about doing a loop on the folder for each report File but i can't find those files. Any idea Thanks! Hi, How to get the list of folder from reporting server. I know we can get the list of reports from folder but before i want display a list of folder avai ...Show All

  • Visual Studio Team System How to UT my custom rule in vsts

    i just custom some rules (FxCop Code analysis) in VSTS for checking code. and then , can anybody tell me how can i do it in a sweat..... Your best source of information on custom rules would be the FxCop Team Blogs. I cut/pasted some information on this below: Custom Rule Development Where is the official FxCop custom rules SDK [Michael Fanning] There is currently no official custom rules SDK developed by Microsoft. The primary reason is that we are currently rewriting key components of the FxCop metadata reader and data flow analysis engine. This work guarantees that rules written today will need to be modified or entirely re-written in the future. Rules developers who have been workin ...Show All

  • Visual Studio Tools for Office How to access an email Internet Header?

    My add-in uses Outlook.Interop, and I work with MailItem objects for mail messages a;; the time. BUT these objects do not expose the Internet (SMTP) headers of the message, nor many of the fields in the header. I noticed that System.Net.Mail.MailMessage has a Headers property, but I don't know how to cast or convert a MailItem to a MailMessage, or even if that is the best path. I have seen examples of accessing the MailItem.MAPIOBJECT property, but these examples use a MAPI namespace that I can't find in Vis Studio 2005 for C# and .NET. Does anyone know how to get at the underlying email message Where I can find the assemblies for working with the MAPIOBJECT Other ideas Thanks! -Allen Allen Razdow wrote: ...Show All

  • Visual C# Project won't build anymore - strong named problem

    I have a project which uses a dll full of images. I added a lot of images last night and found it will not compile when a dll has 75 MB of jpgs in it, even if they are not loaded into memory without explicit function calls. So, I built a version with a couple of jpgs, import that into my project, and put the 75 MB one in the folder with the release build. So, when the app runs, it uses the 75 MB dll, and when it builds, it links against a 12 MB dll. This is pretty much how it's worked for ages, excepting that the dll has been 12 MB in both places for some time. Today, when I try to build, I get this error: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(2071,9): error MSB3188: Assembly '..\StockImageLibrary\bin ...Show All

  • Windows Forms Using a Form app's classes in another app

    I have a Forms app and want to use some of the classes from it in another app. I created a Solution file with both apps as projects, added the source for the shared classes to both projects, and compiled both. The original app runs, but the new app throws a "Cannot find the assembly MyOriginalProjectName " exception. Wassup The source files should be stand-alone, without any dependency on either app. The original app is a .exe and the Add References dialog only accepts .dll files. How do I use the same source in two different apps I am using the correct namespace; if I wasn't I wouldn't be able to compile the app, and I can. The exception is thrown at runtime. How do I make a "project refere ...Show All

  • Visual Studio Tools for Office [VSTO V3 / Office 2007] Data Binding an Image Content Control

    Ok, I'm going to be crazy :) According to the suggestion provided by Cindy, I'm trying to bind an Image Content Control to a XmlPart But here is what I have: Data bindings cannot be created for rich text content controls. So, what can I do now Is it possible to bind an Image Content Control If you need to see my code, feel free to ask me :) Thanks Another way to bind to a picture content control is to store the image to a temp file and then use addPicture, as in the following snippet of code. System.Drawing.Image image = /*Get the image */; private global::System.Object missing = global::System.Type.Missing; Word.ContentControl pictureContentControl = /* Get the pic ...Show All

  • Visual Studio Team System deploy/schema compare scripts - Option for checking IF EXISTS

    My scripts need to check for existence of tables, columns, etc. before creating or altering. My procs and functions need to check existence and drop if they do already exist then create. Is there any way to control script preferences to accomplish this Gert was, I believe, pointing out that the recommended model for how you work with Team Edition for Database Professionals is slightly different from the way you are using it. Your approach can work, if you put your scripts under the scripts folder, rather than treating them as database objects, but it's an alternate approach. The recommended approach is that your schema is represented as a set of objects that you work with as CREATE (or ALTER in some ...Show All

  • Visual Studio Tools for Office Is it possible to create plug-ins for Office 2007?

    Are there any easy way to create plugins for Office 2007 Or haven't Microsoft released any SDK for 2007 yet I bought a plugin for Outlook, that does not work correctly in 2007 beta2 (probably because of ribbon), but the plugin is so simple that i think i could write one myself - if i just got an example on how to develope a plugin for outlook 2007. Hi, What i meant is writing a plugin that is targetting only 2007, and is using the new features in outlook 2007. I already new that a outlook 2003 plug-in would install fine, and in some cases work - but in my case with the plug-in i bought, it's failing because of the new design in outlook: The ribbon menu. So what i wonder is how i can create a plug ...Show All

  • SQL Server Measure values for Invalid hierarchy memebers

    Scenario ------------- A measure group is related to Time dimension at the Month level, has only the month_id column. The Time dimension also has levels defined below 'Month' like 'Week'. In the cube browser, when the measures of this measure group are viewed with the Time hierarchy below the Month level, values for week are copies of the Month values. How can this incorrect representation be avoided Can zero or n/a values be shown when we drill down to week values. It is like Sales Plan amounts are only defined at month level, the same amount being shown at the week level is incorrect. Regards mat There is a property associated with "Measure Groups" called "IgnoreUnrelatedDimensions". By default this ...Show All

  • SQL Server Final Model

    I am creating a report model and have to keep going back and forth between VS2005 and Report Builder to see what the "Final" report is going to look like. I am using folders to group together some really nasty list of fields, denormalizing lookup tables, etc. Is there any way to see this without having to reload Report Builder each time I have thought about an XSLT for the SMDL, but that is some seriously ugly XML (especially with the denormalizations). R If you leave RB open, create a new report based on some other model, then create a report on the model you're working on again, it will clear the cache and you will see your changes. Inside Model Designer, you can edit the Expression prop ...Show All

  • SQL Server Data Transfer from Lotus Notes very slow compared to SQL 2000 DTS

    To extract data from an ODBC source, try the following: Add an ADO.Net Connection Manager. Edit the Connection Manager editor and select the ODBC Data Provider Configure the Connection Manager to use your DSN or connection string Add a Data Flow Task to your package. Add a Data Reader Source adapter to your data flow Edit the Data Reader source adapter to use the ADO.Net connection manager that you added. Edit the Data Reader source to query for the data you wish to extract. hth Donald Using the steps outlined above as described by Donald Farmer in another post on this forum, I have created an SSIS package which retrieves data from Lotus Notes 6.55. The DSN referenced by the ADO.Net Connection Manager conne ...Show All

  • Visual Studio Express Editions Is there a kind of union structure in C Sharp?

    I want to use "union" structure in C#,but can't find it! Can u help me Thanks in advance! And about how to simulate C++ union in C# is described underneath: In C++, Union expression is: union  UValue {      char  _cval;      int  _ival;      double  _dval; } ; And in C#, to apoint where the members'd be located in the memory space, we need to use StructLayoutAttribute , LayoutKind enum and FieldOffsetAttribute , which are all in the namespace System.Runtime.InteropServices. Then, use struct to simulate the union above: [StructLayout(LayoutKind.Explicit, Size = 8 )] struct  UValue {    ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA methods

    Hi, This is my first post here. My English is not good, so excuse me for any mistake you could find :). OK, I have been programming with unmanaged DirectX for some years and I now I just started learning XNA, not to migrate from DX, but just to know a new technology. XNA is relly a fantastic tool, but I admit I felt a great impact when I saw the XNA code for the first time (... but nothing that could not be cleared with a bit of patience :) ). There is a huge difference between unmanaged DirectX (native C++) and XNA (C#). OK, lets to the doubts: The XNA Game Studio Express Documentation shows 5 main methods that make the game works. They are: Initialize, LoadGraphicsContent, UnloadGraphicsContent, Update and Draw. What ar ...Show All

©2008 Software Development Network