20,899 Topics

Member Avatar for
Member Avatar for rarun
Member Avatar for 07-0466

I have linked my vb.net application with mysql database but i am having a problem inserting data from the vb forms into the relevant fields in the database... Any assistance will be highly appreciated! thanks:-)

Member Avatar for finito
0
59
Member Avatar for pardeep3dec

I am working on a project based on networking. My problem is that database on server (time to time updated by clients Application) is available in shared folder sometime any client delete that database file from shared folder then project stopped working. So give me process for accomplish this problem …

Member Avatar for pardeep3dec
0
113
Member Avatar for dghervas

Hello, Can someone give me an idea on how to start and control a pppoe connection using code and not using rasdial. Oh and i would also like to be able to specify the phonebook that i would like to use with full path. Thank you, Daniel

Member Avatar for dghervas
0
651
Member Avatar for hemavl

Hi! I am 32 years old Engineering graduate.Homemaker till now. I have learnt vb 6 and oracle, 10 years before. Now I am interested in vb.net.I am learning it on my own. Please help me to develop myself, so that I can get a job in It field.Give me some …

Member Avatar for finito
0
209
Member Avatar for Maya Pawar

I have a datagridview which contains 4 records. I want to insert these records into access table.This access table already have records. Datagridview's columns & access table's columns are same (datatype & columnname) How can i insert these 4 records in access table??? Plz anybody help me.............. Thanks in advance...

Member Avatar for Maya Pawar
0
134
Member Avatar for hemavl

I have got problem in updating the access database. THIS IS MY CODE // [code] Dim con As New OleDb.OleDbConnection Dim spl As String Dim ds As New DataSet Dim da As New OleDb.OleDbDataAdapter con.ConnectionString = "PROVIDER= Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Malai\Documents\database31.mdb" con.Open() spl = "select * from REMAINDERDETAILS" da = New OleDb.OleDbDataAdapter(spl, …

Member Avatar for kvprajapati
0
110
Member Avatar for bchaney

is there a way i can get my datatable to have multiple constraints that are attached to a unique id? an example of what i'm talking about is if i have a unique machine but it's on many lines, can i show that somehow in a datatable? the reason i'm …

Member Avatar for bchaney
0
222
Member Avatar for Fungus1487

This is a very brief overview of how to achieve an ON-THE-FLY creation of an appointment in the clients outlook calendar. This will not force the user to add it to there calendar but gives them the option to add it automated. Using the older .vcs file extension for outlook …

Member Avatar for elf123
0
213
Member Avatar for chancewty

Hi, I need help. I've been looking all around and i have not found a appropriate solution for my question. Here it is. I've a database table which has the field "username" and "password" and within the "username" field, there would be users like "admin","cashiers" etc. I would like to …

Member Avatar for chancewty
0
100
Member Avatar for cmurambiwa

i have developed an application in windows mobile 5 but now it has to be installed on windows mobile 6.1. what can be the changes needed for the deployment kit

Member Avatar for peter_budo
0
69
Member Avatar for judithSampathwa

hi there, i have a email textbox in the datagrid view, when i try to validate the datagrid view cell in the cellvalidating event, the current value is not take to the email varialbe, it is showed as null. y is that. how can i solve this. [CODE] if(e.ColumnIndex == …

Member Avatar for nick.crane
0
92
Member Avatar for Merovingian
Member Avatar for Merovingian
0
116
Member Avatar for jzlonely

Hi All, I am trying to do a record search feature in my datagrid, but I can't find any reference for this. What I want to do is I can search any of the row that contain the text that type in TextBox1 by clink on Button1. Anyone can help …

Member Avatar for jzlonely
0
124
Member Avatar for DartDemon

Alright, I'm pulling hair out of my head trying to figure this out. I have Data coming in through a serial port and it consists of pretty much all numerical values except for a few begining response characters. Its a Load Cell which spits out Tension in Pounds. I'm making …

Member Avatar for dghervas
0
112
Member Avatar for kea62227

I think I found a bug in the combobox control. I can get the combobox.selectedvalue to be different from the value shown in the combobox. Try to run the code and see for your self how it acts. When running the form I have included a description of how to …

Member Avatar for dghervas
0
325
Member Avatar for slices

Hello guys, Can anyone tell me why do I get the error message in the code below? The code fires onPageLoad. What should I change? [CODE]Dim con As New SqlConnection con.ConnectionString = "Data Source=s01.winhost.com;Initial Catalog=DB_10078_kdn;Persist Security Info=True;User ID=xxxxx;Password=******" Dim s As String s = "SELECT * FROM Users WHERE Seller_id …

Member Avatar for slices
0
476
Member Avatar for bbman

hi... i want to hide a column in gridview..but must be able to access the data from that column.. whenever i make the column visibility to false..i wont be able to access the data.. it works..only when the condition is true. I tried the below method also.. GridView1.Columns.Item(0).ItemStyle.Width = 0 …

Member Avatar for prashantchalise
0
2K
Member Avatar for judithSampathwa

hi there, i have a datagrid view in a form and i have a calender control in one of the cells. when i try to validate it it gives an invalidCastException.(the line is bolded, this is tha place where the error occurs) [CODE] private void dgvActions_CellValidating(object sender, DataGridViewCellValidatingEventArgs e) { …

Member Avatar for gusano79
0
121
Member Avatar for b1izzard

I had Bind the Two Textboxes with fields Company Name and Interview Date from Database1. I want to prevent inserting the records into Database2 when the same value exists in Both Database. My problems are in enabling and disabling the insert button during record navigation and placing the below piece …

0
90
Member Avatar for pardeep3dec

Dear Experts, I need idea about disabling windows key from key board whether it is in windows xp or vista or windows 7. Thanks Pardeep

0
71
Member Avatar for judithSampathwa

hi there, i have a combo box cell in the datagrid view and to it the data is loded from the database. w@ i want is when i select a value from the combo box cell the other cells should be filled with the data relating to the value selected. …

Member Avatar for judithSampathwa
0
150
Member Avatar for petrelutza

Hey, I tried to change the size of a label from 2 text boxes, but doesn't work. Here is my code: [CODE] Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click y = TextBox2.Text x = TextBox3.Text Form2.Label1.Size = New Size(y, x) End Sub[/CODE] textbox2 is width …

Member Avatar for trpsjt2008
0
2K
Member Avatar for Anigmalee

I have a simple application, a form with two datepicker( Datepicker1 is for startsearchdate, while datepicker2 is endsearchdate) to filter out any record that not in the range. The source of the record is readed from a rtf file.The record is in format as showm below. [dd/MM/yyyy] time result So …

Member Avatar for finito
0
156
Member Avatar for rmartyn

hy :icon_cheesygrin: We are doing in the page load event we will read the data to the database and put on the page, and the Change button and click event, we are changing through the update the table values in the database. Will carry the edit button when he returns …

Member Avatar for finito
0
100
Member Avatar for GrimR7529

Hi, I have a listbox that is connected to a text file and this file is created when the program opens for the first time and then users can add data to the file as they wish. However what I am having a problem with is that how can I …

Member Avatar for pritesh2010
0
98
Member Avatar for oceantrain

I have a datagridview on a form with multiple columns. Three of the columns are expression columns. One column is subtracted from the second and the result is displayed in the third. Everything works great but when I hit the save button and save to the database, all the columns …

Member Avatar for kvprajapati
0
77
Member Avatar for Maya Pawar

I want,when i show Form2,the form1 should be displayed in background. and when i close Form2 , the form1 should be updated or strting complete new Form1. I do this but there are two tabs of Form1 in TaskBar.one is background display Form1 and another is updated.I want only one …

Member Avatar for finito
0
208
Member Avatar for bchaney

I am currently stuck in one part of my application. I have two combo boxes that i am having the users select from. The first combo box is simply bound to a datatable. that is working properly. The second one i need to populate off another datatable after sorting out …

Member Avatar for Teme64
0
397
Member Avatar for dougancil

I have the following code for part of an application I'm building and I need some instruction on how to store this value and carry it to the next part of the program. [CODE] Private Sub dateEntryTextbox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dateEntryTextbox.TextChanged Dim dateEntryTextBox As Date …

Member Avatar for dougancil
0
90
Member Avatar for dougancil

Is there a way to customformat DateTimePicker to only allow users to select M-F? Thank you Doug

Member Avatar for dougancil
0
85
Member Avatar for vodkasoda

I have found a tutorial that will teach me how to set up my first Database, but the first thing it tells me to do is right-click on the Data Connections Icon within Database Explorer and choose "Create New SQL Server Database" ... unfortunately, this option is greyed out, so …

Member Avatar for Dmlang1985
0
85
Member Avatar for rayda

hi there. i m trying to write codes for new user to fill in the form, then the new data will into my database,however, my codes doesnt work, i cant figure out what's wrong with my codes. below are my codes: [CODE]Imports System.Data.OleDb Public Class NewUser Inherits System.Web.UI.Page Protected Sub …

Member Avatar for rayda
0
144
Member Avatar for ernnymags

i am working on standalone application to send and receive sms, but wan to create my own sms gateway. anyone who can help!. I am using VB.NET

Member Avatar for Oxiegen
0
68
Member Avatar for Maya Pawar

Can we stop the SelectedIndexChanged Event of combobox at runtime? bcoz when i go to last record my sencond combo is refreshed & It will show 1st Item. but i want to see related item with 1st combo.In the database records are stored with related item.but on frontend.......This is my …

Member Avatar for tungnk1993
0
78
Member Avatar for sohaibroomi

Hi, I'm trying to take a print on a Continuous Paper through a Thermal Printer ZP 2844 using Crystal Reports 2008 along with Visual Basic .NET 2008. I've set the page size to 3.00 inches as width & 3.00 inches as height. It prints well when the contents are a …

Member Avatar for Oxiegen
0
833
Member Avatar for Smalls

k, what i'm trying to do is create a windows service to run in the background to monitor [URL="http://www.vmware.com/products/player/"]vmplayer.exe[/URL] to see if it is running or not. then if it is running, then turn on the various hardware, software, and services it needs/uses to run, and if it is not …

0
214
Member Avatar for Geos

Hello, I build an application that have 3 buttons, but I need a code that once the user clicks on a button it will fill the another application(last running application window) textbox with "x" value... can anyone help!! Thanks.

Member Avatar for GeekByChoiCe
0
47
Member Avatar for Totte94l

Hello! I would appreciate if someone could convert this code from VB6 to VB.net. [CODE]Option Explicit Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As Long, lpdwProcessId As Long) As Long Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As …

Member Avatar for GeekByChoiCe
0
576
Member Avatar for comsci2

can anyone help me about this error. "Invalid attempt to call metadata when reader is closed". Thnx in advance. [CODE] Public Sub DisplayCust(ByVal lv As ListView) If cnSQL.State = ConnectionState.Open Then cnSQL.Close() cnSQL.Open() cmd = cnSQL.CreateCommand cmd.CommandType = CommandType.StoredProcedure cmd.CommandText = "sp_DisplayCust" Dim param = New SqlClient.SqlParameter param.ParameterName = "@cust_no" …

Member Avatar for hirenpatel53
0
126
Member Avatar for amanprogrammer

I want to build a very secured system using vb.net could you send me sample code for the login

Member Avatar for hirenpatel53
-1
39
Member Avatar for jzlonely

I am very new to vb 2008 and have create a simple window forms application which link to microsoft access 2007 database. I build the application exe file already. The exe file is run well on my computer, but when i transfer it by copy and paste the whole folder …

Member Avatar for jzlonely
0
4K
Member Avatar for tariq182
Member Avatar for Oxiegen
0
85
Member Avatar for Merovingian

I'm trying to add this XML element: [CODE]<cp:prop name="given_name" value="UK" />[/CODE] It has to be formatted exactly as above. I've tried this but it formats differently: [CODE]Dim cp = XNamespace.Get("cp") Dim newElement As New XElement(cp + "prop", New XAttribute("name", "given_name"), New XAttribute("value", givenName)))[/CODE] It formats like this: [CODE]<prop name="given_name" value="UK" …

Member Avatar for Oxiegen
0
104
Member Avatar for timwilliams77

Hi Can anyone tell me where I can get good free downloads for some of the below? 1) Code Analyser (memory Leaks, Dead Code, Loops) 2) Generate Flow Charts from Source Code 3) Version Control Software Many thanks Tim

0
92
Member Avatar for sidind123

I want to save image from Picture box to SQL Server DB. I am trying to do this using the following code but cannot able to do so. Please help. My Code Snippets are as following: Dim fs As FileStream = Nothing fs = New FileStream(picPhoto.ImageLocation, FileMode.Open) Dim fi As …

Member Avatar for Oxiegen
0
195
Member Avatar for ranapro

hello sir , i am the student of IT. which course should i taken form the following java ,.net, php. please tell me about that.

Member Avatar for Oxiegen
0
75
Member Avatar for stephen lowry

hi guys this is probley simple and i have an external board controlling various things on the board is a button which i would like when pressed activates code within a button on my vb form i have tried button1.select but that only well selects the button on my form …

Member Avatar for Luc001
0
139
Member Avatar for RMelnikas

Im trying to make a little program that gets the computers IP address i have got it to do all of that and have got it to use the default email program to add the email address, subject and body but i cannot get it to add an attachment. [CODE]Imports …

Member Avatar for Oxiegen
0
147
Member Avatar for carylle

Can someone please help me. I want to call an MS Word Document in my system using VB.net what should be the syntax? Thanks!

Member Avatar for augamal
0
285

The End.