20,899 Topics
![]() | |
Hi , I am new to VB.NET.I am creating an database windows application in VS2010 and SQL server 2008 express.In one of my form i have a datagrid. My requirement is that i want to display the sum of an column of a DB table and other related data from … | |
Hi, i have convert my code from sql to mdb but there is problem when it comes to place i highlight in red it doesn't execute the command reader....it end the application when it reaches [COLOR="Red"]Do While dr.Read[/COLOR]can any1 tel me whats the wrong with my code.....i'm totally blank ! … | |
i want my program to have a splash screen as the starting screen but i need it to automatically count 10 minutes after it closes and form 1 loads. is it possible should i use a timer or what? ![]() | |
I am building for a football team can enter their points and it will display points and total points and a final Score. the message box opens and you enter the point and the point then suppose to go into the listbox. I can't to get the points to go … | |
Hi Guys, i have this code which draws a continuous circle using a timer. Now I have to display it in the form which has a group box with loads of other fields and information. Now can anyone please tell me how can i add the circle into the group … | |
i am trying to create a dataset for use with crystal reports. i have a dataset called dataset.xsd with two tables BatchHeader and BatchDetail these have a relationship of BatchID on both tables. (see picture1) I have this working when there is only one table in the dataset with this … | |
Hello.. anybody can help me by telling me the code to insert a row to a table in database in visual basic 2010 please please | |
I'm doing a project involving VB.Net 2008 and SQL. I'm trying to make a combobox display whats in the sql database that is connected on the left hand side. how do i do this? Sam | |
i want to make auto generated item number look like this item001 item002 and so on when i saved the item001 the next time i try to input new item it will give me item002 and so on... Thank You. i am using ACCESS | |
Hi. I am new to VB (and coding in general) and I'm wanting to make a check digit generator. To do this I need to take the a user text input and split it into individual digits so that I can then calculate the check digit. I'm just not sure … | |
in form hve 1 datagrid, 1 microsoft reportviewer and 1 textbox.. all data in datagrid binding from access database.. i put this code in textbox to search data in datagrid and automaticly data will preview in reportviewer..in data grid hve 2 column, like product & model.. [CODE] Me.Product_listTableAdapter.FillByproduct(Me.MydatabaseDataSet.Product_list, TextBox1.Text) Me.ReportViewer1.RefreshReport()[/CODE] … | |
I keep getting the following error when I try to add new record into database (Access 2007) "The INSERT INTO statement contain unknown field name:'login'." I dont whats wrong as the coding looks fine and the field login does exist in the database. Spent whole day trying to find the … | |
Hello! I need a way to have 3 colums of checkboxes inside a checkedlistbox. I know i could do it with a panel, labels and checkboxes. But having them all in the control would be more convenient. I'm pretty sure there is no direct way of doing this, so i … | |
Hi Ever had the situation where you need to make a copy of a Datatable? Or where you wish to copy a datarow from one datatable to another? Well here is how by using [B]Clone[/B], [B]Copy[/B] and the [B]ImportRow[/B] DataTable Methods. | |
hi i want to sql database backup through the vb.net code. | |
Hi Guys, I am developing a VB application along with MS Access... When I initially load my form I need to put my application to sleep for 3 seconds or else data wont load properly. So for this 3 seconds I would like to show a progress bar displaying a … | |
i using datagrid and all contents in datagrid from accessdatabase (using dataset) i hve this in query builder.. SELECT product, model, stockIn, dateIn, allQuantity, stockOut, dateOut FROM Product_list WHERE (model LIKE ? + '%') can i search by multiple column like product & model in 1 texbox & 1 more … | |
All, This is driving me crazy. How come only the last thing I send to a textbox is displayed? In the following example I would expect 'abcdefghi' to be displayed then, 1 second later, '123456789' should be displayed. But the only thing I see is 123456789. What is going on … ![]() | |
Can somebody explain to me why every time i subtract currency it displays the negative sign, even if the number used to subtract was small. for example: $ 5.00 - $ 3.00 = $ -2.00 | |
Good Day i already set up my MySql Database and my form for this application. I have this project in school that will give time credits to every student. For example a student gave 30 hours of time consumable, everytime he uses the computer the time will deduct how mmuch … | |
I have created an application using ODBC data sources.it runs on a local machine well. but i want it to run on client machines from central server.the following is the code that i use: dim myconnection as new odbc.odbcConnection("dsn=cleaners") myconnection.open where cleaners is a data source i have manually created … | |
Hi Guys, I am currently working on a vb project. What I am trying to do is reading a XML file and saving all the data in to the Access DB. Once this is done, I read the data from the access Db and display it in the required fields … | |
I am having a problem with my project in VB.NET which is a program to do facial recognition on photos sent via MMS using a GPRS modem. I have got the facial recognition to work on photos input via the computer. the problem arises when i send the MMS over. … | |
Dear All, How can I do this I created 2 forms... 1 is the main form and another is monthcalendar form. When i cliked on a button in MAIN form it will lik to another form which is MONTHCALENDAR form. When I click on the date in MonthCalendar , How … | |
Hi All, I try to store Korean langguage in Microsoft jet OLEDB 4.0 database, but I cant retrive it back. [CODE]catNewDB.Create("Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & sDatabaseToCreate & _ ";Jet OLEDB:Engine Type=5;")[/CODE] I try to google around for weeks..but still cant find the solution, I believe microsoft jet 4.0 should … | |
hi, i would like to create an uniqueID where it must add +1 behind the CurrentTranxDateTime for the transaction 1 to 10....I have coded as below but the problem is the number doesnt +1 for each transaction.....any1 have idea to solve this..... eg: 300111 01:45:29 AM 1 300111 01:45:29 AM … | |
Good afternoon, I'm trying to alter an application that calculates the area of a square using the following guidelines: For the Square class: 1) Add a Private variable named _area 2) Associate the _area variable with a Property procedure called Area 3) Change the CalculateArea method to a Sub procedure. … ![]() | |
I tried to get help on this on a different thread, but I didnt get any help on specifically for this, so im just making a thread just for this. The first problem is im trying to make a five digit string, it needs to be 5 digits long basically … ![]() | |
Greetings, My app saves a bunch of stuff to an XML file. This is my line of code- [CODE] Using writer As XmlWriter = XmlWriter.Create("C:\vdx2k\MWS\RE\EXTReportsInbox\TK" & frmCitation.txtCiteNumber.Text & "Traff.xml", settings)[/CODE] So that saves it at that specific location. I need to duplicate the XML and have it also save in … | |
Maybe it's a noob question ... anyway, I create a dynamic number of PictureBox controls. I keep them inside a List. What I want now is to make them clickable: same event handler for all (opening of the image source file) with a parameter. The question is: how can I … | |
i have the following code [CODE] Dim i As Integer i = Me.GridDomains.CurrentRow.Index Me.lbdomainid.Text = GridDomains.Item(0, i).Value [/CODE] when i have complied it in visual studio 2010 (debug) i get a error saying system.data.sqlclient.sqlexceptions conversion faild when converting varchar value LBdomainID to data type int. in sql the datatype is … | |
i have code in which datatable values will be given in crystal report of vs2008 iam very surprised when i run my application in debug mode by pressing f10 key value all the value loaded perfect but when i start application in normal mode only one value of datatable is … | |
i cant connect to my tcp server here is the partial code of my server [CODE]Public Sub New() InitializeComponent() server = New TcpServer(9988) clientCollection = New List(Of System.Net.Sockets.TcpClient)() End Sub[/CODE] and here is for the client [CODE]Try 'connect Dim hostname As String = "127.0.0.1" Dim port As Integer = 9988 … | |
Im trying for a message box to pop up but this code gives me always "Absent".How can i fix this. [CODE] Dim time As Date Dim CurrHour As Integer Dim CurrMinute As Integer time = DateTime.Now CurrHour = time.Hour ' Get current hour value CurrMinute = time.Minute ' Get current … | |
Dear All , I need to backup the sql server 2005 express database . It works fine if I make backup to specific folder"C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup" . But if I change the path to any other path . I got an error "Backup failed for Server 'server name'. " … | |
Dear All, How can I call a javascript to my VB.Net Window Application. Apprecited for immediate attention.. | |
Hi everyone! First i am a beginner so please dont be too angry if i make mistakes, I am willing to learn. Thanks. My problem: I am learning VB.Net 2003, I am creating a program to save daily customer numbers with the date(now). I attach code! I have problem to … | |
Im suppose to make an application that tracks electric motors in a manufacturing plant. It needs to have MotorID: Five-digit string, such as "02340" Description: String RPM: Integer, values in the range of 10 to 10000 Voltage: Integer, values in the range of 1 to 500 Status: String, three characters … | |
I need to make a string for a description textbox so later it can be added into a listbox and I dont know how to do this and this is all I got, which isnt much [CODE] Dim desripition As String Private Sub textbox2_TextChanged(ByVal sender As System.Object, ByVal e As … | |
Hi, I'm building an application that tracks certain information of my customers so that I can keep it all in order and in one place so I'm pretty much done however I'm trying to populate the excel sheet, but I'm not too sure how to add new customers without deleting … | |
hello there, i want to put my images saved as byte from the database to crystal reports. please give me code to do this, thanks :) | |
i need to set the transparency of a bitmap using a trackbar. how can i do this? if i change the value of the trackbar, the image's transparency will change. codes will be greatly appreciated. thanks! ![]() | |
I know im suppose to show code, but im stuck on how to make an integer, I kinda feel bad wasting a thread for a simple answer, but I cant figure it out, what im trying to do it make an integer values in the range of 10 to 1000. … | |
how to make search button for datagrid that can search by any thing that i hve set..for example smething like this but i use this code for listview [CODE] IsConnected("Select * from manager_table Where firstname like '" & Me.TextBox1.Text & _ "%' or status like '" & Me.TextBox1.Text & "%' … | |
i hve create 1 listview and all data from accessdatabase (using oledbconnection) in database hve 4 column, so in listview 4 column.. can i view only 2 column in listview, example only column 1 & 2 only in listview.. i using this code [CODE] ListView.Items.Clear() While (myDR.Read()) With ListView.Items.Add(myDR("column1")) .SubItems.Add(myDR("column2")) … | |
I have an array set up to receive the names of forms when they open. The form name is sent as a Form not a String therefore when I run my code I cannot check for whether the field is empty in the normal way (ie. array(1) = "") as … | |
Hello Today I am trying to put an error message showing that the client has no stock..I think I have to use the clientidlist to show if the client id does not show up in the clientidList than show error message stating the client has no stock..but I am not … | |
As many of you know, GOCR is a common Optical Character Recognition software that can be implemented into almost any programming language. You must convert the image you wish to convert into a PNM file and then proceed to call the executable OCR file. I cannot find any conversion methods … | |
Hi , Any Help Plz.... Could any body tell me what's wrong |
The End.