Pradeep K's Q&A profile
Visual C# MessageBox behind console window when run in debugger (F5)?
I have a message which looks like this: MessageBox .Show( "Init failed!" , "Trace" , MessageBoxButtons .OK, MessageBoxIcon .Exclamation); When I double-click on the .exe file in the debug directory the MessageBox appears on top of the console window (it's a C# console application). But when I press F5 to run it in Visual Studio 2005 the MessageBox appears behind the console window (it peeks out at the bottom of the co ...Show All
Visual Studio 2008 (Pre-release) What are the WCF Jan CTP vs Feb CTP Changes?
Hi, Please let us know what are the changes that were made for Windows Communication Foundation (WCF) with respect to Jan CTP and Feb CTP. We are asking this because when we tried to run a WCF application developed using Jan CTP and upgraded to Feb CTP we are getting following error: System.Configuration.ConfigurationErrorsException was unhandled Message="Unrecognized attribute 'type'. Note that attribute names are case-sensitive. ( ...Show All
Visual C# CallBack from a WIN 32 C++ dll
Hello Everyone, My application is written under C#, but for some of the low level stuff I have to use C++ dll's and one of the dll require password before I can make some function call or if user entered wrong should ask again..... How can I implement something along those lines.... At first I can send the pasword, but if the password is wrong what is the way to get the password....If you want I can even post my procedure which asks for ...Show All
SQL Server Example connecting to SQLExpress file
Has any one got a simple script, or referance to a small example of connecting to a sql express file using smo. I have put together this simple script to list the databases on the express server, Server sqlserver = new Server ( ".\\SQLExpress" ); foreach ( Database d in sqlserver.Databases) { Console .WriteLine(d.Name); } I think that I need to attach the file to the Database engine before the SMO Objects can ...Show All
Software Development for Windows Vista MSDN Vista key fails
Hi I have just downloaded the December CTP 5270 build from my MSDN subscription but the Product key provided on MSDN doesn't work, I have read that I need a new code for this build does any one know when this will be published on MSDN Regards Steve Still not work on my "REAL" hardware! The key works on my 5231 build. :-( How should I contact Microsoft to resolve this problem Thanks! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. HLSL pixel shader: problem with tex coord computation/texture lookup
I'm sitting on a strange problem for half a day now and can't figure out why things are happening as they happen. :) What I'm trying to do is to look up a texture with entries of size 3*3 texels each ( g_samCurvatureTex : this is a magnified part of it, the whole tex is repeated like this - I am only interested in the blue channel right now). At first I need to compute the centre index of the entry: #define CURV_TEX_ENTRIES 42 ...Show All
Microsoft ISV Community Center Forums Excell VBA: displaying values from the sheet in user form
A simple question probably, but I got stuck on it. I have a user form that allows users to select and run some reports and what I'm trying to do is to put on that form a value from one of the sheets that will show the latest report date used. I tried with the text box and label on the form: Trx_Date = Sheets("Trx_Reg").Range("K1").Value Trx_Reg_Date.Caption = Trx_Date where "Trx_Reg_Date" is the text box ...Show All
SQL Server error of Initializing SQL Server Reconciler has failed using SQL Server CE 2.0
hi, i'm using SQL Server CE 2.0 in my application. When i try to synchronize my database by calling replicator.Synchronize(); errors : Initializing SQL Server Reconciler has failed. process could not connect to Distributor SQL Server does not exists and access denied. what i did right now is i try to register regsvr32 "C:\Program Files\Microsoft SQL Server CE 2.0\Server\sscerp20.dll" regsvr32 "C:\Labs\NorthwindTempFiles\sscesa20 ...Show All
Visual Studio Team System TF hanging
When I run "tf.exe" commands that affect my workspace the program hangs indefinitely. For example, if I run "tf.exe /workspace /server:myserver /comment:myComment" the program just sits. Now, I did move my workspace recently with some files left checked out. I don't know whether this may have caused problems. But I deleted the workspace from another machine. My other machine works fine, however. Inside Visual Studio ...Show All
Visual Studio Express Editions Download Installation Registration vs Manual Installation Registration
After much research through the forum, through the Registration FAQ (#7), and finding the answer I was looking for, I feel compelled to share this information in a clear and concise manner. If you install a Visual Studio Express product via the download, when you register, you will be taken to a page with a registration key, and you will receive a registration benefits email. If you install a Visual Studio Express product via the CD ISO(IMG)- in ...Show All
Windows Forms subreport
hello i have two reports. The datasource of the first report is stored procedure called sp1 and it takes one parameter called @month. The datasource of the second report is stored procedure called sp2 and it takes one parameter called @month. The second repor ...Show All
Windows Forms Extending Treeview
Can anyone help I want to extend treeview so that nodes can have a displaymember and value member, bit like combobox has. Not sure how to do this. Regards Ismail ...Show All
SQL Server Problem with Custom Security Extensions
I have tried and tried to get the "Security Extension Sample" to work. I can browse to http://myserver/Reports and http://myserver/ReportServer and get the custom logon form. But, when I try to register or login I get System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: An error occurred while attempting to verify the user. An error has occurred while establishing a connection to ...Show All
Visual Studio Express Editions [newbie] Webbrowser question
Hello all, I am working on an application that will print a saved Web page without displaying it to the user. I have found a code sample in the help that would do exactly this. Here is the code: public void PrintHelpPage () { WebBrowser webBrowserForPrinting = new WebBrowser(); webBrowserForPrinting.Url = new Uri (@ file://c:/out.html ); webBrowserForPrinting.DocumentCompleted += new WebBrowserDocumentCompletedE ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problem in debugging MC2Dbg.exe
While debuging the MC2Dbg.exe there exist the following error please tell me where should i keep this dll to remove the error STOP : Could not find 'mc2res.dll' Address : 0x006374D8 Location : MC2DBG! (+0x2364D8) Thanks in advance Meenal Check that the working directory for the debug configuration is correctly set to the FinalBuild folder., and that you've done a build of the source tree. ...Show All
