longuyen's Q&A profile
.NET Development DataSet Scalar function returning only 255 chars from Access Memo field
Hi, I have a DataSet linked to an Access database. There's are two tables with a relationship. Using a function in table A, I retrieve a related Memo field from table B. However, this scalar function only returns the first 255 characters, instead of the complete Memo field. I have tried tinkering with Output and ReturnValue parameters, but that only results in "BADBINDINFO" exceptions. How can I make the scalar function return ...Show All
Visual Studio Express Editions Variables values
How can i see the variable values while program is running Set a breakpoint in your code, or put them inside a setter method so when they change you can set their value on a control somewhere. ...Show All
Visual C# C# Needs a Property keyword like MC++ has now
I've said this before, even directly to Anders, and I'll say it again: C# needs a simpler way to declare properties. Don't believe me Check out this video of a John Lam talk about the future of programming languages that espouses dynamic programming langauges like Ruby: http://www.ftponline.com/channels/net/reports/vsliveto/2006/multimedia/lam.aspx About 1/5 of the way into the presentation he gives this example of a piece of code everybo ...Show All
Windows Forms PlugIn
Pls,How can i expose my application in VB.Net so that another developer can plug into my application and use my modules or my functions. For an Example,I can plug into microsoft Excel and use its in-bult functions for my application. Please I will need an Example code using VB.NET 2005 Thanks Maybe this will article by Roy Osherove or this sample from Billy Hollis . ...Show All
.NET Development io.networkstream encoding
Hello, I'd like to ask how can i set the current encoding property to the streamreader I mean i am receiving a stream from a pop3 server and i would encode it into central european charset. how can i do this Dim respond As String respond = read.ReadLine() and i want respond to be encoded in unicode... how can i solve this thnx for ya help Here is a small sample of how you can get the stream converted. In fact, StreamCon ...Show All
Visual C# System.Net.Mail problem
I seem to have a problem with System.Net.Mail. I am trying to send a email using smtpClient.SendMail() but it wont actually send the email until the app is closed. I cant find anything on the net about this and im not sure what the issue is. I tried it a similar app using System.Web.Mail in VS 2003 and it worked fine. Any suggestions Thanks Shane Sure here it is: private void SendEmail( strin ...Show All
Visual Studio Team System Reducing the change-tracking scope for Team Build reports.
Hi, In one system, 7 components (.net project) are managed by one Team Project. One build type exists that builds the complete solution. There are some people dedicated to keep track of only the changes within one specific component (one scenario is that one of the components is being shared between other projects and therefore needs more detailed Configuration Management). For the complete build, the build report lists all ch ...Show All
.NET Development Q: Using .NET 2.0 with VS.NET 2003
Hi, Does anyone know if it is possible to use .NET Framework 2.0 Beta with Visual Studio.NET 2003, meaning instead of .NET framework 1.1 can i use only SQLServerCE 2005 library from CF 2 in CF 1 i need to use the feature of the ResultSet instead of DataSet in VS2003 and i cannot use 2005 beta because it doesnt target CE4.2 , it only target CE5 ...Show All
SQL Server Navigating to a File
In reporting services, does anyone know of a way to navigate to a file, rather than a Website or another report I know this is possible in Crystal, but was wanting to do it in RS. Hi Hepper - You can place the file somewhere where it's downloadable and use the Jump to URL property to navigate to it. HTH... -- Joe Webb SQL Server MVP ~~~ Get up to speed quickly with SQLNS http://www.amazon.com/exec/obidos/tg/detail/-/0972688811 I suppo ...Show All
.NET Development Bug in Serialize() or design problem in .NET ?! Help!
I have an object which has a delegate (event) declared in it. When I try to serialize it with: MyBaseClass obj = someObject; MemoryStream ms = new MemoryStream (); BinaryFormatter bf = new BinaryFormatter (); bf.Serialize(ms, obj); I get: System.Runtime.Serialization.SerializationException was unhandled by user code Message="Type 'System.ComponentModel.ReflectPropertyDescriptor' in Assembly 'System, Version=2.0.0.0, Cultur ...Show All
Visual Studio Express Editions A problem has been encountered while loading the setup components. Canceling setup.
Running WinXP Pro SP2. Downloaded the offline/network installer for Visual C++ 2005 Express and extracted the image's files like the Manual Install instructions tell me to with ISOBuster. I get the following error when I try to run setup.exe and autorun.exe: A problem has been encountered while loading the setup components. Canceling setup. Any help would be greatly appreciated. Using IsoBuster: Pick one of th ...Show All
Visual Basic Windows Forms 2.0
Is there a special datagrid control for the display of Unicode.. I have a need for a datagird display that will have mixed Japanese and English Characters.. Any suggestions to the Form to use, as there is nothing in the default Windows Forms 2.0 Thanks ...Show All
Visual C# Where is the namespace in 2005?
In ASP.NET using C#, I am not able to add a namespace to my pages. When I do I get a bunch of errors. Here is what I am doing: namespace MyNamespace { public partial class _Default : System.Web.UI. Page { protected void Page_Load( object sender, EventArgs e) {} } } Could this be because this is a partial class In VS 2003 I was able to change the namespace, I could also specify a default namespace, but I have been unable to ...Show All
Windows Forms Forcing a DataGridView to update values
I've got a datagridview (winforms) controls with a collection bound to it. Anyway, I've got a checkbox column in the grid. I need its value to be updated to the object as soon when the column value is changed. However, it only gets updated when I move focus off of that cell. Is there anyway to change the way it behaves or call a method to force the grid to update values back to the bound collection For in ...Show All
Visual Studio How to get project properties in partially modeled project system
Hello, The blog at http://blogs.msdn.com/jim_glass/archive/2005/05/25/421798.aspx describes how to get project properties using the automation model. What if the project system does not implement the properties part of the automation model Is there another way, through VSIP interfaces, that I can access the values of the various properties in the project properties Thanks, Notre Hi Notre, You ...Show All
