20,279 Topics
| |
Hi, I have to create a modular variable (string with no value) set as LN (txtLastName.Text) which takes its value once the user enters his Last Name and hits the submit button. Also it shows in other sub procedures. This is what the program is supposed to do: Enter all … | |
How to zoom to the cursor position after the graphics component has been transformed? I want to be able to zoom to any of the test rectangles. The panning is done with the Middle mouse button. MouseWheel Event handles the zooming. Ignore the DrawGrid method, it's just to get some … | |
we use `Print` to print text to form in vb6 and dont know how to print text to window form in vb.net please explain how to achieve it . . . | |
How to close main form i. e login form after login and it should not close application | |
I have two forms the first FrmRecipe.vb form has all my calulations and functions in it the second FrmReports has a crystal report viewer with loads of reports. I am trying to call the report as a thread so that the main from is still working however when the treads … | |
I'm Currently working with a payroll system with daily time record.. I'm having troubles with their time records, what i did is this, i created 6 textboxes on the form the 1st textbox is for the AM IN 2nd is for the Lunch OUT the 3rd Is for the total … | |
** Here's my codes: Public Class frmLogin Dim sqlcode As String Dim connstring As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\Jim Clinton Amarga\Desktop\Class Records\Class Records\bin\Debug\dbClassRecords.accdb" Private Sub btnLogin_Click(sender As Object, e As EventArgs) Handles btnLogin.Click If cmbLoginType.Text = "Administrator" Then Dim sqlLoginCode As String = "select * from tblusers where User_username = '" … | |
Good day guys, here is another question I have, working with vb.net community 15. I have a large datagridview to display all lessons for my school timetabling program. There could be up to 14 timeslots = lessons per day. Now I like a timetabler to be able swap days like … | |
Good day community, I have completed vb.net program (a school timetabling program) and I am in the process to create a website. At the moment word -press on wamp server and parallel Microsoft Expression Web 4. To sell the program off the website, either clickonce or downloaded, I request the … | |
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click 'Using writer As System.IO.StreamWriter = New System.IO.StreamWriter(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory), "Word List.Txt", True) Using writer As System.IO.StreamWriter = New System.IO.StreamWriter("C:\Users\Home\Desktop\lessons Word\Word List.Txt", True) Dim curLine As String = TextBox1.Text If (TextBox1.Text.Count > 1) Then curLine = "" For Each line As … | |
i can't get DateTimePicker to insert into Access databse. I've tried all the suggestion i can find from this forum, so i'm thinking my problem is different? my table has a column date which has a Date/Time format my code [CODE] Dim cmd As OleDbCommand Dim sqlstr As String, ans … | |
I found the follwing code at the internet but im not able to print listview with this code. Public Sub ItemsToBePrinted() Dim StringToPrint As String = " " & "1" & " @ " & "3.99" & " " & "3.99" Dim LineLen As String = StringToPrint.Length Dim spcLen5 As … | |
i've got code like this naglibog.CommandText = "UPDATE ptransaction " & _ " SET Quantityt = " & mm & _ ", Partial_totalt='" & jj & "'" & _ " WHERE Product_Codet =" & intProduct11_Code & "'" & "'AND soldtime = '" & stime & "'" naglibog.ExecuteNonQuery() libogsya.CommandText = "UPDATE … | |
Hi all, I'm hoping someone can help out, or at least give me a yes or no answer and possibly point me in the right direction. What I'd like to do is control a physical on/off switch (relay?) to turn on some led's. My ideal solution would be to write … | |
Hello! My question is how to code search in combobox each time typeing a letter. And the search result in DropDown have to show list items which contains letter or the continues number of letters. (Not only ... starts with the inputed letter/s/). Thanks. | |
hi i'm anousha and i have a big problem ive an aasignment to create a calculator in VB.net to prfrom addition and subtraction then show the results using mouse controls. Can you give me a hit how to do it plz? | |
[CODE]Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click exitwithout() Me.Close() End Sub Private Sub exitwithout() myCommand.Connection = myConnection myConnection.Open() myCommand.CommandText = "Select * from orders where o_id= " & txtb1.Text & "" dr = myCommand.ExecuteReader() Try If dr.HasRows Then deletewithout() Else Exit Sub End If Catch … | |
Hello, I'm working on some helpdesk based application. I'm triying to select datagridview row and this dgv's selected row's id fetch on text box and updated record from dgv and i'm also succeed but my requirement is when i update this record, this record will automatically clear after updating and … | |
Hello Daniweb, and thank you for taking the time to read this post. I have a question of efficiency. I am wondering, what is the most efficient way to print from a listview. The listview's values are loaded from a database, and I would like to print from that listview. … | |
I am using visual studio 2008 (vb.net). I have a long list of file names in column A on an excel sheet. These files are located in a directory on my network drive. I have to copy these files over to another folder. I know how to copy files in … | |
hi everyone how can i save a folder path in the sql server database and retrive it again by using vb.net 2010? | |
Dear All , I am working on a project which will read a 1d barcode by a barcode scanner and once barcode is scanned this barcode will turn to product description and picture of the scanned product on the screen. The aim is to show product details ( use, ingredients … | |
I need Add,Update And Delete Customer Query,,,,,.... I Try But Got Errors Like-Connection.open().......exceptionNonQuery().......Such Errors....? | |
In vb.net application I have 10 Textbox and value entered by Barcode scanner So when one Textbox1 get the value by Barcode scanner the focus moved automatically to another Textbox2 and so on. I have this code but its working. Private Sub A1TextBox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) … | |
Hi im im trying to get attributes from two diffrent tag names.. <img class="chimg" alt="SOME TEXT" src=" #1 IMAGE LINK TO GET"/> <span>" #2 TIME TO GET" </span>" SOME TEXT "</a> </h3> <div> <a href=' #4 LINK TO GET' onclick="window.open('Some link'); return true;" title=' #3 TITLE TO GET' >SOME TEXT</a> … | |
Hi Guys, I have also the same problem with waldis I want to increment the max barcode value by 1. Can you help and check my code what is wrong?, My problem was the same as Waldis_1. Thanks in advance for those whose going to help. Private Sub autogenerated_Barcode() conItem.Close() … | |
I hope someone can help I'm trying to learn VB.net - migrating from VB6 and have a problem with overlapping images. what I want to achieve is the following 1. I have picture box on the form - call this picturebox1 containing an image 2. I have 2 buttons button … | |
Hello In this line of vb.net code (ASP.NET): `Dim HtmlMessage As AlternateView = AlternateView.CreateAlternateViewFromString("Hello <%= strEmailValue %>",<br /><br /> "To reset your password, please click on this <a style="color:#22BCES5" href="">link.</a>, Nothing, "text/html"<br /><br />")` I get an error here '*>*' (just before "To rest your password...") - it says 'Expression … | |
Hi please help me VB.NET source program that could get a name of database SQL Server file from user and show all tables and fields and size and also SP , view Please answer me If you put the source code of the program, I am very grateful Iam very … | |
Hi guys I am developing a simple job card creator application with VB.net 2012, using Access 2010 as database. The code I have generated to write data from a datagridview to the database table is successfully saving the data, but with an error "Parameter @name has no default value". The … |
The End.