|
I want to use the Task Scheduler 2.0 lib for XP Home Edition when users have not setup an account. It seems the SetAccountInformation method, requires both a username and password. I believe there is a work around by changing registry values, although if I could I would love to avoid implementing that. Any thoughts?
I'm coding in C#
Bunis The Code Gladiator
|
|
|
|
|
If I have one form running, and I make another form, and call ShowDialog of the second form, the first form is locked. How could I open a second form so that the user can still use and manipulate the first form?
Thanks.
modified on Thursday, September 4, 2008 6:01 PM
|
|
|
|
|
use .Show() instead of ShowDialog()..
May be this solves your problem
Santhapur
|
|
|
|
|
|
Hi,
use child/parent forms method (child forms that load in a parent form).
That will solve your problems, need to type from the start
Check here in codeproject for articles
(i don´t recall link, sorry)
Good Luck
nelsonpaixao@yahoo.com.br
|
|
|
|
|
Up to now, I used a BizTalk Orchestration to find out when an application created a new file on a given path.
I think only for this feature what I need is BizTalk to expensive. The other requirements must programmed also with BizTalk.
Do you know open source tools for my intentions? A tool that gives me an information (whatever), when a new file is availabe. The tool must listen to a particular filepath.
In case of there is no tool available, I must write my own
Thanks for your help.
|
|
|
|
|
Forgive me for laughing out loud at the solution you choose. While biztalk offers this functionality it clearly is a case of putting a cannon to a fly. It just doesn't do the job right.
The right solution is right in the .NET Framework: FileSystemWatcher[^] class
|
|
|
|
|
Thanks for your answer.
Is it possible to watch one or more "fileshares" by an address such as \\servername\filesharename over the network with this class?
Only the listening of a local filepath, is not useful.
Thanks for your help.
|
|
|
|
|
Unfortunatly not, it only works for local file paths. Mapping the network path as a drive on the machine where the application runs and watching that should work also.
WM.
What about weapons of mass-construction?
"What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
My blog
|
|
|
|
|
Hi Wilem,
thanks for your great help. I have a last question.
My intention was to programme the application as an windows service for an e. g. Windows Server 2003. Are you sure, that the shares on this machine are furthermore available for the service when the user logged out?
I think no. But I don't know...
Thanks in advance.
|
|
|
|
|
Well if you let the service map the drive you should be good.
|
|
|
|
|
How can we write a regular expression which accepts only alphabets or digits or alphanumeric(alphabets+digits)
|
|
|
|
|
Usually with a text editor, but you could use Expresso[^].
|
|
|
|
|
i have written like this ^[A-Z0-9]$ is this valid?
|
|
|
|
|
Santhapur wrote: i have written like this ^[A-Z0-9]$ is this valid?
Yes, that is correct.
It can also be written ^[A-Z\d]$.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Yes, though you may want to change it to ^[A-Za-z0-9]$ to allow lower-case letters as well. If you want to allow more than one letter or digit in a match, add a + before the $so that the expression looks like this: ^[A-Za-z0-9]+$
If you're looking for some helpful .NET regex tools, I use the free Rad Software Regular Expression Designer[^] to help build and test regular expressions.
|
|
|
|
|
Seems like a very good tool. Thanks for the info!
Mika
|
|
|
|
|
|
leppie wrote: ^\w+$
As that doesn't do exactly what the OP asked for, perhaps you should have explained what it does...
It allows letters, digits and underscore, i.e. it's equivalent to ^[A-Za-z0-9_]+$.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
OK, I actually didn't know about the underscore Damn rusty brain
|
|
|
|
|
can be accessed a code written in C + + from a code written in C #. its possible.
thanks.
|
|
|
|
|
|
Hi,
What is the best way to display FAQ's in a windows application.
There is a way to connect to some web page on the web?
There is a way to open an offline web page?
Thanks,
|
|
|
|
|
lune12 wrote: What is the best way to display FAQ's in a windows application.
There is a way to connect to some web page on the web?
There is a way to open an offline web page?
Yes. Use the webbrowser control.
|
|
|
|
|