|
Ok so you don't know either, because no one knows, so well.. PHP should make this pretty easy, but I'm not really into PHP - I hope someone else here will say something sensible about it
|
|
|
|
|
Member 4417892 wrote: How can I solve this problem?
by showing some initiative.
if you google for "php file upload" you can find lots of interesting things such as this one[^] which I have not read nor tried.
|
|
|
|
|
Yeah, that kind of upload I have
The question is more like, how can I write a C# application that postes a file to that php script?
|
|
|
|
|
|
I have an animated gif in a label that I wanted to use as visual feedback when doing some processing. For example if I try to get a list of servers in the network.
When ever I do some process the animated gif stops animating.
Do I need to run it as a seperate thread...if so can someone give me an example?
thanks in advance
rafone
Statistics are like bikini's...
What they reveal is astonishing ...
But what they hide is vital ...
|
|
|
|
|
Hi,
GUI stuff has to be handled on the main or GUI thread; it is the time-consuming other things your app does that should be delegated to one or more other threads; real threads, or ThreadPool threads, or BackgroundWorkers. BTW: Such threads are not allowed to touch the GUI Controls, unless they use Control.InvokeRequired & Control.Invoke.
|
|
|
|
|
thx for the tip
Statistics are like bikini's...
What they reveal is astonishing ...
But what they hide is vital ...
|
|
|
|
|
hi all
i want 2 create an admin form by which admin can create user id nd password nd can assign d specific module of master page menu 2 aspecific user in ASP.net c#
manisha varshney
|
|
|
|
|
Sounds kind of asp.nety if you ask me...
|
|
|
|
|
Hi
I need to build chat program that will work in internal LAN
something like Messenger
where I can get sample code or help ?
thank's in advance
|
|
|
|
|
E_Gold wrote: where I can get sample code or help ?
Google.[^]
hmmm pie
|
|
|
|
|
Can you explain for me how can I create a tree in C# using this structure?
struct tree{
int num;
tree a[];
}
|
|
|
|
|
Hi.
How can we define a Shortcut key for a button ?
Thanks.
|
|
|
|
|
The usual way is to select one of the characters in the Text for the button and precede it with an ampersand.
For example, if the text you want for a button is 'Exit', typing it in as 'E&xit' causes the 'x' to be underlined and it automatically becomes the shortcut, 'Alt-x'.
I don't know of another way, although others might.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Great, thanks.
What about Ctrl + x ?
Could we define it in the same way ?
|
|
|
|
|
Not as far as I know. Sorry.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Oh no problem, thanks a million
|
|
|
|
|
To get the functionailty you would need to set the Form's KeyPreview property to true, and use one of the form's Key events - KeyDown / KeyPress / KeyUp - and call the desired Button's PerformClick method when your Modifier+Key combination is detected.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
Excellent, I've done it. it works
|
|
|
|
|
Hi Guys,
I am creating a console application with certain systametic programming agenda, which will build a text file using the StreamWriter property. However, I want that before the text file is created on the execution of the console application, the user is shown a MessageBox asking for confirmation. Is is possible to display Message Box from within a Console Application?
Thanx for taking interest in my question,
Your help will be truly appreciated,
Rajdeep.NET
|
|
|
|
|
I think that the MessageBox is available when you add a reference to System.Windows.Forms , but then you're using a Windows UI-element on the console. You might want to consider replacing your MessageBox-functionality with ReadLine() and WriteLine statements
I are troll
|
|
|
|
|
Hi,
I don't know from which heaven I got this idea of storing last modified time in side the XML file, as a node. But I will tell you why I need this, and can you tell me how am I suppose to do it.
I want to prevent user to hack my file, they shouldn't be able to modify it and save it. If they do that, I delete that file and recreate a newer one.
(Like giving monkey a banana locked inside a transparent box, he can see it but can't eat it )
But to accomplish this I need to store the last modified time in the file and on save do not modify the last modified time.
If I am sounding crazy, let me know I will explain with an detailed example.
Thanks for you Precious time,
Karmendra
|
|
|
|
|
I got it, this,
File.SetLastWriteTime(FileName,LastWriteTime); would do the job.
Thanks.
|
|
|
|
|
That might only stop casual users, and it could cause the file to be deleted even if no changes were made.
I can write something that does the same thing and bypasses your "security".
You would likely have to store the date somwewhere inaccessable.
Or encrypt the date and a hash of the file or something.
I wouldn't bother trying to "secure" the file this way. Even Visual Studio doesn't. When I modify a file (even project files) with Notepad it merely asks if I want to reload the file and accept the "unauthorized" changes.
|
|
|
|
|
I am doing this not for cs files but my own configuration file, and it is not if user see the data but if he modifies it it will be replaced with default. i am storing a checkbox value true or false. Actually I am no good with encryption, I wasn't able to choose one to use.
I actually don't want the user to modify the config file outside of my application.
Can you tell me other ways to prevent it?
Thanks for your words.
Karmu
|
|
|
|