|
Hi,
I am developed a windows form application. I need a API for file repository. I will need archiving around 50000 files (word document, e-mail, images).
I need that controls the checksum file in the case of the files are same.
Do you know some API in c# for this project?
Regards
|
|
|
|
|
|
Hi All,
I have a dropdown with two options."All" and "Selected". "All" is the default value. In selected index_changed event , when i changed to second option, it is hitting , but when going back to "All" ,the event is not firing. Drop down's viewstate and autopostback properties are true.
Thanks
Rk
modified 4-Jan-13 21:53pm.
|
|
|
|
|
I think your question is imcomplete
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
I think you have forgotten something there, like the subject and question,
|
|
|
|
|
|
This post will soon be removed if you don't correct it.
|
|
|
|
|
Hi,
I would like to know how to develop a auto text complete application, which will provide autocomplete word feature for all word processors, web applications etc.
Please see this software. www.etype.com
This is how i want to develop the application.
Thanks!
|
|
|
|
|
AutoComplete TextBox[^] is one link which offers an auto complete solution. There are many more articles that could help you do this - just do a search in the articles section on this website.
|
|
|
|
|
Thanks Abhinav. Yes. I want that autocomplete feature to be integrated with all word processors, like microsoft word, excel etc, notepad, textpad etc. Even though, these word processors offer in-built autocomplete function, i want to integrate my custom feature with it. that precisely is what i want to know, how to implement it?
|
|
|
|
|
saman33 wrote: provide autocomplete word feature
In web application, this feature is generally achieved using XMLHttpRequest calls, now days called as AJAX.
You can talk to server using XMLHttpRequest and get back the suggestions for the typed word and show to user. If you need to have a look at any sample, just use CP search for 'autocomplete' and you can see articles on it.
|
|
|
|
|
Thanks Sandeep. Yes. I want that autocomplete feature to be integrated with all word processors, like microsoft word, excel etc, notepad, textpad etc. Even though, these word processors offer in-built autocomplete function, i want to integrate my custom feature with it. that precisely is what i want to know, how to implement it?
|
|
|
|
|
saman33 wrote: I want that autocomplete feature to be integrated with all word processors, like microsoft word, excel etc, notepad, textpad etc. Even though, these word processors offer in-built autocomplete function, i want to integrate my custom feature with it
Now, that changes few things. Looks like you need/want to develop a macro kind of thing that can integrate with already existing softwares and have your own feature. I am not sure how much it is possible as all the softwares handle their own feature and events. For word, it might be plugin, for some other software something else. You are talking of a product which needs certain boundaries before start... pick an application work for it and then extend for others.
|
|
|
|
|
|
Hi all,
I need to create a component which will be callable from a/any browser when it sees an object tag in downloaded html page
like the following
<object width="400" height="400" data="helloworld.swf" type="application/x-shockwave-flash">
or like
<object data="data/test.pdf" type="application/pdf" width="300" ;="" height="200" ;
test.pdf=""
<object="">
My plugging will display an image file in a special format and give some responses to the user interactions whit mouse and do likes zoom-in, zoom-out, rotate, transform etc.
I don't know start from where? I know c++ and c#. The library for the image processing that I need to use written with c++.
If any guru out there can guide me the road-map that I should follow, will be appreciated in a highly tonnage.
Thank in advance.
|
|
|
|
|
As it needs to be callable from any browser(?), you wouldn't create your plugin with C#. To be honest, I wouldn't really look at C++ either - for something like this, I would probably go with raw C.
|
|
|
|
|
Ok. But start from where? How can I make my software known by browser(s)?
Remember that when a browser reads something like following
<object type="audio/x-wav" data="data/test.wav" width="200" height="20">
<param name="src" value="data/test.wav" />
<param name="autoplay" value="false" />
<param name="autoStart" value="0" />
alt : test.wav
it plays the wav file with QuickTime or Windows media Player or Real Audio or what else installed on that machine, capable of playing wav sound.
I need a similar thing. Or should I go with active-X or java applet something?
Thanks
|
|
|
|
|
Why not give Silverlight[^] a try?
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
Maybe I'm just having a blonde moment but
I am trying to convert a Winforms application from XP to Windows 7 which uses Log4Net.
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
</configSections>
<log4net>
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="{0}.log"/>
<appendToFile value="true"/>
<rollingStyle value="Size"/>
<maxSizeRollBackups value="5"/>
<maximumFileSize value="100kb"/>
<staticLogFileName value="true"/>
<layout type="Oak.Common.Logger.MyPatternMatch">
<conversionPattern value="%date [%thread] %level %logger - %message%newline"/>
</layout>
</appender>
<root>
<level value="ALL"></level>
<appender-ref ref="RollingLogFileAppender"/>
</root>
</log4net>
I dynamically create a log file location using the following code
string Path = Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData) + @"\Windows7Log4NetLogs\" + DateTime.Today.ToString("ddMMyyyy");
Logmanager.ChangeLogFile(Path);
Which creates the file successfully but when I try to send in a piece of text to the file nothing gets written and I am stumped I have tried different SpecialFolder options but it still doesn't write anything to the log file. Below is the code that I use for logging.
public class Logmanager
{
private static readonly Lazy<Logmanager> instance = new Lazy<Logmanager>(() => new Logmanager());
private Logmanager() { }
public static Logmanager Instance
{
get { return instance.Value; }
}
public ILog Logger(string LoggerName)
{
return log4net.LogManager.GetLogger(LoggerName);
}
public static void ChangeLogFile(string filename)
{
log4net.Repository.ILoggerRepository RootRep;
RootRep = LogManager.GetRepository(Assembly.GetCallingAssembly());
XmlElement section = ConfigurationManager.GetSection("log4net") as XmlElement;
XPathNavigator navigator = section.CreateNavigator();
XPathNodeIterator nodes = navigator.Select("appender/file");
foreach (XPathNavigator appender in nodes)
{
appender.MoveToAttribute("value", string.Empty);
appender.SetValue(string.Format(appender.Value, filename));
}
IXmlRepositoryConfigurator xmlCon = RootRep as IXmlRepositoryConfigurator;
xmlCon.Configure(section);
}
}
EDIT:
I have also tried to write an ordinary text file to the same directory using a StreamWriter and that works, so I don't think that it is a permissions issue.
Anyone got any ideas or pointers for me.
Thanks
Simon
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
modified 4-Jan-13 9:57am.
|
|
|
|
|
Can log4net find the layout type you defined? I know absolutely nil about log4net (I use NLog), so I am not sure what happens then.
Bob Dole The internet is a great way to get on the net.
2.0.82.7292 SP6a
|
|
|
|
|
From Google, I figure you need to add the assembly name to the layout type so log4net can find it.
Bob Dole The internet is a great way to get on the net.
2.0.82.7292 SP6a
|
|
|
|
|
Zac Greve wrote: From Google, I figure you need to add the assembly name to the layout type so log4net can find it.
That would only be true if you created a custom layout.
|
|
|
|
|
And from the namespace used, he did.
Bob Dole The internet is a great way to get on the net.
2.0.82.7292 SP6a
|
|
|
|
|
Zac Greve wrote: And from the namespace used, he did.
Yes, sorry you are correct.
|
|
|
|
|
I am using a custom layout that is correct, the references that code uses are there as I loaded log4net through Nuget.
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|