20,284 Topics

Member Avatar for
Member Avatar for ChargrO

Hi guys im writing a program and was wondering what the code would be to prompt for a password when pressing a button ie. I have a button that checks who earns the most money and only certain people have access to that button through a password.

Member Avatar for Mr.M
0
160
Member Avatar for savedlema

Hi all! I use VB.NET + Mysql. I have two tables (tblstudents & tblpayments). I want to view payments details of a selected student. Thus, I'd like to select some values (firstname,middlename,surname) from tblstudents and (all values from tblpayments WHERE class = @class -I know how to deal with @class, …

Member Avatar for savedlema
0
545
Member Avatar for Kujee

I am new to VB. Currently i am doing a Stock manage program with VB and SQL 2008. When Receive new stock from Supplier,I put recive item in a winform with DataGrid view. some thing like this **Item Description Received Qty UnitPrice Total** 1001 Acer Laptop 10 455 4550 1005 …

Member Avatar for Kujee
0
450
Member Avatar for Papa_Don

Group, After asking what seems to be a thousand questions, clearly there is so much more to learn about Visual Basic. So this prompts my "Today's Question": Are there some good online courses or classes at a local college that I can take? By the way..... I live in the …

Member Avatar for Papa_Don
0
179
Member Avatar for jayrbete

Can you help me about inserting video in resources of visual basic and how to call it and play in my media player in a form..because i have media player in my project and my problem is how can i insert video and call it from resources... i hope you …

Member Avatar for jakewebb
1
4K
Member Avatar for Pgmer

Hi Guys, I need to track the application usage statistics using webservice. Basically i need to write a service which can be used in any application to record the usage of application which is calling this service. or Could be a DLL. I need idea's for this. Thanks, pgmer..

Member Avatar for Pgmer
0
238
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
152
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
347
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
575
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
316
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
948
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
564
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
130
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
368
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

The End.