20,284 Topics
| |
Hi Guys, I wrote a function that returns the number in a particular field, my issue at the moment is how to update that field before i return the previous value i collected from the field. i am seeking any guidance available. Enclosed is the function i wrote. [CODE] Function … | |
I would like to give me your help please.. I have connected my sql db with vb and I m trying to make a UI. My question is that when I write code in order to create datatables and I fill them with the results of queries I've created, where … | |
[CODE]Private Sub MainForm_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing If My.Settings.My_First_Build = True Then If OptionsForm.AutoSaveallOnExitCKB.CheckState = CheckState.Checked Then If Tab4RichTextBoxPrintCtrl.Modified = True Then SaveAsMenuItem1_Click(Me, e) Threading.Thread.Sleep(100) Else MessageBox.Show("Not modified") End If If Tab5RichTextBoxPrintCtrl.Modified = True Then SaveAsMenuItem2_Click(Me, e) Threading.Thread.Sleep(100) Else End If If Tab6RichTextBoxPrintCtrl.Modified = True … | |
hi guys just ask what is the code for allowing null values to appear on the textbox [CODE] Dim i As Integer dg1.DataSource = bs i = dg1.CurrentRow.Index Patient_Profile.Txtpatient_id.Text = dg1.Item(0, i).Value [/CODE] | |
Anybody have any idea about how to change the font of the string. Suppose [CODE] Dim strFind as string="Answer" [/CODE] I want to change the font of the string as "Verdana" Purpose behind that, I have an richtextbox1 contains the questions and richtextbox2 contain the answer so while concating i … | |
i have 4 different excel files of different names. each excel file has 8 columns and 15 sheets. All excel files has same columns and same number of sheets (same sheet names and column names)... i have to merge these 4 files into one. that file must be identical to … | |
Hey guys. I have written a program to create, edit and delete record in MS Access using a visual studio program. I am keeping the program and database divided into a front end and a back end to allow concurrent users. I am going to place the back end on … | |
Hey guys, I've got a theoretical question. I've tried to work out how some of the code would work in my head, and I always stump myself. Maybe it's my lack of knowledge - who knows! I am trying to create an online forum inside of my application. Yes, I … | |
afternoon.. i need some help..:'( i created 20 tables in ms access.. and only one table is connected to vb 2008 using the DataGridView?.. how can put the remaining tables in ms access to the vb 2008?.. thanks for the replies.. i hope that someone can help me in this … | |
Hi, there :). I have a form named 'Form1' in which I've added a custom control called 'first'. Inside 'first' there's another custom control called 'second'. I want to access and change the properties of 'second' using a function, declared in 'Form1'. Can you, please, tell me how to do … | |
hey all,, I have this picture to be more clear: [URL="http://img846.imageshack.us/img846/5996/95028490.png"]http://img846.imageshack.us/img846/5996/95028490.png[/URL] My idea is when I paste (ctrl+v) for example this number : 4111111111111111 it would automatically paste them in textboxes one by one in order! so txtBox1 will contain : 4111 txtBox2 : 1111 txtBox3 : 1111 txtBox4 : … | |
Am using VB.NET with Ms Access. It worked fine before changing the field name in access database. After changing the field name i got an syntax error in catch block. And also there is no reserved words. [B]"Syntax Error in INSERT INTO Statement"[/B] Here is my coding str = "Insert … | |
Ok I have a project and I pretty much have no idea what I'm doing. Our project is to make some simplified POS software, in our case, for a restaurant. The form I am currently working on is where you pick food items and add them to a listbox which … | |
[B]here is my code[/B] [CODE] Dim lvitem Dim iCount As Integer Dim iLoop As Integer Dim query3 = New SqlCommand query3.Connection = New SqlConnection("SERVER=localhost;UID=root;DATABASE=test") iCount = lvLogs.Items.Count() If Not lvLogs.Items.Count = 0 Then Do Until iLoop = lvLogs.Items.Count LvItem = lvLogs.Items.Item(iLoop) With LvItem query3.CommandText = "insert into wer(CustomerName,SalesGroup,CustomerType,TypeOfIndustry,RM,SeniorRM) values('" & … | |
Hey guys just wanna tell you now that I chose to do a minesweeper game or attempt to do one for a class project in VB. Now I'm not that experienced of a programmer so this is fairly difficult and I can tell you that I'm in way over my … | |
Hello everyone.. Anyone knows how to convert video frames to an image using visual basic.net? I used VLC player to play the video file in the form but don't know how to convert the video frame to image when the user clicks wants to. Any help please. Thank you. | |
Load a picture box with an image. Then, load an overlapping picture box and its image goes on top nicely. But, when I load a third picture box, it goes in between the first and the second. What determines priorities and how can I overlap several picture boxes with the … | |
[CODE] Public Sub Clear() Form_Main.ctl_InspName.Value = "" Form_Main.ctl_ESN.Value = "" Form_Main.ctl_ToAProcess.Value = 0 Form_Main.ctl_ToAProduct.Value = 0 Form_Main.ctl_ProcessYes.Value = 0 Form_Main.ctl_ProcessNo.Value = 0 Form_Main.ctl_ProcessNotes.Value = "" Form_Main.ctl_ProcessNotesCount.Visible = False Form_Main.ctl_InspectionYes.Value = 0 Form_Main.ctl_InspectionNo.Value = 0 Form_Main.ctl_InspectionNotes.Value = "" Form_Main.ctl_InspectionNotesCount.Visible = False End Sub[/CODE] so that is the code is giving me … | |
My professor wants the following: 1. Write a program to correct a text including several paragraphs a. The first line in each paragraph must be indented b. The first character in every sentence must be capitalized, paragraphs will be indented with "CRLF" code c. Initial text and output must be … | |
Hi All, I am currently creating a merging program which is processing multiple text files with header. I've manage to merge the text files but I'm stucked with the header that needs computation. path of input files and header explanation: [URL="http://uppit.com/a0nv880qb5uu/text_files_and_explanations.zip"]Input Files[/URL] After merging, I need to put back the … | |
Hi all! I am writting beacause I desperately want your help.. I want to connect 3 comboboxes. I have a table which contains Streetnames, Post Codes and Municipalities. I want to choose the Streetname from the first combobox something that I have done. The second Combobox I want to display … | |
Hi Guys, Im trying to update a datagrid and a text box value in access database. both shld be saved in the same row simultaneously.,unfortunately its not happening. they were gettign saved in a different rows. PLEASE help. [CODE] conn.Open() sqlQRY = "Insert Into tblPlot(SurveyNo)" sqlQRY = sqlQRY & "Values" … | |
Context: I am trying to Query a MS SQL CE database for the properties of table columns. I can get a list of tables from the Schema and from that, the column names. Issue: I can retrieve properties for some column elements but some do not return a correct value. … | |
Hi I understand how to create a button in runtime in vb.net my code to do this is: ' create button Dim btn As New Button ' set some button properties btn.Text = "go" btn.Top = 45 btn.Left = 190 'add button to form Me.Controls.Add(btn) I read on a forum … | |
I want to after clicking on button2,after that if i click on button1 then msg is not displayed [code] Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MsgBox("sonia") End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click RemoveHandler … | |
I have achieve to populate my combobox from sql and from this combobox to populate a textbox but now I have to do something more complicated.I would like to populate a combobox from an other combobox choice. And what i mean is that I have a table with Streenames and … | |
Hi Guys, I need some urgent help.. My requirement is to create dynamic text boxes during run time. it shld b like this: when i click a button a text box shld b created and upon entering a value it shld be saved in access database. appreciare ur help and … | |
I've been looking around the internet and I haven't really found any solution to my problem. Is there a way to perform a function when a user closes the form either by pressing the X button in the top right hand corner? I am using a database that saves what … | |
Hi, I would like some insigth or help on the following issue that i am facing. I am building an empty validation module. where i validate my bound item whether they are empty or or not before save. I have a tab control with the said bound items. The thing … | |
hello m new in vb.net so would anyone can help in how to comparing the input of the textbox with respect to the given text and the number of error in typed textbox? |
The End.