Priyanka Choughule's Q&A profile
Visual C++ C2955 Error in Visual Studio 2005 V8 - No Errors in Visual Studio 7
Any idea why the below stand-alone code has compile errors in 8 but not in 7 Yes, it's strange code pushing the envelope. Never-the-less why does 8 not compile it ------------------------------CUT----------------------------------------------- #pragma once #include <iostream> #include <tchar.h> typedef int TMember; template<typename _Member> class Data { public: typedef _Member _Mbr; int padding; _Member member; }; template<typename _TMember, _TMember *_memberP> class Access { public: _TMember *memberP; Access() { memberP = _memberP; } ~Access() { } }; template<class _Data> class Test : public Access<_Data::_Mbr,&((_Data*)0)->member> { public: }; int _tmain(int argc, ...Show All
.NET Development Socket transfer of TIF results in unreadable TIF file.
Hi everyone, bare with me, this is my first post here. Currently, we have a program that connects to a server and retrieves three types of files (TXT, CSV, and TIF). The program now needs to be in VB .NET without changing the server code. In my code below, I can successfully receive textual files (TXT and CSV) files byte-for-byte without a problem. The resulting files work perfectly too. However, when I try to retrieve the TIF, my program outputs the correct number of bytes but the file is corrupt. I was wondering if anyone can point me in the correct direction. <CODE> Public Function readFile(ByVal strBuff As String, ByVal fileSize As Int32) As String Dim returnData As String = "" 'Holds returned data from s ...Show All
Visual Studio Team System "TFS WorkItem Tracking" service does not match the trusted performance library information
Hi I have been receiving the following message in my application event log "The configuration information of the performance library "C:\WINDOWS\system32\netfxperf.dll" for the "TFS WorkItem Tracking" service does not match the trusted performance library information stored in the registry. The functions in this library will not be treated as trusted." Does anyone know how to resolve this There is a link to the similar problem: http://support.microsoft.com/kb/267831/EN-US/ Hope it helps. Thanks, Valery. ...Show All
SQL Server Problem on length of parameters using HTTP post
I have a multiple selection list box with over 1000 (Drug)items in an asp page. There is also a drop down filter list to help user selecting group of selections by javascript. User expected that they can select 1.individual item 2.group of items by drop down filter 3.group of items by drop down filter, then manually remove some items 4.all items The problem comes when total selected items > around 150-200 items, it stays at "Report is being generated" screen forever. For the case 1, user will not add > 100 items manually. For case 2 and 3, please help. For case 4, i can add an "ALL" in the list box. Will reporting service submit itself again using "get" internally although I use "post" in asp Or other rea ...Show All
SQL Server Setting Local Report Data Source
I am a college professor and am updating my undergraduate database course to use Reporting Services as the reporting tool. The student labs cannot run IIS so I assume that using server-based reports is out and am looking at using local reports and the VB ReportViewer control. For several reasons (waaayyy too long to list here) I do not wish to use the drag-and-drop datasets that seem to be the core of the ADO.Net 2005 architecture. Instead I prefer to create connections, commands, and datasets in code and to set data binding and manage data updates in code. All command objects map to SQL Server stored procedures. I need to be able to do the same thing with reporting services local reports but have run into a brick wall in getting the ...Show All
Visual Studio 2008 (Pre-release) Hosting WCF service in IIS
I'm having difficulty hosting a service in IIS where the service is implemented in a seperate assembly. It appears the latest release of .NET 3.0 has changed the syntax for doing this, dropping the @Service directive entirely. I have no problem hosting the service is inline or if the service implementation is included in the Web project. It's only when using an assembly from the bin directory where it won't work. TIA Peter - you need to have the script mappings in IIS for aspnet_isapi.dll to .svc files. You can add this manual or run servicemodelreg.exe in C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation ...Show All
.NET Development "Writing the Code"
hey all! Im not sure is this right forum to write but. . . I wanna learn to use visual studio, i got Visual basic.net Step by Step book but still cant get 1st program working (LuckySeven Heh). The hard thing is writing code.. Evrything before it is easy but i dont really dont understnad how many space it comes to some places and mine "Form1.Vb" dosnt look as same as at book!! :/ Any tips to my problem I will be thankful for any help! Thanks. ... I try :). I want to learn to make programmer with Visual Studio. I can put Buttoms and others to Form but when i got to write the code, like a pic shows evry 2nd sec(just example). But when i go and write the code the picture shwos evry 2nd sec not evry ...Show All
Visual Studio Express Editions Problem installing.
Hey. I just downloaded Visual C++ Express Edition 2005. I go to intall it, everything seems to go ok, and then it gets stuck here. It will not go anywhere past that. I don't know what I should tell you about my system but here is what I could think of. Windows XP Home SP2 Intel Pentium 4 processor Thanks for any help. alpsinan wrote: I have the same problem... nobody here knows a cure for that other than downloading the cd image If you are able to download the CD image and make a CD-ROM, that is a much better solution. First, you can reinstall easily if you every need to. Also, if you don't install everything the first time, it is always possible to refresh from the CD image when you wan ...Show All
SQL Server [XML Task] Error: An error occurred with the following error message: There are multiple root elements.
I'm trying to use an XML Task to do a simple XSLT operation, but it fails with this error message: [XML Task] Error: An error occurred with the following error message: "There are multiple root elements. Line 5, position 2.". The source XML file validates fine and I've successfully used it as the XML Source in a data flow task to load some SQL Server tables. It has very few line breaks, so the first 5 lines are pretty long: almost 4000 characters, including 34 start-tags, 19 end-tags, and 2 empty element tags. Here's the very beginning of it: < xml version="1.0" encoding="UTF-8" > <ESDU releaselevel="2006-02" createdate="26 May 2006"><package id="1" title=& ...Show All
SQL Server How to populate a junk dimension?
Is there any best practise to populate a junk dimension Should I just create the table and fill-in all the stuff using some SQL I believe most records in the junk dimension are static. Hello. Junk dimensions are related to the individual transaction. The transaction source key, in the fact table, depend on the granularity of the fact table. If it is a SalesOrderHeader fact table it can be the order number. If it is a SalesOrderLine item fact table it is usually the order number combined with the order line number. In fact tables you normally aggregate up to the individual order number so the order line details disappear. This is not a law so exceptions are possible. HTH Thomas Ivarsson ...Show All
Windows Forms how can i change the source code of a webpage with webbrowser control??
i want to add some source code to a webpage to add some functions for my own uses.... for example a webpage has a javascript function a(str){ ..... } i want to add an other function b to filter out some text.. so function a(str) {b(str); .... }.. Yo Scorp, I'm working on this right now as well. No help on the web either. I need to remove a javascript function from the document that's calling a pop-up before it is presented to my webbrowser control. I have the popup somewhat restrained, but It's making my web auto-processing app take focus (grrr) and now it's time to kill it. I'm going to try to modify the document.script element. I'll let you know what I come up with. ...Show All
Smart Device Development Asyncronous Notification using Compact Framework and Web Services
Hi, Is it possible to develop a web service which can send asyncronous notification to the client application using Web Service and not the Remoting What I really want to know that, if each client application have a web service which gets the notification from server web service (on some task running on server). Is this possible Does anyone have done it before. The reason for not using the remoting is that some of our client applicaiton are hosted on windows CE OS which doesn't support the .net remoting but does support web service. As far as I know the .NET compact framwork doesn't support the remoting. Does remoting is now fully supported by latest version of Windows Compact Framework Does any one have any idea. If this i ...Show All
Visual Studio 2008 (Pre-release) Binding Properties.Settings
Using the xaml example below, is it possible to assign the binding path of an element to a setting < ObjectDataProvider x:Key = " AppSettings " ObjectType = " {x:Type Task:Properties.Settings} " ></ ObjectDataProvider > Text = " {Binding RelativeSource={RelativeSource TemplatedParent}, Path=RequestId} " I want to change it to something like this where SettingName would be equal to RequestId... Text = " {Binding RelativeSource={RelativeSource TemplatedParent}, Path=AppSettings.Default.SettingName} " I don't get any errors but my data isn't showing up either I think you can create a property(MyProperty) in the customcontr ...Show All
Internet Explorer Development IE7 protected mode hWnd problem
hello, i'm trying to get the hWnd of a IWebBrowser2 control. if i'm working on xp, everything is ok. but with Vista - things different. hWnd returned is not valid. (IsWindow - fails) any ideas why It seems to me that because if you run iexplorer.exe in Protected mode, it runs ieuser.exe and it runs in its turn iexplorer.exe (with another Process ID). It seems that the hWnd is not of the second process... How can i solve this Thanks Lance, but it doesn't work... "As I understand it, the problem you running into occurs after the call to Navigate. When this is finished, a new instance of protected mode iexplore is started to handle the request. As a result, the spWebBrowser pointer is now defun ...Show All
.NET Development XSLT problems with "cdata-section-elements" and "omit-xml-declaration"
Hi All, Sorry, this is cross posted from the SQL server reporting services forum here: I'm using some xslt documents to transform the xml output of my reports in sql server 2005 reporting services, but have come across two curiosities where the xslt filter seems to behave unusually. Firstly, I need the final saved file to have an xml declaration, which I believe it should do by default. Even if I put omit-xml-declaration="no" in the xsl:output tag I don't get an xml declaration. At present we have a custom job that writes these declarations back into the xml after SRS has saved it. Secondly and more importantly, I need to have some of my output tags wrapped in CDATA sections. I've tried using the ...Show All
