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

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

EngSheng

Member List

HastaVista
PhoebusApollo
tofubyrd
CrazyNun
Khaled Hussein
Worren
Hognose
gv
MaNicXs
TheGrooveDr
Leketje
Overflow
EdwardT.Drew
Ichiro
Andreja
JJRUIZ
abdi
JavaSci
Jayapal Chandran
Scott Steigerwald
Only Title

EngSheng's Q&A profile

  • Windows Forms Implements IBindingListView Problem

    Does anyone have a VB sample of a collection implementing the  IBindingListView interface. I need to make the filter option availabe from the BindingSource for my objects. Thanks Ken Fair point about declaring unfilteredItems as List<Of T>. I missed that one. Thanks Also, extremely good point about using the proper interface! I guess I've always been a bit rebellious when it comes to following rules. I like to consider myself as "thinking outside the box" ;-) I hope to learn a great deal from you in the future. Cheers. In case anyone is still interested in the dele ...Show All

  • .NET Development Data Access Layer; how-to use List<> collection obj. w/o reference to specific type

    Here's my scenario: 1. I have a DAL 2. In my DAL, I want ONE function that will transform an ADOReader resultset into a strong data entity object that I will call an Info entity (e.g. WorkerInfo). My info entity contains only properties, and each field of each row of my Reader will provide the content for the property attributes of my object. 3. I can do this easily for each of my different data entities, but I don't want to have to create a new function for each of them. Instead, I would like to pass to my function what Type of entity is getting filled, as well as my params and proc name needed to fill the ADOReader. 4. Here's a ...Show All

  • SQL Server How to Create CLR Based Stored Procedures

    I need to create CLR Based Stored Procedures using VS2005 Standard Edition in Sql Server 2005 Standard Edition. Unfortunately, when I create a new project in VS2005. I can not find the template to create a Sql server project using C#. I re-install sql server and Vs2005, the problem still there. Does Vs2005 standard edition support create sql server project Thanks a lot. O sure it does, its located under File --> New --> Project --> Visual C# --> Database --> SQL Server Project. If its not located in there you have to reinstall the Visual Studio template from the setup file. HTH, Jens Suessmeyer. --- http://www.sq ...Show All

  • Visual C# Cannot read from a text file - FileNotFound Exception, although file is there

    Hey guys, For some reason, I keep getting a FileNotFound exception while trying to read from a text file, although the path that the StreamReader is looking in is correct - which I know for a fact. Here is the method that does the reading: public void setDescription(String file) { string currentDir, desc; try { currentDir = Directory.GetCurrentDirectory(); // Read the file as one string. System.IO.StreamReader myFile = new System.IO.StreamReader(currentDir + "\\" + file); desc = myFile.ReadToEnd(); myFile.Close(); label11.Text = desc; } catch(IOExce ...Show All

  • Windows Forms The windows controls suck!

    Well I guess the subject of this post sums up what i wanted to say really. How can MS expect developers to make great apps, when they provide all but the simplest controls! Its really in MS's best interests to provide more advanced controls - they should want to make it easy for developers to make great applications on windows. What with Linux&nbs ...Show All

  • Visual Studio How to access reporting dataset after report is run?

    How do you access the dataset that the current instance of the report is run on outside of the report The reason I want to do this is because I have created my own parameter toolbar and want to be able to populate the dropdown menus with data that is returned from the dataset. Specifically, I want to be able to extract things like the UserIDs and/or the Status fields that are returned inside the dataset. I assume you are using server mode, since in local mode you have to supply the data to the report object. In server mode, the viewer never gets the underlying dataset from the server, so it can't return ...Show All

  • Visual Studio 2008 (Pre-release) November CTP - missing Microsoft.WinFX.targets

    Ok, I do realize that CTP's aren't meant to have a high quality bar, but this is frustrating nevertheless *sigh*. Could someone please post the contents of their ...Framework\v2.0.50727\ Microsoft.WinFX.Targets file My WinFX installation doesn't include this file and there doesn't seem to be any workarounds to this problem on the web. Thanks Senkwe. PS. My WinFX installation is for the November 2005 CTP against .Net 2.0 RTM Did you install the WinFX Runtime Components  or just the WinFX SDK The targets file ships with the former. The SDK is not necessary to build WPF apps on the command line; althou ...Show All

  • Windows Forms unable to install TaskVision in Windows 2000 Advance Server

    i have all the requirements needed including .net and sql server in our windows 2000 advance server but still i cant stall taskvision web services into it! can somebody help me thnx a lot! CHECK FOR A SOLUTION Installing Taskvision on a 2000 server I was having the same issues... could not find ASP user. One of my friend got the solution,  ...Show All

  • Windows Forms Help me designer has Bugs bugs bugs

    For some reason whenever I use certain controls in Visual Studio 2005 the designer will not reload the form and I get Initialization errors in the designer. Ive downloaded the TaskVision app to see if it was something that I was doing, but I am unable to view any complex forms in that project either.. One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. The designer cannot process the code at line 58, please see the Task List for details. The code within the method 'InitializeCompone ...Show All

  • Visual Studio Team System Error 32000 and reinstall Foundation Server

    During signle server installation, I get the error: Error 32000. The Commandline "D:\ProgramFiles\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\sdk\bin\tfsadaminst.exe" /install DIONYSUS 2420 TFGSS Hyperknowledge\TFSSETUP' return non-zero value:1 Also, the installation guide mentioned that I need to restart the pc during installation but it didn't ask me to restart the machine when I install the foundation server. Any idea how to solve the problem Also, after installation failed, how can I remove it and reinstall Any idea and suggestion are welcome, thank you... Update: I have found some post about how to uninstall: Step1. Uni ...Show All

  • Visual Studio 2008 (Pre-release) Problems with DataContract

    I Keep getting this error. System.Runtime.Serialization.InvalidDataContractException: Type 'Brackets.Bracket' has neither [Serializable] nor [DataContract] Can somebody help me My Application looks like this... - Object "Bracket" contains using System; using System.Collections.Generic; using System.Text; using System.ServiceModel; using System.Runtime.Serialization; namespace Brackets { [DataContract] public class Bracket { [DataMember] string bracket; [DataMember] DateTime time; [DataMember] double x, y; public Bracket(string b, DateTime t, double x, double y) { this.bracket= b; ...Show All

  • Visual Studio Express Editions Add Record

    I'm able to display data from my database with this code but can't add a new record. What am I doing wrong Dim MyConn As New OleDb.OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\db.mdb" ) Dim MyComm As OleDb.OleDbCommand Dim strSQL As String MyConn.Open() strSQL = "INSERT INTO [Names] (LastName, FirstName) VALUES ('" & LastNameTextBox.Text & "','" & FirstNameTextBox.Text & "' )" MyComm = New OleDb.OleDbCommand(strSQL, MyConn) MyComm.ExecuteNonQuery() MyConn.Close() Are you getting an except ...Show All

  • Visual C++ Error 1 error LNK2022: metadata operation failed (80131187) : Inconsistent method declarations in duplicated types (types: DayPl

    I am getting this error when I try to compile my project. Can anyone translate this into something I can understand Error 1 error LNK2022: metadata operation failed (80131187) : Inconsistent method declarations in duplicated types (types: DayPlanner.frmNewProject; methods: txtEstimatedHours_KeyPress): (0x06000321). DayPlanner.obj    Thanks very much -Bryan St. Amour An earlier thread on the same issue links to google groups :- http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=182899&SiteID=1 ...Show All

  • Visual C# May introduce several good books?

    1.May help me to introduce study ADO.NET up to date - best - most authoritative good book 2.May help me to introduce study ASP.NET up to date - best - most authoritative good book Please look at Amazon and read some reviews, this allways helps. But here are four books i can recommand. ADO.NET Professional ADO.NET 2.0 Pro ADO.NET 2.0 ASP.NET Professional ASP.NET 2.0 Pro ASP.NET 2.0 in C# 2005 ...Show All

  • Windows Forms Exporting OCX files

    I have created a control in Visual Basic 2005 Express Edition Beta. When I build it, it just makes a dll files. Where is the OCX toolbox file   Now I am getting the error again :( "Object Refrence not set to an instance of an object"  but only when I debug it. The control works fine in design mode. What causes this ...Show All

©2008 Software Development Network