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

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

shark92651

Member List

leighparr
Yakub
wda
Kim9999
Tim Droz
RFOG
Peggi Goodwin
kaisatsu
Vargess
arpicheck
Dr. Pizza
SacCourt
ME_Jen
Jay McCleery
Tan Chen Yee
Mark Blackburn
Vincent123
Marioh
Jen.e
BobCl
Only Title

shark92651's Q&A profile

  • Visual Studio Express Editions Tool Strips, Text Box Focus and Accept Buttons

    I'm working on a program that uses the Tool Strip to access data in my dataset. First, I'm trying to save keystrokes by having the cursor start focus( ) in the text box of my tool strip, so I can start typing without having to mouse click there first. Any suggestions Second, on the Forms property there is the property to choose a button to execute when the Enter key is pressed. I'm unable to figure out how to set that so the button on my tool strip will execute when the Enter key is pressed. Any suggestions I have to access the stuff in real time, quickly, so I'm trying to save every keystroke I can. Eventually, I intend to go to s ...Show All

  • SQL Server How to edit a custom property on an external metadata column

    I am using external metadata columns in a destination data component to match sharepoint fields to input columns.  I want to add a flag that the user can set to specify if a column is a lookup column (indicates that the component should look for a list item with the specified input column value, and do an update if the item already exists).  I added a custom boolean property to the medata column, but the property editor does not allow me to edit the column.  It appears to be enabled, but when I choose a value other than the default, the editor immediately replaces the value I chose with the default.  How do I set ...Show All

  • Visual Studio Express Editions caps lock command

    Is there a way to toggle the caps lock from within a program made in visual basic You can p/invoke sendinput to send the key (VK_CAPITAL). ( getkeystate can tell you if it is on or off) What is it the purpose If you want the user's input into your form to be in upper case or something like that, then there are better ways. (p/invoke = bad, managed code = good) ...Show All

  • Software Development for Windows Vista ICredentialProvider

    Did anybody make a successful user logon using the new ICredentialProvider interface My credentials are displayed, but I can't make them to logon. And what worse - after 20 or 30 seconds, the winlogon crashes completely with no recovery possible excepting hardware reset. I thought I basically did something wrong and decided to wait for more detailed documentation or some sample code. But MS doesn't seem to put too much effort on improving their SDK documentation and I also found that at least one other programmer has the same problem: http://msdn.microsoft.com/newsgroups/default.aspx query=vista&dg=microsoft. ...Show All

  • Windows Forms flickering form on resize with a background image.

    Hi, I have a background image to the form. The form is divided into two horizontal split containers the top container is fixed and both the containers are made transperent. i have a listview docked to fill in the container. when i resize the form i have a flickering issue and i see that the background image of form is being displayed during the time duration when the listview gets to the resized position of form resulting in a flickering. I have already applied the double buffering and set the styles as follows: SetStyle(ControlStyles.UserPaint, True ) SetStyle(ControlStyles.AllPaintingInWmPaint, True ) SetStyle(ControlStyles.Double ...Show All

  • Windows Forms Removing datagridview rows

    Hi -- If I use the following code: dgv.Rows.Remove(dgvr) (where dgv is my datagridview and dgvr is a datagridviewrow), will this physically remove the datarow out of my underlying dataset or just set it to a state of "Deleted" Or neither Bill remove totally removes the row from the collection. so it is not marked for deletion. ...Show All

  • Visual Studio Custom text markers in VS2005 beta 2

    Hi All, We have a weird problem with custom text markers under VS2005 Beta 2 (8.0.50215.44). <br> Our AddIn registers about 30 custom text marker types. We tested it under VS2005 and, seemingly randomly, some of them work and some do not. What happens is that markers do appear in the editor (tooltips are showing, for example), but they have wrong colors (not what our implementation of IVsPackageDefinedTextMarkerType says they should have) <br> We investigated this problem, and this is what we have found so far: <br> 1. When we remove all registered external markers (all entries from 'VisualStudion\Text Edito ...Show All

  • Visual Studio Team System tfs and active directory

    does tfs have to run in an active directory domain or can it run in an nt4 domain are u sure about that mate i asked a TFS guy at the melbourne 'READY TO ROCK' forum about this -> can my w2k single server be a workgroup, not an active directory thingy .. and he said 'yep'. edit: and this link in this forum .. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=137499&SiteID=1 -PK- ...Show All

  • Visual Basic How to write QUOTES to a text file?

    Hello! I am attemping to write a text file utilizing My .Computer.FileSystem.WriteAllText( In Visual Basic 2005. However when I try to write a line like: varname = "value" With the quotes my string breaks up and creates a new instance. I happen to be attempting to write a VBS page for a website that needs to generate from a VB program, thus the " " are not optional. Anyone happen to know how to make writealltext write a single " mark (Quote mark) I have searched the internet for a solution and MS help and nothing seems to be what I need. Any help would be appreciated! (Im thinking there has to b ...Show All

  • .NET Development C# & return value from stored procedure

    Hi I'm not sure if i'm posting in the right place or it should be C#. Apologies for that .. i'm using the new Visual Web Developer 2005 Express with C# language. My problem is that i'm trying to get the return value from my stored procedure.. Code: protected void Button1_Click(object sender, EventArgs e)     {         SqlCommand oSqlComm = new SqlCommand();         SqlConnection oSqlConn = new SqlConnection();         oSqlConn.ConnectionString = SqlDataSource1.ConnectionString;   &nb ...Show All

  • SQL Server Copy Database Wizard (MS SQL 2005)

    When I use the "Copy Database Wizard" everything works fine, but the "Identity Specification" is changed in the new database. Source database (original): Column Name = HTML_ID Data Type = int Identity Specification = Yes Is Identity = Yes Identity Increment = 1 Identity Seed = 1 Destination database (copy): Column Name = HTML_ID Data Type = int Identity Specification = No Is Identity = No Identity Increment = Identity Seed = Why Is this a feature or a bug I have found the following from Peter Shadddow of MSFT in another forum from Nov 2005: This is a known issue with Transfer ...Show All

  • SQL Server Memory Issue with Simple CLR Based Table-Value-Function (TVF)

    Hi, We are seeing memory issues with a simple C# based TVF that splits an input string into a table based a delimiter.    Entries such as the following show up in the SQL log:  AppDomain 8 (DBName.dbo[runtime].7) is marked for unload due to memory pressure. AppDomain 8 (DBName.dbo[runtime].7) unloaded. These entries only show up after the TVF has been called many times (~ half million times or more). We encountered the same memory issues with June CTP, but they appeared to be fixed in Sepetmber CTP.  Somehow the issues come back for us in the SQL Server 2005 RTM version.   Wit ...Show All

  • .NET Development Program hangs on remote connection when opening SqlConnection .NET 2.0

    I am having a problem where my program hangs when creating a SqlConnection object.  No exception is thrown, the program just hangs. The details are that I am connecting to a remote server through Terminal Services and the running the program in the 2.0 environment on a Win2K server.  If logged into the server as an Admin, then everything works great.  If logged in as a regular user, then the program hangs when opening the SqlConnection.  If an Admin is logged in and running the program, then it works for both the regular user and the Admin.  So, I know it isn't the code, it probably has something to do w ...Show All

  • Visual Studio where is my source safe?

    i have installed my VS2005 team for developer and installed VSS . but when i open vs2005 ,i can't add my project to vss and even can't open project from source safe . the vs2005 recognize as i didn't install my vss. i have reinstalled it already . what is going on where is my vss thanks... You need to select SCC plug-in first. Select Microsoft SourceSafe in Tools->Options->Source Control->Plug-in Selection ...Show All

  • SQL Server Internal Activation - calls stored procs in other DBs

    Hi all I am using internal activation on a queue to process the messages, should an error be encountered I call stored procedure A in the same database to log the error. Part of the processing in stored procedure A is a call to stored procedure B in another database (on the same server), however I have not been able to get this call to B to work. Currently I get the error "The server principal XXXXXX is not able to access the database YYYYYYY under the current security context". I have tried various combinations (too many to remember) of database owners, roles and permissions as well as EXECUTE AS on both A and B and the Queu ...Show All

©2008 Software Development Network