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

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

xxxmpsxxx

Member List

satya n
Corres
rsd_za
mark.b
JSR2005
Vj5
ttad
Grahamrounce
pleva
danadanny
budbjames
Reza Bemanian
NickNotYet
P Willy
DanBog
connect2sandeep
OpinionatedGeek
Saman Attarian
Edmundas
Rasheed Hammouda
Only Title

xxxmpsxxx's Q&A profile

  • SQL Server EXECUTE permission denied on object 'sp_OACreate', database 'mssqlsystemresource'

    HI There I have a user login that is executing an sp. It gets the follwoing error: Msg 229, Level 14, State 5, Procedure sp_OACreate, Line 1 EXECUTE permission denied on object 'sp_OACreate', database 'mssqlsystemresource', schema 'sys'. Msg 229, Level 14, State 5, Procedure sp_OAMethod, Line 1 EXECUTE permission denied on object 'sp_OAMethod', database 'mssqlsystemresource', schema 'sys'. Msg 229, Level 14, State 5, Procedure sp_OAMethod, Line 1 EXECUTE permission denied on object 'sp_OAMethod', database 'mssqlsystemresource', schema 'sys'. Msg 229, Level 14, State 5, Procedure sp_OAMethod, Line 1 EXECUTE permission denied on object 'sp_OAMethod', database 'mssqlsystemresource', schema 'sys'. ...Show All

  • Windows Forms OnSizeChanged called twice when changing the property Size on a UserControl

    Hello! I have created a UserControl and load it in the constructor of a Form. UserControl c; public Form1() { System.Reflection. Assembly assembly; assembly = System.Reflection. Assembly .LoadFrom( "File with UserControl" ); Type t = assembly.GetType( "The type of the Control" ); c = ( UserControl ) Activator .CreateInstance(t); c.Location = new Point (0, 0); Controls.Add(c); } I then set the Size of the control doing something like this: int NewHeight = System. Convert .ToInt32(textBoxHeight.Text); int NewWidth = System. Convert .ToInt32(textBoxWidth.Text); c.Size = new Size (NewWidth, NewHeight); In my UserControl I have the eventhandler ...Show All

  • Visual C++ Where can I download ie5_lib ? It is something for IE library.

    Where can I download ie5_lib It is something for IE library. Thanks you very much. Maybe here: http://download.microsoft.com/download/6/8/3/683DB9FE-8D61-4A3C-B7B8-3169FF70AE9F/ie5_lib.exe See also: http://msdn.microsoft.com/archive/en-us/samples/internet/libraries/ie5_lib/default.asp . I hope this helps. ...Show All

  • Visual Studio Team System using unit test for aspx code behind files

    Is there a way to write unit tests and get code coverage for aspx code behind files I searched few forums but did not find an answer. Any help on this topic is appreciated. Nikhil Correct. I wish I had better news, really I do. :) Depending on your situation you can also create 'web tests' that target specific pages, and the test happens as a traditional HTTP request/response. These can then be packaged up and used in load testing. But for the up-close-and-personal method level unit tests, app_code is what the unit tests support. If you'd like to loop in the real unit testing experts you can try posting to the Visual Studio Team System - Testers forum. Hope that helps! Eric Jarvi http:// ...Show All

  • Visual Studio Express Editions brace (bracket) matching

    I have both Visual C++ and C# Express Editions installed on my PC. When editing C# programs, brace matching works. i.e. when I highlight a brace in C# it's companion is highlighted. For some reason this does not work in C++ even though I think I have it enabled in the Tools - Options - Text Editor General - Automatic delimiter hightlighting. Am I missing something Thanks!! OK is it me or does anyone else think this sucks big time, why do I need to press keys to see what matches In earlier versions it works by placing mouse over left or right side of bracket now I must press 2 keys ...Show All

  • .NET Development TcpListener

    Hi. I'm trying to make a simple application which receives data from a local host and displays it. Everything works fine upto the point where it's supposed to connect to theclient. However, when I type in whatever I want to send, I keep waiting for it to come back...an eternity thingy. Heres the code: using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Net; using System.Net.Sockets; namespace MyTcpListener { class Listener { public static void Main() { TcpListener server = null ; try { Int32 port = 9000; IPAddress localAddr = IPAddress .Parse( "127.0.0.1" ); server = new TcpListener (localAddr, ...Show All

  • .NET Development Console Application in VB 2005 Express: How to get the Stable Output of DataReader on the screen?

    Hi all, I just saw a quick flash of result of my Console Application project, when I executed the following code of Module1.vb in my VB 2005 Express program to get the output of DataReader associated with SqlConnection and SqlCommand to a database in my SQL Server Management Studio Express: //////////////--Module1.vb--/////////////// Imports System.Data Imports System.Data.SqlClient Module Module1 Sub Main() Dim mySqlConnection As SqlConnection Dim mySqlCommand As SqlCommand Dim myDataReader As SqlDataReader mySqlConnection = New SqlConnection( "server=.\SQLEXPRESS;Trusted_Connection=yes;database=ssmsExpressDB" ) mySqlCommand = New SqlCommand( "SELECT AnalyteID, Analyte ...Show All

  • Visual C# Turn phone on or off

    Dear All, I am working on C# using the ComPort control in C# to collect data from PBX system and it works fine. But I want now to turn on and off phone extension from my application via PBX. For instance, I can click on Turn On extension 1001 then users can call out but if I click on Turn Off extension 1001 then the phone is locked. Could anyone advise if there's any way of achieving this or any component that I can use to deal with this Regards, LG Hi Peter, Thanks for your reply. Could you please let me know if you have any command line or sample command lines to send to PBX. Regards, Leng ...Show All

  • Visual Studio Team System can we create new build type using webservices

    hi I would like to know if we can create new build type using webservices. Regards Pressman Not in v1. If you need a non-UI way of creating a build type, please look at this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1097323&SiteID=1 Swaha ...Show All

  • Visual Studio Team System How do I get this product working?

    I am attempting to evaluate VSTS for use in our environment and have run into problems before I have begun. What I have so far: The VSTS server is installed and running Visual Studio enviroment has been installed from En_vs_2005_vsts_180_Trial.img I am going through the Introduction to VSTS Guide (Walk-Through Only).doc and heven't been able to get past the first step with Excel, How do I enable the "New List" button and the VSTS toolbar I am using Office 2003 SP2 and have just run through Windows Update applying all patches associated with Office. Any help would be extremely appreciated at this point. My two main areas of concern are project management and defect tracking, if anyone can point me to the ...Show All

  • .NET Development IPermission.Union help

    Can someone help me understand what actually happens behind the scenes in the Union method on an IPermission implementation   Here's my basic scenario:  I have an custom CAS atrribute that requires up to three values to be evaluated together to know if the demand will pass or not.  This became difficult to manage when trying to determine how to union two instances of the IPermission implementation together.  So, in the Union call, I evaluate Demand on the current instance and on the target.  Those resolve to a "Yes/No" answer that are passed as two bool values to another IPermission implementation - UnionPermission.  The demand on this permission just evaluates the two passed in bool values.  However, ...Show All

  • Visual Basic IIS 7.0

    Hi, Could you please explain How to create virtual directories dynamically in Vista (IIS 7.0). Thanks, Kumaresh. Here is a post I found that seems to work: You need to add a reference into your app for System.DirectoryServices Then use: Private Sub CreateVirtualDir(ByVal WebSite As String, ByVal AppName As String, ByVal Path As String) Dim IISSchema As New System.DirectoryServices.DirectoryEntry("IIS://" & WebSite & "/Schema/AppIsolated") Dim CanCreate As Boolean = Not IISSchema.Properties("Syntax").Value.ToString.ToUpper() = "BOOLEAN" IISSchema.Dispose() If CanCreate Then Dim PathCreated As Boolean Try Dim IISAdmin As New System.Director ...Show All

  • SQL Server Dynamic PIVOT quey challange

    Hi I have following Table A In which values of LotNo field is not fixed so we cannot write these values to our PIVOT clause in Select statement. Now can any one provide me sucha a query which can generate this PIVOT result in Table B. Not there is a distnict list of Lotno. is availble from a view. Table A LotNo. Pcs Wt. 12 200 12.212 13 21 16.214 17 23 21.211 18 27 32.212 Table B LotNo 12 13 17 18 Pcs 200 21 23 27 Weight 12.212 16.214 21.211 32.212 So I want to write a select query wth PIVOT clause which takes Lotno. which is not fixed values (As given in Adventurewo ...Show All

  • Internet Explorer Development Programmatically reading Cookies on Windows Vista using .NET?

    My toolbar (as referenced in my other posts) has a "Login" link on it, that dynamically changes to "Logout" if my user is currently logged into the website the toolbar is tied to. This code works fine in 9x, 2k and XP: string currentUser = System.Environment.GetEnvironmentVariable("USERPROFILE"); string[] cookieFiles = System.IO.Directory.GetFiles(currentUser + \\Cookies , "*" + myHost + "*"); However, in my Vista Ultimate beta this code explodes saying, "Access is denied." On further investigation, there are no cookies in this folder. A different post suggested they were in User\AppData\Roaming\Microsoft\Windows\Cookies, but I can't seem to find them there either. ...Show All

  • SharePoint Products and Technologies Source code control using MOSS 2007

    Hi All, We are using Miscrosoft share point server 2007. We like to know if there is a possibility to use this for the source code(from Visual Studio) versioning. If it can be done, can you please point me to some documents which talks about this. Thanks in Advance. Lokeya Source code control is not content versioning. VSTS, and WSS 3.0 are designed with this distinction in mind, and source code control versus content versioning would be apples to oranges, hardly comparable at all. Would you be able to support your multi developer source base with two level versioning where: 1.1 means a draft version 2.0 means a published version Don't think so... You don't want all ...Show All

©2008 Software Development Network