|
exotiick wrote: If someone can explain to me why thanks.
I suspect that there is something wrong with your code, but without seeing some of it (or receiving a better explanation) it is impossible to guess.
I must get a clever new signature for 2011.
|
|
|
|
|
i dont have any code, i only have created the forms and design of forms
|
|
|
|
|
Visual Designer keeps track of your actions by creating one or more (hidden) source files, probably called form1.designer.vb or something similar. You can see them with Windows Explorer; and with Visual Studio provided you make it show all files, there is an icon button for that.
When you run your app, it either works fine or throws an exception, and since you did not add any explicit code, it will not be swallowed by an empty catch block. Look at the exception, pay attention to class names, file names, and line numbers mentioned, or report it here.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
Without Code and Without Error How can i know that what is the problem is generating with u.
If you can think then I Can.
|
|
|
|
|
Search for the main method in your project and see what form it trying to open. You may have changed the name of the form but not the reference to it in the main method.
Hope that helps
Architecture is extensible, code is minimal.
|
|
|
|
|
Hi,
I do not know if this is the correct place to put this question but maybe someone has come acroos this problem. So sorry in advance.
Is there a way to generate multiple files from 1 run i.e. via vb.net create a pdf file but the pdf has more than 1 page. I want to create a new file for every page e.g. Page1.PDF, Page2.PDF etc.
|
|
|
|
|
directred wrote: Is there a way to generate multiple files from 1 run i.e. via vb.net create a pdf file but the pdf has more than 1 page.
What do you consider a "run"? Yes, you can generate multiple documents with multiple pages from a single method. If it's lots of pages than it might take a while.
What library are you going to use to write the PDF-files?
--Crystal Reports of course, that's what the question was about, and that also explains why you're worrying about the limits
This[^] thread seems to suggest that CR only generates a single PDF from a single report. You could try that in a loop, but that might become a bit slow.
A colleague suggested that it might be handier to generate a large report and to split that into multiple PDF's. There's a number of tools that could help there, like this[^] one.
I are Troll
|
|
|
|
|
Hmm ... Interesting problem.
How about using the ReportDocument.PrintToPrinter option where you could pass the starting and ending page number ?
If you need to create PDFs, you could find one of those PDF print drivers and install it on your computer and print to that print driver.
I've used http://www.pdf995.com/[^] in the past and it enables any program to generate PDFs.
My 2 cents.
|
|
|
|
|
I am relatively new to .net development and am inquiring on suggestions on what windows control(s) I would use to write a timecard application I am working on. Specifically, I would like to give the users the ability to enter a days time or modify any existing time entry they created. I am sure I could create fields for each time entry (i.e. date, hours, description) but this seems like it would have huge limitations as I don't know if the user needs to add 5 entries for the day or 10+ entries and each field would need data validation. Another option would be to add one line of fields and populate a listview as the time entry is added. A third option might be to use a datagrid? If any one would be willing to share any ideas, it would greatly be appreciated.
I do apologize if this post is added to the wrong forum so if anyone thinks I should move to a different forum, please let me know which forum would be more appropriate.
Or if anyone knows of a better control via asp or wpf, please let me know.
Thank you for your time,
Chad
|
|
|
|
|
If you search around, you will find tons of images for timesheets on the web.
For example, take a look at:
http://shareme.com/screenshot/dovico-timesheet.html[^]
This is a classic example of a "duration" based timesheet, where the employee just enters the number of hours he/she spent on a task; you don't know what time of day they performed those duties.
The other type of timesheet is where you list a task an the start and stop time of the task. You can then see when a person arrived, took a break, performed certain duties and left for the day. You can think of this as an automated "punch clock" type of timesheet.
Do some searching on SourceForge and you might find something that fits your needs.
http://sourceforge.net/search/?q=timesheet[^]
Good luck.
|
|
|
|
|
I change my program (add button or other), but when I run my program no change (button is not exist..). I don't understand what is happen
|
|
|
|
|
Try a clean and rebuild from the build menu.
|
|
|
|
|
You probably have some build error and are running the previous version again. There is an option to disable that, try menu Tools/Options/Projects and Solutions/Build and Run/On run when build error occurs: choose "do not launch".
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
Check the visibility of the button (in design and code).
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
|
|
|
|
|
Hi all when I delete my exe file then my problem is fixed. thanks all
|
|
|
|
|
Is it visible?
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
Hi,
I want to open a file via OpenFileDialog1 or is there a better way to select a file and then open it.
Via this way, I want to select say a pdf file and double click and the file opens. I seem to be able to select the file but the file will not open. I know I am missing just about one line of code.
|
|
|
|
|
I think your missing more than 1 line of code.........what are you trying to open it with? In your app, or fire off an external process.
|
|
|
|
|
This can be closed.
Found out another way. Copy to ListBox, select a file and then do what I want with that file.
|
|
|
|
|
Ok, i will remember that for the future.
|
|
|
|
|
I wouldn't know where to "file" that "information", so please remember it for me too.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
Hello everyone, I'm new to this forum. I turn to you because unfortunately I can not find a solution to my problem, now I'll explain: I created a report with crystal report, works fine, except that when the pages of the report to print more than one, the values in the footer are repeated on every page. I would like to make that information should go in the footer, to be written until the last page footer. You can do all this? Thanks to all in advance!
PS: Sorry for my English, but I'm Italian and I'm using google translator
|
|
|
|
|
By definition, a footer will print on every page. If you want it appearing only once, move everything from the Footer section to the Report Footer section.
HTH
|
|
|
|
|
sorry but I can not solve, when I put everything in the report footer, in the press does not appear. you could not do a test project? Thanks to all
EDIT: I managed to bring up the sections on the last page, but if I wanted to make the text appear on all pages except the last thing I do? thanks again ...
modified on Friday, January 28, 2011 10:02 AM
|
|
|
|
|
OK, you wanted the report printing on all pages BUT the last one... I mis-understood.
You can make the section hidden for the last page - check the OnLastRecord variable and in the Section expert, write a formula to suppress the Report Footer if that variable is true.
|
|
|
|