20,899 Topics

Member Avatar for
Member Avatar for genext.brite

Hello everyone, I have bound a datagridview with a table, And put a checkbox on each row .And an Insert button at the bottom. On clicking the button ,the Checked rows are to be inserted in the table. When I do that it gives an error as 'Can not Insert …

0
85
Member Avatar for tendaimare

i am trying to export a crystal report document to excel but it is giving me an error saying that object refference is ... Any help pliz [CODE] Sub cryview() 'This code contains a functionality to export to Excel '* A sub for every corresponding Crystal Report Dim rpt As …

0
60
Member Avatar for dejanc

Hello VbForum, I`m migrating access database to vb.net. I have employee database with a few DateTimePickers, textboxes, and comboboxes In access I have formulas in textbox's control source like this, and it works: [code] txtDayCalculation =DateDiff("d",txtDateofHire, txtManualDate) txtYear =Int(txtDayCalculation/365) txtMonth =Int((txtDayCalculation-(txtYear*365))/30) txtDay =((txtDayCalculation-txtYear*365))-(txtMonth*30). [/code] So, I have trying to do …

Member Avatar for dejanc
0
510
Member Avatar for fireup6

I have a simple form which starts a new thread, and this thread displays the value of a control (TextBox) Form contains: TextBox with default value of "Default" StartButton which starts a new thread Form: [CODE] Public Class Form Private Sub StartButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles …

Member Avatar for Teme64
0
193
Member Avatar for x2fair

Everyone..please help me... I cannot save my list item to the database with this code. [code] Dim my_cmd As MySqlCommand my_cmd = New MySqlCommand() my_cmd.CommandText = "insert into documenttable values(route1,route2,route3,route4,route5,route6,route7,route8,route9,route10,route11,route12)" rs.Open(query, conn, ADODB.CursorTypeEnum.adOpenStatic, ADODB.LockTypeEnum.adLockOptimistic) my_cmd.Parameters.AddWithValue(rs("route1").Value, .ListBox1.Items(0)) my_cmd.Parameters.AddWithValue(rs("route2").Value, .ListBox1.Items(1)) my_cmd.Parameters.AddWithValue(rs("route3").Value, .ListBox1.Items(2)) my_cmd.Parameters.AddWithValue(rs("route4").Value, .ListBox1.Items(3)) my_cmd.Parameters.AddWithValue(rs("route5").Value, .ListBox1.Items(4)) my_cmd.Parameters.AddWithValue(rs("route6").Value, .ListBox1.Items(5)) my_cmd.Parameters.AddWithValue(rs("route7").Value, .ListBox1.Items(6)) my_cmd.Parameters.AddWithValue(rs("route8").Value, .ListBox1.Items(7)) …

Member Avatar for kvprajapati
0
160
Member Avatar for Karl Luders

Hi, Everybody. I need to reload the form of my application. The application has only one form vb.net 2005. I need a button that will call the page_load event so I can restart and reload all my settings. basically I need to call the Sub private Page_load event(). I just …

Member Avatar for kvprajapati
0
10K
Member Avatar for get connected

Hi all. I am having issues with people not closing an important file in excel. I have a new vb.net based application that i want to close the excel file when i prompt it to. The application checks for specific named files in a hidden folder on a timer event, …

Member Avatar for Fungus1487
0
5K
Member Avatar for like_bilal02

Dear Freinds i face a problem in show the data from datagridview actually i make a 4 column in datagridview now i want the four columns of table come in same columns in datagridview but when i show data in gridview it add more 4 columns and show data in …

Member Avatar for ShahanDev
0
97
Member Avatar for DCYPHER

Hello everybody I need help to complete my project. It's a calculator program. Most of the code is complete IT SHOULD FUNCTION JUST AS THE PROGRAM CALCULATOR FOUND ON WINDOWS VISTA I just have two problems 1)It should perform a continuous operation between numbers, without pressing the equal button. In …

Member Avatar for kleva
0
3K
Member Avatar for BORAX

i have manage to use a code from a coder from apple, posted on google code but does not have support any more and i have having a big situacion here i really deen some guide on how git this runing the right way case i promesi i have trie …

Member Avatar for BORAX
0
271
Member Avatar for JD69

hi im trying to link a browse button to a textbox when the user clicks the browse button and selects a destination the selection is displayed in the textbox thanks for your help

Member Avatar for nytro
0
113
Member Avatar for x2fair
Member Avatar for x2fair
0
540
Member Avatar for tendaimare

what's up when i call the function below i get an error that says that oledb is not regstered on this machine i am calling the function like this [CODE] ListBox1.Items.Add(getAllTableNames) [/CODE] [CODE] Public Shared Function getAllTableNames() As String() Dim con As OleDb.OleDbConnection Dim com As New OleDbCommand Dim i …

Member Avatar for kvprajapati
0
166
Member Avatar for Rajeev R Nair

Hi friends, after a long time. i am developing a small tool by using VB.Net. I want to display data in comboboxes from a table which is in an access database. I using SQL query. Its a simple problem , I think the problem is in my COMMAND. I want …

Member Avatar for kvprajapati
0
817
Member Avatar for shankarmca

i am inserting data using datagrid but my problem is that it is not inserting the last row item itemqty value only,in one row i am inserting groupcode,itemcode,itemqty,entrydate,locationcode,addt only .the itemqty of last row is not inserted if i give itemqty=1 by default it takes 0 and all(groupcode,itemcode,entrydate,locationcode,addt) remaining item …

Member Avatar for kvprajapati
0
155
Member Avatar for emily1989

Hi there, I am new here, and i humbly seek your assistance, when i try to increment the for loop it jumps to case 5 of the select case statement. What i actually want is when i press the Next button it shows me a set of options which is …

Member Avatar for Riga
0
141
Member Avatar for horserider

Is there a way to make a file shredder in VB .NET..if is there plz explain it with code...

Member Avatar for lolafuertes
0
77
Member Avatar for noel9

hi friends i m doing project in vb and database is microsoft access in my form i have 3 radiobuttons and 3 combobox when i select radio button then respective combobox enable and remainig disable i load all the data in combobox through data reader the problem is user can …

Member Avatar for lolafuertes
0
145
Member Avatar for JD69

I have a form that has 5 text fields... TextField1 TextField2 TextField3 TextField4 TextField5 I need to automatically input those fields into a website via a button. The Website link is [url]http://192.168.2.23[/url] -Next i have to click login -enter a password Admin00 and select ok -Click on Basic -Click on …

Member Avatar for codeorder
0
122
Member Avatar for luciahlocsin
Member Avatar for JD69

Visual Basic 2008 here is a code that will show you your smtp server Dim info As New ProcessStartInfo("nslookup", "-type=mx -timeout=30 sendmail.org") With info .RedirectStandardOutput = True .UseShellExecute = False .CreateNoWindow = True End With Dim proc As Process = Process.Start(info) Me.ResultTextBox.Text = proc.StandardOutput.ReadToEnd proc.Dispose() but how do i link …

0
81
Member Avatar for y2kshane

hey guys where can i find free office 2010 ribbon for vb.net i found ribbon for c# but nothing for vb

Member Avatar for RenanLazarotto
0
146
Member Avatar for JD69

Linking Comb Box Items to a Button to load a new form Combo box 3 has 2 items.....Item 1, Item 2 i want it so if you click on the button when item 1 is selected it will load form3 and if item 2 is selected the same button will …

Member Avatar for JD69
0
95
Member Avatar for wewehalim

Hi i know the title seems a little bit confusing, let me explain. Let say i have 10 properties of bindingsource. The names are: bindingsource1, bindingsource2, bindingsource3, ....., bindingsource10 i want to develop a code using loop for these properties.. For i = 1 to 10 //bla bla bla Next …

Member Avatar for wewehalim
0
100
Member Avatar for discovery-power

Hi All, I have created a form for a user to create a booking of a meeting room, I need this form to do 3 things. have print functionality update the new booking to a dataset view the current bookings screen I seem to be struggling with the second task, …

Member Avatar for discovery-power
0
201
Member Avatar for zinnqu

This is a great example for a thread stop. Simple debugging trick for any looped process that needs the "e-brake" applied while making sure that the thread is working correctly. The idea is that you can manually stop a thread, to prevent that hanging sensation during any process. This works …

0
3K
Member Avatar for piyushseven

Hello, I have a datagrid and I want to delete selected row from that grid. It is working fine upto this. but I want to add some advance functioning with msgbox YES-No buttons. If user select some row and click on delete button, A msgbox with YES/No options appears. If …

Member Avatar for nytro
0
10K
Member Avatar for tensai

hi, i am trying to copy all the data from two columns from two different tables to another table. the problem is when i use insert statement for the second time it does not copy the data from the two columns. i was able to insert two columns from loanTable2 …

Member Avatar for tensai
0
204
Member Avatar for mahmoud209

I’m working on a piece of software using vb.net that should allow the user to open sketch up files '.skp' and perform some measure on it. Any ideas how to get vb.net to open SKP files?

Member Avatar for mahmoud209
0
103
Member Avatar for Xcelled194

Hi, for a program, I need to map the location of all the back pixels in an image into some kind of structure. The program later uses the structure to select a random pixel location. It then removes the location, to prevent it being used again. The problem is, there …

Member Avatar for Xcelled194
0
77
Member Avatar for Jayson83

Below is my code to call the records or save/update to the database which works fine [code] Private MasterConnection As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=Info.mdb;Persist Security Info=False;") Private daMaster As OleDb.OleDbDataAdapter Private dsMaster As DataSet Private dtMaster As New Data.DataTable [/code] I have been trying to add First Previous Next Last …

Member Avatar for Jayson83
0
72
Member Avatar for markdean.expres

Hi everyone, can I customize my datareport? How? I'd like to add static information such the name of the company, address, contact and so on... No one can help me here (class) because I am the only one who uses VB 2008. All of them are using 6.0.

Member Avatar for markdean.expres
0
167
Member Avatar for gamaliel

i just want to ask if how can i code to connect to a POS printer... if there could be someone who can teach me or show me some tutorials.. thanks...

Member Avatar for gamaliel
0
52
Member Avatar for JD69

I have the code to create a folder, does anyone have the code to share the folder and set the permission for everyone to have full control? Thank You

Member Avatar for kvprajapati
0
69
Member Avatar for guggilosmodz

Hey i am new to VB this is my first language to learn on a computer and i am terrible but i am trying to code some applications to help a forum i am curently signed up on get more members. Wll what i needed to do was read the …

Member Avatar for kvprajapati
0
104
Member Avatar for markdean.expres

PLease guys, help me with this! I need the right to filter my dataGridView control. I am already aware of this code; bindingsource.filter = "ID Like '" & textbox1.text & "%'" but it only works when you are filtering the records by ID. my problem is how about when more …

Member Avatar for markdean.expres
0
89
Member Avatar for gurdeepsingh

i am using pegazux control in my vb.net application and it is working fine on my machine but when i install my application on client machine it creates problem. do anybody can help me in finding solution.

Member Avatar for kvprajapati
0
30
Member Avatar for wewehalim

Hi, i am developing a software using microsoft visual studio basic 2010. I set up a connection string to my server and take the data from there. I am using gridcontrolview and put my "product" table in here. It contain 4 column: systemid, system, actualid, description. I want to display …

Member Avatar for kvprajapati
0
105
Member Avatar for dre-logics

I use Visual Basic 2008 I have this code : [CODE] ' this picture i want enclose in the URL '========================================================== Dim PicBuffer() As Byte PicBuffer = IO.File.ReadAllBytes("c:\picture1.png") ' ========================================================== Dim Request As HttpWebRequest Dim Response As HttpWebResponse Request = WebRequest.Create("http://api.online....nl/update.xml?type=add&tabel=groups&name=test") Request.Method = "GET" Response = Request.GetResponse Dim reader As …

Member Avatar for kvprajapati
0
116
Member Avatar for WHchaz1027

Hey guys, I encountered this very hard problem in vb.net. The changes I made in my project was not applied during debugging. Ex. I added a button in a form but when I start debugging or F5, The button was not there. I already cleaned up my project but still …

Member Avatar for kvprajapati
0
66
Member Avatar for Felipevd

Hi everyone! For months now I've been reader of this forum and it's now time for me to register and start contributing. Well, my problem is basically with arrays and loops, in a calculator project.. What I'm trying to do is to write all operations in a line i.e: ( …

Member Avatar for Teme64
0
510
Member Avatar for JD69

Hi i've been searching everywhere to try to get this setup. I am running Visual Basic 2008 I have 1 Combo Box that Has 3 Entries, Kyocera>Konica>Toshiba I have a 2nd Combo Box that has entries for each of those manufactors...Kyocera has 3035,4035,5035....the konica has c250,c352,c452......the Toshiba has c3520, 4520 …

Member Avatar for JD69
0
109
Member Avatar for JD69

Is there a way i can write this into a command button? In a CMD Prompt if you type: nslookup set type=mx set timeout=30 emailaddressdomain.com it will give you the outgoing mail server address is there a way i can write that into a command button and display the results …

0
66
Member Avatar for Acidburn

Hi guys, I've got a C#.NET background and due to circumstances I'm trying to make a plugin written in VB.NET. I've created a new class project which gives me a DLL. This class implements a C# interface which all works. My only question is this... In my C# code I've …

Member Avatar for Unhnd_Exception
0
129
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
255
Member Avatar for rheyn
Member Avatar for zinnqu
0
64
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
122
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
130
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
112
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
98

The End.