20,284 Topics
| |
how do you make data in the database to appear on an applications textboxes | |
A lot of questions in the VB.NET forum are database related. Most of the code that gets posted result in one or more comments like "use parameterized queries to avoid SQL injection attacks". I won't describe the nature of a SQL injection because it is easily looked up via google. … | |
Hi Guys, I've just started learning the multithreading in vb.net; Needless to say I'm facing issues. Please check the code written below as its not giving any output, it just hangs. Public Class Form1 Private Delegate Sub _invokeUIControlDelegate(ByVal errMsg As String) Dim Thread1 As New System.Threading.Thread(AddressOf doSome1) Dim Thread2 As … | |
Hello, I am finishing up a program in VB that edits, saves, and adds data to a listview via textboxes. The listview data is stored on the harddrive via a txt file. One of the columns in the listview is a birthday in a DD/MM/YYYY format. I want to have … | |
hi! can you please help me. I want to count all "OPEN" in my status column. im using access for my database. thank you!!!! | |
Hello Group! I've created a fairly large database with approximately 170 columns. I now want to begin writing data to that database table and saving the data. I'm using a form I'm calling "frmInventoryMasterSetup". I've also created the individual textboxes that I want to link to the columns for saving. … | |
Hi I have an application which uses a backgroundWorker to do a simple file copy whilst the main UI is doing some other work. The problem is that the RunWorkerCompleted event does not always fire and I can see no pattern as to when it may or may not work. … | |
I am using the following to store the X Y cords [CODE]Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick MyX = Me.Location.X MyY = Me.Location.Y My.Settings.Save() End Sub[/CODE] but the Me.Location.X or .Y are not detecting the forms position when I move it? | |
I've added the necessary registry key to have my app run when windows loads: [B]Hkey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\Run[/B] [B]MyProgram[/B] = [B]c:\MyDir\MyProgram.exe[/B] [I]..I've also tryed adding it to the Programs\StartUp folder.[/I] My app still won't load when windows does. Other apps do, and I was wondering what might be preventing my app, and [U]only … | |
| Hello everyone, I'm quite new to coding and can't seem to find an answer to this question online. So far I have created a multiple choice quiz and am now working on the nitpicky details. Right now the quiz works great but I'm just trying to add a function where … |
hello, this is my first post here. I'm working on my movie library project now in vb2008. I have a form with 3 listboxes, a remove button and find button. Listbox1 is populated with names of actors from a table in the mysql database and selection mode = one. User … | |
In my database there two table call sample and sample customer in sample table primary key is sample_Note_no and it is a foreign key in sample_customer table I got same error after I wrote this coding also ALTER TABLE Sample Customer ADD CONSTRAINT FK_Sample Customer_Sample FOREIGN KEY (Sample_NOTE_No) REFERENCES Sample(Sample_NOTE_No) … | |
Hi All, Can anyone offer me some advise? I currently have a listbox i am using, in the listbox there is a list of images from any website. they are grabbed from the website via this method;;; Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted Dim … | |
Yes this is for a homework assignment. I am getting closer to what I need but am running into a block. my code shows how far I have gotten. I am pretty sure I can handle the washer gallons and cost part. its the second section I am aving problems … | |
How do you go about pausing your code from operating. I want to make an animation by making a picture box visable then another then another but I need a period of time between transitions? How would I go about doing this? boredPic(1, 1).Visible = True boredPic(1, 1).Image = My.Resources.Red … | |
I would really like to be able to compare two cells in visual basic from a database access database in two different tables and the idea is to take one paragraph from one cell and a paragraph from another cell and compare how closely related they are. How would you … | |
Hi there, I'm doing a simp,e wav player as a school project. I know how to load, play and stop the audio but I don't know how to pause/resume it. Here is my code Public Class AudioPlayer Dim snd As Media.SoundPlayer = New Media.SoundPlayer Dim theFile As String = Nothing … | |
Hi Experts, I would like to seek your help, I need to create an application which can extract the current Active Tab and URL of any browser (i.e Chrome, IE, FireFox). I had googled around but there no samples had satisfy my needs. Sample: I would like to get the … | |
Hi! I just learnt to use the "Parameters.AddWithValue" to prevent harm of sql injections.However, I have only been able to do this with the INSERT, but I have trouble using that with SELECT and UPDATE. Please Look at my code with UPDATE Try ConnectionSettings() con.Open() Dim SqlUpdate As String SqlUpdate … | |
Hi Members, I would like to seek your expert advice. Is there a way load an application before the windows logon appear and shutdown windows when the executed application was closed? I am creating a project which needs to filter all the application that the user can use. Hoping there … | |
Hello, I have almost completed a client server application and need to know the best way to host it. Obviously security is a main factor as well as cost. If you could help me with your opinions I would greatly appreciate any advice you can give. Minko | |
Hello. I'm Having this problem since yesterday. My professor wants us to create a VB.net Program connected with MS SQL. The problem is when i put my VB.net Project to other pc, i need to change the current connection String. Currently im using this code for my Connection String. Data … | |
Hi, I am (still) converting an old asp web app / vb6 dll to aspx / vb.net I am now biting on a fairly simple function in vbscript: the execute() function What the vbscript does is the following: It reads in a variable name and its (string) value from a … | |
Hi every one ! i need to generate a key generator program any one help me. there is one Label and one Button on my Form. e.g i want to generate a random number on Button_click Event like this i.e. g12tu-7bhg5-khd9k-kh88f kdj44-jk73n-khjk6-88dkg | |
Hi, All, Good Day! I would like to ask if this is doable. I am instructed to create a program/service that will log all user's activity. Like for example, the user opened internet explorer and navigate to www.google.com, the log will be: Time Started--------Time Ended---------Activity 8:30AM --------8:45AM ---------User opened Intenet … | |
I'm planning to develop a system that can connect through online sql database and a website connected on the same sql database.. Can anyone help me.. Please response.. | |
Hi All, I know this is probably going to be very simple but looking for some help. Currently i have a program that can put a website such as "www.google.co.uk" and pull all the HTML and put all that HTML inside a textbox unformatted. Is there a way i can … | |
Write code to record daily humidity of a place for a week | |
Hello, On my login form I have a timer and every tick I run this piece of code: Try Client.Connect(IpAddress, Port) Catch ex As SocketException End Try and update a label to whether the server is online or offline. However when the server if offline it throws a exception error … | |
Hi,I need to retrieve the data for Employee details After entering Empno in a 1st text box.I hope it's Simple but i'm Intermediate level in VB.net,Please help ASAP This is My Coding for VB.NET Private Sub View_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click con.Open() cmd = New … |
The End.