vasudupe's Q&A profile
Windows Forms how to get bindingcontext/position from related child tabel
how to get bindingcontext/position from related child tabel bindincontext(criteriaDs.DefCriterias.ChildRelations(1).ChildTable) but it does not work remco getchildrows give back a array of datarows, which is usefull but not in this context(no pun intended) What i want is to track what the position is in the childtable when for example bound to a control Remco ...Show All
Visual Studio 2008 (Pre-release) Missing Prerequesite depenecy in the March Orcas CTP
Hi, today i wanted to install the Orcas ctp, but allready the fist item gives me an error. Just was told, that the setup could not complete (would be nice, if there would be more info on the error.) Next thing was checking the log files. in the log file %temp%\dd_error_vs_vstscore_90.txt you get the first hint. A Hresult what the error was. bad thing is, that there's no defined source to look up, what that means. but the doku of the .net 3.0 framework tells you about this, that it's an "old" software installed, that needs to be uninstalled first. Second thing was, to identify the part. what software the setup was about to install. that was written in the first line.(here it was Microsoft Web Designer Tools) Second part, try ...Show All
Visual C# URGENT!! Problem running exe from network
Hi, We have a developed an application for student to submit their results using c#. The program runs fine when we run it from the machine the problem is when we put it on our server it pops up with a box asking if we want to run it. When we click run nothing happens! Any Ideas, Many Thanks Chris This is because CAS policy which can be found in Microsoft .NET Framework 2.0 Configuration MMC. Each assembly is evaluated if it has enough evidence to run and .NET decided in which privilegies to give based on evidence (publisher, location, etc.) by default assemblies executed from network share are ran with limited rights. Take a look here for more details Why doesn't my .NET ...Show All
Visual Studio Express Editions Using winsock
How would i go about using a winsock i would like to be able to click a buttton on one pc and sometink else to happen on the other Any help would be great thank WinSock is not supported in the .NET Framework but instead the TCPClient, NetworkStream, TCPListener and Socket classes are available. There are many examples on the forums and on the internet you could follow :-) Take a look at these: http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx http://msdn2.microsoft.com/en-us/library/system.net.sockets.socket.aspx http://msdn2.microsoft.com/en-us/library/system.net.sockets.networkstream.aspx ...Show All
SQL Server Refresh selection in Query Analyzer?
I add a new table and I want to see it in my list, I can go to EM and refresh there but it appears I have to close QA in order to see the new table. Is there a refresh option in QA to see my new object thx, Kat ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Putting a Window on top of a DirectX fullscreen window?
I'm trying to paint on top of a running full screen DirectX app (seperate process), similar to how XFire In Game works. Is there a way I can do this Currently anything I do just either knocks out my applications Device (DeviceLost event) or causes the other application to minimize. If possible I'd like to be able to do it without obtaining a handle to the other application's Device object. Any ideas Thanks in advance When an app has full screen it own the whole screen - windows can't draw over the top which is why it minimizes when other apps get focus. The only way to draw on top is to intercept the DirectX API calls and insert your own. I suspect this is is what Xfire, Pix and Fraps all do to draw ...Show All
SQL Server Mysterious login failure error message in log-shipping
Hi I posted this a few days ago in SQL Server Security forum and at Raul Garcia's suggestion (thanks Raul for your help), I post my question here again to see whether I can be lucky enough to find a super guru to help me out. ------------------------------------------ I get the following error messages in the sql server error log Source Logon Message Error: 18456, Severity: 14, State: 11. and Source Logon Message Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. [CLIENT: 185.23.11.33] (note: 185.23.11.33 is the ip addr of the source server, i.e. node 1 in the two node clustered environment) The scenario is: We set up log-shipping (LS) between a clustered sql server system (source server) and a stand-alone sql server box ( ...Show All
SQL Server Deploy Report projects at client end.
Hi, We are using Microsoft Reporting Service 2005 to develop reports. The reports are pointing to the Analysis Services database. We want to move the report project developed to another machine. Basically we want to deploy the reports at the client end. I have found the below url that mentions the steps for SQL Server 2005 http://support.microsoft.com/kb/842425 Is this the only way to acheive the needed functionality or is there any command line utility available that does this or any other simple procedure to do this We want to give the client, simple instructions to deploy the report project. Any help would be appreciated. Thanks in advance, RSScripter should do the trick (deploy to a test server, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Passing multiple streams to effects
Hey all, REALLY sorry if this supposed to be obvious, but i was wondering if any one had any sample code where they are drawing something using an effect that used multiple vertex streams, my shader code is correct, but i just don't know how to pass the two streams to the shaders, i set the two vertex buffers from the two meshes: graphics.GraphicsDevice.Vertices[0].SetSource(mesh1.VertexBuffer, meshPart1.BaseVertex, meshPart1.VertexStride); graphics.GraphicsDevice.Vertices[1].SetSource(mesh2.VertexBuffer, meshPart2.BaseVertex, meshPart2.VertexStride); and in each pass of the effect i run: graphics.GraphicsDevice.DrawIndexedPrimitives(PrimitiveType.TriangleList, meshPart1.BaseVertex, 0, meshPart1.NumVertices, meshPart1.StartIndex, m ...Show All
Visual C++ error C3861: 'wsprintf': identifier not found
New to c++ using Visual C++ 2005 Express Edition Created a new "CLR/windows form application". added a "wsprintf" line and got " error C3861: 'wsprintf': identifier not found" will appreciate any help. following the test1.cpp source // test1.cpp : main project file. #include "stdafx.h" #include "Form1.h" using namespace test1; [STAThreadAttribute] int main( array <System::String ^> ^args) { char Fname [50]; int i = 1; wsprintf (Fname, "Abc_%2d.txt" ,i); // Enabling Windows XP visual effects before any controls are created Application::EnableVisualStyles(); Application::SetCompatibleTextRenderingDefaul ...Show All
Commerce Server How to integrete MOSS and Commerce Server 2007
Hi There, Could you please send me some useful links to access how the integretion is possible between MOSS and Commerce Server 2007. Regards, Saradhi Max Sweet! Thanks for update. Would you be able to provide us some highlights about this solution/whitepaper for integrating these 2 servers The biggest piece that interests me is to be able to use, publishing and WYSWYG features of MOSS with commerce features of Commerce Server. Thanks Nilesh ...Show All
Windows Forms OTP: Creating Dynamic Controls from the Database
Hi , Can any one help me out in resolving the issue.. I need to design a .NET application where it is like a survey. There are many questions and answers.. I have a requirement where I have the Data collection stored in the database. From the Database, i am trying to retrieve the values in a dataset. For the total count values and based on one particular values, i need to create a label control dynamically. For that Asp:label control, the id should be 'Unique ID' from the table and the text should be 'Text' column of that table. Is it possible. Can anyone help me out on proceeding with this requirement. Thanks in advance. Tig ...Show All
Software Development for Windows Vista icmp.lib for VS 2005 or new Windows Platform SDK
icmp.lib is included in the VS 2003 platform SDK but not in the 2005 or the March 06 Windows Platform SDK. Where can I get the latest version of this library Is is part of another SDK I'm moving all my code previously built using VS 2003 to VS 2005 and I do not want to keep any of the VS 2003 directories, etc. What do I do in this case Should I keep using the icmp.lib that is in the VS 2003 platform SDK even though I'm using VS 2005 Thanks. Can someone from MS reply to this Having same problem. Just copying the library from VS 2003 does the trick but as noted above it might not be the latest version. Content of the header hasn't changed at all, just the date and time stamp (not th ...Show All
Windows Forms WebBrowser Control Plus Dynamic HTML Using AJAX
I'm having a problem obtaining the actual HTML on a webpage. I can get the normal part of the page, however, the real part I need is set dynamically into a span tag. Note, the HTML is actually displayed correctly in the web browser control on the form, and displays correctly. I did try using the documentcomplete event, which allowed me to get the HTML with the javascript that uses HTTPClient and so on. The main site uses frames. Also, what is odd, is I did try going around this problem but anytime I do that and enter a URL in manually, it logs me out. Does anyone know how to get the actual HTML that is retrieved from an AJAX request that is set dynamically Thanks for your response. Okay. ...Show All
SQL Server LiveStats.XSP
We were running LiveStats.XSP 7.50 on our server and due to a server failure had to re-install. However, after entering the license key and completing the install, the software still reports as being unlicensed. What is the procedure to rectify this Thanks That would be entirely up to LiveStats and how they handle their licensing. I suspect that they tuck some license key into the database (or maybe Master/msdb ), but you really need to contact them. ...Show All
