Software Development Network Logo
  • Visual C++
  • VS Express Editions
  • Visual Studio
  • VS Team System
  • .NET Development
  • Windows Forms
  • Visual C#
  • Visual J#
  • Windows Live
  • Architecture
  • Smart Device
  • Visual Basic
  • Visual FoxPro
  • Microsoft ISV
  • Windows Vista

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

Mcs

Member List

風清揚
psypod
Harry He
Admin Matt
galsheefone
Raja Ratheesh
Ruskin Dantra
sureddd
Ramez Awad
Cari Begle
iron94
Pecachew
Lenitcha
Paulo Cardoso
Valer BOCAN
Gene B. 3
Gokuldas
Riiii
JimSornig
Florin Raicu
Only Title

Mcs's Q&A profile

  • SQL Server ON SCHEMA :: schema_name

    Hi, Could you explain what a scope qualifier is (the two "::" colons) and what it is used for Thanks. SQL 2K5 This :: syntax is covered in the BOL topic for the GRANT, DENY, and REVOKE statements. To elaborate on Niels's post, you need ALTER permission on a schema and CREATE TABLE permission to create a table.  Also - note that ALTER permission on a container like a schema or database gives the grantee the ability to DROP contained objects as well.   So if I give you ALTER permission on schema S, then you can DROP tables (or procs or views or ...) in S. ...Show All

  • Visual Studio Team System Sample Projects

    I have been hunting for examples MSF projects , I noticed on this forum that were plans to provide some . I was wondering how that is progressing. I am currently trying to understand how documnets will look and feel and hang together. Whilst I know there are templates they down't really help. It is so hard to build a sample that everyone can relate to. As such, in the MSF class, we take everyone though class-long example of a company that builds a bookcase. It sounds light-weight, and it is, but everyone gets the main points: what happens in the tracks and what happens by roles. I hope we expand & enha ...Show All

  • Visual Studio 2008 (Pre-release) ADO.NET Entity Framework documents are back

    The original articles about the ADO.NET Entity Framework didn't stay online very long, but this time, two official documents are available: The ADO.NET Entity Framework Overview Next-Generation Data Access (Making the conceptual level real) These documents will give you an overview of what is coming in the next version of ADO.NET, mainly the ADO.NET Entity Framework, which is Microsoft's upcoming solution for mapping data to objects. In these documents, you'll encounter the following: The Entity Data Model Entity SQL LINQ to Entities LINQ to DataSets LINQ to SQL (formerly known as DLinq) Note: there is no preview release of the Entit ...Show All

  • Visual C# using ExecCommand to copy in MSHTML

    I am working on an editor using mshtml. I just cannot get cut / copy / paste to work with ExecCommand. All other command identifiers seem to be working well. Here is my code: public partial class Form1 : Form { private static HtmlDocument htmldoc; private bool fireonce = false; // fire previewkeydown only once public Form1( ) { InitializeComponent( ); } private void Form1_Load(object sender, EventArgs e) { webBrowser1.Navigate("about:blank"); webBrowser1.Select( ); } private void webBrowser1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e) { ...Show All

  • Visual C++ Failing to get menu handle of Microsoft Word using GetMenu()

    Hi all,               I wanted to traverse programatically the complete menu items of Microsoft Word . But the GetMenu() API fails .        I am able to get menu handle of MS Paint application.        What seems the problem        Thanks. <Manas@discussions.microsoft.com> wrote in message news:3c773dc8-e86c-44c9-85be-22ec98d4bf46_WBRev1_@discussions.microsoft.com >        I wanted to tra ...Show All

  • Visual Studio Express Editions Problem porting a Visual C++ 6 application to Visual C++ 2005

    I'm trying to migrate a project made on Visual C++ 6 to Visual C++ 2005, but even with no compilation errors, the application don't work as the VC++ 6 project. My application is a project about API Hook, and it's not working on Visual C++ 2005. What can I do to maintain compatibility Hi! You need to provide more information about your problem. Which library you use - MFC, ATL, WTL, STL... or clean Win32 API What function not working as you expected - post it here, so we can see it. ...Show All

  • Visual Studio Express Editions Help with databases

    Hi I have a database with about 20 columns one of which is vehicleNumber and one of which is temperature. I have many different vehicleNumbers. When the user types a vehicleNumber into a text box I need to collect all the temperatures for that vehicle and find the average temperature. I am not using SQL, I'm using an access database with the dataset and all that. I found a little information suggesting a dataview. Can anyone help me Just to visualize here is a shortened example of my database: VehNum Temp 123 73 456 68 123 83 456 79 123 81 456 72 ...Show All

  • Visual Studio Tools for Office How do I Edit Word Template in Visual Studio 2005 VSTO

    I created a word document outside of Visual Studio 2005 in word with headers, footers, bookmarks, and tables. I then started a new project and used this document as a starting point for the new project. I now want to change the table add bookmarks etc.. However, my word menus seem to be disabled. I can only edit the document with the word tool bars that are embedded in the content area of the visual studio content area. Is there some type of option or security setting that will allow me to use all the word editing features on my document with in visual studio Thanks Brady Hi Brady I have ...Show All

  • Software Development for Windows Vista Activity Property values not available at runtime

    I am currently experimenting with a custom activity. We have a number of business rule objects which implement various, relatively complex data validation rules. The custom activity allows these business rule objects to be assigned to the activity and for parameters to be assigned as part of a workflow that links together a number of these business rule classes into a sequential [potentially brancing] workflow. So I basically have: BRActivity RuleClassReference ClassID ClassName ParameterCollection Parameter1 Name Value Parameter2 Name Value I've integrated these activities into an end-user design ...Show All

  • SQL Server "Cannot open user default database"

    [2005 Developer Edition] In Management Studio I changed my default database to a user db. I subsequently unselected that db as the default leaving me with no default db (I think - it's been awhile and I may not have this exactly right). But regardless, I can no longer Connect to Server using Management Studio (Windows authentication) - I get Cannot open user default database. Login failed. Login failed for user 'DANA\Administrator'. (Microsoft SQL Server, Error: 4064) The only thing suspicious in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG is The SQL Network Interface library could not deregister the Service Pri ...Show All

  • Windows Forms Where is my Ampersand??

    Okay, this might be a simple question so here goes.  I'm trying to display a name that I retrieve from the database that has an ampersand "&" but for some reason it is being deleted when I put it in the text of a label that I have (I.e. Simon & Susan becomes Simon Susan).  I can see it in the database and if&n ...Show All

  • Windows Forms Report with bitmaps

    Hello, please, would you be so kind to help me with creating report with bitmaps. I have name of bitmap file in one of MDB database column and I need to display (and print) in report. I tried to use Crystal Report, but without success. Thank for any answer Sincerely Miroslav Knapek This works with a PrintDocument. e.Graphics.DrawImage(Image.FromFile(ProjectIDSelection. ...Show All

  • Visual Studio Team System Custom validation rule to compare a response header key/value with an expected response.

    Just wanted to share this solution with all.  Another good example of the tool's extensibility... Sorry about the formatting, looks like it lost indentations. /*********************************************************/ using System; using System.Text; using System.ComponentModel; using System.Collections.Generic; using System.Collections.Specialized; using Microsoft.VisualStudio.QualityTools.WebTestFramework; using Microsoft.VisualStudio.QualityTools.WebTestFramework.Rules; /**********************************************************************************************/ // Handle validation of response ...Show All

  • .NET Development Type Initializer therw an exception

    hey guys, I'm very new on this forum and very new in .net as well. I'm trying to make a small software for my school. I'm using basic windows froms and stuff. I've multiply forms which are connected. Everything was working fine but i believe when i tried to fill the datagrid then it started to give me following error in the main form: System.TypeInitializationException was unhandled   Message="The type initializer for 'WindowsApplication1.mdlMain' threw an exception."   Source="Test"   TypeName="WindowsApplication1.mdlMain"   StackTrace:        at WindowsApplication1.frmMain.frmMai ...Show All

  • Microsoft ISV Community Center Forums Vb migration to Access 2003

    Can someone help to convert the following VB so taht it is usable in Access 2003 Thanks. Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Layers() As String = { "100" , "100" , "100" , "120" , _ "120" , "140" , "140" , "180" , "180" , "220" , "220" } Dim i As Integer = CInt (TextBox1.Text) TextBox2.Text = Layers(i) 'MsgBox(" FR4 - " & Layers(i)) 'Dim i As Integer = CInt(T ...Show All

©2008 Software Development Network