20,279 Topics

Member Avatar for
Member Avatar for itprosam

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 …

Member Avatar for Minimalist
0
450
Member Avatar for Daniel_51

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 …

Member Avatar for Xavier_5
0
726
Member Avatar for Learner010

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

Member Avatar for munawer_1
0
3K
Member Avatar for harsh01ajmera
Member Avatar for Mike Bishop

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 …

Member Avatar for Xavier_5
0
3K
Member Avatar for kishpopboy

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 …

Member Avatar for CERTIVE
0
5K
Member Avatar for Jim Clinton

** 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 = '" …

Member Avatar for Santanu.Das
0
467
Member Avatar for Minimalist

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 …

Member Avatar for ddanbe
0
837
Member Avatar for Minimalist

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 …

Member Avatar for Minimalist
0
308
Member Avatar for Karuna_2

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 …

Member Avatar for tinstaafl
0
451
Member Avatar for Hawk123

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 …

Member Avatar for izzah_3
0
3K
Member Avatar for Ivan_14

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 …

Member Avatar for Santanu.Das
0
411
Member Avatar for John_147

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 …

Member Avatar for Reverend Jim
0
229
Member Avatar for TheMightySpud

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 …

Member Avatar for Xavier_5
0
1K
Member Avatar for DobyMoby

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.

Member Avatar for Xavier_5
0
2K
Member Avatar for anousha

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?

Member Avatar for Reverend Jim
0
780
Member Avatar for rick.eavans

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

Member Avatar for chilaka2
0
2K
Member Avatar for rahul_59

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 …

0
167
Member Avatar for Begginnerdev

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

Member Avatar for Ivan_14
0
6K
Member Avatar for daveofgv

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 …

Member Avatar for muoixd
0
2K
Member Avatar for batoolhussain

hi everyone how can i save a folder path in the sql server database and retrive it again by using vb.net 2010?

Member Avatar for Mohamed_82
0
395
Member Avatar for Emrah_1

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 …

Member Avatar for kingsonprisonic
-1
406
Member Avatar for DHARAMRAJ_1

I need Add,Update And Delete Customer Query,,,,,.... I Try But Got Errors Like-Connection.open().......exceptionNonQuery().......Such Errors....?

Member Avatar for Reverend Jim
0
71
Member Avatar for Satyam_1

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

Member Avatar for Mr.M
0
1K
Member Avatar for TheGuy831

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

Member Avatar for Xavier_5
0
625
Member Avatar for Luke Benedict

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

Member Avatar for Xavier_5
0
189
Member Avatar for Jay_22

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 …

Member Avatar for Xavier_5
0
1K
Member Avatar for Blueie

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 …

Member Avatar for rproffitt
0
234
Member Avatar for jason_27

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 …

Member Avatar for Dani
0
337
Member Avatar for wilsonchama

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 …

Member Avatar for Mr.M
0
1K

The End.