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

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

LandLord323

Member List

Michael Drüing
Ash Sid
Eva_Hamberg
navinkaus
David d48701
lou_RUS
Cathie 64
adorer
Jignesh Desai
Jamesx
RB_Banc
IgorV
MffM
Chandra4332
Devin
Brian Kramer
syhzaidi
yogamnandhu
corbin
shinji_rem
Only Title

LandLord323's Q&A profile

  • .NET Development List<T> remove type T

    Hello I got a list collection which i woudl like to remove items from. but the command line bellow doesnt work this .Order.OrderContent.Remove(OCnt); ..................................................................................... Ocnt is the custom Ordercontent Object. and OrderContent is List<Ordercontent> the List<T>.Remove on the MSDN say that This method determines equality using the default equality comparer EqualityComparer.Default for T , the type of values in the list. but i dont what the default Equalitycomparer for my Ordercontent object is. how can i get it to work. thanks in advance You could make the objects that are in t ...Show All

  • SQL Server Use Variable as Table Name

    I am trying to write a stored procedure that accepts a table name as an argument and then displays all of the columns of the table. My code does not work and I don't know why any ideas set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo] . [selectTable] @tableName varchar ( 50 ) AS select * from @tableName ; I get this error: Msg 1087, Level 15, State 2, Procedure selectTable, Line 5 Must declare the table variable "@tableName". Please help. U need this :: (cant simply put a variable in from clause....gotta make a query string and execute it...dynamic sql) CREATE PROCEDURE [dbo] . [selectTable] ( @ ...Show All

  • Visual Studio Express Editions dynamic textbox with borderstyle none

    Dear all, I created several controls 'on the fly', events and all, fine. But now I Needed a textbox that only showed a border when active, else I wanted the borderstyle to be 'none'. The very next time this control was referenced it lost it's text, and a nasty com-error about a window handler popped up. I guess I'll have to work around it. Can I ask Bill somehow to have his staff look into it Best wishes, J. I think I see what he is talking about. I had a small program handy and added this: Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Me .TextBox2.BorderStyle = System.Windows.Forms.BorderStyle.None End Sub Priva ...Show All

  • Visual Basic Help with simple coding from vb6 to .net

    Is there a easier way to do these functions in vb.net Function StrIPToHexIP(ByRef IpStr As String) As String On Error Resume Next StrIPToHexIP = "" Dim SplitIp() As String Dim ConvertingLoop As Short SplitIp = Split(IpStr, ".") For ConvertingLoop = 0 To UBound(SplitIp) StrIPToHexIP = StrIPToHexIP & Chr(CInt(SplitIp(ConvertingLoop))) Next ConvertingLoop End Function Function HexChrToDec(ByRef HexChr As String) As Short On Error Resume Next HexChrToDec = Asc(Left(HexChr, 1)) + Asc(Right(HexChr, 1)) * 256 End Function Function DecToHexChr(ByRef DecimalValue As Short) As String On Error Resume Next Dim FrontPart As String Dim EndPart As String FrontPa ...Show All

  • Visual Studio Express Editions anyone can kindly help me on this problem (nable to add data connection. The DataConnectionDialog could not be intialized.)

    Im having trouble creating a new connection through Visual Studio Web Developer. When I try to add a new connection all it gives me is an error-Unable to add data connection. The DataConnectionDialog could not be intialized. When I test my page it seems alright going to the localhost but when I try to add a connection it wont let me.What could be the cause And how can I fix this problem I want to connect to the sql server on my computer.. I cant because of the error aboveAnyone can kindly help me with this problem if you have experience it Im having trouble creating a new connection through Visual Studio Web Developer. When I try to add a new connection all it gives me is an error- Unable to ...Show All

  • Software Development for Windows Vista Printer Pipeline Filter Sample

    Where is the sample source "Printer Pipeline Filter Sample - Nup, Booklet, Watermark" of WDK5270 installed I was not able to find it. Nitin, My apologies for the delay in our response. The full XPSDrv filter samples (showing NUP, Booklet, Watermark etc) are included in the Windows Vista Beta 2 WDK. The sample also inlcudes an inf that illustrates how to associate the filter dll(s). There will be some changes to the sample for the RC1 release, but you should have everything you need to get started using the Beta 2 sample. Thanks. -Daniel (Microsoft) ...Show All

  • Visual Studio Release 2!

    So I got a marketing email for a new product called xCelsius from BusinessObjects, but I did not receive anything to tell me that Release 2 is available. I went to their website to see if there was an update as to the release time frame and instead found a download page. http://www.businessobjects.com/products/reporting/crystalreports/xi_release_2.asp This release 2 it's available for the version bundled with VS2005 Pro RTM Sorry if this question is out of topic. Regards ...Show All

  • Visual Studio Express Editions Please help: Screen text Reader

    Hi, I am in the process of developing an application in VB 2005 that assist with everyday writing skills. The application will focus on helping with spelling, grammar and continuous checking on writing style. The question I wish to ask is this. On my application there are two Rich-Textboxes: one is for displaying the contents of the currect document and the other one displays the sentences that need editing. Also beneath the sentence, I wish display to a suggestion of words that best fits that sentence. And the program will continue to proof-read the document until there are no more writing and structure errors. I wish to know whether anyone out there knows the code for displaying a replica of the document currently us ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. CPU problem

    Does any one know about why CPU is up to 100% when I minimize window Thanks If you don't stop your update/rendering loop when your app goes into background, then your code can start running like crazy because it's not rendering anything, but the update function is executing very fast... Ideally, your app should stop doing any processing when it goes into the background, so you allow other processes in the foreground to work smoothly... ...Show All

  • Visual C# Error: The name 'SqlDbType' does not exist in the current context

    I am trying to add a parameter to my SQL command. When trying to build this code I get the error: "The name 'SqlDbType' does not exist in the current context " ... using System.Data.SqlClient; ... SqlCommand command = connection.CreateCommand(); command.CommandText = "SELECT * FROM Departent WHERE DepartmentCode = @DeptCode"; command.Parameters.Add( new SqlParameter("@DeptCode", SqlDbType.NChar, 5)).Value = DepartmentCode; ... ...Show All

  • Visual Basic How to Break on All Errors?

    In Visual Basic 6 under the Options...General tab, there is an option to "Break on All Errors". I've been unable to find a similar setting in Visual Studio 2005. Does something similar exist Hi, Michael, The closest you're going to get to that is the dialog which comes up from choosing Debug/Exceptions. It will allow you to set which exceptions you should break on, and under what circumstances (i.e., break on user-unhandled exceptions). By default, I believe we break on all user-unhandled exceptions, and about a dozen exceptions when thrown regardless of handling. The article at http://msdn2.microsoft.com/en-us/library/x85tt0dd.aspx is a bit more specific about exception handling when debuggi ...Show All

  • SQL Server range lookup

    how can i do a range lookup say i need the salary "range_key" for salary 30,000 which is between 10,000 and 60,000 table structure: range_key from_amount to_amount Julian Kuiters talks about how to do this here: http://www.julian-kuiters.id.au/article.php/ssis-lookup-with-range -Jamie ...Show All

  • Windows Forms Transparent

    I want to put and png image on the form. And while form is opened the png's transparent areas must be transparent. (Like TransparencyKey but transparencykey don't be transparent png's transparent areas. ...Show All

  • Windows Forms DateTime format problem in SQL query...

    Hi! I have a DataGridView connected to a dataset and I 've already created a query which searches the entire database in order to extract rows with a certain date. The user enters the desirable date in a textbox. But there is a problem with the date format: I've found that when i enter the date in the following format: MM/dd/yyyy it works fine.But wherever i am using this format: dd/MM/yyyy Visual Studio generates the following error: ''An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll Additional information: The conversion of char data type to smalldatetime data type resulted in an out-of-range smalldatetime value.'' Any help how to overcome this problem ...Show All

  • Windows Forms Problem: Can a Form == a Control??

    This is quite an interesting problem (well I think so, but then again, I am a bit strange). I have a .NET 2.0 application that consists of a number of panels that can be dragged around and docked - not unlike the Visual Studio IDE in fact. In these panels I can put any control I care to choose. All well so far. Now then. I have another .NET 2.0 application which fulfils some functional need (as applications tend to do) but it was a bit of a nuisance that it was a separate app. I wanted it to be included as part of my aformentioned panel app. So, after having a look at the object hierarchy for Form, I noticed that it derives from Control. "Yipee!" says I, theoretically I can drop an instance of this entire app as a Contro ...Show All

©2008 Software Development Network