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

Software Development Network >> black dove's Q&A profile

black dove

Member List

The Kelvinater127
Montana Jones
thorlax402
Bruno N. Souza
allstar1234
dbcuser
RAB36
DaveSmith
David Sutherland
AIM48
TA123
Doron70
Brent-GPTX
Vasanth Thangasamy
silence421
laurag
Jeremy Conner
Quilnux
Michaelnie
TheShadow
Only Title

black dove's Q&A profile

  • Windows Forms How do you not allow user to resize rows in a datagrid for C#?

    I am making a form in C#. It has a datagrid that pulls information from a SQL table. How do I get it so the users can not resize the rows in the datagrid. I do want the datagrid enabled as I need to select currentrowindexes to do stuff with the data in the form. I just want to know how do I prevent the user from resizing the rows This can easily be changed in the properties of the component (if using VCS Express Edition), else just include: dataGridView1.AllowUserToResizeRows = false ; :P ...Show All

  • Windows Forms Merging MenuStrips

    How are you supposed to create merge menus using the MenuStrip control in VS2005 Beta 2 I can't successfully get MDI child forms merge with the MDI parent using the merge index, and I'm not sure if I'm just not doing it right or if it is a bug. Can someone please point me in the right direction I responded to your MSDN feedback request and will provide it here to see if it holds water. Microsoft comments: I appreciate you entering the problem report. I've got a non-obvious workaround - I'd like to know if it addresses your issue and what pitfalls it may have Take the examle of File New Open >> you want custom items here, grouped Exit You could set your custom items like this: File < Mat ...Show All

  • Visual Studio CommandBar icon problems and Connect, OnConnection not called

    I have an add-in which is using a tool window, I'm trying to change the CommandBar icon, but changing the icon index seems to have no effect until I delete the .addin file, close then reload the project, then restore the .addin file. I've tried this with the MyAddin example with no problems. Further investigation shows that closing then re-opening the project also causes the menu entry to disappear. Using breakpoints, it seems that the Connect and OnConnection functions are not being called except when the add-in is first loaded (by comparison the MyAddIn example calls Connect and OnConnection every time it is loaded). Any ideas what's going on or how I can fix it FWIW, read carefully this article: HOW ...Show All

  • SharePoint Products and Technologies Syntax of AvailableWebTemplates

    In customizing the internet publishing site definition, I noticed there is an option to limit the available template(s) for any subsites that are created in a site collection. The "AvailableWebTemplates" is what does it. By example, I understand how to limit it to only ONE template -- see below. I am guessing the "*-" means remove all templates and the subsequent text is of the form <ConfigurationName>#<ConfigurationID>. <!-- Snippet from my custom ONET.XML --> < Feature ID = " 22A9EF51-737B-4ff2-9346-694633FE4416 " > <!-- Publishing --> < Properties xmlns = " http://schemas.microsoft.com/sharepoint/ " > < Property Key = " ChromeMasterUrl & ...Show All

  • Visual Studio Team System Share Point Portal Server 2003 Problem.

    Dear All, This is the first time i post message here. I just install the SPS in my company server which running on win2003 OS. Everything is fine after i have update with the service pack 2 for SPS. But when i go to SITE in the new create Portal and click the Add Link to Site. After Key in the URL(Example : http://server/personal/fygan ) and Title. when i click OK to save it, nothing happend and there is a error message i found as the right bottom side corner of the internet explorer, i double click and view the error message, it stated WebForm _PostedBack Option not defined. Line 342 Char 19 Code : 0 URL : http://softmap/SiteDirectory/Lists/Sites/newform.aspx Source=http%3a%2f%2fsoftmap%2fSiteDirectory%2f ...Show All

  • .NET Development Garbage collector and FlowLayoutPanel ControlsCollection

    I have a FlowLayoutPanel which I add controls to. At some other time in the program I want to remove all controls which I use Controls->Clear() for. The problem is that the controls aren’t collected by the garbage collector as they are supposed to. I’ve done some testing. In the first test (form class constructor) I add 100 controls and then I call Controls->Clear, the garbage collector goes in and collects all the dead controls as it should. Everything is fine. But if I add and clear the controls in a menu click event function it doesn’t work at all. The Controls disappear and the ControlCollection has not object anymore but the garbage collector doesn’t collect any dead objects. Thanks in advanced! ...Show All

  • Visual Basic Experimental Learning

    I am making a front-end program for the lame mp3 encoder simply for learning experience. I can get it to handle all the options and output the files perfectly. There are a few questions I still have though. 1. Is there a way to hide the command window that pops up when encoding a file and instead show my own progress window 2. How would I detect the progress of the encoding 3. When I have a list of files to encode the only way I can think of is to encode them all at once. Is there a way to encode them one at a time 4. Is there a way to find the bitrate of a file When I add files to the list i want to show the bitrate of that file. That is what I have for now. Thank you to anyone that can help. As an aside, I have thought about contacting a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. The values used in the attempt to create the GraphicsDevice were invalid.

    Is this because my graphic card does not support shader model 2 I didn't even know of this requirement till I saw it on the readme file. Time to change my geforce4 Thanks for the reply Paul, I have a geforce 4 ti4200 on this pc. I get this error in the InitializeComponent method of the sample projects ...Show All

  • Windows Forms DataGrid rows not editable

    I have created a DataGrid and have bound a DataSet to it using C#. The Windows form loads properly, but none of the rows are editable. I have tried programattically setting the ReadOnly property to false, but that doesn't seem to work. Any idea what might be wrong As far as I can tell, the datagrid is NOT readonly. Here is my code: DataTable CreditTypeSettings = new DataTable("CreditTypeSettings"); DataColumn column; DataRow row; //CreditType_ID column = new DataColumn(); column.DataType = typeof(System.Data.SqlTypes.SqlInt64); column.ColumnName = "CreditType_ID"; column.AutoIncrement = false; column.Caption = "CreditTy ...Show All

  • .NET Development SQL LIKE QUERY WITH A PARAMETER

    I have a problem with a LIKE query in vb.net. I want to run a query which will output all of the usernames that end with a certain character. I need to use a LIKE query but I am not sure how to use a parameter. I have tried this: SELECT Username FROM TblUsers WHERE (Username LIKE '%= ') ORDER BY Username This does not work because it does not allow me to enter the value I want. If anyone can help I will be grateful. Thanks Thanks everyone for your help. I think I have worked it out! This cannot be done using an Access database as the OLEDB connectionstring will not allow complex queries e.g. LIKE, it will only allow SELECT, UPDATE, DELETE etc. So by creating a new SQL database, on a b ...Show All

  • Software Development for Windows Vista Books about WWF

    Hi all, Can somebody suggest a good book on WWF Thanks in advance! Zen Here are some articles on WF: http://wf.netfx3.com/content/resources.aspx And some books: http://shopping.msn.com/prices/shp/ itemId=459215216,stext=windows%20workflow%20foundation http://shopping.msn.com/prices/shp/ itemId=97562313,stext=windows%20workflow%20foundation http://shopping.msn.com/prices/shp/ itemId=582773251,stext=windows%20workflow%20foundation I would personally recommend the book in the first link since it is more up to date. The book in the second link is the first book that was published on workflow and it might be a good starter. Hope this helps, Thanks Elif ...Show All

  • SQL Server sql server 2000 and as400 data replication

      Hi there   i have a problem.can any one help me. Problem Statement: --------------------------- I have an ERP SOLUTION based on AS400. users use that ERP to enter data in DB2 based on AS400. i have the assignment to make a GUI BASED windows application which will generate reports from AS400. 1-i am doing this using vb6, and ACCESS 2000. because i have to use tables to stores some accessed data from AS400 to windows for further processing, as i don't know GPR which is used by other developers working on that EPR. this is very slow. so i decided to use SQL SERVER 2000. for this i have the following work plan. 1- create tables with same data type as on AS400 on sql server. 2-create a schedu ...Show All

  • SharePoint Products and Technologies Changing Access Request Message-V2

    How can I change the Access Request for a Site message in Windows SharePoint Services v2 I'd like to add who it going to and change the default Windows NT ID to the Users Name. TIA Dean ...Show All

  • Visual Basic Help with code: don't know whats wrong

    I need some help with some code I have three compiler errors. in here Imports Microsoft.VisualBasic Imports System Imports System.Collections.Generic Imports System.Text Imports System.Windows.Forms Imports System.Runtime.InteropServices Public Class Ship Public Const _Ship As String = "Image files/Ship1.gif" Public Const _speed As Double = 150 Public Sub New ( ByVal gameState As GameEngine , ByVal x As Single , ByVal y As Single ) MyBase .New( gameState, x, y, _Ship ) <-Too many objects to 'public sub new() End Sub Public Sub Update( ByVal gameTime As Double , ByVal elapsedTime As Double ) Dim idle As Double ...Show All

  • Visual Basic Check for encrypted match.

    Have reposted as I have an idea what is wrong, below is the encryption routine that I am using, my problem is that every time text is encrypted it uses a different Key. So how do I use the same key so that when the scrambled password on file, is compared to the scrambled password entered they will match Function encryptStringToBytes_AES(ByVal plainText As String, ByVal Key() As Byte, ByVal IV() As Byte) As Byte() ' Check arguments. If Key Is Nothing OrElse Key.Length <= 0 Then Throw New ArgumentNullException("Key") End If If IV Is Nothing OrElse IV.Length <= 0 Then Throw New ArgumentNullException("Key") End If ' Declare the streams used ' to encrypt to an in memory ' ar ...Show All

©2008 Software Development Network