20,284 Topics
| |
With both subs you must enter the values as you would write them into a sql string i.e. 'mustsurroundstrings' I'm rather new at VB.Net and SQL but these work for me and are seem pretty efficient. If anyone has a way to improve on them or finds a flaw in … | |
i'm using 4 pictureboxes and 1 textbox in one particular application. when i click on picturebox1 i need a certain value to be fed as input to the textbox, simillarly for the other pictureboxes too. how can it be done ? | |
Id like to know, if say i have a data grid that is connected to a sql database, it displays the table columns once a user enters a search. eg;(in your sql table colnm names are member_name,m_address). Now instead of display those names from the sql, can it display your … | |
**I have this page which upload an image. It works fine in one server that runs Windows Server 2003 / IIS6 but the same page runing on another server with Windows Server 2008 / IIS7 gives the following error message. Both servers are running Framework 4.0** Parameter is not valid. … | |
Eventually i want to load names from a database to textboxes which are created at runtime. Thought i'd try just getting names into a listbox first though as i'm new to using databases in vb and for some reason nothings getting added to the listbox Heres the code iv'e got … | |
Yea, i've made a lot of threads xD well, im learning and im doing things for different projects. Is there a shorter way to change the backcolor of the textboxes instead of doing this: Private Sub TextBox1_GotFocus(sender As Object, e As EventArgs) Handles TextBox1.GotFocus Me.TextBox1.BackColor = Color.FromArgb(65, 65, 65) End … | |
I have one MonthCalendar and a list box. list box contain the time for appointment and monthcalendar is used for chosing the date. My listbox item(eg:8am) will be deleted when an appointment is made on 15 July 2012. I want my listbox change to another when the date in month … | |
Hi guyz, I'm just wondering if it's possible to add the mouse when capturing the screen or monitor in vb.net? because I'm doing a project that would record the screen and I'm actually successfull doing that by capturing the screen and include it in a timer, but my only problem … | |
If My.Forms.Main_frm.UseProxy.Checked = True Then My.Forms.Main_frm.IPBindingTextbox.Enabled = True My.Forms.Main_frm.ProxyIPTextbox.Enabled = True My.Forms.Main_frm.SocksV4.Enabled = True My.Forms.Main_frm.SocksV5.Enabled = True My.Forms.Main_frm.ProxyUser.Enabled = True My.Forms.Main_frm.ProxyPw.Enabled = True ElseIf My.Forms.Main_frm.UseProxy.Checked = False Then My.Forms.Main_frm.IPBindingTextbox.Enabled = False My.Forms.Main_frm.ProxyIPTextbox.Enabled = False My.Forms.Main_frm.SocksV4.Enabled = False My.Forms.Main_frm.SocksV5.Enabled = False My.Forms.Main_frm.ProxyUser.Enabled = False My.Forms.Main_frm.ProxyPw.Enabled = False End If Is there … | |
***My tnsNames.Ora File -*** XE = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = Sonia-PC)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE) ) ) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) ) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO) ) … | |
Id like to know, if say i have a data grid that is connected to a sql database, it displays the table columns once a user enters a search. eg;(in your sql table colnm names are member_name,m_address). Now instead of display those names from the sql, can it display your … | |
hi every body , i recently finished my first project, what i need is how to make my project execute without visual studio , and also connected with the project database , i need the correct steps , thanx before. | |
hi, im creating a payroll system for my project and part of it is a time calculator and my problem is I really don't know how to deduct late. it should work this way "for every minute of late, their daily rate will be deducted 1.16" what i did is … | |
Good day.. i was stuck a moment realizing what went wrong to my project. I'm currently developing a enrollment system. I have 3 tables in my DB namely course_code,curriculum and pre_requisite tables. on the course_code table i have fields course_code(PK),course_desc. on the curriculum table i have but in this table … | |
ok, I have what I hope is an easy problem to fix. i'm try to query a db, store to a temp table, and then query the same db, inner joined with first query. please help. I'm currently getting "access cant find table/query" error. I've tried putting quotes around tmp, … | |
Hello my fellow DaniWebbers, I have a question for you. Problem: I am troubleshooting an ASP.NET (some one else wrote) page that has an insert form. The user can insert, using linq, into the database. I want to check the database for the values before inserting the values. (Safeguarding from … | |
Hi, i want to call an msword apllication into a panel in vb.net. | |
Hi all, Could anyone help me to create function Encrypt and Decrypt username and password in vb.net? best regard, Kimlong. | |
Dear all; I have using VB.Net and sql server to develop an application. In the form I use controls to move record like First Rec, Previous Rec, Next Rec, Last Rec. But I'm not using Navigator Binding control. It's mean I use code to move.Anyone can help me, please. Thank! … | |
Dear All; I would like to suggest for a function name getDataToGrid(). Example: I have table name tblStaff(StaffID,StaffName),tblPosition(PositionID,PositionName) and DataGridView anem dgvStaff. For my purpose is, I don't want to write the same code for each forms. That's why I want a function, just call to each form. It can … | |
Hello, Is it possible to disable the windows key when the application is running?? Suppose I am running a particular application....and if the user press the windows key or clicked on the windows key on the task bar it shud prompt a message box that user is not allowed to … | |
I hope someone can point out to me what I am doing wrong here. I have a set of picture boxes in an array. If I use the following code with the PictureBox array declared in the private sub, there is no issue. If I put the array as part … | |
I am using the code below to bind my Gridview to a datatable and the code works well. However I now want to add data to the datable and its giving me an error "Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound.". So … | |
i wanna search items like MS windows search for example if i wanna search mp4 files i should write "*.mp4" its enough my searching but if i ll use filter function i cant do this on datagridview couse when i want to search something i need to know full name … | |
Dear all programmer; I build an application using vb.net and sql sever. I want to create auto number increasement like (STAFF-0001). For STAFF-000 mean like default value and number is increasement. example: STAFF-0001, STAFF-0002, STAFF-0003. Please help me thank. Best regard, Kimlong | |
Dear All; I have a form contain with two TextBox control and one ComboBox. There are StaffCode(txtStaffCode),StaffName(txtStaffName),Gender(cboGender). After I insert data into table, I want to retrive it back by using Reader method. The code I had done as below: Private Sub btnSearch_Click(-----) dim cnn as new SqlClient.SqlConnection dim cmd … | |
Dear Expertise, I am problem with coding to search the data from database using stored procedure and vb.net form. I am coding with vb language not the C#. Explanation: I have stored procedure named "usp_GetPayByGrade" : /* Name: usp_GetPayByGrade Description: Search the Record to dbo.hrGradePayScale table by gpsIntGrade Author: Tashi … | |
Hi. I’m currently doing a project based on permutation and combination and I don’t get it. It should permutated a series of number entered in a textbox and search all that number in ms access database. If the searching number exists in the database, it should list down all the … | |
i've linked the database correctly, but i can't view the value after i drag the table from data source, and my database already saved data. why? :( | |
I'm struggling to think of a reason why I should be getting an 'Access denied' error when trying to save an Excel document opened through a program written in VB 2010 Express. The program is essentially glorified Excel automation. It converts information from hundreds of Excel documents into a few … |
The End.