12,954,601 members (55,589 online)
Forgot your password?
Sign in with
Chapters and Sections
Article Help Forum
Submit an article or tip
Post your Blog
Ask a Question
View Unanswered Questions
View All Questions...
All Message Boards...
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Design and Architecture
C / C++ / MFC
ATL / WTL / STL
Objective-C and Swift
Hardware & Devices
Hosting and Servers
Silverlight / WPF
Site Bugs / Suggestions
Spam and Abuse Watch
The Insider Newsletter
The Daily Build Newsletter
Most Valuable Professionals
The Insider News
The Weird & The Wonderful
General Indian Topics
General Chinese Topics
What is 'CodeProject'?
Ask a Question
Bugs and Suggestions
Article Help Forum
Advertise with us
About our Advertising
Comments by Hariharan Arunachalam (Top 38 by date)
Since the files were part of your solution, it becomes part of the virtual directory when launched. To share them, there are some methods available, the easiest of which would be creating a shared virtual directory with the files in it. Here's a couple of other methods I found on CP.
I can't see any problem as to why the last record wouldn't show based on the data you have provided. Are you sure its not a null/empty value?
Do you mean to get the client side file path on the server end? I don't think that its possible. You have to save a copy on the server and do the work as necessary.
Seems so. Since the reference is using relative path, the script file needs to be part of the application to work. Is the script file included in the solution?
Are you willing to use/using jQuery in your pages?
Please use the improve question option, or reply to the comment, makes it easier to track this question.
You can use whatever you what, these are just file names and not the files themselves!
By edit, do you mean to also have the data updated on the server side? or just have an edit option available on the client screen?
Have the explanations stored in a database as text/string.
Add the script statement before the grid?
Wouldn't Fruit throw an exception while compiling in the compile method?
You could actually try building a control to suit your needs. I am thinking using HTML5 maybe.
Do you intend to stream the files across?
Sounds like you intend to have a full scale mp3 player. Best solution might to take an available player and tinker away.
A simple search gave me this one- http://ultidevwebbasedmp3pl.codeplex.com/. Don't know if its what you are looking for.
What is the function signature? It seems that the function is intended to return a string..
Can you explain why it didn't work for you? What was the problem? Did you contact the author with the area you had trouble with? A little research and effort goes a long way in letting the world help you.
Using a callback on every column seems a little overkill to me; for applying styles that is, since the you are using the style application in the code, it could be a problem later on while trying to apply/switch styles.
Could you elaborate on 'which' value you are not able to fetch? The values in the text boxes that the user types in later? You might have to store a reference of the control when you create them...
Are there multiple students? If so how do you plan to separate the information for each of them?
In a client/server architecture, you can choose to store local data at the client and the authentication at the server. (especially if you plan on using text files), else I'd suggest changing your approach to a database model. I only have a slight understanding of your problem, but I appreciate the fact that YOU ARE TRYING, so I'll help in anyway I can-just give me some context.
You are almost recreating the whole div? or are you trying to 'add a row to a table' effect on button click? A little context would be helpful!
Any sort of server-side on this? Or did the test actually intend you to connect via HTTP to a database in js and do the said task?
To use TCP based com in the form of a 'lobby' you'd need to know the ip and ports of the remote clients or the server information at the client. Otherwise you can scan all possible ip+port combinations. (Not a good idea. At all!). I'd suggest using a UDP broadcast to connect to the server and then you could switch to TCP for the rest of the communication. Sounds good?
This isn't a question. It's a request. I'd redirect you to something like http://www.getacoder.com/ . Or you could do it yourself and ask in cases where you hit specific problems. That's what this community is good at.
possible in IE9. Don't know about IE8 and company.
It just goes into the search engine.
Could you elaborate on the way the object is to be stored into the text file? And your source collection.
If you are looking for a flash player, you are in the wrong section. Could you be a little more specific on your requirements, as in what section is to be written in what language. Maybe then someone could help you out.
Thanks again Dave.
Been sleeplessly trying to find out an alternative database to use. Thinking of using an IMDB. But can't find any that can work and integrate with .Net.
Thank you Dave for explaining one of the things I was looking for.
On a side note, I am not retrieving the entire table. There is a status field that is set on a field when the first client fetches it. (As many clients do different levels of processing on the row). The next client has to wait until the previous client bumps the status flag to its level (XSD Query-> SELECT * FROM Table WHERE Status = 2).
I now have concerns if this could be because most of the queries use SELECT *. Would it make a difference if I used each field name? I need all the columns in most cases. Is there a performance issue between the both?
I had considered this solution at first too. But as it turns on, new rows are added at about every 3 to 7 secs. So Almost each time, I know that there is data to be retrieved. Its that part that is the problem.
I will give this a try too.
Reason for my vote of 5
A nice and simple way of putting things on the right track
Yes that will do it. I also want to add a correction at this point, as if the filesize is too small we might override the default timeout.
So I've changed
Smtp.Timeout = attachments.Sum(Function(Item) (DirectCast(Item, MailAttachment).Size / 1024)) * 1000
Smtp.Timeout = Math.Max(attachments.Sum(Function(Item) (DirectCast(Item, MailAttachment).Size / 1024)), 100) * 1000
And so you need to add this small piece to yours:
Dim timeout As Integer
Dim mailAtt As MailAttachment
For x As Integer = 0 To attachments.Length - 1
mailAtt = DirectCast(attachments(x), MailAttachment)
timeout = timeout + ((mailAtt.Size / 1024))
Smtp.Timeout = Math.Max(timeout, 100) * 1000
Could you tell me what exactly are the places that encounter problems with 2.0 or 3.5?
I've got the complete implementation of a mailer client that I will be uploading soon. Running tests and functional analysis on it now.
Anyways fixed the issue with bigger files.
Add a SMTPClient timeout. The default of 100s is not enough for 500kb files on a non-broadband connection apparently. :(
The reason is because I have to deal with huge chunks of reporting data.
CSV files around 100Mb :)
I seem to be getting a Operation Timed Out Exception when trying to send a 530kb image file as attachment.
I think a complete implementation of these classes in VB.net will make sure that the incessant queries and unavailability of any usable code are addressed.
Will provide link here once i test this out with at least a 50Mb file.
Web02 | 2.8.170525.1 | Last Updated 1 Jan 1900
All Rights Reserved.
Terms of Service