|
Thank you sir
If you can think then I Can.
|
|
|
|
|
Hi, I would like to download images in the background from an URL. I currently had a program which is downloading an image from a URL. However the application i created will "freeze" until all the image had be downloaded.
Hence, I am looking for a way to download images from an URL in the background. So i would be able to continue to use the program while it download.
I am new to C# (WPF) and I am still learning. Hope you guys can give me some suggestion or links for references. Thank you
I tried the following links but error occurs.
http://msdn.microsoft.com/en-us/library/ms229675(v=VS.85).aspx
Download an image, it freeze my program:
http://msdn.microsoft.com/en-us/library/system.net.webclient.downloadfilecompleted.aspx
Thank you very much!
Janet
|
|
|
|
|
Message Closed
modified 23-Nov-14 5:52am.
|
|
|
|
|
Hi there qwertz321,
I am reading the article and trying out the code. Will let you know if my problem is solve. Thank very much for you reply
Regards
Janet.
|
|
|
|
|
Hi qwertz321,
Its working =) thank you very much!!
Janet.
|
|
|
|
|
hi guys
i am working on a project which fetches emails from pop3 server ,
what i want to do is to read all email get all attachments (which ihave done)
now i have attachemnt data in the form of a byte array , if there is a text attachment
so this binary data can easily be converted to string to get the file data , but probelm
is if there is docx file attchment than this binary data cannot be converted to string as it gives some
raw data which is unreadable , can any body tell me how to convert a binary data (byte array )which is build based on a docx file back into string without saving the file on the hard disck.
regards.
Tauseef A Khan
MCP Dotnet framework 2.0.
|
|
|
|
|
|
|
excuseme i am new in work with c# I dont know how can I use enum in c#
for example I have three tlstrp 1st for insert second for delete and therd for update and in form I have 3 txt 1st for name 2nd for lastname 3rd for employeecode
and have 1 btn. now I want to do this: when I click in insert tlstrp all txts enable and input data from user when when user click btn my program can do insert work or when user click in delete tlstrp and after input data and click on btn program can do delete
|
|
|
|
|
Your question is very unclear. What is a "tlstrp"? I assume you mean Button but I could be wrong.
Even if I am right, what you want to do has little or nothing to do with Enum s.
Do a little reading on Enums, Enums and Structs in C#[^], for example.
There are loads of examples/tutorials on the internet, search for more if that article doesn't help.
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.”
|
|
|
|
|
Henry Minute wrote: What is a "tlstrp"?
Easy[^].
|
|
|
|
|
Well if he has three Telstra Phones, it's no wonder he's confused.
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.”
|
|
|
|
|
You are up fairly late for the night before the first weekday.
|
|
|
|
|
The advantage of being retired.
Also I've just finished playing poker and Vikings at Green Bay is on TV so I'll probably be up for a couple more hours at least.
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.”
|
|
|
|
|
Henry Minute wrote: The advantage of being retired
Good for you
|
|
|
|
|
Wow, the first identified CG sockpuppet
|
|
|
|
|
hi
There is problem regarding fetching data from server.
In a table ,There is 900000 records and join with other tables.
Other tables also store 100000-2 records each.
Query is written in Stored Procedure and it take 10 to 15 minuts
in execution.
How can We reduce execution time?
|
|
|
|
|
Use filter criteria (i.e., a WHERE clause) that will reduce the number of records to the minimum required (i.e., don't return unnecessary records).
Ensure proper indexes are used for all columns in the JOIN.
Show what query you are currently using?
|
|
|
|
|
lets your code
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
you can reduce execution time by using better management of Indexes
|
|
|
|
|
And this has nothing to do with C#. Nesxt time, try the General Database forum for this.
|
|
|
|
|
Hi,
I've to write a browser request trapping applicaion in c#. I am not sure where to start. I've googled with little success. Can someone please provide me a starting point or resource.
Don't Quit
|
|
|
|
|
It's unlikely that you will get a response to such a vague question. Try explaining what is a "browser request trapping applicaion". The fact that you also say you don't know where to start suggests that you perhaps need to set your sights a bit lower.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
I want to retrieve the URL which user is trying to open. I want to retrieve this URL as and when user is trying to open it. Depending upon some criteria redirect the user to some other web page.
I hope it makes sense.
Thanks
Don't Quit
|
|
|
|
|
oh its beginning to make sense - you want us to help you write something malicious ?
because according to your criteria, thats what you are describing ..
'g'
|
|
|
|