360tester's Q&A profile
Smart Device Development urgent: modeless dialog doesn't get focus
Hello everyone, I am developping a win32 application for smartphone that needs to open a modeless dialog to display information. The dialog is showing up, but the problem is that it seems not to have the focus. Indeed I can't use its menubar, nor can I edit or go to my textfileds on the dialog. Please help! I have tried everything according to the documentation and others forums. Here's the end of the WM_INITDIALOG message treatment in the DLGPROC function: PostMessage(hDlg,WM_NEXTDLGCTL,(WPARAM)GetDlgItem(hDlg,IDC_RESPONSE_STATE),(LPARAM)TRUE); PostMessage(hDlg,WM_NEXTDLGCTL,(WPARAM)GetWindow(hDlg,IDC_RESPONSE_STATE),(LPARAM)TRUE); Se ...Show All
Visual Studio Team System Failed team builds
So i created a project on the TFS, put my app souce in the project and I am trying to build the project so i can associate some web tests with the project. When it goes to build the error is: failed - initializing build failed - build I do notice that in the build summary window that when i try to click the link for the build name i get an error: --------------------------- Microsoft Visual Studio --------------------------- TF42004: Team Build failed to open folder \\jmdev-tfs01\ABTestProject\Console01\Console01_20060105.1 . The system cannot find the path specified. Any help would be greatly ...Show All
Windows Forms WYSIWYG html control
Are there any competing products to <a href="http://www.comzept.de/index.php TEMPLATE=products&product=htmleditor">NetRix</a> I'm looking for exactly what this control does but I wanted to know if there were options. Would you be able to send me the latest version of Netrix with the spellchecker as there site is down. :-) ...Show All
Visual C# EventHandling on buttons
hi there, i’m very new in c# and i have a question. I have some Buttons, which are dynamically created by my application, the buttons should activate or diactivate something. Now my Question, how can I differentiate between the buttons, every one should activate or deactivate another thing. For Example Button1 activates the MYSQL-Windows-Service Button2 deactivates another service. In Java it is possible to add a ActionCommand to an component wich can be read by the EventHandler ( ActionListener), so it is possible to differentiate the buttons. How can I get the same result in C# I hope you unterstood my problem :) ...Show All
Software Development for Windows Vista Workflow with Visual Studio Express
Is it possible to use Win Fx with the Visual 2005 Express versions If this is possible, what can I do what software I need No. Here is the text from the installation point for the February CTP on the supported versions of Visual Studio: Required Visual Studio Versions: The released version of Visual Studio 2005 is required. The December CTP version of WinFX is NOT compatible with this version of Visual Studio 2005. You must uninstall the WinFX CTP and Windows Workflow Foundation Beta 1 before installing Beta 2 of Windows Workflow. The Express Edition of Visual Studio 2005 is not compat ...Show All
SQL Server An internal error occurred on the report server. See the error log for more details.
I have rs2005 installed. I created some reports through SQL Server Business Intelligence Development Studio. I can preview reports fine in the studio. But after deploying it, on //localhost/reports, when I click the report, it takes a while to calculate and then give me error: "An internal error occurred on the report server. See the error log for more details. " The weird thing is if I restart report service, it will display report fine on the first time, then fail on the following attempts. Here is what's in the log file SQLDUMPER_ERRORLOG.log 03/20/06 16:48:18, ERROR , SQLDUMPER_UNKNOWN_APP.EXE, AdjustTokenPrivileges () ...Show All
SQL Server Moving a SQL2K publisher to a SQL 2005 instance.
Hi, I have to move a SQL2K instance (publisher) to a SQL 2005 instance and i prefer not to re-snapshot all the databases being replicated due to the large size of the databases. As i understand all i need to do is 1. Ensure all published databases are in readonly mode. 2. Stop the replication (by either dropping subscriptions, publication or stopping replication agents). 3. Move the databases to the SQL 2005 instance. 4. Configure a SQL 2005 instance for the distributor (for a SQL 2005 publisher, the distribution database must be a SQL 2005 instance). 5. Setup replication to the SQL2K  ...Show All
Visual Studio 2008 (Pre-release) Security Token Service using TCP transport
Hi, We are considering using STS for authentication and authorization. As far as I understand STS requires wsFederationHttpBinding which uses transport of HTTP, but I would like to use it with TCP transport. I've tried creating a customBinding with TCP transport but I get an exception about the order of the elements in the channel stack. The following section is the custom binding from the server's config file(based on the Federation sample). If I change the transport to Http (currently in remark) it works: < bindings > < customBinding > < binding name = " CustomBinding " > < security aut ...Show All
Visual Studio 2008 (Pre-release) Does Lambda expressions support outer variable? and Nested expressions?
I want to define a expression Func< string , Func<Lot, bool >> exp; It's anonymous methods version is exp = delegate ( string cjId) { return delegate (Lot lot) { return lot.InControlJob.ID == cjId; }; }; But when I write that: exp = (string cjid) =&g ...Show All
Visual Basic Multi language application
Hy, I am looking for a convinient way to write a multi language application in vs2005. I know is posible to use .resx files to a project, but I don't want the .exe filte to get to big, so I am looking for a possibility to have separated files for every language and gest copy them in the app.exe directory and the app should use them at runtime to convert itself to the specifig language. If you know links to tutorials or sample code, please let me know. Many thanks, Have a nice day, Hi All, I am using satellite assemblies I have got three files in a folder named fr-CA in application’s bin/debug folder namely: ***re ...Show All
Visual Basic Expression evaluating to -1.#IND ?
I am performing following calc, where result if declared as double result = (a - b) / b Now (1-0)/0 results in 1.#INF, which i can check using Double.IsInfinity method, but (0-0)/0 results in -1.#IND, what does IND means, how can i check for expr evaluating to -1.#IND there is no Double.IsIND method. Please help. Thanks Hi, Use the double.IsNaN() function, IsNaN stands for Is N ot a N umber... double a = 1, b = 0, c = 0; double result = (a - b) / c; if (double.IsNaN(result)) { Console.WriteLine("Is Not a Number"); } ...Show All
Smart Device Development non Modal Dialog problem in vs8?
Hi, I create a class derived from CDialog, which i define method create so like in evc4++, i can make a non-Modal dialog. After that i use in my project, everything is good but i can't see the non-modal dialog i created. Can you have some advice Please double check that you don't have DS_MODALFRAME as one of the dialog property in your project's .rc file, it's not supported on CE devices. Other then that, it'll be helpful if you can share out your code. ...Show All
Visual Basic How To make Disconnected Recordset Like in VB 6.0 With VS 2005
How to make disconnected recordset like in vb 6.0 using dataset in vb 2005 (code sample). ...Show All
Visual C# Typing in Visual Studio 2005 Text Editor is extremely slow
Has anyone else noticed that typing in Visual Studio 2005 is extremely slow Whey I type it seems that the screen is always 2 words behind where my hands are. It makes it extremely frustrating to get anything done. I'm mainly referring to C# code. It seems like Intellisense is going nuts trying to guess every word I'm going to type and never actually prints the characters to the screen. Has anyone else experienced this Is there an option I can turn off to get my text editor back ! By the way, I have a very fast computer with Dual 3.0 GHz Zeons with 3GB memory and everything else that should make "typing" very fast. ...Show All
Visual Studio Express Editions cannot display user control in test container
why Could you please be more clear in what's the error the test container is throwing Thank you, Bhanu. ...Show All
