20,285 Topics

Member Avatar for
Member Avatar for dinhunzvi

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

Member Avatar for Icone
0
1K
Member Avatar for babbu
Member Avatar for akasekaihime

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 …

Member Avatar for Icone
0
147
Member Avatar for jhedonghae

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

Member Avatar for Icone
0
167
Member Avatar for revathi.sampath.90

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?

Member Avatar for Icone
0
124
Member Avatar for shriram.pendse

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 …

Member Avatar for Reverend Jim
0
111
Member Avatar for Matigo

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 …

Member Avatar for Reverend Jim
0
467
Member Avatar for aerandir.miriel

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 …

Member Avatar for Reverend Jim
0
268
Member Avatar for Linuxfreak17

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 …

Member Avatar for faroukmuhammad
0
85
Member Avatar for joshl_1995

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. …

Member Avatar for joshl_1995
0
349
Member Avatar for kenomote

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 …

Member Avatar for kenomote
0
454
Member Avatar for shriram.pendse

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.

Member Avatar for JorgeM
0
23
Member Avatar for kkhembrom

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 …

Member Avatar for khair.ullah
0
48
Member Avatar for priyanka9
Member Avatar for muhammad.ibraheem

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 …

Member Avatar for muhammad.ibraheem
0
277
Member Avatar for jdaniel13

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 …

Member Avatar for urtrivedi
0
152
Member Avatar for TeaYou

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 …

Member Avatar for poojavb
0
189
Member Avatar for salam786191
Member Avatar for G_Waddell
0
34
Member Avatar for jhedonghae

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 = …

Member Avatar for jhedonghae
0
127
Member Avatar for trevor.hood.921

**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 …

Member Avatar for trevor.hood.921
0
1K
Member Avatar for hdeo1235

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 …

Member Avatar for Reverend Jim
0
284
Member Avatar for kenomote

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 …

Member Avatar for adam_k
0
192
Member Avatar for SaaDwTk

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, …

0
258
Member Avatar for karthik82vk

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 …

Member Avatar for Reverend Jim
0
244
Member Avatar for ulasoc

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 …

0
98
Member Avatar for SaaDwTk

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 …

0
93
Member Avatar for SaaDwTk

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?

Member Avatar for Reverend Jim
0
120
Member Avatar for SaaDwTk

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 = …

Member Avatar for Reverend Jim
0
673
Member Avatar for jaimin4829

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

Member Avatar for jaimin4829
0
112
Member Avatar for joshl_1995

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

Member Avatar for Begginnerdev
0
294
Member Avatar for faroukmuhammad

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.

Member Avatar for Prince Vinnette
0
101
Member Avatar for SaaDwTk

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 …

Member Avatar for Reverend Jim
0
1K
Member Avatar for vasuv

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.

Member Avatar for Reverend Jim
0
88
Member Avatar for SaaDwTk

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)?

Member Avatar for Reverend Jim
0
1K
Member Avatar for timon.bijl

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 …

Member Avatar for timon.bijl
0
274
Member Avatar for jjones41

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 …

Member Avatar for Reverend Jim
0
138
Member Avatar for khair.ullah

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 …

Member Avatar for Begginnerdev
0
129
Member Avatar for ZeroZen

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 …

Member Avatar for ZeroZen
0
2K
Member Avatar for pratik65

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 …

Member Avatar for Reverend Jim
0
187
Member Avatar for lulu79

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 …

Member Avatar for lulu79
0
218
Member Avatar for soweto007
Member Avatar for kRod
0
54
Member Avatar for Gus_19

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 …

Member Avatar for Reverend Jim
0
225
Member Avatar for timon.bijl

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 , …

Member Avatar for Reverend Jim
0
338
Member Avatar for veeeeebeeeee

-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 …

Member Avatar for Icone
0
119
Member Avatar for jamia406

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

Member Avatar for Icone
0
131
Member Avatar for jontennyeah

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 …

Member Avatar for Icone
0
831
Member Avatar for yvrej17

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 …

Member Avatar for Icone
0
5K
Member Avatar for bprosic

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, …

Member Avatar for Icone
0
316
Member Avatar for khair.ullah

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..

Member Avatar for Icone
0
252
Member Avatar for sky.light.7311

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) …

Member Avatar for Icone
0
314

The End.