20,284 Topics
| |
how to bind a datagridview to a list of custom classes?? pls i need your help guys, tnx. | |
Greetings People of Daniweb! I'm trying to add a 3rd party control to a form and I'm getting the following message: **Unable to cast object of type 'Microsoft.Practices.EnterpriseLibrary.Data.Configuration.SyntheticConfigSettings' to type 'Microsoft.Practices.EnterpriseLibrary.Data.Configuration.ContainerModel.ITypeRegistrationsProvider' ** Does anyone have any idea why this could happen? Any searches I tried on google brings back nothing … | |
I tried using a solution to a very similar question here but it doesnt work for large files like the one I'm using. http://www.daniweb.com/software-development/vbnet/threads/320160/visual-basic-reading-text-file-into-array The code from that question: Dim OpenAnswerFile As New OpenFileDialog Dim strFileName() As String '// String Array. Dim tempStr As String = "" '// temp String … | |
Hello. I have an old access data project. I need to convert it to sql and .net. How can I do that? | |
I have 7 textbox entries and I would like to add them to a listbox and when I close my application it would save them, I have the code for the 7 texboxes and everything like that has been done, but I just dont know how to add multiple textboxs … | |
I have created an uninstall list that is populated when a form loads. I want to add the ability to right click on the item and have an uninstall option. Below is the code that I'm using to show my Uninstall Manager so far. [CODE] Private Sub UninstallMgr_Load(ByVal sender As … | |
I' sorry but i need some help, i cant find the error. I want to add a new record to the database (access 2010), but although the dataset is updated, the added information does not save do DB. THe code bellow is the code that i run when press the … | |
Hey guys, I am desperated right now. Im my application i want to export some data from an entityset to excel. So far so good. But i want to exclude some properties. So i thought creating a custom attribute for those properties is might a good idea to make things … | |
Hi, I am using windows form. One of the form containing a combobox which populates data using datatable method. If the user found there is no particular data then they can add using an another form thru a button click to open and save the data. The saved data in … | |
Hello, I have created multiple tables in a dataset when I load a page. Some of the information for those tables are on a form. After making changes to the data on the form, I want to go back to those datatables to write to the SQL table. Here is … | |
I want to call jquery function (or something like that) from vb code. This is what i need. There is a VB function named Calculation(). It takes few seconds to complete the calculation. (Let's get it is taken 10 Seconds) In this 10 seconds the user don't know something is … | |
I want to create a map, with image of a floor plan. As the user zooms in or out, or moves the image around the form and clicks on a room to see more information about it, it will be possible. I'm thinking of creating labels or buttons with opasity … | |
Good morning, Can someone help me to figure out how if I should used a Public Sub New or a Public Function. My codes are: Public Function ClassAverage(ByVal Average As String) Dim Grades() As Decimal = {76.5D, 63.4D, 45.4D, 94.5D, 81.3D, 66.2D, 68.6D} Dim sum As Decimal = 0 For … | |
Good morning, Can someone help me code this part of my assignment, it's been 24 hrs trying to do this. Place student names and final mark into two, one- dimensional arrays. One array will be of String (for names), the other will be an array for real numbers (for marks) … | |
Hi all, I was just using iexpress to wrap up my vb.net project just to make it .exe file. It went fine but when i launched the .exe it's telling me that the database doesn't exist in the file. I put my database file in \bin\debug folder.Now it's telling me … | |
Good afternoon everyone. I made a project using Florian Leitner-Fischer's usb library. I can send data to the bus 100%, but when i read i get the recieve frame and then my application hangs for some reason. When i uncomment out "MsgBox(content)" in the event catcher, the program no longer … | |
I have to set the point labels in pie chart and adjust the point label lines when there is large amount of data. I have attached the chart image that is required. The required portion is marked in yellow colour.When I use LabelLineBreak property=0 lines becomes too small. ![94e19e6e623ddc2637d7bdc6fa597f1a](/attachments/fetch/L2ltYWdlcy9hdHRhY2htZW50cy80Lzk0ZTE5ZTZlNjIzZGRjMjYzN2Q3YmRjNmZhNTk3ZjFhLnBuZw%3D%3D/300 "align-left") … | |
As I watch one of the videoon net on screen recorder. I watch that by adding reference > com > hycam2 is visible. (this is the important else I can't create my app) So I browse the hypercam2 Directory. And try to add the file: hycam2.tlb But pop up msg … | |
Hi, In an application im making, I need to square a decimal value in a text field to then use in other calculations later, but when the compiler squares the value it ignores the decimal points, treating 1.85^2 as 185^2 and returning 34225 rather than 3.4225. What am I doing … | |
Hi all, I really need your help on this one. I have a MSSQL db table with two columns-ID and name. Each row in this two columns contains an unique ID and a name. Now I have a query that imports just a name in the listview (I don't want … | |
Hi can you pls help me for code to check the duplicate data before instert or update records.... i work with Ms Access database 2003 with disconnection mode (dataset) into vb.net 2008 | |
Good afternoon, Can someone help to to understand how to write a student's name and final grade to a sequential file. I am doing this in Visual Basics. I see the syntax for write and read, but is not understanding how to use it in coding. | |
hi i have a code here that export my listview items to excel but i want to customize each cell size and i want to format the date and landscape environment Try Dim objExcel As New Excel.Application Dim bkWorkBook As Workbook Dim shWorkSheet As Worksheet Dim i As Integer Dim … | |
Hi guys, I just figured out the normalization problem.And i'm moving on to the application. But i'm facing a problem,i needed to check if an id exists in the db when an item is inserted. It's saying the title i just wrote on the article.Here's the code i used. 'Tocheck … | |
Hi Guys. I hope everyone in doing great today:-) I have some problem, this coe does not produce mi in aplhabetical oreder. I am using Heapsort as a sorting algo...and please help me Hope to hear from you guys;-) Public Class MyForm Private MyTable As New DataTable Private MySortedTable As … | |
As the title says I'm having trouble in my Vehicle Maintenance routine where I will have a a monthly maintenance based on the last maintenance date. If the vehicle has reach 1 month since last maintenance it will show in a datagrid. Also it should select those vehicle that reach … | |
Hi, All, Good day! I would like to ask for help on how to solve below error: Exception: The ObjectManager found an invalid number of fixups. This usually indicates a problem in the Formatter. This is the piece of code where the error occurred: Private Function DeSerializeObject(ByVal PathFile As String) … | |
How do I count characters using substing and a do while loop? Im trying to make a pogram that will allow the user to type in a phrase and when they click on the search button an inputbox will appear asking for what character to search for. The user types … | |
Hi all, I have a form in visual basic with about 62 textboxes. On this form is two columns of textboxes. Textbox 61 -62 is a total textbox for each column. When the user types in digits to 60 textboxes the program must add it up automatically to textbox61/62. My … | |
how can i save a .txt file in C:\? I keep on getting a permission box preventing me from doing so. |
The End.