ZAHID HUSSAIN12's Q&A profile
Visual Basic Help!! (VB 6.0)
Hello Everyone i really need help considering project due tom. I have visual studio 6 and i installed it (custom all checked) now the big problem is everytime i open VB 6 and do anything with it such as programing or opening project a microsoft error comes up and tell me to send report. i want to program and need help fast Hi, This forum only discusses .net languages. Questions on VB6 should be directed at the appropriate VB6 forums in Microsoft Newsgroups . Also a bit more information on what the microsoft error message said may help in getting an answer - the message could be absolutely anything. ...Show All
Windows Forms Why won't my DragDrop event fire on a label?
Hi, Hope someone can help me. I'm developing a small app to allow me to drag JPG images from web pages onto various label controls (in the app), each of which has it's Text property corresponding to a physical folder name (eg: "Art", "Landscape", "Sport" etc). The app then finds the most recent file in that folder, copies it' ...Show All
Visual Studio 2008 (Pre-release) Executing Custom Code at WCF Service Deploy/Initialization with PeerChannel
Hello, I'm trying to find out if it is possible to execute code on WCF Service initialization/deployment on a PeerChannel. Basically, here is the situation. I need to have a service which by nature does not need to act in a Peer fashion, it's a plain vanilla service that accepts requests via some standard channel binding, like WsHttpBinding. On this service, I need the ability to also expose a PeerChannel endpoint that performs certain maintenance tasks with other services in a Peer fashion. These maintenance tasks need to be executed through a PeerChannel when a service comes up and goes down. Is this possible If you need further ...Show All
Windows Forms Preview 1.0 Type Library (PREVIEWLib)
I would like to use the Preview 1.0 Type Library visual component in my C# project (file name: shimgvw.dll, wrapper AxPREVIEWLib). Unfortunately the component is not documented (at least I was not able to find any useful documentation). Some colleges of mine say that it is because the functionality of the component may vary over operating systems. Can somebody send some link about this component or suggest a similar but better documented one Is it possible that this component won’t be supported in future version of the operating system As I know it should work with Win 98 or better operating systems but it would be cool to see the of ...Show All
Visual Basic Really simple question!!
Ok this is much more simple than my last question about iterating through all pictureboxes on a form!! How do you launch a web page in the user's default browser from a piece of VB.NET code In GML (the programming language I'm actually decent in) you use the shell function, but in VB.NET, this doesn't appear to work!! Thanks in advance! -Javawag i think you talking about the thing i done before, make new project in vb express or C+ add browser go to pro section and set the right url to http://yoursite.com maybe this you after ...Show All
Visual Studio 2008 (Pre-release) Why will LINQ fail ?
Microsoft tries to helping object developers to close the gap between the relational world and the object world.And they call this " object modelling approach " Dlinq. Using " custom business entities " in enterprise programming with Dlinq might seem the best thing after " sliced bread " but it isn't. For my part I have written my Mappers and used commercial OR/M tools. They mostly provide the same thing. __Read the table from the database. ___Put that into a some HELPER thing.( DAO,DAL,ORM) ____Put that into your custom business object _____Read from your business object.(if u can :) ) I see NO REASON for this " Unnecessary Pull ...Show All
SQL Server DRILLTHROUGH MDX statement n SQL AS 2005
With SQL RS 2000 and SQL AS 2000 I'm using DRILLTHROUGH MDX statement. But when I try to use it with SQL RS 2005 and SQL AS 2005 I get an error: TITLE: Microsoft Visual Studio ------------------------------ Query preparation failed. ------------------------------ ADDITIONAL INFORMATION: Failed to parse the query to detect if it is MDX or DMX. (MDXQueryGenerator) Do you have any solution If you're trying to use the Analysis Services Provider in RS 2005, you may want to try the OLE DB for OLAP 9.0 Provider instead, based on this thread from the SQL Server OLAP newsgroup: http://groups.google.com/group/microsoft.publ ...Show All
Visual Studio Problem creating new reports : Missing data sources
Hi! I have a problem creating Crystal Reports, because designer shows no data sources. I have my solution divided in 2 projects : (user interface) UI and (data) DAL. I have all my datasets defined in DAL and I want reports to be in UI (UI has DAL included as reference). But when creating a new report in UI it doesn't display any of DALs DataSets (It works just fine if I create new report in DAL). Any suggestions how to fix this How do I tell VS that datasources are in other project ps: I'm using VS 2005 -Mirko Teran Has this been changed form vs2003 to vs2005 Because we have an old project cre ...Show All
Visual FoxPro How to set automatically 'OK' for a foxpro "update table messagebox"?
Hi! When I add an old table (fox 3.0) in fox pro, the program get me the follow messagebox: "File 'TABLENAME.dbf ' will be updated in new file format, making it unreadable, to previus version of FoxPro. This can be reversed with 'COPY TO' command, and the old table will be saved as a .BAK file. Continue " and I have two button OK, and NO! But I want that my program choose automatically the OK button! Is it possible Thank you so much for your help! Check your other thread. You don't need the dialog in the first place. For example check "select-sql" in help. ...Show All
Windows Forms How to remove a class/form in VS project?
Hi all, How to remove a class/form in a Visual Studio project I try to delete the file manually, but that is not OK. Any help, Thanks. Right click on the file in the Solution Explorer. Exclude From Project removes it from the project, but leaves the file alone while Delete erases the file completely. You can also highlight the  ...Show All
.NET Development Using consumer side SoapExtensionAttribute in Beta 2 consuming Java WebServices
I have runnning and perfectly working SoapExtension project in the web application solution. The WebServices servers are a "BlackBox" to me. I'm trying to: 1. Add an attribute to the SoapExtension. 2. Set a few values in SoapHeader's elements catching them in the AfterSerialize context of the ProcessMessage override. 3. The XPath, value, key, token and operation are supoosed to be extracted from the attribute. I saw the article http://msdn2.microsoft.com/en-us/library/system.web.services.protocols.soapextensionattribute , which says that the attribute has to be applied to "a method in an XML Web service client ...Show All
Visual Studio Paging in toolbar off-by-one
I'm using the ReportViewer control in a WinForms project, using Local processing mode. On the report itself, it always correctly shows the current page and total number of pages in the report using Globals!PageNumber and Globals!TotalPages. However, in the toolbar page navigator, the total number of pages is always initially shown as one less than the actual number of total pages. For example, I've got a report that actually has 8 pages. When I view the report in ReportViewer, in my report header it indicates "Page 1 of 8". However, in the ReportViewer toolbar page navigator, it indicates "1 of 7". Strangely, ...Show All
Visual C++ Tips for speeding up debugging (stepping through code)?
I've got one particular large C++ project that, in VC 2005, when stepping through code in the debugger, it takes approximately 2 seconds for each hit of the F10 key (i.e. each line of code) to be executed. I've tried many things to attempt to speed it up: disable intellisense, renaming feacp.dll, removing all additional output windows, watch, breakpoints, etc, removing navigation bar from text editor window, disabling anti-virus on the machine, closing all other apps. It's always the same speed. Running on a dual P4 2.8 gig with 1 gig of memory, and hyperthreading enabled. Are there any other tips for speeding up debugging in the ...Show All
.NET Development XSLT 2.0 and XPATH 2.0 support?
After much hunting I get the general impression that .NET 2.0 does not support XSLT 2.0 or XPath 2.0. But that version 1.0 is supported for XSLT/XPath and that XML processing performance has been significantly enhanced over .NET 1.0. Can someone please confirm these (The immediate implications of this concerns what XSLT reference book to buy.) thanks, david ...Show All
Visual C++ __w64 int ( What is it )
I have been working on porting application. I have been facing warning related to "__w64 int" conversion. I wanted to know whats __w64 and what care needs to be taken to correct the warning. The warning i am getting is warning "C4244: '=' : conversion from '__w64 int' to 'int', possible loss of data Any help on this regards is highly appreciated. Thanking in anticipation. Regards, - Imran. If you are never going to compile your code for 64-bits then you should just ignore this warnings. Either by disabling the warning or better removing the /Wp64 switch from the command-line. If you are going to be compiling your code on 64-bit then t ...Show All
