20,284 Topics

Member Avatar for
Member Avatar for danielagaba

hi i designed an application in Visual Studio 2008 that uses crystal reports. When i run the application in Visual Studio, the application generates the reports with no problem. After packaging and installation though, a Just In Time Exception is called when a user tries to generate a report.

Member Avatar for danielagaba
0
124
Member Avatar for ggl0rd

this is a error when i click the button add Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound. [CODE] DataGridView1.Rows.Add((txtPelan.Text), (txt36P.Text))[/CODE] \ anyone can help me?

Member Avatar for GeekByChoiCe
0
118
Member Avatar for awestove

I am writing a very basic memory match card game, and am trying to get the program to flip over the selected cards, wait 2 seconds so the user can see the values, then flip back over. The code I have to do this is: [CODE]Private Sub Label_Click(ByVal sender As …

Member Avatar for awestove
0
138
Member Avatar for ggl0rd

anyone can help me fix this coding.. this coding output is string output.. but i want output in double.. [CODE]Private Sub OutputPremium() With ds.Tables("KadarPremium").Rows(cmbPremium.SelectedIndex) Select Case cmbPelan.Text Case (1) lblPremium.Text = .Item("20TP1") Case (2) lblPremium.Text = .Item("20TP2") Case (3) lblPremium.Text = .Item("20TP3") Case (4) lblPremium.Text = .Item("20TP4") Case (5) lblPremium.Text …

Member Avatar for ggl0rd
0
109
Member Avatar for vaq

Would I be able to make 2 of my forms share properties? Like, uh, I want form1 to be my main program, but I want form2 to have my programs 'options'. Then when the 'save' button on form1 is pressed, it will save the information on form1 and the options …

Member Avatar for vaq
0
97
Member Avatar for mania_comp

HI experts..I need ur help.. VB.NET category I need script that can be used to do settings for allowing SQL SERVER 2005 Express to allow remote connections. The settings that we do manually after installation [COLOR="Green"][B]i.e to enable TCP/IP in remote connection in Configration Manager , start Browser service, set …

Member Avatar for sknake
0
472
Member Avatar for rizillion

I want to select multiple records from sql table and insert it to a dataset when the selected index is changed from a combo box. for example if i select "1" from the combo box then, only values with "1" in the sql table's mentioned column should be inserted into …

Member Avatar for rizillion
0
898
Member Avatar for dre-logics

[TEXT] I have in Visual Basic 8.0 a MaskedTextBox1 with the mask "00/00/0000" (short date) I have in my MYSQL table a fields : "name" datetype CHAR(15) [COLOR="Red"]"birth-date" datetype DATE[/COLOR] "birth-place" datetype CHAR(15) I have one record: Name birth-date birth-place Andre [COLOR="red"]01-01-1974 [/COLOR]Amsterdam [/TEXT] [CODE] Me.TextBox1.DataBindings.Add("text", myData1, "name") Me.MaskedTextBox1.DataBindings.Add("Text", myData1, …

Member Avatar for dre-logics
0
74
Member Avatar for Nada_ward

error when get the checked value of checked listbox array "Object reference not set to an instance of an object." what is the problem in my code [code=vb.net] Public Class Form1 Dim c1b1 As CheckedListBox() Private Sub btnAddItems_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim l As …

Member Avatar for Nada_ward
0
84
Member Avatar for realone

cmd = New SqlCommand(sql, myConnection) reader = cmd.ExecuteReader() While reader.Read() For Columns = 0 To reader.FieldCount - 1 Category = reader.Item(Columns) 'READ COLUMN FROM DATABASE cmbfld.Items.Add(Category) ComboRow += 1 Next End While this code is populating the records instead of the field name.what can i do pls?

Member Avatar for kvprajapati
-1
111
Member Avatar for manish_rms

I have made one crystal report.In which i hv used sql server 2005 db and ms access db .It works properly but it doesn't work with vb.net. I want to know how to make connection string for both db for a single report in vb.net.

Member Avatar for kvprajapati
0
194
Member Avatar for doomfrawen

Hi everyone, I have to make a program that reads a txt file after reading it, show it in a richtext box and in another tab make the average of the grades the input received sort it by the student id and then in the same rtb sort it by …

Member Avatar for sknake
0
146
Member Avatar for Ole Raptor

I am wanting to display the PC's System Directory in a treeview. I have been searching for how to do this for some time now without finding anything. if anybody can help me out i would greatly appreciate it. thanks

Member Avatar for GeekByChoiCe
0
142
Member Avatar for leroi green

Yeah... the semester is on! lol but anyway, i'm trying to find a solution manual for my text and wonder where you guys get 'em? i'm a decent googler and haven't came up on anything yet. my text: Microsoft Visual Basic 2005 RELOADED: Advanced by: Richard A. Johnson/Diane Zak any …

Member Avatar for leroi green
0
61
Member Avatar for Steammike

Hi expert, I'm facing a problem when i try to update the database, below is my code: Dim conn As New OleDb.OleDbConnection Dim strSQL As OleDb.OleDbCommand Dim ra As Integer Dim num conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;" & _ "Data Source=C:\employee.mdb" conn.Open() strSQL = New OleDb.OleDbCommand("Update [emp] Set e_name = '" & …

Member Avatar for Steammike
0
277
Member Avatar for ggl0rd

What mean that error? can someone help me? [B] The connection was not closed. The connection's current state is open[/B] [CODE]Private Sub btnCari_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCari.Click con.Open() sql = ("SELECT * FROM RekodAnggaran WHERE [NoIC]='" & txtNoIC.Text & "'") da = New OleDb.OleDbDataAdapter(sql, con) …

Member Avatar for samir_ibrahim
0
97
Member Avatar for Arunabh Nag

I just found out that project modules in visual studio can be built on separate languages e.g. VB.NET and C#.NET. This can be done by publishing the module as a dll. Q1. How do i integrate the separate modules. Q2. Is the process cumbersome? Q3. If the project is a …

Member Avatar for danielagaba
0
102
Member Avatar for ggl0rd

why my coding find data only can find 1 data, then can't find any other data. if i want find other i need restart my vb.net.. what the problem anyone can help me please? [CODE]Private Sub btnCari_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCari.Click sql = ("SELECT * …

Member Avatar for GeekByChoiCe
0
122
Member Avatar for ajschoeman111

Hi I am a new bee, I am trying to insert data into a database white the use of parameters. When I run this code I get an error message: "No value given for one or more required parameters." Any help will be appreciated conn.Open() sql = "INSERT INTO Categories(Name) …

Member Avatar for ajschoeman111
0
98
Member Avatar for k.vijayakumar

hi friends,i am using dropdownlist in gridview.i am populating it using [code] Dim dsUserRoles As DataSet = objUser.GetRoles() CType(gvUsers.Rows(gvUsers.EditIndex).FindControl("ddlRoleName"), _ DropDownList).DataSource = dsUserRoles CType(gvUsers.Rows(gvUsers.EditIndex).FindControl("ddlRoleName"), DropDownList).DataTextField = "RoleName" CType(gvUsers.Rows(gvUsers.EditIndex).FindControl("ddlRoleName"), DropDownList).DataValueField = "RoleId" CType(gvUsers.Rows(gvUsers.EditIndex).FindControl("ddlRoleName"), DropDownList).DataBind()[/code] but when iam runnig if had some no.of.cols and when i click on editlink dropdownlist is replacing …

0
80
Member Avatar for xentamax123

suituation: having employee perrsonel details as a database(msaccess) by selecting empno in combobox and the button(button name:showbutton) was clicked.............. question: how to retreive records in databaseand to display that record in textboxes?

Member Avatar for ithelp
0
27
Member Avatar for pao09

can someone please check my code because it doesnt update my database.. i set the room no. as the primary key.. can you please help, its urgent.. i need it tomorrow.. thanks. [CODE]Dim con As New OleDb.OleDbConnection con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=..\data\YayaDB.mdb" con.Open() Dim query = "UPDATE Rooms SET …

Member Avatar for pao09
0
127
Member Avatar for mrjonie

Hi Friends, I am having an issue with the login form for our application. Its a windows app, developed in VB.net When the app loads, from the main form, a login screen is invoked, but the issue is , login screen looks like its having focus and the user id …

Member Avatar for sknake
0
92
Member Avatar for ShadowZ00

I have been trying for about 3 days now trying to find a way to open multiple instances of a simple program and have had no luck. It is being used to log into a site multiple times and the web browser component uses the same cookie which is stopping …

Member Avatar for sknake
0
80
Member Avatar for WellCom34

hey guys need a little help. i tried to save image into my database, it saves without error but when i tried to check if it saves in mysql, the data about my picture id save, but the image i save return a value of 0. please help me with …

Member Avatar for sknake
0
94
Member Avatar for ggl0rd

i got bit calculate coding.. i want make my output be double like 100.30(this is double?) the calculate data is from database. i want the result at lblPremiumJP.Text be double anyone can help me? [CODE]Private Sub cmbPremium_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmbPremium.SelectedIndexChanged con.Open() sqlPremium = "SELECT …

0
64
Member Avatar for ggl0rd

who know how to make data show at textbox from this code. from the below code, i only can check if that data got in database or not, if got it show a msgbox. but i want the all data show at text.. [B]example[/B] i search data use a NoIC …

Member Avatar for ggl0rd
0
135
Member Avatar for k.vijayakumar

i am doing onlineeducation project.in that,how to send mails to every student from our mailserver daily at 12pm without our interaction.i am using consoleapplication in vb.net.can anyone please help me thank you in advance

Member Avatar for k.vijayakumar
0
169
Member Avatar for DAWNIE

Hi, currently i'm able to save an image that I have draw into SQL but I would like to knw if it is possible to update new draw picture to replace the old picture? how can i modify this code in order for it to save instead of create another …

Member Avatar for sknake
0
124
Member Avatar for k.vijayakumar

hi friends,i entered some text in text box.later another one came and entering some text.at that time as intelensence my words are coming.how to clear them.i asked my sir,he said to clear the cache of textbox.but how to do it.if not understood,sorry for my language. ex:in gmail loginname,we will get …

0
98

The End.