I am new to Visual Basic (I currently have VB 2008 Express to play with) and have a question about automating MS Access applications.I have a number of MS access applications that interact with MS Excel, Windows commands and Adobe writer.The applications have multiple forms that require input and/or selection from dropdown list which are repeated for 15 different selections manually.Rather than change the application can I write something in VB to perform the manual process of filling foelds and clicking buttons? e.g. I can open a DB, display a form and then this requires two fields to have a date input, then a new form loads and a dropdown is selected. This is used to generate a report.I can see how to run the report and load forms, but can/how do I update the fields in the form.
I have created an application using vb.net 2008 and for reports Crystal Reports Basic for Visual Studio 2008 but the problem is, when I run the application in another machine away from developing box, I get the Load report failed notice. I don't have any idea on how I should approach this issue. I tried installing the CRRedist2008_x86 and CRRedist2005_x86 but still the problem won't go away.
I simply created a "Report" folder on the the project and "crTxEmpMaster.rpt" is created on the "Report" folder.I tried load a .rpt file for Crystal Report, but it occured "Load report failed" What is wrong wth it? #1 and #2 both failed.
Dim menuReport As New ReportDocument() '#1 Dim reportPath As String = Application.StartupPath & "" & "ReportcrTxEmpMaster.rpt"
I'm using maysql phpmyadmin i just had this error for my crystal reports
Dim myReport As New ReportDocument Dim myData As New DataSet1 Dim conn As New MySqlConnection Dim myAdapter As New MySqlDataAdapter conn.ConnectionString = _
I have developed a windows application on vb.net 2008 and deployed it on client machine my crystal reports are configured through DSN to server everything is going fine om my development machine but on client machine producing is "Load Report failed" . I have added Reports folders and all RPT files in that folder in installation package through file system.
Dim path As String path = Application.StartupPath.Substring(0, Application.StartupPath.Length - 10) Dim fullpath As String = path & "Reportsslip.rpt " cryRpt.Load(fullpath)
Everything was working fine but suddenly started getting this error. I have the following code ReportName = Application.StartupPath & "" & ReportName & "" Dim ReportForm As CrystalDecisions.CrystalReports.Engine.ReportDocument = New CrystalDecisions.CrystalReports.Engine.ReportDocument ReportForm.Load(ReportName) - I get error at this line The path & other things are right. Till yesterday it was working fine & now I started getting this error, the only change I made in the report was I added a field.
I have a form which has crystal report viewer. On form load it gives the following errorAn error occurred creating the form See Excpetion.innerException for details. The error is :Could not load file or assembly 'CrystalDecisons.Windows.Forms, Version = 10.5.3700.0, Culture=neutral, PublicKeyToken = asdad or one of its dependencies. The System cannot find the file specified.
I am having trouble loading and displaying my .rdlc report file in my reportviewer. I've been all over the internet and nothing worked.I think it might be because i am using vb.net 2008.Also I am wondering if there is a click event in Microsoft Reports or in Crystal Reports where I can link certain data in my report to other files in my project, eg. form2.vb
I am new in VB 2005. I have problem loading data in report viewer, data loaded successfully but it is not the current data. I am entering production details into the database (access 2007) . It will add successfully. Then I open production report there is no current updated data. It will show when I close the vb 2005 and reopen it.
Code: Private Sub Report_Production_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'hajarDataSet19.stockdetails1' table. You can move, or remove it, as needed. Me.stockdetails1TableAdapter.Fill(Me.hajarDataSet19.stockdetails1) 'Dim rds As New reportdatasource Me.ReportViewer1.RefreshReport() End Sub End Class
i am trying to load a filter on load of a report in my database. here is the line of code, i know i am close but i just cant get it right, i know the titles of all the forms, queries and reports are all correct but i am missing something still and cannot figure it out.
Me.Filter = "qryVisa list.[Country] Like " + Chr(34) + [Forms]![frmPassports and Visas]![Combo24].[Value] + Chr(34)
Synopsis: I have a report generated from the report wizard in VB that works, but I only want to load data from the same department as the current user.
Details: The application connects to MySQL using the MySQL Connector/Net. I have a users table in the database, one of the fields is "Dept_ID." The report I currently have works loads data and everything fine, but I only want to load some of the data from the table, specifically where Dept_ID matches the current user's Dept_ID, basically adding the "WHERE" clause to the select statement.
I used the report wizard to generate the report and data table, etc, just followed from step one. I've looked around and have found something about using parameters, but can't seem to figure out how to pass a variable to the parameter, or if that is even the best option. Using the wizard, I don't have any code to show for it and the report works like it should, I just need to figure out how to configure it further.
I created a Report in Crystal Report Designer. In this report, there is a place for image. I want to insert image in the report at runtime (not desgin-time). Because in my application, there is a pool of image files from which a user can select image.Is there any function in .NET, that can insert image(.jpg) at run time in report from file
like---: i am atteching the file in my query....Attached image(s)
I am having trouble loading and displaying my .rdlc report file in my reportviewer. I've been all over the internet and nothing worked.I think it might be because i am using vb.net 2008.
Also I am wondering if there is a click event in Microsoft Reports or in Crystal Reports where I can link certain data in my report to other files in my project, eg. form2.vb
I am currently updating an application from Vs2005 to Vs2010. I'm having an issue rendering the report viewer (using SSRS 2k5) in the browser.When the report is loaded, I get bombarded with popups that say "Unable to load control". After all the popups, the report eventually load (thank god for firefox's prevent additional popup checkbox), yet none of the buttons work (each button causes the popup).
i am creating an application that i want to load a pre-designed crystal report from database records and print it in pdf format and send it as e-mail attachment. I know how to send it as an attachment but i don't know how to print it in pdf automatically for sending.
i do not know why data type image on ms sql is not working ! so i choose to use varchar(max) as my datatype to store images.. but i do now know how to load it on crystal report..
Why I've choosen this forum (VB.Net) instead of Reporting is this seems not a matter of reporting. When I load the report normally, it works fine. When I export the report to Excel, it works fine again. After that when I tried to open the report again, it gives the error : "Load Report Failed" . I've to restart my application for make it work fine again.I'm using a Crystal Report Viewer control to load the report.
there is one search button to see the report on datagridview using year..so when the more items are there in database correspond it year(say 2012)... the above exception is thrown by filling the datgridview,the problem happens when it tries to connect with crystal report,it shows error...Remember that i face this problem only if there are more records in my database(exactly more than 100 rows)...when i delete few rows from the database,it works fine..I have created a table and added that table to a dataset,then assigned that table1 as datasource for crystal report
there is one search button to see the report on datagridview using year..so when the more items are there in database correspond it year(say 2012)... the above exception is thrown by filling the datgridview,the problem happens when it tries to connect with crystal report,it shows error...Remember that i face this problem only if there are more records in my database(exactly more than 100 rows)...when i delete few rows from the database,it works fine..I have created a table and added that table to a dataset,then assigned that table1 as datasource for crystal report
Public Class crystalform1 Dim r As DataRow Dim t As DataTable
I had created an application named "WindowsApplication1" and created forms in it "Form1" & "Form2", now from just call the form2 and form2 contain a crystalreportviewer1 tool. Now my application also contain a crystalreport which i want to load in crystalreportviewer1 from form1. so i write code like this in form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim crprpt As New ReportDocument
how I can reference a report variable in the Report Properties Code Window of a local report? I have tried Variables!Claimant.Value (for a variable called Claimant) but I get an error "Reference to a non-shared member requires an object reference." I have tried qualifying it with Report. and also with the report name in front of it but I get errors with this also.I have the variable CLaimant defined in the Variables section of the Report Properties.
I have a form that runs a report to pull info. (Not sure if this is even the correct subforum to put this on)And what this query is supposed to do pull info from combo box based on the start and ending numbers of orders for customers, but what I want to do is default the ending number to be what the starting number was as soon as the starting number is entered, but allow the user to change that if they want. I just want to make sure that it has a value. I tried to set the field to required, but that doesn't seem to be doing the trick.
which contains a combobox with two Gender options, Male and Female. When the form runs the user can select either male or female to perform a query. I made the ComboBox public and shared so that it can be viewed by other forms. On another form i added a ReportViewer and a dataset based on my database (MS Access 2007 database with 1 table named tblStudents). I don't have any problems when i try to run a simple query without parameters, but there is a problem with my
I have a Worker.cs in a ZScreenLib DLL that does the following: 1. takes ZScreenGUI.cs (a Windows Form) as an argument 2. creates a Background Worker object and does everything 3. reports progress to the ZScreenGUI form via BackgroundWorker.ReportProgressThe user can create as many instances as possible of Worker.cs class and do the background worker tasks Now I need to create another Windows form called ZScreenCLI.cs and wish to make use of this Worker.cs class because ZScreenCLI and ZScreenGUI are pretty much the same but ZScreenCLI has much less features compared to ZScreenGUI. My question is, how do you manage to report progress to ZScreenCLI? The ReportProgress methods are tied with the controls in ZScreenGUI form. Obviously there is a problem with the concept I am using