2162's Q&A profile
SharePoint Products and Technologies A web part that is a consumer and provider at the same time.
I have already implemented a provider and consumer ASP.NET web parts and using them in sharepoint. Now I have to send some information from my consumer web part to another consumer web part. Is it possible If not can I handle it using ViewState Thanks Yes, that's possible, though I must confess I've not tried it yet. There are standard web parts in WSS3 that are both. You'll have to make sure that your consumer that is providing info is also a provider. A good article that also shows creating web parts (and transformers) http://www.carlosag.net/Articles/WebParts/webPartsTransformers.aspx I don't see that there is a reason why you couldn't have a class that implements an IFoo interface (and so ...Show All
SQL Server Pass XML Data to use as Data Source?
Hello, Is it possible to pass an XML document as a string parameter to a Reporting Services 2005 report and use this report as a data source for the report I know you can source from a web service, the problem is that the effort needed to convert what I have into a web service will be more than we would like to take on. Instead, I am trying to pass an XML structure as a string parameter to a report and then setting the Command Text like so: <Query><XmlData>Parameters!XmlData.Value</XmlData><ElementPath>MyRootElement</ElementPath></Query> TIA!!! Hi Brian- Yes, it is possible to do this. You will need to make the entire query string an expression, so that report processing will constru ...Show All
Visual Basic need help on 'restore down' button in Winforms.
What mechanism do I have to provide or what event do I have to handle for the "Restore Down" button to work on the Windows form Minimize works as expected. When I click on that button, the form minimizes to the app's icon in the taskbar. Clicking on that icon restores the form to the full size. When I click on "Restore Down" the window closes as it does in Minimize but now I have to perform a right button click on the icon in the tray at bottom and select 'Maximize" to bring it back to full size. I want to be able to "Restore Down" to a size that does not fill the whole screen and be able to move the app over to my other monitor in a dual monitor environment. Thank you, -Greg ...Show All
Visual Studio Customizing "Search Page" in Document Explorer 8
Hello, if you use the search functionality in Document Explorer, you have the possibility to restrict the search by selecting attributes from three categories: Language, Technology, Content Type. First question: Is it possible to add a fourth category with a number of different attributes Which modifications do I have to make Second question: If first solution is not possible, can i extend one of the existing categories with a new attribute E.g. adding "My Language" to the "Language" category would be sufficient. Thanks in advance for your answers. With kind regards, Florian Hello again, I finally solved the problem. The thing I haven't considered, was the ...Show All
SQL Server Server: Msg 7609, Level 17, State 2, Procedure sp_fulltext_database, Line 46 Full-Text Search is not installed
I have SQL Server on my webserver. The version of SQL Server and My Operating System, which I have got from the query "Select @@version" is Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Desktop Engine on Windows NT 5.2 (Build 3790: Service Pack 1) I want to do full text indexing on my Database. but when the option of Full Text Search is disabled in Enterprise Manager. So, I have executed the Query "EXEC sp_fulltext_database 'enable'". It gives me error message. Error is "Server: Msg 7609, Level 17, State 2, Procedure sp_fulltext_database, Line 46 Full-Text Search is not installed, or a full-text component cannot be loaded." wha ...Show All
Visual Studio 2008 (Pre-release) It is too difficult to start a new WCF service
I am starting to get really frustrated. I have been using the an old CTP of .net 3.0 and been developing fine. It is nice and quick and simple 1. file->new web site 2. choose C# WCF website 3. hit compile. and all the WSDL etc. is auto generated 4. tell my client to add a new service reference Now that i've installed on the latest September CTP there are a thousand steps 1. file->new web site 2. choose C# WCF website 3. hit compile. and nothing is setup. 4. read a few websites about how to enable WSDL. 5. Realise that you then have to setup some endpoints 6. realise that none of it works 7. post on MSDN Any help would be great. I was half way through a project but can't continue any further until i can actually create a new serv ...Show All
SQL Server Connection Error in Sql server 2005
the site having connection problem like. It will work perfectly for the 20 or 30 days after that sql server gives error on openning connection. Then i have to restart the server. wt could be the problem of With regrds B anna What are the error messages you are seeing Are you seeing them on all client machines or just a subset of them What edition of SQL 2005 are you using Any additional info would be great to help debug. Thanks! Thanks, Sam Lester (MSFT) ...Show All
Smart Device Development Extending Context menu for Windows mobile 5.0 Samrtphone Contacts
I have a Cab project which extends contact's contextmenu items. But When I installed the same cab file on smartphone it installed successfully but contextmenu items remains same Could there be any change in the installation file. this is my ini file to built the cab file [Version] Signature = "$Windows NT$" Provider = "MyProject" CESignature = "$Windows CE$" [CEStrings] AppName = "MyWireless" InstallDir = %CE1%\%AppName% [Strings] NOW_PPC_Dir = D:\Projects\MyOffice\OriginalPocketPC\ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DXGI_FORMAT_R11G11B10_FLOAT format
Hi, the DXGI_FORMAT_R11G11B10_FLOAT render target format seems to be a clear winner when it comes to HDR rendering. The question I could not find an answer in the documentation for is: is it guaranteed to support alpha blending, multi-sampling and filtering Thanks in advance, - Wolf well the 64-bit fp format is not really practically useful (... you do not want to spend so much bandwidth on a render target format). The 10:10:10:2 format is fast enough but gives not enough precision. Its floating-point sister on 360 is just good enough to do whatever you want ... I use it in a couple of games. So I assume that a 11:11:10 fp format is even better. ...Show All
Windows Live Developer Forums Custom control place
Hi everyone!!! I have some problem when I am trying to add a custom control to the map... This code: var el = document.createElement( "details" ); el.id = "details" ; el.style.position = "relative" ; el.style.top = "200px" ; el.style.left = "5px" ; el.style.display = "none" ; el.style.background = "White" ; el.innerHTML = "bla-bla"; map.AddControl(el); My problem is: Firefox understands fine - el.style.position = "relative" ; but IE makes problems - my control appears not according to new div but according to display... its starts from left top corner. What to do I'm gett ...Show All
Visual Studio Team System How to get data From TFS Work Item field!
Hello, I am working with TFS using ASP.NET, c#. I would like to get Data from TFS for those work item depend on workitem type is bug, Scenario, task, ... State ( Active, Closed...), Type (API, High level Requirement, Security...), Triage (Approved, Investigate..), Priority(1,2...), Severity(Critical, high,...), discipline (Architecture, development...). Is there any API to do this or is there a way to do this at all Please help! Any answer would be greatly appreciated. Thanks in advance. Ddee Hi Vic, To be more specific, I try to do this: wiTypeLB.DataSource = m_store.Projects["Projectname" ].WorkItemTypes[ "Requirement" ].FieldDefini ...Show All
Visual Studio Tools for Office Excel XML Maps
Dear All, I have an Excel workbook which is attached to an XML Map (*.xsd). This schema contains a repeating element which in turn has another repeating element within it (that is a list of lists). Essentially what I am trying to do is create a series of sub-tables (each with its own sub-heading) within a main table. Does Excel support this type of design Here's the desired output (note this is a report): ___________________ Name Qty Price SubTable1 xyz 5 100 xya 5 100 xyb 5 100 SubTable2 abc 5 100 cba 5 100 bca 5 100 Thanks, Tim Hi Tim The better place to discuss this would be one of the newsgroups in this interface http: ...Show All
Visual Studio Express Editions Creating a GUI with Visual Basic
I am a high school student in San Antonio, TX, and I am involved with a mentorship at a very prestigious company called Southwest Research Institute. My project is creating a GUI for a BASIC Stamp 2 microcontroller. I just have a few questions about VB Express before I download it. 1) Can VB Express be used to create a GUI 2) Can VB Express link DLL files I must include a Tokenizer into my code in order to send data to the microcontroller, and the Tokenizer is in DLL format. 3) Can VB Express send packet data through a COM (Serial) port Thank you for you time. Since VB Express has .NET 2.0, yes you can use the SerialPort class (new in .NET 2.0) to access a COM port of your choice As ...Show All
Visual Studio 2008 (Pre-release) ToArray() / sub query / DLINQ possible bug.
Hi Guys, I'm using DLINQ to access my test Database. I get this error when evaluating the following query; Cannot assign sequence of LINQTest.MarineLocationKills to type LINQTest.MarineLocationKills[] var query = from m in marines select new { m.ID, m.Name, m.Age, m.Sex, Kills = ( from k in marineLocationKills where k.MarineID == m.ID select k). ToArray() }; var temp = query.ToList(); If I change .ToArray() ...Show All
Software Development for Windows Vista The UAC Nightmare
I'm beginning to reach the conclusion that the current implementation of the UAC in Vista is, IMO, a nightmare that creates more problems than it solves. If Microsoft wants developers - and users - to embrace the UAC (instead of just turning it off altogether) then it better come forward with a LOT MORE information and support than it is currently providing! If it doesn't, I will begin to suspect Microsoft only added the UAC so it can tell Windows users 'well, we added the option to secure Windows - you're the ones turning it off' and therefore wash its corporate hands. I would really hate to see this happening. To name just a few of the problems the UAC brings to us developers: 1 - Applications that require Admin privileges are bloc ...Show All
