Ariel Weinstein's Q&A profile
Visual C# Serialization/Deserialization
I'm having an issue with a Property deserilizing. From what I undersatnd you do not want to expose ArrayLists or you just can not expose them through the serilization. This is a wierd problem to me. //This works public class Person { Person[] employees; //private member [XmlElement(ElementName="employees")] public Person[] Employees { get { return employees; } set { employees = value; } } } //Now this d ...Show All
Visual Studio Express Editions Can you help??
Hi I am working on a program and i want to take the data from a roe in the database and use it in my form.But I havent got a clue how do do this. can you help thanks hi, you have many options you can use your bindingsource.filter ="yourcolumnname = '" + thevalueyousearchfor + "'" you can use dataview dv as new dataview("yourtable","yoursearchcritare","",) search msdn for dat ...Show All
SQL Server order by in a view in sqlserver2005
Hi, I've a problem with a created view in sqlserver2000 that I'm now using in sqlserver2005. This is the view : CREATE VIEW hsarti01_VD1 AS SELECT TOP 100 PERCENT * FROM hsarti01 WITH(index(hsarti01_PK)) ORDER BY 1,2 desc,3,4 When I do the "select * from hsarti01_VD1" in sql server 2000, I see in the result that the order by is been using. but in sql server 2005 it's just using the order of the primary key and not the orde ...Show All
Visual Studio VS 2005 Team Suite RC won't install
I recently downloaded the VS 2005 Team Suite RC. I was running VS NET 2005 Beta 2, and as instructed removed all previous installations. I even ran the automated uninstall application that was provided on one of the web pages. Now whenver I try to install VS NET 2005 Team Suite RC, I get an "IExpress Setup" error when trying to install .NET Framework 2.0. Clicking on the Don't Send will cause the install to fail, but if I leave the e ...Show All
Visual Studio Express Editions Publishing multi-project solution
First of all, I would rather prefer to use .msi package creation instead of publishing in Visual Basic 2005 Express using ClickOnce. But, as it seems to me that's unavailable, let's go on. Using ClickOnce deployment, I want to publish a 32 project solution, where one of the projects is a "menu" start project. This one, after installation, allows the user to invoke each of the other 31 projects, by using a single nice icon on his des ...Show All
Visual Studio Tools for Office Replacing text
CAn anyone help me for replacing text in word xp after numerous occurences. for example replace "," with ";" only after 17 occurences of ",". Thanks or at least send me to the correct forum Hello, We have a few VSTO help topics that might help you accomplish this. Try "How to: Loop Through Found Items in Documents". You can find this topic at http://msdn2.micros ...Show All
Visual Studio Express Editions Newbie: tyring to use numbers in a textbox
Ok, I am kind of stuck on how to accomplish the following: I am using 8 texboxes that will contain only numbers (ranging from -50 to 50, no decimals) Textbox 1 will contain the sum of all of the other texboxes. I can fill the other 7 textboxes with the numbers, but how do I add them together, and make it so that text box 1 will constantly add the sum of the other 7 text boxes (incase the values change later) Thanks in advanced. ...Show All
Smart Device Development Binding Image path from XML document to Imagebox -- Not working....
Hello, I was sent from the XML forum here. Here's the post I posted in another forum. I've been having problems showing the images in my xml file. I can show the first image (kopf_ap.jpg) no prob, but it doesn't change when the other labels are bound/shown in their appropriate label. I have tried to bind the name of the file (burl) to a text label, and it worked. It's just not working for the image. Thanks for any help! I've been stuck for ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How Do I Pass values from Direct X into the rgba components of a float4 variable in a pixel shader
I want to implement Sparse Matrix-vector multiplication on GPU. I have a matrix where each component is of the form struct cell { int value; int row; int col; } I store the row and column with the value because I rearrange the matrix into the Compressed Row (CRS) sparse matrix storage format. Can I pass the matrix to the GPU as a texture that stores the above values. Can I pass the vec ...Show All
Visual FoxPro Help: I want my Grid to act like Excel
Help me, I would like my Grid to act like Excel where it should move downward after entering data from the field not to the right. Foxpro enters by record but I would like it to act like the way Excel does. Because my would be users would enter it by batch and it would be faster entering data by column not by record. Hope you could help me with these. Thanks *Grid.BeforeRowColChange LPARAMETERS nColIndex If Lastkey()=13 and !Mdown() &n ...Show All
Visual Basic Sockets... HEEEELLPPP! :)
Hi, everybody. I'm busy porting over a Telnet server application from VB6 to VB.net. But I've hit two MAJOR hurdles. The first thing I noticed with VB.net is that there is no Winsock control. Damn. So now I've got to use the System.Net.Sockets. OK. But I also need to use Threading apparently. I've found this one hell of a learning curve and was just wondering if somebody could post an example of a simple TCP/IP server that listens on a port, acc ...Show All
Windows Forms How do I get the MSChart control into VB.NET?
I would really like to use the MSChart control in VB.NET but it is not listed as one of my available controls. How do I get it You can build a managed wrapper around any COM control using the TlbImp tool and then i ...Show All
Smart Device Development Conditionally compile a class for either desktop or handheld
Hi folks. As duplicate code is very bad, I'm trying to create a database component which could be referenced from either a PocketPC2003 app, or a traditional windows (desktop app). Now I'm not expecting to be able to make a single DLL, but would like to be able to compile the same code to either platform. I've got it down to the references in the project. I need to be able to switch from the desktop versions of 'System', 'System.da ...Show All
Visual Studio Express Editions Q : Exceptions
hi, i want to ask about try and catch should it be used just for exceptions or i can use it like "if" for example i have a treeview and i want to know if the node has a parent or not so i don't know anymethod to indecate that so i used try and catch like this, Try mylastfolder = mylastfolder.Parent Catch mylastfolder = Nothing End Try or should i use catch null ...Show All
Visual Studio Team System Identifiers should have correct suffix (CA1710)
I have a class defined as: public class TBoardList : IList < TBoard >, ICloneable { ... } I am getting a CA1710 violation: Message Level Certainty Resolution 6 Error 95 Rename 'CutListLib.TBoardList' to end in 'Collection'. Rule: Identifiers should have correct suffix Category: Microsoft.Naming Check Id: CA1710 Rule Description: Types that extend certain base types have specified name suffixes. Types that extend Attribute, ...Show All
