20,278 Topics
![]() | |
Hello, How to reset the properties of the form as well as all of the control properties values when i click a button. Thanks in advanced.. | |
Hi, Actually I don't know if my question belongs in this topic or in the VB.net topic. But I'm making a VB.net application with a mysql database and i have to make a trigger but I don't know where I have to use or implement it in my application. I … | |
is there any code for opening a file without using any dialogbox? directly | |
Hello all, Im currently doing a project which is a system that adds booking records to it it loads the database from a module [CODE]Set Db = OpenDatabase(App.Path & "\cihansol.mdb") Set RS_Staff = Db.OpenRecordset("EPHS_Staff") Set RS_Customers = Db.OpenRecordset("EPHS_Customers")[/CODE] im very new to visual basic so i dont know much anyway … | |
Hi all, I want to create code to delete row in datagridview based on checkBox selection. I've managed added the checkBox Button using code below: private void FormTampil_Load(object sender, EventArgs e) { DataGridViewCheckBoxColumn checkboxColumn = new DataGridViewCheckBoxColumn(); checkboxColumn.Width = 30; checkboxColumn.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; dataGridView1.Columns.Insert(0, checkboxColumn); // add checkbox header Rectangle … | |
help please..help me in my timer like the time they use in computer shop and when the player is already time out it will alert...[COLOR="red"]the idea like this if the player start 3:00:00 then it will appear in the textbox for the time - in and in the time - … | |
[CODE]Dim line(10000) As String Dim log_ctr As Integer Open App.Path & "\data\log.txt" For Input Lock Read As #1 Do Until EOF(1) Line Input #1, line(log_ctr) log_ctr = log_ctr + 1 Loop Close #1 If last_log <> log_ctr Then For n = last_log To log_ctr - 1 Text1.SelStart = Len(Text1.Text) Text1.SelText … | |
Not quite sure if im in the right section but lets try ... In my project i want to use a "Local Database Cache" and sync it with my online MYSQL server. Problem here is, the MySQL data-provider is not showing up when doing the wizzard for the Server/Client properties. … | |
Can anyone tell me how to auto load data content from a file (primarily containing rtf) when the file is opened. I want to create a system like Microsoft word where you create docx/doc files and double clicking them opens word software and loads the files. I know file associations … | |
i have a generic list of type datarow. i have to split this list at an index and then use both parts of the list. Eg: list = 1,2,3,4,5 i want to split it at index= 2 i.e at value =3 . then list1=1,2,3 and list2=4,5 how can i do … | |
Hi i have problem with my timer. when application run it does not go to the timer at all.I have no idea where do i need to troubleshot anymore. Please help if anyone know ! [CODE] If CheckStatusStr = "0" Then Update_CurrBal() SuccessfullySave() ElseIf CheckStatusStr = "1" Then timercount = … | |
[COLOR=#008000]command.Parameters.AddWithValue("@number", TextBox1.Text) can i do this from another way? [/COLOR] | |
MS strikes again. In my tiny little mind this should be a no brainer but I just don't see how to make this work. I have an unbound DataGridView control where I have defined the columns at design time. Currently to add a new row I use a like this: … | |
Hi All, I have a requirement to create n Access 2007 database & some related tables from my application at runtime. I used to be able to do this ages ago in VB5 but having difficulties doing it in VS (VB) 2010. Any pointers would be gratefully accepted. Thanks Charles | |
Hi, I have a collection of (String, Integer). I have taken it into a String() Array and then added to a List(Of String()). I then need to find the duplicates in this list and if found, then add up the corresponding integers. How do I do this? Am I using … | |
Hello guys, I have been thinking if I can develop my personal application using my VB 2008 IDE. I have created different software but all of those are only for PCs. How about for phones, is it possible? If yes, how? | |
Dear Friends How can i convert file into its hex in vb.net or any programming language??? | |
Well my datagrid so far has the edit,update,cancel feature and it can get info back from database after entering a number into a textbox. All i need now is to get it to where I enter a number the data comes up which works and I want a blank row … | |
hi guys i have problem with my code here is my code [CODE] Public Sub increment() Dim dr As SqlDataReader If con.State = ConnectionState.Closed Then con.ConnectionString = (strconnection) con.Open() End If Dim str As String = "Select CUSTOMERID from tbl_Customer" cmd = New SqlCommand(str, objconnection) dr = cmd.ExecuteReader While (dr.Read()) … | |
i have a datagrid and want to format the cell background colours which is working fine. as you can see if the value of the cell is > 95 the cell goes green if the cell value is < 90 the cell goes red. i need help with anything between … | |
I am writing an application that pastes unformatted text into various fields in an application called cerner. Cerner runs via a VPN that is setup by Citrix software (I think). All the cerner applications seem to run under the same windows process. Does anyone know of a good resource online … | |
What happens if a value from hex editor is deleted but not modified ... Friendz plz help | |
I am working on something for school as a final project before graduation. I am using ASP for the website and VB as the back end to code. I keep getting the error "Object reference not set to an instance of an object" and can't figure out what is wrong. … | |
Hi, i connect database with vb.net and also i receive a single value from my receiver through serial port. now i want to match this single data with one field of database. how can i do it. plz help me. i have attached my code. Public Class Form1 Private Sub … | |
Below is my code for one of form load. I have multiple databind controls so I have multiple lines of code that fills my datagrids and databind combobox. The problem is when I debug step by step, my application performs 3 lines of codes but rest of them are skipped. … | |
Hi There, I am trying to get the Sum values of a Column and want to check if entered value in Textbox is valid. Here is my code below [CODE]mystr = ("Provider=Microsoft.JET.OLEDB.4.0;" & _ "Data Source=K:\Amrut Diary\Amrut_Diary\ADDB.mdb") con = New OleDb.OleDbConnection(mystr) con.Open() strsql = "SELECT SUM(Available_Stock) As Avstk FROM STOCKDB … | |
Hi,I'm currently using vb8. i need help in coding. How can I increment a number in a textbox everytime when the form is loaded? I want that first time when the form gets loaded Company_id should appear in the textbox as NEW010101. Second time it should appear as NEW010102. Third … | |
![]() | hiya, What i am trying to do is save text from a number of text boxes to a user named file then subsequently be able to reload the data back into the same text boxes at a later date. so far i have this which was provided for elsewhere on … |
![]() | hi, So heres the deal i am still learning VB (bet you guessed that), now what i am tryiing to do is create a form with a number of text boxes (say 25) where a user can enter their own data. Which they can then save as a file and … |
Hey guys, Im trying to include an item called "Please select ..." in a combobox which is populated using a dataadapter. As you can see below, combobox items are inserted into the item list using a tableadapter. It is followed by a set of codes that inserts "Please select ..." … |
The End.