Raja Pratap Reddy's Q&A profile
Visual C++ hi i cant debug my code ?
hi im just startet at learing c++ i got my code working i dev-c++ but i Visual C++ 2005 Express Edition i cant run or debug my code why here is my code #include <iostream> int main() { std::cout << "show!\n"; return 0; } I'm new to C++ as well and I see a big problem off hand. I see no .h in your library<iostream>. You can fix this several ways. If you want to use std::cout you need to do this: #include <iostream> using namespace std; Or this: #include <iostream.h> ...Show All
Visual Studio Team System customized test templates
In the thread http://forums.microsoft.com/msdn/ShowPost.aspx PostID=13002 , it is explained how to create your own manual test templates. Easy enough. But, it would be nice to have the whole team working with the custom template. Is there an easy way to get this template an each machine I dont know about other source code control tools, but for source safe: Set the working firectly for the project where these files are located, and point it to the VS Templates director For TFS: File/SourceControl/Workspaces/edit the workspace for the files -- you can select the local directory for part of the tree in this dialog. (Sorry for not more de ...Show All
.NET Development VB.Net and Access - running a stored query, putting it in a dataset then updating it!
Hi there. i am very new to vb.net and am using a simple MS Access Database. i have a table with user names in Access and a stored Query in there which will pick out the username and password if correct. In vb i have a simple logon form which should get the user's input in the username and password text boxes, then it calls the stored query in Access and checks the information for a correct user. Once it has done this it then should update the dataset and the database table with the current time for their logon and set a value to 1. It doesnt and i need some help and possible explanation on why it does this ! ! here is the cod ...Show All
.NET Development Detecting if code executes after exception
Hi, I'm wondering if there is a uniform way to detect whether code is running after an exception is raised (within the .NET framework 2.0), transparent to the possible environment the code is running in (ASP.NET, Forms application etc). I have a Dispose method that that must behave differently when it's executed after an exception has been raised. This disposable class will be placed in a library that will be used by different types of applications. In ASP.NET you can check the HttpContext.Current.Server.GetLastError() method, but this only works for a web application. So how do I know for sure an exception has been raised independent of the ...Show All
.NET Development .NET on Windows NT 4.0
I am working on a clients site that needs some .NET work done. They would like me to login to a CITRIX server running Windows NT 4.0 to do the development. Can you develop in .NET on windows NT You can run .NET applications on NT 4.0 (SP6a), but Visual Studio requires Windows 2000 or higher: http://msdn.microsoft.com/library/default.asp url=/library/en-us/f_and_m/html/vxoriInstallationPrerequisites.asp ...Show All
Smart Device Development Loading images as embedded resource: How to optimize
Hi!!! I have a pda application that uses a dll that I made. That dll has some images that i load as an embedded resource, when i run the application, it takes some time t load all images and i can see in the emulator the images loading... What can I do to make the images load at the same time Thanks in advance A useful method of determining the full name of all embedded resources in your assembly is to use GetManifestResourceNames which returns an array of strings containing each resource filename e.g. string[] resourceNames = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceNames() ...Show All
SQL Server Help: Multiple sub-reports creating extra blank pages on print
I have a project with multiple pages of reports. I am using one main page with all the other reports added through the sub-report control. The only problem is, after the first page and a couple of the other pages, it inserts a blank page in the print preview. If I view and print the reports seperately, and not all on the main report page they print fine, they don't roll over, don't print any extra blank pages. This only occurs when I add all them all as sub-reports. The last 5 pages don't suffer from this problem either. Can anyone think of what the problem could be, or a way to solve it All the pages are 8.5x11 with no margins. As I sai ...Show All
Smart Device Development Windows Mobile 2005 - Can you reset/clear Database (EDB) sync flags/count to avoid sync with ActiveSync? Serious Bug in WM2005!!
Hello All, On Windows Mobile 2005 - Can you reset/clear Database (EDB) sync flags/count to avoid sync with ActiveSync I found a serious BUG with WM2005 because the replication values (bit based) APIs are non functional... Use for this is any type of application that would Backup the PIM (Contact, Tasks, Appointments) and any other databases and restore the database back to it's original value... Currently there appears to be no working APIs that allow the developer to clear the 'need to sync' flag on an EDB record. There is a *CRITICAL* flaw with this... If contact/task/appointment (EDB records) information originat ...Show All
Visual Studio Express Editions VB 2005 Forms Control
Can some one help me how to make a textbox accept only numeric values. The code "textbox1.numeric=true" gives an error thanks Dear Sir, Please, help me about use of multi page controls in vb. I was tried to insert multi page control into forms with two page, draw a textbox1 into page1 and second one into listbox now i want to set to property for textbox and listbox. i could not set to this. please tell me how is it. Rashesh ...Show All
Visual Studio Express Editions mixing libraries - making debug - missing symbol __invalid_parameter_noinfo
Hi there, I have a setup where I distribute libraries built for a release version, and allow a user to use them as a DLL. I originally released them as VC 7.0 libs. I had a user try to link these using VC exp 8, and received errors which appeared to be stl related. I got express and rebuilt the libs in release form (converting the older projects) and everything built and linked fine. Unfortunately, there is a runtime error with the user's DLL I have yet to solve. In an attempt to build a debug DLL, my "release" libs are coming up with no symbol errors for "__invalid_parameter_noinfo" Ther ...Show All
Visual Studio 2008 (Pre-release) Java support for xps document
Hi All, I have a requirement of creating the parallel java library for xps document creating editing etc. can any body help me out on this. or microsoft already have such library.. for viewing xps documents I need to have xps viewer on my machine, is it available for non microsoft platforms......if yes then can any body provide the link for the download. If not then is microsoft going to come up with os specific viewer..... Cheers, Parag Hi Parag, Microsoft is only providing .NET apis to work with XPS Documents in the .NET 3.0 release. At this time we have no plans to create a Jav ...Show All
Visual Studio Team System Creation of AreaRootNode/IterationRootNode
Hi, I am trying to create AreaPath nodes through OM API. I can use CommonStructureService.CreateNode method to do it. The question is: how I can create root node What should I supply as parentUri to CreateNode for root nodes Or may be there is other special function to do it Thanks, Leon Sorry I misunderstood your question. Use GetNodeFromPath using " projectname /Area" as the path to get the parent node for top level Area nodes. Allen ...Show All
Visual Studio Tools for Office Shared Add-In VS2005
Hi! I have problems to get Shared Add-in done with VS2005 ("final" version) with Word 2003. I manage to make same test with old VS2003 shared add-in project type and it's working fine with Word 2000. Is there some issues why .Net 2.0 Shared Add-in won't work with Office 2003 Also what I actually trying to solve is that I need add-in or way to add new command bar to Word where users can use my .Net windows form program. On VS2003 it worked just as I though with Shared Add-in project. If I need to make this kind of 'add-in' for .Net 2.0 and Word 2003 should I install VSTO for this purpose or should shared COM Add-in method work I ...Show All
Windows Forms MDI Child scroll bars?
I am making a pricing application for work which has a MDI parent and several MDI children. What has me puzzled is why the child forms do not have scroll bar properties while the parent does Is there anyway to have scroll bars on the child form so that the content of the child form can extend down past the bottom of the scre ...Show All
SQL Server Oracle 9i -> SQL Server 2005: Snapshot agent aborts suddenly uninterrupted
Hi - I hope some of you can help me with this problem. I'm trying to run the snapshot agent for 77 published tables, but the agent stops suddenly uninterrupted. It stops in the middle of taking a snapshot of a table containing 81,719,531 rows. The error message is pasted below. Message 2006-06-14 05:33:33.53 [89%] Bulk copied 100000 rows from "ORAMSSQLREPL"."HREPL_ARTICLE_21_21" (57200000 total rows copied) 2006-06-14 05:34:12.57 [89%] Bulk copied 100000 rows from "ORAMSSQLREPL"."HREPL_ARTICLE_21_21" (57300000 total rows copied) 2006-06-14 05:34:51.23 [89%] Bulk copied 100000 rows from "ORAM ...Show All
