Whoisit's Q&A profile
Windows Search Technologies Windows Safe Search Filter - Application Error
I use Windows Desktop Search and recently starting getting an error message. Details: WindowsSafeSearchFilter.exe - Application Error The exception unknown software exception (0x0eedfade) occured in the application at location 0x7c812a5b Followed by the error: Runtime error 217 007F0EEE What do these errors mean stan2006 wrote: Dear Paul I am a computer novice and have the same problem (oxdeedfade and runtime error 217 ...Show All
Smart Device Development Will Upgrading Target Platform change anything?
I've developed a managed application for Pocket PC 2003. The new requirement says that it should work on Pocket PC 2003 and Windows Mobile 5.0 Pocket PC. I've checked it on an emulator so far, and the application compiled for Pocket PC 2003 works fine on WM 5.0. My question is if there would be any benefit if there was a separate compilation for WM 5.0 (I don't want to use anything specific for WM5.0) Thanks, WM 5.0 PPC is backward compatible with PPC 2003, so there's no need for you to do that unless you're planning to use WM 5.0 specific features. ...Show All
Visual Studio Localizing (Globalizing) the ReportViewer Control itself
There is already a thread discussing the localization aspects of the reports itself. I'm interested in understanding how to localize the ReportViewer control itself (e.g. changing the ToolTip Texts to German, the labels in the control to German etc.) TIA Juergen Hi Juergen, You can implement the interface Microsoft.Reporting.WinForms. IReportViewerMessages Visual Studio has this nice feature so that when you type something like: class ReportViewerMessages : IReportViewerMessages it offers to implement all methods if you press the tab key. Once you've made every method in this class return a localized string you can set the reportviewer to use your class: myReportViewer.Messages = new ReportViewerMess ...Show All
Visual C# Moving a byte array between C# and C++
Hi Guys, hope you can help. I am currently writing a managed C++ wrapper to interface with some unmanaged C++ code so I can utilise the code in C#. Everything is working absolutely fine except I need to be able to pass in a managed buffer from C# in a C++ function, modify the buffer in the function and pass the results back to C#. I currently have the following: C++ code: public : void Play(System::Byte buffer[]) { char buffer2[44100]; // Fill the unmanaged buffer pSidplay2->play(buffer2, 44100); //buffer = buffer2*; // Copy the unmanaged data into the managed buffer for (int i = 0; i < 44100; i++) { buffer = buffer2 ; } } C# code: private void button1_Click(object sender, ...Show All
.NET Development Converting an XSD to .NET Classes
I tried to export a Data Model using ERWIN into a XSD File. Now I am trying to convert the XSD file into C# Classes using XSD.exe from VS2005. It failed giving me this message: Schema validation warning: Invalid 'name' attribute value '10XXR_identifier': 'The '1' character, hexadecimal value 0x31, at posit ion 0 within the name, cannot be included in a name.'. Line 210, position 2. Schema validation warning: Invalid 'name' attribute value '10XXR_status_identifier': 'The '1' character, hexadecimal value 0x31, a t position 0 within the name, cannot be included in a name.'. Line 245, position 2. Schema validation warning: Invalid 'name' attribute value '10XXR_status_identifier': 'The '1' character, hexadecimal value 0x31, a t position 0 w ...Show All
Visual C++ how do i turn off translation LF to CRLF in Edit Control (or Rich Edit Control)?
when i see Some string including Line feed, Notepad show linefeed as any strange character. and then i copied the string and Paste it to EditControl. when i call GetTextWindow in my application, charcter LF is converted CRLF. how can i prevent this translating wrong info... just normal EditControl works correctly. but RichEdit Control expands LF to CRLF. ...Show All
Visual C# Newline problem with running Cmd.exe in a process
Hi, I'm trying to run a CHDIR command in a cmd.exe process. The command fails to chnage directory because of the newline characters thrown to the end of the string... i.e. chdir d:\\Folder2\r\n\r\n Is there a way to stop the streamwriter from insert \r\n\r\n This doesn't happen in it's VB equivalent. I've tried messing around with the proc.standardinput.newline property but had no luck Here's my code for this ProcessStartInfo psi = new ProcessStartInfo ( "cmd.exe" ); //Redirect both streams so we can write/read them. psi.RedirectStandardInput = true ; psi.RedirectStandardOutput = true ; psi.UseShellExecute = false ; psi.CreateNoWindow = true ; Process proc = new Process (); ...Show All
Visual Basic Tough one, Share a Socket?
Hello All, I have an off the shelf Windows app that is capable of calling a dll. Actually it calls a C++ wrapper which calls my VB.NET dll ( a VB.NET function ) and all is working fine. The VB.NET dll is designed to open a socket to a server and send messages using System.Net.Sockets. The VB.NET dll also starts a timer to send regular messages to the server in order to keep the socket open and displays a simple UI to handle additional messages that the user might want to send. All this is working fine...but here comes the problem. When the Windows app wants to send more messages it calls the dll that has previously created the UI and opened the socket that is now sending regular messages. That is to say the socket is already open an ...Show All
Windows Forms combobox autocomplete on double click
using vb2005 i have turned on autocomplete on my comboboxes with SuggestAppend method. it all works ok, its just that i'd like to have the suggestappend window pop up if i double click on the blank area on the combobox. much like clicking on the down arrow, but im trying to mimic for example browser behavior when i double click on an entry form textbox and my history of typing appears (this happens in firefox for example). thanks somebody replied me on another forum saying something about the dll function SHAutoComplete from "shlwapi.dll", which apparently is what's called when vb net opens the SuggestAppend window. problem is he didnt know how to call it for my requirements. does anybody have an ...Show All
Visual Studio Express Editions Placeholders for Menus
Can you attach a placeholder to a menu that displays any controls you like What I mean is say you want a menuitem to have more than just a textbox for example. Maybe you want it to have a textbox, checkboxes and a maybe a dropdown too, all in the one menuitem. Sorry, perhaps I wasn't clear, I want lots of controls in a single menuitem, I used to be able to do it in vb6 with a control I got from vbAccelerator. It had support for placeholders (basically picture boxes that could hold other controls). I was just wondering if anyone has managed to put more than one control in a single menuitem. ...Show All
Visual Basic About checking if a sound card exists
Hello, please check the following code and I'm wondering if it is the client pc or the server the code is checking the existance of sound card about Can I use this code to check if a server (where those code are running on) has a sound card installed Thanks in advance! Private Declare Function waveOutGetNumDevs Lib "winmm.dll" () As Long Private Sub cmdCanPlay_Click() Dim i As Long i = waveOutGetNumDevs() If i > 0 Then MsgBox "Your system can play sound files.", _ vbInformation, "Sound Card Test" Else MsgBox "Your system can not play sound Files.", _ vbInformation, "Sound Card Test" End If End Sub this will only ...Show All
Visual Studio Express Editions Wait for a web page to load using web browser control?
I'm trying to write some code to load a webpage, wait for it to load, and then run some code. Here's the code I'm using: WebBrowser1.Navigate( "http://ccs.shop.wii.com/ccs/download/00010001" & ee & ff & gg & hh & cc & dd & aa & bb & "/FFFD0001" ) 'Load the webpage Do Until WebBrowser1.Document.Title = "Apache Tomcat/4.1 - Error report" Or WebBrowser1.Document.Images.Count = 1 : Loop 'Wait until either an image loads (Images.Count = 1) or until the error page loads (Title = "Apache ...") However, it just hangs when it gets to the loop. If I remove the loop the page loads fine. Any clue on what the problem is Thanks &nb ...Show All
Software Development for Windows Vista SUA does not create log file - only error is: log file does not appear to be well formed - No (valid) log file is found
Hello everybody, Please excuse me, if this is not the correct place to post, then please direct me. I also had a search in MSDN Forums with these searches, which did not help me much: well formed standard user well formed SUA (no results) well formed (just too many results to scan through :-( ) So, I post it here. I did test with SUA other applications, which worked fine, but this one makes probs. I am using Standard User Analyzer 1.0.1.700 (I tried in predictive mode and diagnose mode) on 32bit VISTA Ultimate (6.0.6000 Build 6000): When I exit after a certain step my testobject, I do not get a logfile by SUA: I just get the error from SUA: The log file does not appear to be well formed: Syntaxfehler: Fehlender ...Show All
Visual C++ Regarding WAB programming
Dear all, I'm working in a project where I have to sync mobile's contacts with the windows address book. so I need to to add/delete/modify the contacts in vCard format. i.e. from mobile I get the contacts as vCard, that vCard I have to add into the Windows Address Book. I have seen programs with wab.dll+getProcAddress combination, but it is tedius. Can any one suggest me any other method if available. Thanks in advance. Prasadmp. You might try looking at Accessing the Windows Address Book on Code Project. You should also read You cannot #include wabdefs.h with VC++ 2005 and http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=238644&SiteID=1 ...Show All
.NET Development Change Existing WebServices to use HTTPS
I have an existing N-tier application that has a data access layer, business layer and web UI layer. They all communicate via xml web services and run as separate sites. So, my webUI has a web reference to the business layer something like http://mybllserver/bll.asmx and my business layer has a web reference to the data access layer something like http://mydalserver/dal.asmx . The sites are C#/ASP.NET 2.0 and run on Windows 2003/IIS 6.0. This is an internal, test-only application. Everything works just fine, as expected. However, we would like to now change all services to utilize SSL. We have successfully installed SSL certs (self-made so not fully-trusted) on the various servers and all service URLS work via https through a web brows ...Show All
