20,284 Topics
| |
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. | |
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, … | |
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 … | |
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 … | |
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 … | |
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.. | |
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 … | |
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 … | |
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 … | |
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............. | |
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 … | |
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)? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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! | |
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 … | |
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) … | |
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 … | |
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 … | |
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 … | |
I'm stuck, can someone teach me on how to populate my listview using database. | |
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) … | |
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 | |
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 … | |
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 … |
The End.