Ok so yes you are dealing with a webpage.
For security reasons, browser do not let you autofill the the values for file uploads.
You could *TRY* making a customized silverlight control(think activeX or a java applet) for the webpage, but seems a bit exccessive.
User Profile
Collapse
-
Are you developing something that runs for a webpage or for windows?
I do not understand what you are asking?Leave a comment:
-
Did you try taking out the zorder change and see if it helps?Leave a comment:
-
So this is being done on the webserver? Hmm I think you can still use threads right?
I have never done it, but long running tasks like are usually implimented in a way where you have a unique token that references the "job" and you can keep refreshing the page to find out if it is complete.
You could look up ways to handle that sort of thing, there might be a good explanation of it somewhereLeave a comment:
-
there is no start because micro IS the OS, there is no native windows/pc system behind the .NET system as I understand it.Leave a comment:
-
Hmm, if your goal is to block until completion, threading might not be what you want.
However, i *think* on the thread that CALLs the thread that does work you can call a .Join() to halt the current thread until the child thread completes.
Just make sure the child thread DOES complete.
If you thread does not complete (i.e. it sits there checking if there is work and then performs it) You also might be able to...Leave a comment:
-
Hmm, I found a way to do this, but I was never quite sure I was doing it right.
Basically I had a thread that was doing stuff in a loop:
check for some conditions, perform actions if need be
release thread so other threads can work
repeat
One of the things it checked for was to see if a boolean flag was set, if it was it would perform a special action.
In your case you could tell your thread...Last edited by Plater; Jun 4 '12, 11:04 PM.Leave a comment:
-
Thread.Suspend( ) is obsolete. They recomend using Monitor, Mutex, Event, or Semaphores for controlling Threads.
I've never gotten real in-depth with that stuff, so I cannot give you better advice then to look up how to use some of those classesLeave a comment:
-
I am still using the series1 one XBEEs (http://www.digi.com/products/wireles...odule#overview)
And am only familiar with the workings of those. However I would imagine they have the API documents for the other models too...Leave a comment:
-
The default encoding is ASCII in us-en locale.
Did you set the encoding type of the output stream? For instance streamwriter takes an encoding paramater (which could be utf-8)Leave a comment:
-
Prehaps it does not support remote connections like that?
It could just be an issue with the permissions that your service runs under.
http://www.connectionstrings.com/visual-foxpro
Says you can use an ODBC connection, try making a system connection in ODBC and then using that as your connection string?...Leave a comment:
-
Plater replied to C#: Object to string array. [*] to [] error (Knowing both VB.NET as well as C# helps)in C SharpInteresting. I have never seen anything fail on .GetType(), it should be a function on every single thing.Leave a comment:
-
I use raw printer all the time without any trouble, but i made a few changes.
[code=c#]
// SendBytesToPrin ter()
// When the function is given a printer name and an unmanaged array
// of bytes, the function sends those bytes to the print queue.
// Returns true on success, false on failure.
private static bool SendBytesToPrin ter(string DocName, string szPrinterName, IntPtr pBytes, Int32 dwCount)
{
Int32...Last edited by Plater; Apr 27 '12, 03:26 PM.Leave a comment:
-
Is the SSLStream a wrapper around the socket stream? Should you be disposing of that first?
You can try inserting this code(yes doubled)
GC.Collect();GC .Collect();
It is not a solution, but it can be helpful in finding problems. It will force the garbage collect to free up memory. If calling that code drops your memory down, you probably have half-references to objects somewhere.
I don't have a better way to...Leave a comment:
-
Do you have event handlers attached to the visible state changes on any of the buttons?Leave a comment:
-
Plater replied to C#: Object to string array. [*] to [] error (Knowing both VB.NET as well as C# helps)in C SharpWhat does this give you?
string TypeName=oOpcSe rver.GetOPCServ ers().GetType() .Name;
That should tell you the actual type being returned(actual ly it tells you the type then I am using the Name property because it is a quick identifier)Leave a comment:
-
Plater replied to C#: Object to string array. [*] to [] error (Knowing both VB.NET as well as C# helps)in C SharpYou declared oOPCList as an object. You should declare it as a string[] (if that is really the type)
string[] oOPCList;
Or you can typecast it at point of usage, but I recomend declaring it to be string[] from the startLeave a comment:
-
What do you mean it is "not working";
I just dropped a progress bar on my form and set it to continuous and it looked fine?Leave a comment:
-
I like the first one, since you cannot use symbols.
It also carries over into english, for people who dont understand code, it sounds like fortune cookie speak.
"While true, love"Leave a comment:
-
If you create the email in outlook (not in code) and change the from address, does it use the display name or full email name?Leave a comment:
No activity results to display
Show More
Leave a comment: