Ritterbeck's Q&A profile
Windows Forms Search for values in a comboBox
Is it possible to search for a value in a comboBox when I type in the comboBox For example, I have a comboBox that is populated with Suburbs of Australia. I wish to allow the user to type in the comboBox for example the first 3 letters of a Suburb lets say Wes and it will take them to the first record that has the first 3 letters of Wes and the full Suburb name is West End. has anyone ever done this Ok. So I have the following sub. However, which event on the combobox do I put it on to get AutoComplete to work private void GetSuburb() { int iFoundIndex; iFoundIndex = this .cboSuburb.FindString( ...Show All
Visual J# 100% CPU usage !!
hellow to all .. i am runing visual j++ 6.0 on my centrino 1.6 and 512RAM ... and i am amesd that the j++ take 100 CPU usage and i can't even use it the laptop is so slow and i can not function at all !! not just on my laptop , my friends tould me the same ! i am runing windows xp sp2 .. hellppp !!! I've found a fix here: http://forums.asp.net/574242/ShowPost.aspx I had to delete my breakpoints. I clicked the Debug drop-down menu, then Windows, then Breakpoints. It took about 45 minutes for the window to open. Then I deleted all the breakpoints in the list. It seems to have fixed it. ...Show All
Visual C# How to have my webcontrols come with images in them
Hi people, I would like to create a webcontrol that has its own icons built into it (basically, the images go with the code as a single file). I thought that a resource file would do the trick but the compiler complains about converting system.drawing.bitmap to system.web.ui.webcontrol.image. Any suggestions/ideas Thank you very much! You can just add the images to your project and set the build action to embedded resource. A great blogpot of Drew you can find here: Deploying Images with Custom ASP.NET Controls . ...Show All
Visual Studio Use Of Keyword DataDirectory Causes Visual Basic 8 To Prompt For User ID And Password
Problem solved Thanks, ...Show All
Visual Studio Tools for Office IPropertySetStorage::Open() fails for some MS Word documents
The following code fails with HRESULT 0x800300fb where wcFileName is a path to certain MS Word documents that contain embedded images. I would be happy to provide examples of such documents upon request. They are easily created. Also, Right clicking on the document in Windows Explorer and selecting properties will fail to display the summary information for the document, so it looks like the Windows OS is running into the same problem that I am. This appears to be a bug in the structured storage library or in MS Word. :I am working on Windows XP SP 2 with Visual Studio 2003. IStorage *pStorage = NULL; ...Show All
Smart Device Development Data provider not supported
I'm writing a simple program for PocketPc in Visual Basic. I try to establish a connection with dbExemple.mdb an Access database with Data Source Configuration Wizard in Visual Studio 2005 using these parameters: Data Source: Microsoft Access Database File Data Provider: .NET Framework Data Provider for OLE DB (compulsory) The string in advanced properties is: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\dbExemple.mdb Test Connection: Succeeded. I confirm on the OK button but an error message appear: The new connection uses a data provider that is not supported. In server explorer I ...Show All
SQL Server Objects in precedence constraints?
Is it possible to use objects in precedence constraints For example, I have a collection object that may or may not be populated in a script at some point and want to be able to execute different paths depending upon whether the Count property equals zero or not. I realize I could very easily just create another int variable and populate it accordingly, but I am just curious about this. I couldn't get it to work, but then I am really just starting out here and just not sure if I am doing it wrong. Thanks! Brandon Brandon, No, its not possible to do that. The expression language doesn't have tha ...Show All
.NET Development rename a dataset in feb ctp
I found no way of renaming or deleting a dataset. Search didn't help. Thanks in advance dennist I see no way of getting properties for the dataset. When I right click the dataset in datasources, properties doesn't show up. If I right click the .xsd file in solution explorer, properties doesn't show up. If you can tell me how to access the dataset's properties, I'd be grateful. dennist well, what do you know. I right clicked the panel of the xsd diagram and properties was an option. Thanks. dennist ...Show All
Visual C# Mozilla Web Browser Engine
Hello! How can I inlcude the web browser engine that mozilla uses in my web browser apps Mateusz Heres a link to mozilla activeX its the only thing i could find when i was going to build a browser and what not. http://www.iol.ie/~locka/mozilla/control.htm this is a link to manicore a C# browser using gecko made by the guy that started the mozilla project or something like that http://www.bengoodger.com/work-resources/secretprojects/manticore/ ...Show All
Windows Forms cruisecontrol, msbuild, obfuscate, clickonce
I'm looking to setup an integrated deployment scenario using cruisecontrol. I would like the build process to build the release version, obfuscate the code (including dependant project dll's) using Dortfuscator CE and finally publish the app for Clickonce deployment. Does anyone have any info on how to set this up You could use a script calling the mage.exe to configure a ClickOnceDeployment. (For info take a look at mageUI.exe, too.) ...Show All
Smart Device Development Can I do C++ device development in VS2005???
I need once-and-all final confirmation that to develop applications for CE.NET 4.1 and 4.2 devices (in C++) - I MUST use eVC++ 4 and any version of VS from 6.0 through 2005 for desktop equivalents. (even VS 2003 does not work unless I'm using CF - which I'm not). I have received and read responses to this issue which are all over the map and as such it remains unclear and I remain hopeful. Attached below are snippets of these differing responses. Response from Jeff Abrahams to a recent post: VS 2003 does not support native (i.e. C++) device development; you will need to move to VS 2005 to get this functionality. When you are migratin ...Show All
Software Development for Windows Vista Problem with Workflow Monitor Sample
I'm, having problems running the Workflow Monitor sample. It can query the workflows, but I get a big "X" on the rhs where it's supposed to display the workflow, and returns an error that says: "Microsoft Workflow Designer" "Object Reference not set to an instance of an object". I'm using Beta 2.2. Try rebuilding your tracking database. This will clear out any old data that might not be compatible with your current binaries. also, make sure you are putting updated copies of your workflow dll in the directory with the workflow monitor so it has copies tha ...Show All
Visual Basic Start application as Administrator.
Hello, Is it possible to run a program as a different user, like Administrator. For example: I define the Administrators password in the program, the program starts, and then runs with Administrator priveleges. I know about the option 'Run as', but i want the program to start at startup, run as an Administrator and do his work. Thanks in advance. Hi, Before I start I have to warn you that if you store the password as cleartext in your code you make it available to anyone with ildasm utility and your binary. Now here is the code: Imports System . Security . Principal Imports System ...Show All
Visual Studio Team System TF Utility Exit Codes
Any chance we could get these documented for those of use you need to script against the TF CLI Send it to me bharry@microsoft.com and I'll make sure it gets to the right people. I'm also working on getting a place put together for community uploads for TFS add-ons, scripts, utilities, etc. Once we get that in place, this would probably be a great thing to put there. Thanks! Brian ...Show All
Software Development for Windows Vista Getting Here
I may be wrong but going to microsoft main site and searching windows workflow there does not appear to be a link to this site. The one link http://msdn.microsoft.com/windowsvista/building/workflow/default.aspx also has no link here. If I am wrong ban me That's how I have been doing it....until I decided to remember the url. I might be a typical moron. I think all roads should go through WWF and Indigo. ...Show All
