I have .Net 2010 and I set the "Embed Interop" to true and this seems to work. This way you can leave Option Strict on.
Read this http://msdn.microsoft.com/en-us/library/ee317478.aspx#Y726
Type: Posts; User: wes4dbt
I have .Net 2010 and I set the "Embed Interop" to true and this seems to work. This way you can leave Option Strict on.
Read this http://msdn.microsoft.com/en-us/library/ee317478.aspx#Y726
Glad you got it solved, doesn't seem that should be necessary but at least it works. I also noticed you use a Me.ReportViewer1.RefreshReport() in the form load event. Have you tried just showing...
You just have to use the "Update" method on myDa dataadapter. First you must create the update commands, the easiest way is to use "OledbCommandBuilder".
Dim query As String = "Select...
simple Google search, http://www.codeproject.com/Articles/9781/How-to-Load-and-Display-Crystal-Reports-in-VB-NET
dunfidlin,
thanks for the information.
For now I've given up on using the "Suggest" mode. I'm using this code a substitute,
Private Sub CompanyToolStripComboBox_Enter(ByVal sender...
Niya,
thanks for the reply. If you find anything useful please share. I've been searching but didn't find anything that made sense to me.
jmc,
Thanks anyway, I'll either live with it or turn suggest off. Maybe I'll let the client decide.
jmc,
thanks for the reply. It's not the autocomplete, it's the list that drops down when the "autoCompleteMode" is set to "suggest". The list that drops down when you click the combobox down...
I sometimes concatenate things like Comany Name, Last Name, first Name, and then use them in my combobox list items. I can set the font to a fixed width font for the combobox list items but the...
Just dealt with this problem yesterday. I found you must "Fill" the datatable for the combobox datasource (listitems) before you "Fill" the datatable that the combobox is bound to, in your case the...
I spoke to soon. This won''t allow you to highlight the text so you can type in a different name. I should have paid more attend to the word "never" in your post.
dunfiddlin,
That will do the job just fine. Thanks, very helpful information.
I have a toolstrip with a combobox. The Autocompletemode is set to "Suggest ". After the selectedindex is changed, I move to a different control. Like this,
Private Sub...
Do you close "frmReport" before you run the second report?
Sorry, don't have an answer, but you should post the code that displays the report and explain where the code is located.
You would need to use grouping, group on "Name". Then set the page break property to true. Haven't used rdlc in quite a while but I'm sure you can find how to do it, Google something like "rdlc...
That's what you said you wanted, you didn't say anything about the totals.
Don't you think you should at least thank jggtz for helping with what you asked for.
jmc,
Thanks for the reply.
I've been thinking, when this happens, the error keeps redisplaying after you press OK. You have to open the Task Manager and end the process. The...
I have a .Net 2005 program that runs fine on two of the three machines in the clients office. I get and "indexoutofrange" error when "FormClosing" is executed, the index number changes depending...
Also, could you post the code where you call the report and how do you set the datasource. The SQL looks ok so maybe the datasource is not getting set with that sql string.
What problems are you having? Are you getting an error, if so, where?
That said, there are two DGV events that could help you update cell(1). "CellEndEdit", "CellValueChanged". Put the code for...
jmc,
Thanks for the reply. I'll have to research ClickOnce. I've always just published the app and then run the setup program. I've written several single user stand alone apps for this...
kevin, I have no problem if I run the "AccessDatabaseEngine.exe" on the workstation machine, I'm just trying to find a way to avoid having to do that because this program will be accessed by...
kevin,
Thanks for the reply. I actually do have the Microsoft.Office.Interop.Access and the Microsoft.Office.Interop.Excel embedded in my app. But, I can't seem to find a reference to the...
This is a follow up to this post http://www.vbforums.com/showthread.php?715811-MS-interop-and-ACE-versions-question
Instead of running "AccessDatabaseEngine.exe" to install and register...
dunfiddlin,
Thanks for the reply. that's good information. It just occurred to me that maybe they installed MS Office x64, maybe this has something to do with it.
Instead of running...
Niya,
Thanks for the reply. No I don't run a setup project at this time. I could but I'm trying to avoid it.
I'll try not to make this to confusing.
I just developed an app that uses an Access accdb database. All the workstations were suppose to have MS Office 2010 with Access installed. I installed...
Sure you can, but you have to "Fill" them both.
Here's one I use,
Dim rpt As New rptLotListing
Dim ds As New WaterTablesDataSet
Dim taG As New...
You use a dataadapter to fill a datatable, like "da.Fill(ds.YourdataTableName)"
Also, if you still show no records, test how many records are in "ds.YourdataTableName"
I can assure you that there is no bug in the "If" statement. If "Result" equaled "success" then it would work.
Put a break point at this line,
Then check the value of Result.
Ye Ha, I found my VB6 disc!!! Took me two weeks and I have no idea how it got there but I found it.
Thanks for all the replies.
Sam - I will make backup disc now!
Sam,
So, are you saying, if I buy VS6 Enterprise, it will contain VB6 Enterprise?
Sam, Thanks for the reply.
Didn't really find anything in that link that addresses the question of, what version of Visual Basic is in Visual Studio 6. Unless I overlooked something.
I lost my VB 6 Pro discs. So I will probably have to buy a new set. On eBay I've found both VB6 and VS6. Surprisingly VS6 is cheaper than VB6. If I remember right, doesn't VS6 have a complete...
If you setup the table with emp_id as the Primary Key, the database wont let you enter duplicate emp_id.
techgnome,
I will try to get more info on the network from the company, but they haven't been real helpful and very spotty in responding.
If there isn't anything I can do, then I'll deal with...
Shaggy,
Thanks for the reply,
No speed issues at all at my office.
No lag at all at the office. Don't know if it's a data access/retrieval bottleneck or refreshing the screen after the...
Thanks for all the replies,
szlamany,
No I haven't found the line, it runs fast at my office. I don't have the ability to run the program in the IDE at the clients office. But the form load...
No one has had any experience developing for this type of network?