20,278 Topics
| |
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 … | |
Hi, I was to change the following code so it uses a LISTBOX1 instead of imagetxt.text which is a textbox. Each attribute needs to go into a new line. if thats possible? Thanks. Dim PageElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("img") For Each CurElement As HtmlElement In PageElements imagestxt.Text = imagestxt.Text & … | |
Greetings guys i'm stuck with this problem last night and until but i can't find any solution. Every time i add a tabpage from my tabcontrol in runtime it's not in right order i have 1 tabpage in my tabcontrol and when i add another page it goes perfect but … | |
hello everyone, i have just finished developing my first program that includes a database. i have used instalsheild to make it a file so i can instal it on other PC's. but when i run the program on another computer i get an error, i cant remember what it said … | |
Hi, I'm having problems trying to figure out how to divide the value in a text box. One textbox is named Purchase Price I want to take that number and get it divided by 5. That answer will be the down payment. I declared a const for downpayment for 5. … | |
Hey guys. I need some help. I'm making a Text to Speech program. I've made a couple versions of them and they all work pretty good. But the new version I'm making has an icon that displays in the tray. I need to know how to call my Rich Text … | |
Hi all, Looking to extract all HTML tags from a dump of HTML data and put them all in a listbox. I currently have the following code. It displays to me things like HTML HEAD TITLE BODY. But i want things like the IMG and ALT tags. ' Obtain the … |
The End.