I am looking for a Windows API that I can call from Delphi 2010 which will allow my application to determine if a specific folder has content-indexing enabled. In other words whether there is a tick in the checkbox named 'Allow files in this folder to have contents indexed in addition to file properties' which is in the Advanced Attribut...
I'm not a huge fan of tools like Ant, but they are certainly useful. In a current C++ project I have no automated build process at all - I simply build my working dir using Visual studio, zip up the /bin folder and send it out for installation. The project is small enough this does work OK, but it's totally reliant on me knowing the proj...
I'm writing a DOS batch job to review two different directories, identify files with like first six characters, and then move both the matched files to a third directory. I'm getting a syntax error on the following code. Any suggestions?
File 1:
set CopyCount=0
for %%f in (??????*.tif) do call ..\MatchMove1.bat %%f
cd ..
if %Copy...
I want to call a python script from batch script, but I dont want to hard-code path to python executable (python.exe) in my calling script.
e.g.
c:\python26\python.exe test.py
$PYTHONPATH\python.exe test.py
Is there any way to have PYTHONPATH like setting ?
...
Hi there,
I have populate a CheckedListBox binding a DataSource with Display Member and Vlaue Member.
I have saved the values of the checkedValues in Database with a Relational Table.
I need to repopulate the checkedListbox getting the checked which value was checked(Saved) previously.I have done the First step. But in the Second step i ...
I know that Java is pre-installed in Mac OS X but i wonder if it is pre-installed in Windows XP, Vista, 7 and all Linux distros?
...
My .NET app uses a WebService and, in some clients, I am getting HTTP 407 (proxy authentication required). So I need to ask the user to input his user/password credentials.
So, how to use the default Windows dialog? (see below)
Is it possible in .NET? Or will I need to build my own custom form?
...
I'm working on a Win32 application in C++ and would like to add the ability to output the default web cam onto the screen. I was wondering if there was a Win32 API for this, or a way to do this without coding the whole thing.
Thanks
...
I am looking for a relatively bug-free, small learning curve data modeler that allows creation of UML diagrams. Prof recommended Rational Rose...but I don't want to pay for it. Could run on Linux or Windows...
Any suggestions?
...
The useful command
:r!date
is not so useful in gVim for Windows (not cygwin's gVim) because Windows has its own date function which does not do what I want.
so, something like
:r!c:\cygwin\bin\date
would be great. But that's a lot to type. And considering that I might want to call a few things this way, it would be nice to write a f...
We developed an installer using Wix, and after uninstalling our app it suggests that we reboot the computer. It seems due to our app having installed a Windows Service.
Is there any way we can avoid reboot, maybe if we have some code which stops the service, unregisters it, etc?
...
I'm working with some COM objects in C#, one of them has a function called SetLogFile that takes an IntPtr. How can I create the file in C# then pass it as an IntPtr to that COM function?
EDIT: The function requires an open file handle: http://msdn.microsoft.com/en-us/library/aa915939.aspx
...
I have been using Visual Studio (VC++) and Windows API for a long time, and quite familiar with Linux tool chains, but have no experience on Mac OS X development.
I would like to hear your opinions about the pros and cons of Windows and Mac as development environment. But, as it may be subjective, I would appreciate if you could enumera...
Seems this namespace is limited to IIS7 and upwards. Are there any managed libraries from Microsoft or elsewhere that enable you to survey the configuration (just looking for read only config) for a given set of IIS installations?
Otherwise one would have to poke through web.configs, the metabase, and try to cobble it all together.
...
I'm working on a Python script that will upload a bunch of files to an FTP site. To check to see whether the file has changed, I'm comparing file sizes. The problem is, the files I'm uploading have \r\n line endings, but transferring via FTP (ascii mode to a Linux box) converts to \n line endings. Obviously I'm losing a bunch of bytes in...
GetErrorMessage (from CInternetException) gives me the following:
With the incorrect ftp server name:
"ERROR! The server name or address could not be resolved"
With the incorrect password:
ERROR! The password was not allowed
With the incorrect user name:
ERROR! The password was not allowed <-----? NO separate message for incorrec...
I have an AIR application that uses the HTML component to display a significant portion of content (I set the html myself, it is not loaded remotely). The text displays normally on Mac (I think Mac antialiases all text by default). However, on windows, the text displays anti-aliased regardless of the OS settings. It ends up giving eve...
I have a grid that I dynamically need to resize in the number of columns based on the size of my window.
The only way I have found to make it work is using:
FrameworkElementFactory fGrid = new FrameworkElementFactory
(typeof(System.Windows.Controls.Primitives.UniformGrid));
fGrid.SetValue(System.Windows.Controls.Primitives.UniformG...
Hi!
I'm working on a program, which should list all files and it's size(for now...). I created a simple application, which should write the data to a listbox. I'm trying to write the data in two columns(the first should be the name, and next to it, in an other column, it's size), but i can't figure out, how should i do this.
Can someone...
Possible Duplicate:
Why does GetErrorMessage return wrong password, when the user name is wrong?
Since GetErrorMessage gave the same string for invalid password and username, I decided to use GetLastError(), as it has a separate error for each.
However with the incorrect username it still gives me the code 12014? (password ...