19,728 Topics

Member Avatar for
Member Avatar for Doublse Six

Here is the error i get Object reference not set to an instance of an object and also index 0 is out of range parameter name: index [CODE]Public Class Form1 Dim int As Integer = 0 Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoBack() …

Member Avatar for Doublse Six
0
250
Member Avatar for rheyn
Member Avatar for zinnqu
0
60
Member Avatar for swathys

Hi Below is my code. The code is running well if the column name specified below is not exist. [COLOR="Red"]Sql = "ALTER TABLE Update_PaymentDetails ADD ServiceCharge float NULL," _ & "TotalAmount float NULL,Commission1 float NULL," _ & "Commission2 float NULL,DealerCommission float NULL," _ & "PaymentToDealer float NULL,PaymentPay float NULL," _ …

Member Avatar for lolafuertes
0
121
Member Avatar for TheBrenda

Simple Code lookup to get Description I have a static list of Street Type Abbreviations and their associated Street Type Descriptions: RD to Road. I have the complete list needed. There are 37 elements in the list - 37 Street Type Abbreviations with their associated Descriptions. The lookup will only …

Member Avatar for lolafuertes
0
126
Member Avatar for Jayson83

I need help!!!! Is there anyway to do subforms in VB like you can in access.... What I need a subform for is say I enter a Container Number in a text box named txtNum i need that number from that text box to automatically go into the subform textbox …

Member Avatar for AndreRet
0
107
Member Avatar for DoctorGiraffe

I am trying to figure out a way to to make a webbrowser scroll to an html element and center the element, i don't have any code to show as i have desperatly looked everywhere after a solution but havent found anything.

Member Avatar for DoctorGiraffe
0
92
Member Avatar for Jayson83

I am trying to add a new record everytime i do my navigation gets all messed up I also need an update button... I would like so when i hit new record the record of will be(ex. If Im adding record number 30 it will say record 30 of 30, …

Member Avatar for kvprajapati
0
158
Member Avatar for Gazzmonkey

Hi all, I have a very annoying problem with adding new records to my Access Database, I'm not getting any syntax errors but there's obviously a symantic error of some kind causing this headache. I've been developing an RFID system for two months now and spent the last four weeks …

Member Avatar for Gazzmonkey
0
95
Member Avatar for wewehalim

Hi, i am developing a software using microsoft visual studio basic 2010. I used a datagridviewcontrol to display a list of data from product table. What I want to do (actually i am not sure how to do it, or is there a way to do it), when i choose …

Member Avatar for wewehalim
0
162
Member Avatar for a1a4a

Hello all I am on a project where users can login /register /change status/ ... just like facebook. The problem is that i can't find a code that allow users to upload pictures as their profile picture. I think i should save the Url of the image in the database …

Member Avatar for kvprajapati
0
111
Member Avatar for DoctorGiraffe

Hello, so i'm having problem with Regex. I'm trying to use to put names in a checkboxlist. But the page where i want the names from have to be accesed by login in on the website. But the regex doesnt read from the VB WebBrowser it reads from... the internet(?) …

Member Avatar for DoctorGiraffe
0
628
Member Avatar for jlego

i posted the same thing in the c# forum, didn't get a response and still having issues. I rewrote the same thing in vb.net, hopefully someone here might know the answer i am writing this transport agent to verify the subject line of outgoing email on an exchange 07 server. …

0
83
Member Avatar for noel9

pl help i m getting insert into error [CODE] Private Sub Addbtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Addbtn.Click Dim mycmd1 As OleDbCommand Dim sqlq1 As String Try If Addbtn.Text = "Add" Then Idtxt.Text = Me.max + 1 clear() Addbtn.Text = "Save" Else sqlq1 = "Insert into Member …

Member Avatar for noel9
0
118
Member Avatar for davydick

Hi I used VB6 to create an EXE file that uses MSComm1. The program runs OK in my XP computer and also in my Win7 computer (that has VBE installed). It would not run on my Vista laptop. I installed the VB runtime files (even though Microsoft says they are …

Member Avatar for G_Waddell
0
223
Member Avatar for deconstruction
Member Avatar for deconstruction
0
150
Member Avatar for cirno

Hi, I have this question about how to retrieve a column with DateTime from MySQL as String and put the data in a textbox. :| So I've been using something like this... [CODE]Private Function check_ResitDate_ResitNumber() Dim SQLquery As String Dim rrnRD As OdbcDataReader Dim DiTi As DateTime SQLquery = "SELECT …

Member Avatar for cirno
0
2K
Member Avatar for DoctorGiraffe

So i have several tabs, and i close them all using a button with:[CODE]TabControl1.Controls.Remove(TabControl1.SelectedTab)[/CODE] But I have been trying to figure out how to make sure the main tab doesnt close. What can i do to make sure the main tab can't shut down, when closing tabs with the above …

Member Avatar for DoctorGiraffe
0
112
Member Avatar for gspeedtech

Hello, I am working with a Windows Application that was developed in VS2008 on a SQL2000 database. I am trying to determine the Datasource of a row in an existing DataSet. I have narrowed it down to 2 possible tables that each have a row with the same identical name. …

Member Avatar for gspeedtech
0
110
Member Avatar for mvs

hello i'm a bigginer in programming i wanted to know how can i create reports in vb.net thank you

Member Avatar for lolafuertes
0
63
Member Avatar for WHchaz1027

Please guys if you know the solution, kindly reply, My problem is how can I set to visible = true those hidden rows in my datagridview?. When the form loads, I set some rows to visible = false due to some reason. Now, I cannot find away to unhidden them. …

Member Avatar for G_Waddell
0
80
Member Avatar for JohnPhillips

Good morning, I have a batch file with the following code which works fine: MsiExec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160020} /q I would like to execute it from within the .net environment, however I can't seem to execute that command using the shell syntax. I tried Shell (cmd "MsiExec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150070}",vbHide), and various …

Member Avatar for JohnPhillips
0
181
Member Avatar for cirno

Hello, codegurus. Excuse me, but I need help. I have been assigned to deploy a system that uses VB.Net and MySQL. After testing on 9 different PCs each on different regions, only 1 PC shows this error during deployment: [CODE]System.ArgumentException: Formatof the initialization string does not conform to specification starting …

Member Avatar for cirno
0
197
Member Avatar for Waldek

Hi Everyone, I wonder if anyone out there has deployed a solution successfully like mine? I have created a vb.net 2005 winform solution that can be installed on a desktop. It uses an access 2003 database to hold data. The setup.msi was created using the vs.net deployment menus. The solution …

Member Avatar for Waldek
0
219
Member Avatar for ezbaiby

Hey I have a program that has a webBrowser navigate through a few pages, and when it gets to the last page I set it to navigate to, checks if there is a certain string on that page. I just switched my code around to use multithreading and now the …

Member Avatar for ezbaiby
0
822
Member Avatar for horserider

How to put this tool in vb.net 2010 plz check this image.. i hav rounded tat tool in red colour. [url]http://img192.imageshack.us/img192/6697/24961035.png[/url]

Member Avatar for codeorder
0
96
Member Avatar for bobscrazy

I need to link an access database to my visual vasic express 2008 class i have made (as been set an object orientated project) but am struggling to link the database and get it to show the information from the database through the class to the product form. I'll attach …

Member Avatar for bobscrazy
0
135
Member Avatar for tendaimare

I want to use a picturebox in my crystal report the picture that i want to place on the report is now on my form.I have declared the picture object.but i do not know its property for example using crystal reports when you declare a text object u say textobject.text.what …

Member Avatar for ShahanDev
0
124
Member Avatar for discovery-power

Hi All, I have a log in form, I have had a couple of idea's. When a user logs in I want his/her name to print on the top of the main form with the current date, the data for the login form is collected from a sql database (not …

Member Avatar for jlego
0
121
Member Avatar for Viperino

Hello. I'm looking for a way to format lines on a MsgBox, so that the records don't seem out of place. What I have is this: [URL="http://sites.google.com/site/hqupt666/home/Untitled.jpg?attredirects=0"]http://sites.google.com/site/hqupt666/home/Untitled.jpg?attredirects=0[/URL] If you can't see it it's something like this: Num Name HF 1 something 11 2 somethingelse 22 3 andsomethingelse 33 I've been …

Member Avatar for Viperino
0
4K
Member Avatar for betabasic

Please see the image below: [url]http://img140.imageshack.us/img140/1023/vbpicmove.jpg[/url] as you can see. using a timer. the images (image1 and image2) move from right to left inside the picturebox1. I have an idea on how to do it but I dont know how to code it. here's the idea: @ 0 sec Picturebox1 …

0
55

The End.