Santhosh Kumar's Q&A profile
Visual C++ Console application to MFC application
Hello all, I have some older C++ code that runs in a windows console and that I would like to make into an MFC windows application. Are there any wizards that would help with the export in VS.NET I know I can open an MFC new app and copy paste the code, but if there's a wizard to do it then why not Thanks. NF I don't believe that there is a wizard that does that for you currently. Feel free to log such suggestion at http://lab.msdn.microsoft.com/productfeedback/default.aspx Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio 2008 (Pre-release) Network error detection, handling and best practices
Hey, Hope I didn't miss it on the net. My architecture contains several services (physically located on different systems) communicating via WCF. What is the best way to detect network errors I've thought about two possibilities - 1. register for the Faulted event on the channel - This does not seem to work as I excepted. Channel doesn't necessary go to faulted state when a network error occurs. why is that 2. I can use events from System.Net and Microsoft.VisualBasic.Devices - but I prefer to think that WCF has that mechanism inside (that is - detect network errors, detect network availability, etc.). Thanks, Dan. ...Show All
Visual Studio Can i use the DSL Diagram components in other application?
hello all. the DSL diagram components is so cool,and beautiful, in the DSL installed dir ,i see there are some assemblies , Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll Microsoft.VisualStudio.Modeling.Sdk.Diagrams.GraphObject.dll .... and so on, Can i use these DSL Diagram components in my other application building Visio-like works. thanks a lot. Hi Matt In version one, I'm afraid the current plan of record is that the answer is no. The only supported scenario for the visual design surface will be to expose it from tools hosted within the Visual Studio IDE itself. You will however be able to use these ...Show All
.NET Development installing .net framework SP1 problem
I was just trying to install the sp1 for 1.1 on a media center pc and i need it because i want to connect to my 360.. Anyways, the message: (Microsoft Visual C++ Runtime Library runtime error! Program: C;/WINDOWS/system32/msiexec.exe This application has requested the Runtime to terminate in an unusal way. Please contact the application;s support team for more information) i have windows installer 3.1 and framewark 2.0 and 1.1 installed and it wont let me uninstall them either, same message comes up. Please can anyone help me i have figured it out and if anyone else gets this message i will be happy to te ...Show All
SQL Server Stupid Replication Q
Hi, Here's the brief. I have DB_A on Server A, which I'm replicating to Server B. I then want to replicate tables from DB_A on Server B, out to DB_X on Server_B, but when I try and create the publication, the row is locked from selection, as it's obviously locked for replication from Server_A to Server_B. Does anyone know if there is anyway round this I ideally want Transactional Replication as our need is to have an identical copy for other calculations to be done and reporting purposes. (Server_A is on it's last legs, so we have Server_B to do all the calculations and host MSRS) Would we just be better off getting a bigger, more powe ...Show All
SQL Server Confused with a change in t-sql behavior
I am really curious to know why a simple query like throws an error in SQL Server 2005 and not in SQL Server 2000 On SQL Server 2005 ---------------------- select RowNumber, RowNumber, TextData from dbo.[Tempdb Profile] Order By RowNumber error Msg 209, Level 16, State 1, Line 1 Ambiguous column name 'RowNumber'. You can have two columns with the same name, try to give them an alias and the query will execute withtout any errors. HTH, jens Suessmeyer. ...Show All
.NET Development Reuse the same set of classes in multiple web services
Hi, I am working on a windows form using C#. The 3 web services that I am dealing with are written in Java. The 3 web services define the same set of classes in their respective WSDLs. After I add them to my project using VS.Net, I get 3 set of the same classes with different namespaces, such as A.User, B.User, and C.User. Combining those 3 web services into one certainly will work. But if that's not an option, what can I do on my side And what else can I do on the server/Java side Thanks. In 2.0 you can share types across services. I haven't done it, but it looks like it may be what you ...Show All
Visual C++ Need a little help. Take a look please
Hello! I'm a new to Visual Cpp, so please help me, if you can. I need to write to following sub-routine to count: x r y s =(x 1 a 1 +x 2 a 2 +x 3 a 3 ) r (y 1 a 1 +y 2 a 2 +y 3 a 3 ) s where x i ,y j =digits from another program module, S, R = should be entered by operator, a=unknown dogits. the program task is: to open brackets and make re-combine digits into next order: x r y s =(a j 1 a i 2 a k 3 ), where i,j,k=degree of the a x Thank you very much, I really need this code Actually my main problem for this moment is that I Don't know how (or what operator Should I use) to open brackets Thats's what I nee ...Show All
Visual Basic Display data from sql (RichTextbox Data)
Hi everybody, The data is from a RichTextbox control has format like indentation, Butted list, Font Style and others and stored in sql. Is Windows.Forms.Label control be able to display the data with ints format intact How do I do that, the usual way of using its Text property and just that. Thanks. Dennis ...Show All
Visual Studio Problems running VSIP package created using VS 2003 in VS 2005
I'm running into some problems trying to get a package created using VS 2003 to run inside VS 2005. I've changed all the GUIDs and the registry root and the package seems to install and register properly. But once I try to run it from the Tools menu it just crashes VS 2005 with the generic error: Microsoft Visual Studio has encountered a problem and needs to close. This package runs just fine in VS 2003. One thing I've noticed about this issue is that if there is an exception inside the package, even though it's caught and handled, VS still seems to get the exception and throw it out to the user. I'm not sure if this is cau ...Show All
Visual C# C# .net to Excel 2003 Saving wkb as txt file
Hi, Can anybody teach me how to open a txt file with Excel file and then save it as txt file again , like "c:\example.txt". Thanks in advance. I am trying this (but getting error when saving): wkb = Wkbooks.Open(fileOpener.FileName,0, false , 5, "" , "" , true ,Excel. XlPlatform .xlMSDOS, "\t" , true , false , 0, true , Type .Missing, Type .Missing); // ExcelApp.Visible = true ; wkb.SaveAs( @"c:\example.txt" ,Excel. XlFileFormat .xlTextWindows, false , false , false , false ,Excel. XlSaveAsAccessMode .xlNoChange , Type .Missing, Type .Missing, Type .Missing, Type .Missing, Type .Missing); Aldo. ...Show All
Visual Studio VSS2005 Licensing
Hi, I was wondering about the licensing issue in VSS. We are currently runing Sourcesafe 6.0, and have 4 users in the database. Is there a limit in VSS2005 on the number of users or number of clients allowed to access the database at any given time Can one (server) installation be sufficient for all the users of the database Hi, VSS doesn't have a limit of the number of users in the database or the number of clients. Each client accesses the VSS database by itself, so the only limit you may have is given by the network connection bandwidth. In VSS2005 there are 2 components that run as client-ser ...Show All
Visual Studio VS 2005 Pro Fails w/ unable to locate files
Hello All, Initially, I received an error that VS 2005 installation could not locate a file named htmllite.dll even though I could see it on the CDs. I then found information stating that if one had downloaded the installation and had burned a CD, that the CD volume name would not match the directory name that the installation was seeking. Therefore, I copied the files to the harddrive and named it "Microsoft Visual Studio 2005 Professional Edition - ENU Disk 1". The forum thread about this error is located: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=127416&SiteID=1 After this, when I attempt an install ...Show All
SQL Server Filter a Model Table?
I am using RS 2005. I am setting up a Model for use within Report Builder so our clients can write their own reports. A 2 part question, simple question first: 1. How can I filter the records in a Model Entity I thought this would be possible from a Perspective but it is not. 2. How can I filter the records in a Model Entity based on the locale of the person who is logged on And also based on their permissions TIA You are correct that this is not possible with Perspectives. Note that Perspectives do not secure your data in any way. You can use Model Item Security and Security Filters to expose different records to differ ...Show All
Software Development for Windows Vista Asynchronous Activity sample
Is there any sample to run an Activity Aynchronously in beta2 Hi Ravi, By asynchronously do you mean in another thread If so, then this is not supported - the model is one thread per workflow instance. If you mean something else, please give me some more detail. Thanks, Angel ...Show All
