20,285 Topics
![]() | |
i have a MySQL table with the following columns: employeeID, firstName, lastName, gender, salary. whenever i insert a new record for this table i want to be able to retrieve the employeeID of that record. how should i write the commands in VB.Net | |
hie how can i restrict the user to enter only numbers in a textbox | |
Hello good evening to all of you! I know this question is basic but I am really having a hard time doing it. I am a creating a Employee information system. My dilemma is I want to view all the informtion of all the employees from the department that I … | |
i want to call items in a database based on a date range...can someone help me with this..i really don't have any idea how | |
i have two textbox..TimeInTextbox that contains time in for example(8:00 am) and TimeOutTextbox that contains time out for example(5:00 pm), i want to add TimeInTextbox and TimeOutTextbox to get the total working hours but how am i suppposed to do that? | |
Hello Stallwarts, I am making a simple VB.net HMI application. I have dlls which give me functions to read / write registers from PLC / controllers. Now How do I do this ??? One threads keeps communicating with devices with these read write functions. Another thread looks after GUI and … | |
Hello everyone I've been searching for help for a long time and still can't find somebody to solve it for me :(, The problem is im not good at explaining it , But here is the problem I'm creating an application in visual basic 2010, and i was aiming to … | |
i got error when making this code. Here is i attach my code and tables: My Tables are =============================== **PRODUCT** **TR_RECEIVE_PRODUCT** >ID_PRODUCT >ID_RECEIVE_PRODUCT >NAME >ID_PRODUCT >CURRENT_STOCK >DATE_IN >STOCK_IN ==================================== ============================================================================= Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click Dim cmd As New SqlCommand Dim connectionString As … | |
Hello all, I am new to vb.net and I am having a problem. I have to search a selection of drives for specific files, but whenever I get to a harddrive, the application experiences an path access exception, specificly, whenever the application attempts to search SYSTEM VOLUME INFORMATION, RECYCLE.BIN and … | |
Hello Community, I was making my own custom window and i need help with making it in wpf, i am new to wpf so i don't know much XAML so i was wondering if you can help?, this is what i wan't. In the example i'm using the minimize button. … | |
Any idea on how to Add dates based on the number inside the data tables? for example I set the limit of Days of books for borrwing it then i set the amount of fine that will generate if the the borrowed books is not returned IE: `DateNow * Value … | |
Hello, Shriram Pendse from Pune , India. Industrial Automation system dev (i.e. PLC PAC SCADA HMIs Drives etc), now venturing into VB.net. Presently launching MiniSCADA or PC based HMI for those who cant afford commercial SCADA. | |
Dear Sir, I am building a software in visual studio 2010 Ultimate, by using VB ; I want to know how I can customize the report in crystal report as I am unable to make any kind of customization . So that I can change the look of the report … | |
highlight text in datagridview based on search text using vb.net | |
Imports System.Data Imports System.Data.SqlClient Partial Class test Inherits System.Web.UI.Page Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim txtName As String = TextName.Text Dim txtcomment As String = TextComment.Text Dim txtemail As String = TextEmail.Text Dim con As SqlConnection Dim cmd As SqlCommand con.ConnectionString = "SqlData Source=(LocalDB)\v11.0;AttachDbFilename=App_Data\library.mdf; Integrated … | |
I'm trying to do, an order and some orderline. Imagine that the user come and select several item from the shop then when he click on the checkout, the reference number in the order is send back to the several item in the orderline table. How would i insert that … | |
Hello! I'm very new to visual basic and I'm stuck at transfering the text from one label on a form to another via a button click event I have 2 forms which I will call A and B. On form A I have a menu which when clicked brings up … | |
How I Can USe HTML And XML STREAM SOURCE CODE....? I Will Be Very Thankful To You... | |
i want to add dates from two datetimepicker...for example the user chooses the date 1/1/2012 in the first picker and chooses 1/3/2012 in the second picker the answer should be 3 that will be shown in a textbox.. this is the codes that i tried: Dim dt1 As Date = … | |
**Background**: I have a friend who lets me use his MySQL database on hostedresource.com. He has successfully accessed the database with this snippet of PHP code: `mysql_connect ('dbname.db.1234567.hostedresource.com', 'dbname', 'password')` I tried to access the database with the following vb.NET code: Imports MySql.Data.MySqlClient Imports System.Data Public Class classDataConnector Private connection … | |
hey guys! i have a problem, for my GCSE i have been given the task of making a prixe draw program, which allows the user to add 10 names then select a name at random. i have come to a problem when i have tried using a for loops to … | |
hey guys i need some help on my Search button It seems that it is not accepting the data on the cboSI.text which contains the Field Names of the Table Heres the Code: Private Sub cmdSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSearch.Click Try Dim d3 As New … | |
I have created a function to add the text from a file inside another text file, if I had to add only one block of code it would be okay, but the problem is when I have to insert more than one block into a same source file. Example: FileDest1.txt, … | |
Hi, I am working on a tool for my project that will compare two contents pasted in two different datagridviews. I have previously created the same in VB6.0 and it worked fine. I am a beginner of .net and I dnt know how to get each cell values from datagridview … | |
i need to get source of facebook video page. Unfortunately i can't reach whole contents related video links. page link "http://www.facebook.com/photo.php?v=360736417354431" for example i cant get this " ["video_src","http\u00253A\u00252F\u00252Fvideo.ak.fbcdn.net\u00252Fcfs-ak-snc6\u00252Fv\u00252F232405\u00252F104\u00252F360736417354431_28435.mp4 " Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim sourceString As String = New System.Net.WebClient().DownloadString("http://www.facebook.com/photo.php?v=360736417354431") RichTextBox1.Text … | |
I remember that I had a code of a multithread that you could start it how many times you want (it had no arrays). And I remember I only had to get the "Dim t1 as....(I dont rembemer)" line and insert t1.start to make it work. Also, it auto-dispose when … | |
How can I unzip an archive using VB.NET? Actually I'm using this method, but it takes too long to extract: http://www.codeproject.com/Tips/257193/Easily-zip-unzip-files-using-Windows-Shell32 Do you know a faster way? | |
Why this command wont execute the path properly? The path have spaces, but with the path inside quotes, it was suposed to work. Why it's not reading the fully path? Path: 'C:\Users\Administrador\documents\visual' is not recognized as an internal or external command Dim myProcess As Process = New Process() myProcess.StartInfo.FileName = … | |
Hi i m trying to connect with .mdf database file from vs2005. it gives error failed to create user instance .....i hv installed visual studio managemant express2005 | |
Hello Community, I was wondering if there is a way to programmatically import a dll containing a form. Example: When i press a button it will open the form from the dll. NOTE: I need to programmatically import the dll. Please help | |
Hi guys, I'm designing an e-learning software that will teach kindergarten kids alphabets, numbers and shape. I need suggestions, reference, head-ups, etc. | |
I have tried this command but is not working, can someone tell me why? Dim myProcess As Process = New Process() myProcess.StartInfo.FileName = "cmd.exe" myProcess.StartInfo.Arguments = "/C " & "rabcasm.exe " & "\Source\" & "3.3.0-1\3.3.0-1.main.asasm" myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden myProcess.StartInfo.CreateNoWindow = True myProcess.Start() myProcess.WaitForExit(1000) If Not myProcess.HasExited Then myProcess.Kill() End If … | |
Hi All, We are planning to write automation script to install oracle. Can you please let us know is it possiblw to write any script for the above requirement,if yes please share your thoughts. Thanks, Vas. | |
How can I write to a specific line in a text file? Can someone make me a function sWrite(filePath as string, noLine as integer, newText as string)? | |
Hello , I was actually very interested in making a server or ftp server in VB.NET but it needs so many functions and events that i even never heard of so i was wondering if you guys knew a good site for me to learn it or i also have … | |
I know you guys are normally not usually willing to mess with stuff like this because it is so beginner, but i'm in need of major help. I have already created the code for the game it self, and it works perfectly fine. I now want to know how to … | |
i made a login table and i am filling records in it through my datagridview but when i delete all the records and make the table empty and then when i put the record in the login table it takes 1 no ahead of last deleted record .i want it … | |
Hey Folks! I'm using a windows hook to scroll horizontally through a listview. I have it aligned so it only adds items horizontally. I have 2 big buttons I'm using to scroll right and left with nice bitmaps on them... The problem is the listbox has scrollbars appear when I … | |
i made a login table and i am filling records in it through my datagridview but when i delete all the records and make the table empty and then when i put the record in the login table it takes 1 no ahead of last deleted record .i want it … | |
Hi, I want to get last working day data from database(SQL database). For example, if today is Tuesday, I want to get Monday data. I can get the data directly using strtTime = Date.Now.AddDays(-1).ToString("yyyy/MM/dd") & " " & "06:15:00" But the problem is if today day is Monday. Since the … | |
In vb.net how to convert months into days without decimal point | |
I would like to, if cleanly possible, start a timer after a textbox length has reached a set amount of characters. The timer interval would be set at 'x' amount of seconds and would call my save feature, but I haven't really done anything with timers and not totally sure … | |
Hello , I was wondering if I could move my form or any other object with my arrowkeys in vb.2010? I found out how to do this in vb6 but this function can't be used in vb.2010 and can't find the replaced function anywhere. If anyone can help me , … | |
-My code sutomatically adds a hyphen at certain positions in the string, but I am unable to delete the second hyphen if I want to edit what I've typed in before that. Is there a way to fix this? Private Sub txtISBN_KeyPress(sender As System.Object, e As System.Windows.Forms.KeyPressEventArgs) Handles txtISBN.KeyPress If … | |
hi my all dear respected i am student and want to learn vb.net please guide me in it and then i also make any in this envornment as | |
hello. I have a 1 button namely "Increment" in form 1 and a textbox in form 2 I use this code to increment by and hide the form Dim i As Integer = 0 Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load form2.TextBox1.Text = CStr(i) End Sub Private … | |
Hi, I need a little help here. I'm Using vs 2005 with ms access 2003 database and finding myself how to get rid of this error "Syntax Error on UPDATE Statement" can you take a look at my codes below and tell me what's wrong? Thank you. Public Class Transactions … | |
Please, I need help. I have an aplication in Visual Basic 2010 and database created in Access 2003. It's very simple database, it has two tables named 'doctors' and 'patients'. I want to itegrate databse into VB. I used Wizzard to integrate. Now I have Binding Navigator (with buttons Next, … | |
hi i want to Maintain login and logout time details for each user and store those details into my database... (each time the user loggedin) and when the user Exit the application it store logout time in database what is the efficient way to do this.. need ur suggetsions.. | |
when user login it will check if user exist in database or not what is wrong with this code Dim a As New System.Data.DataView Dim b As New System.Web.UI.DataSourceSelectArguments Dim usname As String Dim password As String SqlDataSource1.SelectCommand = " select usname , password from userinfo " a = SqlDataSource1.Select(b) … |
The End.