20,278 Topics

Member Avatar for
Member Avatar for pearl.kumar1

Hi,I need to retrieve the Datetime from Employee details After entering Empno in a 1st text box. Please help ASAP This is My Coding for VB.NET Private Sub View_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click con.Open() cmd = New SqlCommand("regd_regdetail_Empid", con) cmd.CommandType = CommandType.StoredProcedure cmd.Parameters.AddWithValue("@Empid", Integer.Parse(Trim(TxtEmpid.Text))) dr …

Member Avatar for TnTinMN
0
117
Member Avatar for jakewebb

Hi, I have written a small application which plays video files which are saved into a directory C:\Video. Once loaded these files never change. The problem is simple, I cannot find a way to add the folder (Video) containing the files to the installer package. I would like the program …

Member Avatar for Begginnerdev
0
183
Member Avatar for IsaacMessi10

It sort of works - the thing is without clicking the picturebox or anything, the form, whenever I move the mouse, it moves any help? Thanks Public Class Form1 Dim drag As Boolean Dim mousex As Integer Dim mousey As Integer Private Sub CloseButton1_Click(sender As Object, e As EventArgs) Handles …

Member Avatar for IsaacMessi10
0
151
Member Avatar for manoj_582033

Friends, I Want to Check How Much PC's Are Connected On My LAN, and also if I Call The Database From Server PC to Client PC Then What Should be The Connection String, Please Suggest Me.............

Member Avatar for Jx_Man
0
130
Member Avatar for Tinnin

I'm trying to change an excel file to csv but the methods I've used so far have corrupted the file. I've tried renaming the file and using saveas from excel. Dim importsFileList As New ArrayList Dim sFile As String Dim extension As String Dim newExtension As String Dim file As …

Member Avatar for Tinnin
0
169
Member Avatar for chdboy

How to know which version 1.Microsoft SQL Server 2008.(Express) 2.Microsoft SQL Server 2012.(Express) Both installed on my machine,am I running(using)?

Member Avatar for chdboy
0
104
Member Avatar for jakewebb

Hi All I can get the WindowsMediaPlayer1 to do is change it's status to ready. Can someone confirm that it is possible to play .avi and mpg files from resourses before I spend hours and hours only to discover it cannot be done or that it is far beyond my …

Member Avatar for jakewebb
0
341
Member Avatar for Taras20

Hi everyone, I need to use integer that is typed into textbox to do some math functions. here is what i have: Private Sub btnDivide_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click dim x as integer dim y as integer dim tbox as integer tbox = (Textbox1.Text) x …

Member Avatar for TnTinMN
0
565
Member Avatar for Sammys.Man

Hi Guys, wondered if someone could help please? in my customer form i have managed to pull in the data from the table to the right txtboxes, and i can move forwards and backwards ("happy days") but now im trying to update a record, this one has seem to thrown …

Member Avatar for Sammys.Man
0
255
Member Avatar for Tinnin

Hi All, I'm taking a different approach to importing the csv to access and trying to import the csv to the dataset. I've found the following code but it's giving me an error Dim fileToOpen As String Dim da As New OleDbDataAdapter() Dim ds As New DataSet() fileToOpen = ImportFiles.SelectedItem …

Member Avatar for Tinnin
0
229
Member Avatar for blagovest.tdorov

Hello, hud_draw "1" hud_fastswitch "1" hud_saytext_internal "1" hud_takesshots "0" joystick "0" lookspring "0" lookstrafe "0.000000" m_filter "0" m_forward "1" m_pitch "0.022" m_side "0.8" name "name" m_yaw "0.022" model "gordon" MP3FadeTime "2.0" MP3Volume "0.620000" mp_decals "300" setinfo _bxc "whatever" net_graph "3" I need to select only `name` and `setinfo _bxc` and …

Member Avatar for Begginnerdev
0
286
Member Avatar for Tinnin

Hi All, I'm trying to import the contents of a csv file to an access database. I have a database named myDatabase with a table named myTable. It has columns A-E say. I have a csv file with headings in the first row which are called say S-Z. I want …

Member Avatar for deceptikon
0
940
Member Avatar for dinesh012

con1.Open() Dim com2 As New OleDb.OleDbCommand("insert into Department(DNo,DName,Manager,AddressL1,AddressL2,City,Telephone,E-mail)values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox8.Text + "')", con1) com2.ExecuteNonQuery() MessageBox.Show("Succsessfuly Inserted", "Insert", MessageBoxButtons.OK) con1.Close() Me.Hide() Form2.Show() it …

Member Avatar for annaharris
0
136
Member Avatar for Ann95

Is there a way on how to integrate QBasic into VB program? What is/are the process to do it if possible? Anyone who can help me. Thanks!

Member Avatar for tinstaafl
0
78
Member Avatar for Ctechnology24

Guys can I connect my vb.net program to my php website's database even if I already uploaded it in a web server, is the database that will be use by my PHP is the database that I made in my PC? please help me because this is the first time …

Member Avatar for LastMitch
0
158
Member Avatar for mczupryniak

Hi everyone I have windows form application connected to mysql database. To menage this base I use mysql.net connector. After I make some changes in datatable in my app, I use rowChanged handler to store changes in mysql. Here is code I use in handler: cmdBuilder = New MySqlCommandBuilder(dataAdapter) dataAdapter.Update(datatable) …

Member Avatar for mczupryniak
0
562
Member Avatar for xXghostXx

I made that small project that contains this small database and I want to know how I can get data form this small database using the primary key (Student ID) [here is screenshot for my database table ](http://www.4shared.com/photo/8bS4gVZ9/Capture.html?) [and here is screenshot for the find form ](http://www.4shared.com/photo/ICP8DUKZ/Capture1.html?) anyone can point …

Member Avatar for Reverend Jim
0
185
Member Avatar for Sammys.Man

Hi Guys, wondering if someone could help me please, this is probably easy for most, but im a beginner :) i want to make an array from my dataset dataset is from (tbl_Employees) i want the array to hold 3 columns/items = item 1 (Username), item 2 (password) item 3 …

Member Avatar for Sammys.Man
0
128
Member Avatar for notacoop

Hello I watched lots of tutorials but i can't find what i need. I have two fields `textbox1` and `textbox2` and 1 button `button1` WHen button button1 is pressed request is send to mysite.com/user.php?user=`textbox1`&password=`textbox2` ( i have the php code) and if the response is `exist` new form to be …

Member Avatar for deceptikon
0
129
Member Avatar for Jake.20
Member Avatar for nethzkie18
0
814
Member Avatar for chdboy

I have this code Dim con = New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Danial\documents\visual studio 2010\Projects\ESI_PF_Payroll_V1\ESI_PF_Payroll_V1\Pay.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True") con.Open() cmd.CommandText = "SELECT Firstname,Lastname FROM Employee where Firstname = @Firstname and Lastname = @Lastname" cmd.Parameters.Add(New SqlParameter("@Firstname", TextBox1.Text)) .Value = TextBox1.Text cmd.Parameters.Add(New SqlParameter("@Lastname", Lname_txt.Text)) .Value = Lname_txt.Text dr = cmd.ExecuteReader While dr.Read Label4.Text = dr(0) …

Member Avatar for chdboy
0
241
Member Avatar for dinesh012

Dim connString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|datadirectory|\payroll.mdb;persist security infor = false" Dim conn As New OleDbConnection conn.ConnectionString = connString it will displya the message "Could not find installable ISAM." any one plz help

Member Avatar for TnTinMN
0
139
Member Avatar for Yorkiebar14

Hello DaniWeb, I am trying to retrieve the ip of the current proxy in use but it either throws an error saying "Unable to connect to the remote server" or it goes really, really slow and crashes the program for at least 10seconds. I have tried using multiple proxies from …

Member Avatar for Yorkiebar14
0
367
Member Avatar for Tinnin

Hi all, I'm trying to change the file extensions of some excel files to csv and add the file names to a list box. The box is coming up blank however. My code is as follows: Private Sub Project_Load(sender As Object, e As EventArgs) Handles Me.Load Dim importsFileList As New …

Member Avatar for Tinnin
0
164
Member Avatar for shermags

Hi Experts, I would like to seek your help on this. I wish to list all the installed application with icon and path. I saw once in a forum using the System.Management, but unfortunately, I am having trouble upon the execution. **Here's the code**: Dim moReturn As Management.ManagementObjectCollection Dim moSearch …

Member Avatar for Begginnerdev
0
148
Member Avatar for ImZick

Hi i got this problem and i dont why it occured in my query i know that the Table name is correct and the Column Name is correct but this error always appear No value given for one or more required parameters. the it highlights the da.fill(dt) Dim da As …

Member Avatar for ImZick
0
96
Member Avatar for renzlo

Hi, All, Greetings! Is this doable? I have a textbox for email address entry, now, when I type the email address and reach the @ character, there will be a dropdown suggesting common domains like msn.com,hotmail.com, aol.com, yahoo.com and etc. I hope you can help me. Thanks in advance.

Member Avatar for renzlo
0
727
Member Avatar for gbhs

Hi Guys Im a newbie in vb.net and trying to insert data into students table and some related details to scores table. Point is, a student registered in a class(level) must offer subjects (courses) for that class. I insert a student in students table (see Cmd below). This is easy. …

Member Avatar for AleMonteiro
0
364
Member Avatar for xHellghostx

Okay so I have couple of questions about lists in vb.. Please be aware that it's all related to integers only no strings or others 1. How to sum values of a list? 2. How to sort values of list from highest to lowest? Also how would I display list …

Member Avatar for ddanbe
0
330
Member Avatar for UKnod

I am running a database with about 200,000 records, so not too big. It runs fine except when I try to update one of the tables. Here is the code: Private Sub Add_History() Dim cb5 As New OleDb.OleDbCommandBuilder(da5) Dim dsNewRow5 As DataRow Dim sql5 As String sql5 = "SELECT * …

Member Avatar for TnTinMN
0
240

The End.