g0l3m's Q&A profile
.NET Development xmlhttp request/response problem
Hi all i am using asp.net v2.0 In one of my page i am calling another page using xml http , this is working fine but first time only , I am sending the request on click of button , when i click the button second time, it's returning the previous response and it's not even calling that page again, where could be the problem. client side (aspx page 1- javascript) var http=new ActiveXObject("Msxml2.XMLHTTP"); http.open("GET","Gensparql.aspx ...Show All
Visual Studio Tools for Office Adding dynamic menus and events in Outlook
Hi, I have a VSTO outlookin addin, where I am dynamically adding a number of menu items (based on a dataset which is loaded from an XML file). I have got the menu's adding correctly, but I am having trouble with getting an event to fire for each dynamically created menu item. I have the following code, which is called from ThisApplication.Startup: public void addTopMenu() { object missing = System.Reflection.Missing.Value; _menuBar = ...Show All
Windows Forms Databinding - datarelations - textbox
I have a form with some textboxes and a datagrid. I have two tables in my database: 'testdata' and 'history' 'testdata' is my parenttable, 'history' child... I've made the relation like this: System.Data. DataRelation dr2; System.Data. DataColumn colHeaderT; System.Data. DataColumn colTest; colHeaderT = ds.Tables[ "TestData" ].DefaultView.Table.Columns[ "Lognr" ]; colTest = ds.Tables[ "History" ].Defa ...Show All
SQL Server Mutli development on Analysis service
Is it possible to integrate two cubes develop by difference developers into one analysis service project Example: Cube A developed by Developer A, Cube B developed by Developer B, once completed, I would like to merge into one project, can i do that in AS2005 Thanks This is pretty easy if your dimensionsions are the same. If your CubeA depends on the same dimensions as your CubeB, you can simpl ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectSound FullDuplex
Hi, I'm building a program in VB.NET and DirectX 9 Dec 2005 SDK to apply effect in real time on input signal and listen it on output signal. Looking at directX SDK I found a sample that done this using FullDuplex, but in c++ Language (I can't understand C++!!!): http://msdn.microsoft.com/archive/default.asp url=/archive/en-us/directx9_c_Dec_2004/directx/htm/fullduplexfiltersample.asp I use the FullDuplex method in VB but i can hear&n ...Show All
SQL Server How to convert a timestamp into dateTime in SQLServer 2000
Hi Everyone, We have a table in SqlServer 2000 with a column type TimeStamp and contain value such as 0x00000000656AC51F. Are there any way for me to convert that value back to DateTime I tried to use cast function like: Select cast (MyTimeStampCol as DateTime) myDate from MyTableand I encountered error below. Msg 8115, Level 16, State 2, Line 1 Arithmetic overflow error converting expression to data type dateti ...Show All
Windows Forms Security exceptions calling a web service from within a UserControl embedded in IE
Hi, We're getting a security exception on a asychronous callback from a web service. This exception only occurs when our control is embedded within an IE web page. The security exception does not occur when we elevate the trust for the " ...Show All
Visual Studio Attaching process to Windows Service
I have a windows service that has been built (VS 2005 Beta 2), installed and is running ( I am getting output in the event viewer, and part of it the service is working correctly). But when I try to debug it using the "Attach to process", the service process is greyed out, and I am not allowed to attach to it. I am running Windows Xp Pro, SP2, as an admin. Not sure if this is a security or permisson problem so I also have tried ...Show All
Visual Studio strange error after install vs2005(Version 8.0.50727.26 RTM.050727-2600)
When I uninstalled beta2 and installed the current version. Run following code will get a wrong result. using System; using System.Collections.Generic; using System.Text; namespace test { class Program { static void Main(string[] args) { string t ...Show All
SQL Server DataProcessingExtension - Caching in connection-object
Hi, I've made a Data Processing Extension that fetches datasets from the business layer. These datasets contains several datatables. But for one report, the different dataregions is dependent on different datatables in the dataset, and therefore I have, in the report designer, made one "Report dataset" for each dataregion. But my concern is perfomance. For each "Report dataset" the same fetch method is called to the bus ...Show All
Visual Studio 2008 (Pre-release) Rounded corners on a StackPanel?
Greetings, How would I achieve the effect of rounded corners on the background of a StackPanel The Ellipse class has RadiusX and RadiusY properties which are simple enough, but the StackPanel doesn't seem to have anything like this. Thanks, Billy Create a Template for your StackPanel and use a Border in this Template. Border has a CornerRadius which you will need to use to have rounded corners. &nbs ...Show All
.NET Development Objects passed as parameters to a remote method call
This should be simple to lot of Remoting guru's out there 1. How to pass business objects to remote method calls 2. Is it byref or byval 3. Does the object needs to implment ISerializable interface or have an <Serializable> attribute 4. Does the object needs to inherit MarshalByRefObject 5. How to generate a proxy remote hosted on an IIS with binary formatting 6. Any pointers to web articles is greately appreciated !! ...Show All
Visual Studio Express Editions Where is the redistributable C runtime?
Keywords: MSVCR80.dll, Microsoft.VC80.CRT According to the documentation, the redistributable components of the runtime are supposed to exist in the VC/redist/x86/ directory. See the "Deploy using xcopy" MSDN article. This directory doesn't exist in the VC++ 2005 express install. Further, the redist.txt file mentions a vcredist_x86.exe which does not exist. Where are the redistributable components I am compiling a DLL for ...Show All
SQL Server again a problem with xml datasource extension
it seems to be that the xml datasource ignore empty fields. why example: < xml version="1.0" standalone="yes" > <Head> <ID>121234</ID> <Title>Hi</Title> <Text></Text> <Amount>3443.90</Amount> </Head> Only ID, Title and Amount appearing in the resultset. any suggestions See this thread: http://forums.microsoft.com/M ...Show All
Windows Forms Where exactly are the apps installed
Hi, Have an app that needs to update a config file after installation. However I don't have a clue where the app gets installed on the user's machine. I also want the app to be installed under the Everyone user, not per user. Is there a way to do that Regards Vincent From other posts, I think you can get it from a property in this namespace: System.Deployment.Application.ApplicationDeployment.CurrentD ...Show All
