15,891,253 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 11428137 (Top 14 by date)
Member 11428137
7-May-15 5:24am
View
Which part do you need help with?
I suggest you post the code you've written so far, with some notes on what isn't working.
No one's going to write the whole thing from scratch for you.
Member 11428137
30-Mar-15 4:45am
View
Are you running this over remote desktop, or as a service? CopyFromScreen won't work in either of these situations. It used to work in XP like that, but it was considered a security risk.
Member 11428137
30-Mar-15 4:24am
View
I have seen before with the date time picker, that if you don't pick a value, it will show the current date, but will actually save null to the datasource. Do you still have the problem if you change the date before saving?
Member 11428137
28-Mar-15 16:01pm
View
It looks like the code is doing exactly what it's supposed to be doing.
What's the problem?
Member 11428137
24-Mar-15 4:22am
View
Do you need the ReportViewer to actually view the report, or are you just using it to export to pdf? If it is just for the export, then you can actually just create a LocalReport object and use that instead. That could speed it up a little bit.
I also just found this, which looks like it could help: http://stackoverflow.com/questions/15031212/ssrs-localreport-mode-takes-a-long-time-to-render-in-pdf
Member 11428137
21-Mar-15 9:27am
View
That's good to hear. Yes unfortunately it probably is quite slow, as it by necessity only does one row at a time. Also I don't think it's able to optimize it by batching the commands. Is it a regular thing that you run this import, or more a one off/time to time thing?
Member 11428137
20-Mar-15 8:08am
View
Does the account that ASP.NET is running under have permission to access the folder with the pictures?
Also looking at the stack trace, it looks like the error is actually at the line
ppPrsn = ppApp.Presentations.Open(strTemplateFile);
Have you checked that this is receiving a valid path?
Member 11428137
14-Mar-15 6:17am
View
In that case I suggest having a good read of OriginalGriffs linked article. It covers what you want to do quite nicely.
Member 11428137
14-Mar-15 6:10am
View
Ok, and how does the sub form try to type to the textbox?
Member 11428137
14-Mar-15 6:07am
View
Ok, and how does the sub form try to type to the textbox?
Member 11428137
14-Mar-15 6:01am
View
How are you opening the new form? Can you show the code used to open it.
Member 11428137
11-Mar-15 22:22pm
View
It looks like you may be using Entity Framework, as you are loading your data into typed objects, but you haven't shown any code for saving them. You need to attach them to your context, and then call SaveChanges() on the context.
Member 11428137
10-Mar-15 4:50am
View
Yes it should be able to work both ways, but since existingStreet.Houses is a collection you have to .Add your house to it.
As I understood from your question, when you .Add an existing house, it is creating a duplicate house in the database.
Without seeing more of your code, I'm not sure why it would be doing that.
Member 11428137
9-Mar-15 0:41am
View
Can you show the code you are using to export to pdf?
This is probably the part that is slow, but without knowing how you're doing it, it will be hard to suggest improvements.
Thanks
Show More