Answer Questions
geometrikal Accessdatasource query builder error
Hi, When I hit the query builder button in de configure data source window of the accessdatasource control ik get the following error message : "object reference not set to an instance of an object". I use VS 2005 with sql express. Someone got an idea I have solved it myself by reparing MS Access. Probably the MDAC adapter was corrupted. Good luck! Thanks for the help! Works ...Show All
James Hendersen Change defaults for AssemblyInfo.cs
Is there a way to change the defaults for the General Information fields in an assembly's AssemblyInfo.cs Specifically, I want to be able to set the Company and Copyright fields as per our corporate policy on documenting source code, and not require each developer to fill it in each time an assembly is created. Modify the appropriate project and item templates in C:\Program Files\Microsoft Visual Studio 8\ ...Show All
Revan How to perform bitwise operation in DataTable.Select(string) ?
I tried "(status & 16) >0 " and it reported Exception!!! This,however, works fine in SQL server query. I cannot find any good resource about bitwise operation in DataTable. I'm very new to this. Experienced people please tell me!!! Hmm, actually we do support binary operators :) (i looked at the link i posted and figured it ) What exception are you geting --VV [MS] vascov@microsoft.com ...Show All
Marius.Cotor Sharing a DataTable between functions
Hello! I have a problem with a DataTable. I want to share it between these two functions. I load data in the Page_Load but when I enter the Next_Click the table is empty. What do I do wrong Regards Kristian private DataTable sort_tbl = new DataTable (); protected void Page_Load( object sender, EventArgs e) { if (Page.IsPostBack == false ) { ConnectionStringSettings connString = ConfigurationManager .Connection ...Show All
detrius67 How to modify & insert into XML without loading the whole file in memory
I am working with large xml documents, over 50 MB. I know how to read it using XmlReader class and Xquery but except DOM I didn't found a way to update nodes, or insert new nodes. There is any way to use XmlDocument class and not load the whole document into memory, can I use buffers, or what I should use into my C# app to be able to load, modify, insert and then save XmlDocument does not support partial updates back to disk. ...Show All
bstaz Using a non-transactional SqlConnection within a TransactionScope
Hi, I'm writing a resource manager. It's code will often be executed within the boundaries of a TransactionScope. The problem is that I would like to log all attempted actions on the resource to a database. Ofcourse all attempts that fail also have to be written to the DB. This means that I cannot let the SqlConnection I use to be executed within the transaction boundary of the resource manager... How can I make sure that this doesn't happ ...Show All
BranchL Help for a beginner
I just started a C++ course and im having a bit of trouble with this program at home. i can get everything to work at school, but something is different on my computer. I am trying to make the basic "hello world" program but when i go to Start Without Debuggin to test it, it gives me an error that says that it is unable to start debugging because the system cannot find the file specified. i believe that i have everything set up correctly though. ...Show All
KBeBo Online artwork design
I am developing a system which enable user to customise artwork. The tool i use is ASP.NET. I would like to know if I need a component to do that in dot net. The system accepts texts, uploaded image by user and display the result on a graphic (JPEG). Firstly user can select one of the templates and then input texts and upload image. User can change the fonts, colors, position of the text. After updating the system would show the output on gra ...Show All
Bob Meyers MSFT How to compare 2 xml files?
Hi, How can I compare 2 xml files using c#.net Thanks in Advance, Hitesh What differences do you want to detect If you just want to tell if they are different you can use File.ReadAllText() to load the files into two String variables then use String.Compare() to see if they are the same (String.Compare() returns 0 if they are the same). Hi, I have one standard XML file like this:- <FileCheck> <Fo ...Show All
tsensenbach Installation program
Where can I find a code example for VB for creating an profesional installation program Installation Program As in an app written in VB that installs a given list of files to specific locations I can’t help you with that... however I would suggest looking into some of what is included with Visual Studio, namely Setup projects ( http://support.microsoft.com/default.aspx scid=kb;en-us;307353&Product=vsnet ) which are automated syste ...Show All
Jacob Grass Login to website?
Hi group, This is a complete first for me and I have no idea where to start looking... I need to retrieve data from a php website. This website requires a login. So before it's possible to retrieve data I need to login :-) I need to use the HTTP POST method, most likely because in the source of the url I found this: <tr><td class="menu_cell_repeater"><form action="login.php" method="post"> So how d ...Show All
anjumahesh Strange XmlNodeList behaviour - NullReferenceException
Hi, I used the SelectNodes() method which returns an XmlNodeList. I checked the Count property of the returned value. It is giving correct value - 3 or 1 depending on XPath Expression. Now, when Iam iterating through it Iam getting a NullReferenceException. XmlNodeList nodeList = doc.SelectNodes(............); foreach(XmlNode node in nodeList) { } Iam getting that exception at the foreach statement. Everything seems al ...Show All
fieldhouse Word 2003 Addin in VS2005 - deployment
Hello everybody, I'm currently developing addin for Word 2003 in VS2005 (VB.NET) Everything works fine, addin works great (actually only as designed) but I have hudge problems with deployment. It works on my production box, but When I compile the setup project (bundled in by default) it doesnt work on other boxes. There is only one box it actually worked - box with office 2003 and VS2005. On other boxes office 2003 stats but doesnt run the ...Show All
Philip Coyner Can I build a chat server/client app with .NET remoting?
Hi, I want to build a chat application where clients with windows app clients can chat. Nothing very fancy like MS Messenger, just plain simple chat. Can I do this with remoting or I have to go to sockets (notvery familiar) The part that I have trouble understanding is how the server informs the clients when someone sends a message to A, B and C cilents. Is the clients have an open connection with the server or is polling Thanks in advanc ...Show All
tecolote 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
