Dabz's Q&A profile
Windows Search Technologies History removal
Can anyone tell me how to manually remove search history For that matter, how about manual removal of RUN history, and ADDRESS history My machines are overloaded with histories that get in the way of my admin. Hi Matt, The easiest way to remove the Desktop Search history from a machine is to do the following: Click in the search window on the deskbar Click the Windows flag in the bottom left corner of the screen Select “Clear search history” It should also be noted that you can turn off the saving of search history. To do this: Click in the search window on the ...Show All
Visual Studio how can i change my desktop back ground ?
hi some how i can't change my desktop back ground,look like it's locked i try all i can but nothing plz help Sunny ...Show All
Visual C++ DateTimePicker Format changes from Time to Short Date
I have a number of DateTimePicker controls, some set to dates, some set to a format of Time. The controls are all embedded in dialogs. I created the controls by dragging the DateTime picker from the Toolbox and then set the Format property appropriately. I have noticed that the Time format will reset spontaneously to Short Date. Is there a known problem with the format for the DateTimePicker or is there anything I can do to keep the format the same Chanakya I've had the same problem each time I edit the dialog that uses such a time control in the Resource Editor in Visual Studio .Net 2003. When it's correctly functioning as a time ...Show All
.NET Development Shared Methods
I would like various business objects to implement a Shared Method with a fixed signature. e.g. Public Shared Function GetDefaultValue() as String ...<<code>> End Function the problem is i cannot define Interface having Shared Function in VB.NET. I then tried to create a base class that will be inherited by other business objectes. In that base class I tried to define the Shared Function as MustOverride. But the problem is Shared Function cannot be used with MustOverride and Overrides function. Any solution Thanks for your replies in advance. ...Show All
Windows Forms Problems sorting the DataGridView
I am adding 20 columns to a DataGridView grid and setting the DataPropertyName so that it binds correctly. I am also setting the sorting to "automatic" for each column. When the grid first appears, the column headers appear. I can click on any column header and see the ascending/descending glif appear - but since there is no data in the grid - there is no sorting. However, as soon as I bind the grid to my data, my data appears in the grid but I can no longer click on the column headers for the sorting. Any idea what I may be missing here Sure! I know this does work and is a very common th ...Show All
Microsoft ISV Community Center Forums xp style to vba forms
hi, i would like to apply the xp theme to my msforms in (excel) vba. i have not been able to find any information on doing this. i saw this done in a stand alone xla so i know it works. any help would be greatly appreciated. -b Per the support engineer: On my side, it is also the same. The reason is that, to display XP style 1. The display properties on Windows system need to be set as Windows XP theme and 2. The application uses common control 6.0 However, in VBA and VBE design environment, the default controls are forms control (we can right click on ...Show All
Windows Forms Does .Net provide any routines to list open windows?
Hey, I was just wondering if .NET provided any routines that can enumerate open windows. I know it can be done using some windows API calls, but I wasn't sure if .NET had any such features. Thanks in advance for any help. As far as I know, there's none in .NET that you can use to list windows, you still have to use P/Invoke API calls. Anyway, EnumWindows and/or FindWindow API are fairly easy to implement in .NET. Regards, -chris ...Show All
Visual Studio 2008 (Pre-release) Why no generics used in the WPF API?
Ive just spent the last few days familiarising myself with the WPF API. Its seems that almost no generics are used in this API at all. It would be a shame to release yet another non-generic API now that Whidbey has shipped. Ya know, I can honestly think of only one place in the intrinsic API where a generic is used: PageFunction . A lot of the classes implement generic collection interfaces and such, but other than that I can't think of a generic class introduced in the API. That said, out of curiousity, what part of the API do you think would benefit from the use of generics Cheers, Drew ...Show All
Visual C++ C++/CLI code porting problem
I'm trying to port a C++.NET (managed extensions) application to C++/CLI. However I'm not very strong with the syntax yet. What I'm trying to do is to create a wrapper for a C Dll file. To do this I'm using DllImport but I failed to found documentation on it's use. There are some problems due to changes of the syntax but I couldn't find out why yet. The C++.NET line looks like this: [DllImport("my.dll", CharSet = Ansi, CallingConvention = Cdecl, EntryPoint = "#10")] static MY_STATUS CPPInit(MY_HANDLE *pLmxHandle); The idea is to pass a reference of MY_HANDLE to the function which initializes it. One problem is that the key ...Show All
Windows Forms ClickOnce Error - File already exists
I have a pair of files in my program that have the same base filename, but different extensions -- ftn95lib.dll and ftn95lib.mdl. When I include both files in my clickOnce installation, the installation fails during the install saying: The file 'C:\Documents and Settings\yi002949\Local Settings\Temp\Deployment\1DA5TE93.QLP\64Z4BZV1.LPN\ftn95lib.mdl' already exists. If I remove either the mdl or the dll file from the installation, I no longer get the error message. Of course I can't run my program either. Am I doing something wrong Or can someone suggest a workaround Thanks, Rob Miller Rob, ...Show All
Visual Studio VC++ Directories
Hi, How I can get the VC++ Directories and VC++ Project Settings from the Tools::Options... Dialog thanks, -z Hi, You can use the Microsoft.VisualStudio.VCProject and VCProjectEngine to co-create ta VCProjectEngine object and use that to get to platform specific paths. The macro below does it for you. Public Sub DumpPaths() Dim vcEngine As VCProjectEngine = CType(CreateObject("VisualStudio.VCProjectEngine.8.0"), VCProjectEngine) Dim coll As IVCCollection = vcEngine.Platforms Dim platForm As VCPlatform = CType(coll.Item("Win32"), VCPlatform) MsgBox(pla ...Show All
Visual Studio Express Editions voice recognition
hi i am starting my work on voice recognoition in vb.net and i am new in it so i want help as this forum is very helpful, so i want links form where i can get eBooks, taturial, and other things on voice in vb.net. Thanks Alot Hassan ...Show All
Visual Studio Express Editions Help - VB express just started shutting down for no reason
Hi everyone. I'm a newbie at programming and am really impressed by how easy Basic is to use. Any how the Express edition has removed the Solution explorer etc. and everytime I try to bring it back and dock it to the right the whole program just disappears (shuts down) I've uninstalled and reinstalled it twice now and I'm baffled. Help basilgreatmouse@aol.com does it give you any errors have you looked i the event logs to see if there is anything being written here ...Show All
Windows Forms Code Validation
Hello, I need some sound advice, here is the scenario: I have a mdiChild form that contains a button that launches a owned (owned by the mdiChild) form. My questions is: What is the most effective way to pass data from the owned form to the appropriate member variables declared on the mdiChild form (owner) Here's the <b>current</b> situation: I created&n ...Show All
Windows Forms how can i close a form from another form?
for example: Form1 loads first and when I click a button Form2 will display. What I want to do is to close Form1 which is the startup form when I exit Form2. How do I do that Or do you know the Form name or the Form type Just to finish the suggestion ;) If you can access the form instance then just call myForm.Close(); A good pseudo universal way to get the Form instance is e.g. System.Windows.Forms. Application .OpenForms[ "form2" ].Close(); if you know the name of the form, or foreach ( Form form in System.Windows.Forms. Application .OpenForms) if (form is Form2 ) { form.Close(); brea ...Show All
