i have a text i want to divide it into equal 4 part and search for specific words that repeat in those part and display them
any ideas
am working with c# vs 2008 and .txt files
I am interested in Examine for building searching in a standalone desktop app for searching db tables as well as office/.pdf files
This looks like an excellent scenario for Lucene/examine
However the doc there is minimal and while i have plenty of experience with SQL full text search, Lucene is a different beast altogether and hence looking for help/pointers on how/where to start
And yes, i did a google search but did not find any resources as the terms are fairly common ( lucene examine tutorial etc. )
I'm using AJAX_POSTUP. When i make a request it sends a file to a bowser [offers to download] (the files content are params of the action methods). Does anyone know whats going on and how i can avoid this problem???
i'm not aware of other plugins such as AJAX_POSTUP
Hello. Making a program trough witch i will be able to send files to FTP server just by right clicking "SendTo". Problem is that every time i click "SendTo" it opens new exe file and it works as separate program. I need to make it somehow to send file with already open program.
Thank you.
I've got main folder:
c:\test
And there I have 2 folders: Movies and Photos.
Photos has three folders with files with the same structure: People, Animals and Buildings. I'm trying this code:
Directory.Move(@"c:\test\Movies", @"c:\test\Test");
I get exception:
File already exists
Web config has debug=true and the project is a debug build and the pdb files are present in the bin directory, but I do not get line numbers in my stacktrace when an execption is thrown.
Works fine with local IIS/Cassini but not on our test IIS servers. Is there some obvious setting that I might be missing?
Hello guYz plz help me out in making it possible to open the files by the adress provided in an array of strings.........
a way to open file is as given below...
ifstream infile;
infile.open("d:\aslam.txt");
but how can i open file providing an array of string as an adress of file.....
like this
infile.open(arr[i]); (but its not working)
plz help me.........
Hi,
When writing a Maven plugin, you can configure various parameters within the mojo class, e.g.
/**
* The path to the properties files.
*
* @parameter expression="${project.build.directory}"
*/
private File buildDir;
Is there a reference that lists all the available project properties (e.g. ${project.build.directory})? For example, how do I get the value of the resources directory?
Thanks,
Don
I'm trying to create a new log file every hour with the following code running on a server. The first log file of the day is being created and written to fine, but no further log files that day get created. Any ideas what might be going wrong? No exceptions are thrown either.
private void LogMessage(Message msg)
{
using (StreamWriter sw = File.AppendText(_logDirectory + DateTime.Today.ToString("yyyyMMddHH") + ".txt"))
{
sw.WriteLine(msg.ToString());
}
}
Hi All,
I've created a Resource Dictionary that I want to merge with multiple usercontrol xaml files. I want only one instance of this Resource Dictionary to be created. Any idea how to do this?
Note: Merge should happen through xaml only and not through code.
Thanks & Regards,
Vishal
Hi there,
Is it possible to create a directory folder for individual records in Access 2007. For example
tblUser
ID
firstName
surName
When adding a record, would create a folder C:\userdatabase\Surname,firstName,ID
Could see this being useful in situations for example where a large amount of images/files would need to be associated with a record. Access would create and link to a directory for each record.
Thanks in advance for any advice
Noel
Communication ports:
Change a given class in an applet in that way, that browser-defined proxy-configuration files can be used for applet communication with serve(upload method). i.e browser communicate via port 8080 or via ssl(443) - applet should also communicate by this port automatically. In the given method port 80 is hardcoded.
-- please give some code or program for this..
I am creating an HTML document which we are then pushing out to MS Word using a "application/msword" content type. This works so far except that the files open in Word with Web View. Once Normal View is selected all works fine. Is there any way to force Word to open with Normal View instead of Web View?
I use the jquery plugin "uploadify" to upload multiple files to My App(GAE), and then save them with blobstore, but it failed. I debug the code into get_uploads, it seems field.type_options is empty and of course has 'blob-key'.
Q: where does the key 'blob-key' come from?
thank you!
I've got two ms access .mdb files that I need to compare/merge. Any good tools out there for this? Any way to easily export both to ascii sql where I can use something like Beyond Compare?
Hi,
Searched through net, could't find a way to read/write file metadata using C or C++, however, there are tools available for this, and also there are API's in C# and Java to do this. But I want to do it from scratch in C or C++.
For example, read/write image metadata.
Have found out that there are three formats in which metadata is written to files. EXIF, IPTC and XMP.
Thanks.
hello friends,
How to include any assembly code lines into my C program ?
In turbo c is there a possibility to add an assembly code file (.asm) to a project of few .c files?
We are working on a hiring application and need the ability to easily parse resumes. Before trying to build one, was wondering what resume parsing tools are available out there and what is the best one, in your opinion? We need to be able to parse both Word and TXT files.
All,
I'm working on a Real-time system, VxWorks I think, I'm saving application settings to a file. What's the best way to handle preserving the settings if the system shuts down or loses power in the middle of a file write? All I can think of is shuffling a few files around or reducing the frequency at which i Save variables in order to reduce incidents.
can i use bing map platform with an external mapping source ?
for example, i want to use bing map siverlight client with my own map files instead of the provided maps. (some areas coverage is insufficiant with bings provided mapping)
Thanks.
I need a media information extraction library (pure Java or JNI wrapper) that can handle common media formats. I primarily use it for video files and I need at least these information:
Video length (Runtime)
Video bitrate
Video framerate
Video format and codec
Video size (width X height)
Audio channels
Audio format
Audio bitrate and sampling rate
There are several libraries and tools around but I couldn't find for Java.
In Vi / Vim you can move to a bracket and press % and the editor would move the cursor to the matching bracket. This saved large amounts of time when moving around the large files in the editor. Is there a Visual Studio equivalent?
I have a single cpp file added to my iPhone project with a .cpp extension, but I'm seeing errors when linking like:
operator new[](unsigned long)", referenced from:
___gxx_personality_sj0", referenced from:
I thought as long as I named the cpp files with .cpp or .mm it would do the right thing, do I need to add some linker flags?
Update:
Complete Build log: http://dpaste.org/tXAy/
The C++ code:
unzip.h
unzip.cpp
I get multiple text files daily to update my database from my client side and i am not a DBA expert. Everyday i do update it manually. Is there any method using which i can ease my task. I think there is a way to automate it but exactly i don't know what to do.
Hi I mostly do C++, Objective-C programming. And I found Xcode plus an auto completion/macro plugin (Completion Dictionary) quite adequate.
However, all people seem to praise over their pure text editors. I tried Textmate for a bit; liked its simplicity but dislike its files/framework handling.
Am I missing something here? Or, do Vim or Emacs have auto-completion as good as Xcode?