Bernard Bout's Q&A profile
SQL Server Problem Installing SQL Express 2005
When it is checking my PC configuration, I get the error message: TITLE: Microsoft SQL Server 2005 Setup ------------------------------ The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine KODY Error:2147942527 (0x8007007f). For help, click: http://go.microsoft.com/fwlink LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.06&EvtSrc=setup.rll&EvtID=70342 ------------------------------ BUTTONS: OK ------------------------------ I do not know how to fix the problem. Please help! Sincerely, Kclemens The OS's affect ...Show All
Smart Device Development Error of calling web service from pocket pc 2003 emulator in VS 2005!!!
I just migrated a smart device(pocket pc 2003) solution from VS 2003 to VS 2005. After converted and built successfully, the web service could be access directly by viewing in IE. there are several oeprations inside the web service and I tested each of them by accessing from local machine. No problem at all. But when I run the pocket PC project on emulator, a web exception comes out. The error is "Could not establish connection to network." I did several tests and found out that I can't even call the "HelloWorld" operation(which comes by default in every web service) from my pocket PC project. Initially i th ...Show All
Visual Studio Team System Branch with Team Build?
I'm relatively new to Team Build and have just successfully created a script to build a Web Deployment Project. Now I need (if it's possible) to Branch as the first step in the Team Build process, then continue the build from that new Branch. Is this possible, and would anyone please post instructions or a link to someone else’s Thank you!!! Hi, I think the problem you want to solve can be done extending Team Build with a Custom Task. Custom tasks, are actions you can develop with .NET to execute some actions during Team build, to do a custom tasks, basically is create a new class and implement &qu ...Show All
Visual Studio Tools for Office BackgroundWorker problems with VSTO
Has anyone trie using the BackgroundWorker component inside of ActionPanes I spin up two panes in a Word Doc startup. Within the first pane, I start a long running action that when completed, updates data in the second pane. The issue is that within the RunWorker_Completed event, the executing thread is staying as the background thread, not switching back to the UI thread. UIThread:1 backgroundWorker_DoWork :5 backgroundWorker_RunWorkerCompleted :5 When running the same code within a winform, I get the expected behavior: UIThread:1 backgroundWorker_DoWork :5 backgroundWorker_RunWorkerCompleted :1 Any ideas ...Show All
Visual C++ bool checking problem
I created this fucntion to guard against invalid input for a bool value. In the program I created for. When I moved it to another program, it isn't working as well. Here it is, as well as a sample calling. void f_collect_answer( bool *question); int main() { bool ex; //do stuff cout << "Will you exit, Yes(1) or No(0) " ; f_collect_answer(&v_ex); //do stuff } void f_collect_answer( bool *question){ string input; bool success = false ; while (1){ if (success == true ){ break ; } getline(cin, input); switch (input[0]){ case '1' : { *question ...Show All
Visual FoxPro 2 more questions (VFP8)
(1) I've made and deployed a simple app. with its own helpfile, but when deployed, nothing happens when I press F1. (It is not, that the app cannot locate the helpfile. If I rename it, I get an error when starting the program.). Any suggestions (2) The other problem is, that about one in every 4 times I close the program, the process keeps hanging and thus locking my datafiles. (When I kill the process, the datafiles are corrupted, when I start the app again). Any suggestions The PACK command only works if you open the table exclsuively. Could it be that there's an error on this line and the error handler a ...Show All
Visual C++ simple fileIO
Hello, 1) can anyone please tell me how to output things to files rather than the screen in c++ preferrably using 'cout' Code snippets would be great! 2) Can anyone please tell me no file is created in the directory c:\Ido\proggen after executing the following code: // win32app.cpp : Defines the entry point for the console application. // #include "stdafx.h" int _tmain( int argc, _TCHAR* argv[]) { const char * filename = "c:\Ido\proggen\ido.out" ; FILE *file; file = fopen( filename, "w" ); putc(555,file); fclose(file); //fopen ido; return 0; } There are many ways to do this - you can use ...Show All
Visual Studio 2008 (Pre-release) PowerPoint to XAML converter?
We are exploring creating an Avalon object in WPF to render existing Powerpoint slides. I saw a demo at the PDC where they achieved this. Does anyone know if this converter exists and is available If not, how would one go about taking apart a PowerPoint presentation and displaying it in Avalon The converter we used to render PowerPoint slides as WPF basically walked the PowerPoint object model and emitted compliant XAML. It had noticeable limitations as to the subset of PowerPoint objects it supported. The converter was done utilizing PowerPoint 11 and as such converted the PPT object model and PPT fil ...Show All
Smart Device Development XML in compact Framework 2.0
Hi all, The compact Framework 2 is supposed to support XML, but when I add : Imports System.Xml Imports System.Xml.XPath in my code, I get an error sayng that XML is not a member of System !! What do I do wrong Thanks in advance, Emphyrio That's because there's no System.IO.dll. System.IO namespace is located in System.dll and you do have reference to it. ...Show All
Windows Forms Control placement when Inheriting forms BUG??
Ok I found something really mind blowing. If you build a form and put some basic controls (basically building a template) and then compile it to a DLL. You then reference it in your project and use it as a template (you inherit the form in the dll). Now if you were to view the windows designer code (which tells you not to change it)&nbs ...Show All
Software Development for Windows Vista Vista / Services / Interact with Desktop?
I understand that with the new service hardening that services will run in session 0 and can no longer interact with the desktop, but this raises two questions: 1. Why is there still the checkbox "Allow Service to Interact with Desktop" in the services control panel applet 2. Secondary Logon Service (It is still around...) The secondary logon service looks to still be supported (I understand that it is the back end for CreateProcessWithLogonW). A simple test of the runas command succeeded, therefore, how did the secondary logon service interact with the calling desktop to launch the application if services cannot interact with th ...Show All
SQL Server service broker error : Connection handshake failed
When I configure SSB in two machine to send message, I get a error message in target machine SQLProfiler: "Connection handshake failed. There is already an existing connection with the same peer and this connection lost the arbitration. State 80." Then I get another message "This message could not be delivered because it is a duplicate.", but I am sure the configuration of routes is right. How to solve the problem Thanks. I test it in Version 9.0.1399. Can you download the script from http://www.gotdotnet.com/codegallery/releases/checkForDownload.aspx id=9f ...Show All
Smart Device Development My Pocket PC IE browser does not read XML files!!!!
Hi all, When I uploaded an XML file from my PC to my Pocket PC and tried to open the file with the pocket pc IE explorer, it gives me a blank page, and doesn't show me the contents of the XML file, is there any known issue that I don't know regarding this problem Thanks in advance.. Hello, this is a security setting in the registry. If you set on the device the following registry entry: [HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "Security_AccessCrossDomainData"=dword:00000001 the loading of local XML files will work in Pocket IE :-) Regards, Jutta ...Show All
.NET Development Where is ICLRRuntimeHost::GetDefaultDomain?
I'm trying .NET Beta 2 CLR hosting. Why is there no ICLRRuntimeHost::GetDefaultDomain QI for IID_ICorRuntimeHost on ICLRRuntimeHost returns E_NOINTERFACE. Calling CorBindToRuntimeEx twice is not allowed to get both pointers. Is this just for beta2 How would I create/manipulate AppDomains from unmanaged code otherwise Thanks Thanks! Binding to both interfaces is much more acceptable than using AppDomainManager for this. ...Show All
Smart Device Development designview with multiple framework from chris tacke
Hello, 1)if I implements this, everything works fine. In the code there is something like if designtime end I suppose this is to get design view but this doesn't work. I have to comment everything from the stackform and uncomment the normal form so I can see designview and edit the form 1)are there others that have experience with this framework I wonder how much forms on the stack (the forms are not closed but hided for performance reasons) will be a problem for the memory or won't this be a problem The code to get the design view is as follow: #if NETCFDESIGNTIME #en ...Show All
