Software Development Network Logo
  • Visual Basic
  • Windows Live
  • Visual FoxPro
  • Smart Device
  • Visual C#
  • Visual Studio
  • VS Express Editions
  • Visual C++
  • Architecture
  • Visual J#
  • Microsoft ISV
  • Game Technologies
  • SQL Server
  • Windows Vista
  • VS Team System

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

YZANGARD53535

Member List

Bruno Sanchez
Daby292002
Albert C
jmunro
JohanFr
JoeBuddha
Jobs
Jeff Pigott
Julia Q
Forbes.Pu
Ren.
Luis Garavello
Looter
Yanbiao Zhao - MSFT
Magic21
markentner
reukiodo
pkrish2
THughes
JimJams
Only Title

YZANGARD53535's Q&A profile

  • Windows Forms Forms designer error when trying to display

    I have a Windows Forms project in a VS 2005 solution along with a Class Library project. The class library contains a class with the following static method: public static void LogError(string strSource, string ErrMessage) { //write the log message to the log if ( !EventLog.SourceExists(ConfigurationManager.AppSettings["ApplicationName"]) ) { EventLog.CreateEventSource(ConfigurationManager.AppSettings["ApplicationName"], CommonConstants.ErrorLogName); } ...some more functionality } Now, in my forms project, which references the class library, I have an inherited form that ...Show All

  • Visual Basic FIleOpen Dialog - fileopendialog.showdialog() - Change default view from List to Details

    In my app a user can mouse to File Menu - Open. The fileopendialog.showdialog() has default view of ListView. The user is alway going to have to sort the file list by Date in descending order in order to open the most recent file stored in the network location. How can I make the FileOpenDialog display in Detail View by default and not List View. Thanks, MIke Code Sample dlgOpenFile.InitialDirectory = sDefaultDir dlgOpenFile.FilterIndex = 0 dlgOpenFile.Filter = "All Files|*.*" dlgOpenFile.Title = "Open PO File" If dlgOpenFile.ShowDialog() = Windows.Forms.DialogResult.OK Then 'other ...Show All

  • Visual Basic Control Y !!!

    What have you people done to Control-Y For the past 10 years that I've used Windows this meant REDO (opposite of UNDO). In VB2005 it deletes a line. SERIOUSLY!!! not funny. Control Y deleting a line pre-dates windows. (I remember it from wordstar back in 1983) That being said it is likely that you have chosen a profile which had these mappings. You can change them or pick a new profile. Tools -> Options -> Environment -> Keyboard Mapping scheme. Hope that helps... ...Show All

  • Visual Studio Tools for Office Make a segment in a word document read only

    Is this possible to mark a segment in a word document read only Thanks very much! Yuhang Hi, Yes, you can mark portions of a Word document as read only using VSTO. To prevent users from making any edits to the document, you use the Proect method of the Document. For more information, see http://msdn2.microsoft.com/en-us/library/ms178793.aspx Kathleen McGrath ...Show All

  • Software Development for Windows Vista Can I hide "standard" properties on the designer?

    Hi there Im working on an application based on WWF who lets user build  workflows graphically. They don't have to write a single line of code. They can't for example add handlers or code conditions etc. to their workflows. So on the hosted designer there are many "standard" properties on the worklfows and activities, like "Commented" or the different handlers, which should not be there. Is there a possibility to hide them I tried to override them in code, but that doesn't work with all of the properties or the handlers. Thanks! Thomas Thomas, A dev on the team told me that you can hide properties by ...Show All

  • Windows Forms playing alert sound

    Hi, I simply want to play and then stop an audio alert message without opening media player or any other sound player application. How can I do this Thanks, See http://forums.microsoft.com/msdn/ShowPost.aspx PostID=83764 ...Show All

  • SQL Server Switches or scenarios in a cube?

    Hello, I try to find out a way to create switches or scenarios in a cube. Here are 2 examples of what I want to do: - Data on-off switch, by default the cube shows no data, the user has to flip the data switch to position ON. this allow the cube to evaluate the custom MDX access control formula for this user role membership and serve him only the data he is permissioned to see. this way I can publish a blank Excel pivot table. - Calculated Measures, The formula evaluate the status of a switch with an iif and perform one or the other calculation, example, Margin type switch drives the way Margin measure is calculated. User can choose ...Show All

  • Visual Studio 2008 (Pre-release) Inataller Problem (May 2006)

    Hi friends When i'm installing the May 2006 CTP i have receive the next message: An error ocurred while applying security settings. Users is not a valid user or group. This could be a problem with the package or a problem connecting to a domain controller on the network. The machine is XP SP2, the count is Administrator. I'll be wating for your help, thks!! look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=394174&SiteID=1 (the script succeded when i changed the file name in OpenDataBase() for a full absolute path.) HTH Dima. ...Show All

  • Visual Studio Tools for Office Range.get_Information() is causing Application.XMLAfterInsert to be fired

    Hi, I am getting some strange behaviour which I am having a hard time reproducing in a new project. I know that without being able to reproduce it I am not being very helpful, but I am running out of options and time. I will keep trying to reproduce it, but in the meantime any suggestions you might have would be greatly appreciated. I have a Word Template project and I am using XML tags to mark certain parts of the document that interest me. I then subscribe to the Application.XMLAfterInsert and Application.XMLBeforeDelete events so that different parts of the application can be alerted of changes made to the document. Everything wo ...Show All

  • Visual Studio Size of pdf generated from crystal report...

    I have a crystal report which I export to pdf-format using either the ExportToDisk or ExportToStream method of the ReportDocument class. The space required for the pdf-encoding in both cases (not surprisingly) is the same, but it seems the size is bigger than it needs to be. I already have some pdf-files looking almost the same as the ones I am making from the crystal report (actually the crystal report was designed based on the look of these pdfs), but these are only 25% of the size. These pdf-files contain more or less the same data that mine does and in addition contains a logo which I don't have. The resolution of the ...Show All

  • Visual C++ Is there any thing equivalent to NotOverridable in C++?

    Hi guys, My problem is this. class Base {    public:        void  OneFunction()       {           cout<<"Base";         } }; class Derived:public Base {    public:              //overriden, I don't want this to happen.        void OneFunction()       {          cout<<"Base cl ...Show All

  • Visual Studio Team System Everything working except Reporting Services (July CTP)

    I have a clean dual-server install of the July CTP.  Everything works fine except when I hit a project's team site in SharePoint all of the Web part windows that connect to Reporting Services have the following error: The operation you are attempting on item "/Test Project" is not allowed for this item type. (rsWrongItemType) Get Online Help On my reporting server I have a bunch of error in the Event log that read "The report server cannot create the Cache Misses/Sec (Semantic Models) performance counter, but that is all (There are errors for other perf counters as well). If I load the Reporting Services page in a browse ...Show All

  • Visual Studio Undoing checkout

    Hi everybody, I'm trying to implement a continuous integration process here, and I'm using the following article as a baseline: http://dougrohm.com/cs/articles/56.aspx There's one thing there that's giving me problems, though. In one of the steps on the process described on the article, a "version.txt" file gets checked out, modified, and then checked in when the process is done. If there's a problem and the build process fails, the file never gets checked back in. Then say the problem with the build got fixed. In theory, the next build should succeed. However, it's failing because it can't check the version.txt file out, ...Show All

  • .NET Development XslCompiledTransform - closes tags

    Hello all. When transform using XslCompiledTransform it inserst single tags into output like <title /> and <script /> but must be <title></title> and <script></script> because it's conforms to XHTML standart in Net 1.1 it was right but in Net 2.0 - it's not so. problem can be solved by adding something like this: <xsl:text disable-output-escaping="yes">&gt;/script&lt;</xsl:text> but it should be in the right way anyway could you please help me with this problem Simple example illustrate that Net 2.0: using System; using System.Xml; using System.Xml. ...Show All

  • Windows Forms Any problem with using nvarchar field as primary key for a small table?

    Hi, i'm developing a Winform Application. There is a small table (which contains no more than 1000 records anyway) that I need to use string as primary key. Given that each string is absolutely unique, is there any problem to do this I don't care about performance problem because this is just a small table and it is not used regularly. Actually, I'm thinking about if it is used in different collation of SQL server or anything relating to localization and encoding, will it cause any trouble in string comparing Is it enough to define this field as nvarchar so that unicode will not cause any problem I am not particularly familiar w ...Show All

©2008 Software Development Network