20,284 Topics

Member Avatar for
Member Avatar for bLuEmEzzy

if the itemcheck is check then all the checks will be add separately to cash... i hope is it clear enough... thank You.. God bless... [CODE] Dim Cash As Double = 0.0 Dim Cheque As Double = 0.0 Dim Other As Double = 0.0 Dim DetermineCash As Boolean Dim CheckedItems …

Member Avatar for bLuEmEzzy
0
160
Member Avatar for Mitja Bonca

Code shows how to bind the data from a database`s table to dataTable and populate dataGridView with it. And then how to pass the modified (or not) data from dataGridView back to dataBase`s table.

Member Avatar for tomason
0
731
Member Avatar for spydanger

Hi im just made a webbrowser on cisual studio 2008 to enter automaticly to a link but me i want the webbrowser to enter to the link and wait 10 sec then click on Tab key then click on ENTER key Then ENTER key again , then wait 10 sec …

Member Avatar for spydanger
0
2K
Member Avatar for arkanoid

I did not see anything about how to have multiple colors in a textbox. Is this possible, or must I use a richtextbox?. I would like to keep it simple if possible by setting it up in a standard textbox. Can someone help me with this? As an example of …

Member Avatar for arkanoid
0
119
Member Avatar for jlego

kind of directed towards adatapost... in most of my applications, i have a public function called DBUpdate() [CODE] Public Sub DB_Update(ByVal strQuery As String) Dim ADOCmd As New ADODB.Command Try If ADOConnect.State = ConnectionState.Open Then Call CloseConnection() ADOConnect.Open(dsn, user, pass) ADOCmd.ActiveConnection = ADOConnect ADOCmd.CommandText = strQuery ADOCmd.Execute() Catch ex As …

Member Avatar for jlego
0
149
Member Avatar for SaberExcalibur

After deploying my project, I tried to install it on other pc , it installs well but whenever i run the .exe application my database file which is MS Access cannot be found. Well obviously the path is the problem. How would i make my path flexible and so that …

Member Avatar for DONPAWPAW
0
107
Member Avatar for Chair

Hi, I want to populate a listview with items from datagrid view. I've been searching for solutions but it seems that all the scenarios I found were about populating listview with items from tables in database, not from another listview or datagrid view. I'm trying this code: [CODE] For count …

Member Avatar for Chair
0
1K
Member Avatar for swathys

Hi, can anyone guide me on [COLOR="Red"]how to check the server DateTime when the application launch. i want to make sure the user PC has the same DateTime as server when the user use the application.[/COLOR] Reason being is some user may tend to change their DateTime backward and it …

Member Avatar for Luc001
0
134
Member Avatar for y2kshane
Member Avatar for reedom

[B] Dear Sir, Good morning How to open CSV file within form in asp.net and control it like a Matrix thank you[/B]

Member Avatar for Luc001
0
49
Member Avatar for airesh

guys, how to check data if it is already in the database? i am using sql server.. thanks

Member Avatar for kvprajapati
0
93
Member Avatar for xxxferraxxx

Hi, I need to make "Keygen" that gen text not randomly with two text boxes, i need to use it for "username and "password" gen that i puted to gen. Please help with the code :)

Member Avatar for xxxferraxxx
0
206
Member Avatar for roymrinal123

Dear Sir, Good morning How we can Upload data from Excell to our Access database through VB .NEt Please Help me

Member Avatar for kvprajapati
0
70
Member Avatar for JD69

I have 1 form with the progress bar and 4 buttons with the following code. I would like to create another form that shows the same progress bar with the same progress. Please help Here's my code for progress bar [B]form load code is:[/B] [code] ProgressBar1.Minimum = 0 ProgressBar1.Maximum = …

Member Avatar for codeorder
0
163
Member Avatar for roymrinal123

How we can show data from acess database in datagrid please help me about the code

Member Avatar for kvprajapati
0
82
Member Avatar for JD69

VB2008 I am trying to click a button on a website but its not working for some reason. I've used this code on another site but the html code doesnt look the same. Here's the HTML Code <input type="submit" onclick="return fnbValidateLogin()" value="Login" name="Login"> Here's what i Tried theElementCollection = WebBrowser1.Document.GetElementsByTagName("input") …

Member Avatar for codeorder
0
256
Member Avatar for bettybarnes

hi can anyone please help me with the codes in search stored procedure.. for example.. i have combobox which lists lastname, firstname, pt_id, (the choices if i want to search for a particular record) i forgot the code for search T.T

Member Avatar for bLuEmEzzy
0
101
Member Avatar for RenanLazarotto

Hey people! I've saw many many times lots of custom controls, so I decided to build mine. I just don't know how :$ what do I need do to do to build a custom listbox control? Thanks!

Member Avatar for RenanLazarotto
0
1K
Member Avatar for bettybarnes

Conversion from string "Widow/Widower" to type 'Integer' is not valid. here is my code [CODE]classLibrary.addParameter("@Sex", SqlDbType.VarChar, txtSex.TextLength, txtSex.Text) classLibrary.addParameter("@Room_ID", SqlDbType.VarChar, txtRoom_ID.TextLength, txtRoom_ID.Text) classLibrary.addParameter("@CivilStatus", SqlDbType.VarChar, cboxCStatus.SelectedItem, cboxCStatus.Text) classLibrary.addParameter("@Nationality", SqlDbType.VarChar, txtNationality.TextLength, txtNationality.Text) classLibrary.addParameter("@Religion", SqlDbType.VarChar, txtReligion.TextLength, txtReligion.Text)[/CODE]

Member Avatar for jlego
0
232
Member Avatar for bettybarnes

this is the error message... The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Admission_Record_PT_Chart". The conflict occurred in database "HospitalManagementSystem", table "dbo.PT_Chart", column 'Chart_ID'. The statement has been terminated. my code is [CODE]Imports System.Data.SqlClient Public Class Admission Private cs As New SqlConnection("Data Source=SAbio;Initial Catalog=HospitalManagementSystem;User ID=sa;Password=TRACERT123") Private da As New …

Member Avatar for bettybarnes
0
239
Member Avatar for RenanLazarotto

Hey guys! Some time ago, I saw someone asking about trial software protection, and my first thought was a '30-day evaluation' mode. I was thinking on how it can be done without using any third-party programs. How can I detect the first run and count down (or up) the number …

Member Avatar for CodeWord
0
346
Member Avatar for Jake.20

I'm having a problem with the error in verifying the usernames that are already existing in the record/database. When you inputted a username that already existing it will throw an exception, and when you change the username, it still throws the exception.

Member Avatar for Jake.20
0
171
Member Avatar for msaranya

I am trying to create an Excel sheet and save it in server... Once it is saved, I display a link to the user "download excel". He can click it and then download it.. The pblm is I cant save the excel it says "The file could not be accessed." …

Member Avatar for Pgmer
0
219
Member Avatar for vanzhyme

Im using VB.NET 2005 i want to sum two records in database. So when i retreive them to display in my textbox they already sum. the numbers are in text. please help me ... im a newbie.. this is my code. con.Open() cmd = New OleDbCommand("select * from ChargedItems where …

Member Avatar for Pgmer
0
169
Member Avatar for danholding

Hi all i have been dancing around this problem for a couple of weeks now and have not got any closer. Description: i have created a crystal report in SQL5 and exported it fine but now i have gone to open it in visual studio 2008 and it does not …

Member Avatar for danholding
0
173
Member Avatar for Asen

I generate my xml into "variable string str" by using "dataset.GetXml" and then I write the "xml which is contained in variable str" into "file.xml" by using "sFile.WriteLine(str) while 'sFile' is a stream reader" My reason for using 'writeline' instead of 'dataset.WriteXml' because I need to encrypt the 'xml stored …

Member Avatar for Asen
0
192
Member Avatar for Jake.20

Guys, can you give me some idea on how to turn the combo box/drop down box uneditable.

Member Avatar for bLuEmEzzy
0
95
Member Avatar for Joshua Kidd

Hello, I am making a program for Microsoft Flight Simulator X, and When you are in Multiplayer in most games there is a Chat room, or Chat Box. Do you think that there is any way I can reach maybe an API or possibly monitor the Screen so If someone …

Member Avatar for Joshua Kidd
0
78
Member Avatar for haqayyum

Dear Friends I am using visual basic 2008 amd creatomg a datagrodview format like below Product Code | Product Description | Price | Qty | Discount(%) | Total 00001 Biscuits 10 2 00002 Cream 50 2 Now I wnat to get total balance in total column after less discount in …

Member Avatar for CodeWord
0
100
Member Avatar for bklynman01

I'm relatively new with VB.net, so please bear with me... I have a tabpage with 28 textboxes in it. These textboxes will be loaded with data and maybe changed. There is a Save button on the form that will take the data from these textboxes and save them in a …

Member Avatar for CodeWord
0
171

The End.