R_S_Chandrashekar's Q&A profile
.NET Development How to pass custom object to WebMethod?
Want to pass my Currency entity object to a webmethod. I have marked the object as Serializable. However, another object with the same class name Currency(generated by VS.NET 2005) is required when I try to use the webmethod. Why How can I pass my entity object Thanks You can also use the XmlInclude attribute to specify the type that you want to use instead of the generated one. Daniel Roth ...Show All
Visual C++ Is the VS 2005 CRTL compatible with Win95?
We have received reports that the latest version of our application (compiled using VS 2005) crashes on Windows 95. We have made some changes in our app, but nothing that we would expect to cause incompatibilites with Win95. We installed a test PC with Win95, and sure enough the app crashes on startup. Unfortunately, dbghelp.dll can't be loaded on Win95, so there's no possibility to make a minidump. What to do We a ...Show All
Visual C# Make selected item in the listbox always at the top.
When i call a function , select a item in the list .but i want that selected move to the top of the list automatically, instead of click the scroolbar. Can I do this Thank you. I found this link , but i cant control the event scrolling. :( http://www.codeproject.com/cs/combobox/ScrollingListbox.asp This is my code , when i click button, the scrollbar move to new value 48.But it not works ! private void button1_Click( obje ...Show All
Visual J# porting Forte projects to j#?
How to get Forte form to j# I have java applications built in Sun Forte 3. Porting the java code is easy. Now I am stuck as to how to import, convert Forte java .form files into J# forms. Is there a way I can import the Forte java .form files into J# forms, so I can do the GUI Editing in J# studio as well ( I would very much to avoid the time consuming task of building the forms from scratch) I tried online help, Googl ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is DirectX good enough for creating modeling tools?
this may seem a silly question. yet all the modeling tools i see on the commercial market and free tools use opengl. is this choice due to opengl having the ability to be used on no windows OS or is directx not upto the task well i wasn't aware of 3dsmax having a choice. :) i was curious because i wondered about creating my own tools and would prefer to stick with directx. yet was a bit worried by the choice for ...Show All
Windows Forms bug in DirectoryInfo.GetFiles()
if path to DirectoryInfo has not an ending \ then 1 char is missing in the beginning of the file names and FileNotFound Exception on other methodes static void Main(string[] args) {   ...Show All
Visual Studio Express Editions connect to sql express
I'm trying to connect to an instance of sql espress using sql server management studio express, and when asked for the server name I typed ".\sqlexpress" but I get an error. Is there any other server name I could use to connect. Thanks. Thanks for taking the time to reply to my question, I reinstalled sql server 2005 express and problem solved. Thank you, Again ...Show All
.NET Development .net and sync toy
I have .net version 2.0 When trying to run sync toy it says I need version 1.1.4322. When I try to download that it tells me that I already have 2.0 How can I get sync toy to load with .net 2.0 Thanks nasr0001 wrote: So have anybody tried it uninstall v2, install 1.1 and then v2 Quite a hassle for using a powertoy when there is syncback... Its a common sense, Uninstall 2.0 and install the succ ...Show All
Visual Studio Express Editions Deleting Directories
Is there an easy to delete an entire directory including subfolders and files Yes you can do this by using the following code Directory.Delete(directorypath, true); true indicates to delete all the subfolders and files ...Show All
Visual Studio Tools for Office File error : Data may be lost
Hi, I have created a VSTO excel application. Now, whenever i run it, it pops up a message box " File error: Data may be lost" . how do i resolve this I have seen this behaviour and since moving onto RTM/RC builds have not had a repeat, albeit dont have a working sample that is in my test matrix but would be the same bug you are referring to Harry. Regards ...Show All
Visual Studio Express Editions Opening a png file and getting its size
Hi everybody, I'm a novice in c++ programming, so excuse me if I ask a stupid question :-) I have to open a png file in a program, to get its height, width and the color of each pixel. I programmed in Java and there I had the default package imageio (in particular the static class ImageIO) which did everything I need (getWidth(), getHeight() and getRGB() methods): so my question is: is there something like Java imageio package in C++ Th ...Show All
Visual C++ A problem of CComUnkArray::Add() in the atlcom.h
Hi all, The excerpts of the function look like this : DWORD dwCookie = 1; for loop () { if (condition match) { return dwCookie; } aiwdwCookie ++; } Look! What is aiwdwCookie I think this is a bug of atlcom.h. Could you help me to identify this issue Ah! I forgot to add the product version. I am using Vi ...Show All
Visual Studio Team System Remote Accessing of VSTS Source Code Control (SCC)
Hi, We are having our TFS Server installed remotely(in US) and our machines (in India) were able to access the TFS Server. The problem is that we are not able to "Check in" or "Check out" the code from the source code control from Team Explorer as the "Get Latest Version" and "Check out for Edit" menu options were disabled or through the command line method . So kindly let us know how to resolve this problem. How can we enable the sou ...Show All
Windows Forms ClickOnce on a locked down Terminal Server
I've been asked to get a ClickOnce application working on our Windows Server 2003 terminal servers. Note: I am not the application developer - just the guy trying to get the app running. I can make suggestions to the developer but they are a third-party. Some background : The terminal servers are load-balanced and publicly accessible (no guest access) so we have them locked down; although not as tightly as *I'd* like... ...Show All
SQL Server How to turn off Auto Recovery in SQL Server Management Studio 2005?
Auto Recovery kicks in about every 5 minutes in SQL Server Management Studio 2005. Over a slow network connection, SSMS stops responding until the Auto Recovery completes. Auto Recovery can be turned off in Visual Studio 2005 but I have been unable to find how to turn it off in SSMS. Go to server->Properties dialog and go to connections tab and you can change the recovery interval here. Gops Dwarak ...Show All
