Raoshan's Q&A profile
Visual Studio 2008 (Pre-release) POX/REST message binding and Thread identity
Hi there, I wish to use the POX/REST messaging example to integrate services with our website (and have AJAX style widgets). Clients login on our website (one domain) and get a cookie which is valid for the POX services domain. I then have an IDispatchMessageInspector which uses the IncomingMessageHeaders property of the OperationContext to read the Cookie header, validate the cookie and set the thread to a custom identity (which is instantiated from the cookie value). This identity is then available within the body of the service operation implementations. This works as expected. I then wish to "touch" and resend the cookie to the client in the Reply. I was hoping to do this within the "BeforeSendReply" of the IMessage ...Show All
Visual Basic Accessing registry using VB2005
Hi, I want to search for the installed software via registry. I don't know what should be exact path where i can locate the installed software in registry or what will be the keys which will help me to search all the installed software on the specific system. Please help me out. Hi, If you go to the registry and open the key below, you will get a list of installed applications. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData I always use the Uninstall information since its structure is easier to read: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall Here is an example in how to connect to the registry: http://www.codeproject.com/vb/net/registry_with_vb.asp . Greet ...Show All
Visual Studio Team System windows not found iexplore.exe
I'm trying to add a "Web Test..." to my test but appear: ..windows not found iexplore.exe. Check the source.... (Windows no puede encontrar el archivo: iexplore.exe. Asegurese que la ruta y el nombre del archivo esten bien escritos...) Hi, Do you have internet explorer installed in your machine Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All
Windows Forms .net 2.0 visual style
Hi, I am using winforms .net 2.0 It seems that the visualStyle does not have any effect on the controls looks. for example a button looks as if you are using .net 1.0 Any thoughts please Probably. There's no way to tell what, you haven't given us any information beyond "it doesn't work". ...Show All
Visual Studio 2008 (Pre-release) Application Download error. + XBAP
Hi, I have hosted a XBAP on my IIS server, I have also registered MIME extensions for the WPF application in IIS. I am invoking the XBAP file from a HTML file; So when I try to access this html from another machine; it loads fine, but when it tries to load the XBAP file, it shows Application Download error. I have attached the error log with this mail. Can any one help me out PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : http://ps2480/b1/BCC_1_0_0_3.xbap Application url : ht ...Show All
Visual Studio Express Editions Erratic behavior filling a table from data adaptor
I have a datagridview control linked to a data table and a button the user can click after adding one or more new rows. The table includes several columns, including a primary key and a computed column. MissingSchemaAction is set to AddWithKey. The save code is: (wds is the dataset, strTable is the table name, da is the data adaptor) Dim dt As DataTable = wds.Tables(strTable).GetChanges() Dim n As Integer = da.Update(dt) wds.Tables(strTable).AcceptChanges() This works fine, except that the datagridview does not display the values in the computed column. I understand that this is because the database engine does the computation, and the VB table does not know about them. So I added the following line of code, ...Show All
Software Development for Windows Vista Now available: Feed Viewer beta gadget for Windows SideShow
The Windows SideShow team has just released the Feed Viewer beta gadget, which lets you view your favorite RSS feed content on your Windows SideShow devices. As with all other Windows SideShow gadgets, you can download this gadget from the Windows Live Gallery . Since this is a beta gadget, as you download, install and try it out, we'd love to hear your thoughts on the experience and your suggestions on what we can do to improve this gadget for its final release. Please post your feedback here. Note that there are a few known issues with the Feed Viewer beta gadget that you should be aware of as you try it out: 1. When you enable a new feed on your Windows SideShow device, it may take up to two minutes for the device to be populat ...Show All
SQL Server Every other page is blank
I am using 2005 version, and ever other page in the report is blank Could you please xplain this in more detail HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Windows Forms set up project in Visual studio 2005 .net2 - HOW TO ADD langpack Italian in deploy folder??
Hello, I got a problem in adding the italian langpack.exe to a setup project. I create a win form application in C# using VS 2005, then i added a set up project and added the .Net2 prerequisite, (MDAC 2.8 also) but i didn't find a way to add the langpack.exe (italian) as a prerequisite. The installation is ok but the framework is english. Also, I changed the default language for application to italian and got the following message during compiling: WARNING: Could not match culture 'it_IT' for item 'Microsoft Data Access Component 2.8'. Using culture 'en' instead. WARNING: Could not match culture 'it_IT' for item '.NET Frameworks 2.0'. Using culture 'en' instead. An important thing is that i want keep the prerequisites in the same location ...Show All
Visual C# Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
Hi, I migrated a windows application which was written in c# (.net 2003) to .net 2005. But when i run my application it shows the following error Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). I am using AxInterop.MSChart20Lib.dll and Interop.MSChart20Lib.dll for the chart control. I am not able to register these 2 dlls. Please help. Regards, Durga. If I try to register the dlls keeping them in bin folder, i get the error "module not found". so i placed the dlls by creating a folder called dll in C:/ Now this is the error I get when i try to register "C:\dll\Interop.MSChart20Lib.dll was loaded, but the DllRegisterServer entry point was not found." ...Show All
SQL Server Clearing the Report server
Hi, How can I clear my report server Any help will be highly appreciated Thanx in advance. Ronald Hi Ronaldlee, if you want to drop all encrypted content of the database, use the "Reporting Services Configuration" in the program menu. Navigate to Encryption and Pusg the delete button. All reports / security settings / users and data sources will be dropped and the database be reset. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
SQL Server Firefox Issues in 2005...
Can someone please verify that the following items are not supported in Firefox. Our app issues an http request to the report server (url access). The following differences are seen between IE and FF: 1) The message "Report is being generated" does not disply in FF during report generation. 2) The printer icon does not appear in the toolbar. 3) Is there any plan to support search functionality within the report in the future Thanks. Thanks Daniel. I'm recommending to my clients that the IE Tab add-on be installed in Firefox; it solves the problems with the search bar and also displays the "Report is being generated" message. I understand why the search bar functionality is n ...Show All
Visual C# Issue with ConsoleTraceListener and Web projects
I'm writing a log system based on MS Enterprise Library logging solution, and I' trying to make use of the built in ConsoleTraceListener in .Net. Now, it basically works in windows environment, but doesn't work in a web environment. From what I understand this is because Cassini (the built in debug web server is VS2005) doesn't have a console you really can write to. That's all fair, but I really find it odd that you can write to the debug console with Trace.WriteLine(...), but calling base.WriteLine(...) (where base is ConsoleTraceListener) nothing shows up. Why is this happening I can't help to think that ConsoleTraceListener and Trace should use somewhat the same mechanics, but can't really pinpoint what the difference is. I'd like to u ...Show All
.NET Development VB.NET Front end for small amount of XML data
I am trying to create a VB.NET front end for an XML file I have access to. XML File Example: <Item> <Name> name </Name> <Description> details </Description> <MoreInfo> more details </MoreInfo> </Item> The XML file its self may change but will not get updated very often and will not grow very much. I am very familar with creating VB front-end's for MS Access Databases use OLEDB Connections and Datasets and moving through records... Is there a way to open the XML file, bind different nodes(Name, Desc. MoreInfo) to different textbox controls and navigate through records (items) the way you can when using MS Access Not looking for someone to write it for me, but if y ...Show All
Visual C# C# Book Recommendations
This sticky here will be used for people to post their C# book recommendations. It will help us keep the forum a bit cleaner than making several topics about book recommendations and also helps everything to be in 1 "spot" and alot of people can see the book recommendations that you have given everyone else in this topic. So please, feel free to post your book recommendations here for developing in C#! :-) If possible, include any links where the person would be able to obtain the book from, and it's ISBN number which would be a big help to everyone! Please look at Amazon and read some reviews, this allways helps. But here are some books i can recommand: As you want to start with the basics, you must start wi ...Show All
