20,284 Topics

Member Avatar for
Member Avatar for khair.ullah

hi everyone i am try to write a code for a checkbox that work like a radioButton dynamicaly in vb.net. i.e. if i have 5 check box and i try to check the first one other will become unchecked. Second with same code if i increase the number of check …

Member Avatar for khair.ullah
0
937
Member Avatar for PBubble

Good evening! I'm trying to figure out how to retrieve and display data from MS Access to my project's DataGridView. So far I have the codes to make the options for the CheckedListBox appear. SAMPLE: (Codes for other categories are not included since they're all basically the same) 'view client …

Member Avatar for tinstaafl
0
950
Member Avatar for mikeybware

I have a database of customers (MS Access database) and I am trying to check out the demographics. I would like to list the top 5 cities and their count (how many times this city is found in my database), as well as the top 5 postal codes and their …

Member Avatar for TnTinMN
0
130
Member Avatar for Padzluck
Member Avatar for devianleong

Hi, I've a form which allow a user to select the year and category. Year and category will pass the value to the query : "SELECT * FROM Shares WHERE Year = '"&yearr.txt&"' AND Category = '"&category.text&"'" After that I want the report print the report to excel base on …

Member Avatar for Reverend Jim
0
424
Member Avatar for RobRTaylor

Not sure if the title accuratly reflects the question, but here it goes. I have a dropdown (a ComboBox) with some text. Simple enough, when the dropdown is opened and text selected, it puts the text in a text box below. If cbCallNotesPrefills.Text = "Sample Text" Then txtCallNotes.Text = "Sample …

Member Avatar for RobRTaylor
0
208
Member Avatar for karlcunanan

Hi Vb.net geniuses! I am a complete beginner in programming and would like to seek assistance regarding this very small issue of mine :( It is perfectly working if the CardID is only numbers, but if I mix letters with it this error is showing "*Conversion from 'string' to 'boolean' …

Member Avatar for Reverend Jim
0
3K
Member Avatar for timon.bijl

Hey guys , so i just started to learn arrays today and I'm at an excercise where i have to use a tablelayoutpanel and have to give a spot of my array a name like tblstudents(0) = "evaluation" but i don't know how to put it in code and can't …

Member Avatar for tinstaafl
0
180
Member Avatar for killer88
Member Avatar for Ashenvale

Hi! I'm searching for a way to delete an Item from a collection in a list box... Listbox1.Items.Add(Textbox1.Text) Listbox2.Items.Add(Textbox2.Text) Listbox3.Items.Add(Textbox3.Text) Adding an item in a listbox is easy, but deleting it, the way I want it to.. T_T nah! dunno.. or maybe i'm just plain stupid. I want the user …

Member Avatar for G_Waddell
0
154
Member Avatar for hkkkk
Member Avatar for sirmcfly.works

here's the problem: iam able to make my panel transprent on my main mdi container but when i move my panel to the place where my mdi child form is being shown in my mdi container the panel isnt transparent or i cannot see through the panel. any solution you …

Member Avatar for Lethugs
0
380
Member Avatar for zuve_fox

Hi... I wrote code using vb.net [B]picturebox1.image=image.Fromfile("C:\a.jpg")[/B] picturebox1 display image a.jpg. if picturebox1 display, file a.jpg can't delete it because "being used by another person". how to close picturebox1 so file a.jpg can delete? i have tried to use picturebox1.dispose() and picturebox1.image=nothing but still can delete and display error message …

Member Avatar for hkkkk
1
998
Member Avatar for tashee2007

Hello Every One, When i run my project i get Error "There is no row at position 0", please help. Here is my code: Private Sub PopulateDepartmentHead() 'Fill data in comboBox Dim SqlDataAdapter As OleDbDataAdapter Dim DSet As New DataSet Dim strSelect As String SQLConn.Close() SQLConn.ConnectionString = oFunc.GetConnectionString(sINIFile) 'myConn = …

Member Avatar for tashee2007
0
3K
Member Avatar for sirmcfly.works

here's my problem im trying to make an interface for my current project im trying to make the panels moveble and im trying to achive an icon like behavior to this panel when you move them around its like when you move an icon from your desktop it will automaticaly …

Member Avatar for sirmcfly.works
0
199
Member Avatar for kazekagerandy

i am doing an application at school and i always have this error message: Cannot open database "users" requested by the login. The login failed. Login failed for user 'SERVER\Student'. what is the possible solution for this? thanks :)

Member Avatar for Lethugs
0
226
Member Avatar for Mr.M

Hi DW peps. I've used the following codes to crypt and save files now I want to decrypt it when I'm reading it so that let say I want to check if the saved password matchs the entered password which the saved password is saved on pc drive e.g. Drive …

Member Avatar for azareth
0
263
Member Avatar for priyamtheone

I have an usercontrol that contains a toolstrip. The toolstrip is exposed through the usercontrol by a readonly property 'HostStrip' with DesignerSerializationVisibility.Content attribute. In this way we can handle the toolstrip and its contents from the usercontrol. While using the usercontrol in an application, after adding the elements of the …

Member Avatar for Reverend Jim
0
139
Member Avatar for achinthaadd

hi, i want a get msgbox(" Time Out") , when click some button then after 10 days ago, it may be close my application and it can not affect to time ( 10 days), i dont know how it code, please help me. tks,

Member Avatar for achinthaadd
0
113
Member Avatar for LeunamP

Hello guys, can someone help me how to view data from database into listview.. example in my database i have a user table, it has firstname, lastname, emailaddress and contactnumber, i want to view all user records into my listview. what is the query code for that.. can u please …

Member Avatar for LeunamP
0
100
Member Avatar for chdboy

I have two tables Employer Employee Employer Table: I have one field EmployerID (pk Key assigned to it) Employee Table: EmployerID(pk Key assigned to it) IDEmployer(fk key assigned to it,and Allow Nulls:Checked) Now my question is how to relate two tables ,that I will now that who works for who? …

Member Avatar for Reverend Jim
0
199
Member Avatar for hkkkk
Member Avatar for deceptikon
0
94
Member Avatar for LeunamP

guys can i ask something, what kind of server or database is good for Microsoft Visual Studio 2008, or VB.net thanks..

Member Avatar for riahc3
0
307
Member Avatar for syazreen.rahman

i want to filter contents in a table which is showing only all the informations filter only by month and years only. i need the solution ASAP because my task aint gonna complete just because of this problem. this is my HTML table form : <asp:HyperLinkColumn Text="Link" Target="_parent" DataNavigateUrlField="CompanyName" DataNavigateUrlFormatString="../DefaultBilling.aspx?id={0}" …

Member Avatar for LastMitch
0
246
Member Avatar for Helianthus

Ok, so I am working on the hangman game for a school assignment. I have everything doing what I want except for one issue: No matter how many letters are in my word, the number of dashes is always one more than I need. For example: say the word is …

Member Avatar for Helianthus
0
860
Member Avatar for Jake.20

Greetings everyone i really need some help about this error. If (maleRbtn.Checked = True) Then gender = 0 ElseIf (femaleRbtn.Checked = True) Then gender = 1 End If If (dietRbtn.Checked = True) Then purpose = 0 ElseIf (BDrbtn.Checked = True) Then purpose = 1 End If Try sqlCmd = New …

Member Avatar for Reverend Jim
0
321
Member Avatar for onakoya.adedamola
Member Avatar for <M/>
0
129
Member Avatar for alanso

hey guys i need help!! i am having problem with add cart...when i puchase and item it comes out this error "Response.Redirect("~/Payment.aspx?total=" + total_price)" bellow are my code. Imports System Imports System.Collections.Generic Imports System.Linq Imports System.Web Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Data.SqlClient Imports System.Data Partial Public Class Cart Inherits System.Web.UI.Page …

Member Avatar for alanso
0
139
Member Avatar for Dili1234

when I try to insert values I got this error: I Used this code myConnection = New SqlConnection(connectionstring) myConnection.Open() Try Dim insert1 As SqlCommand = New SqlCommand("INSERT INTO [VBP].[dbo].[Return_Total] ([RGN0],[Date] ,[Totalamount],[User_Id],[C_NIC],[Comments],[Bill_No]) values ('" & Val(TextBox2.Text) & "','" & DateTimePicker1.Value.Date & "','" & TextBox4.Text & "','" & TextBox6.Text & "','" & …

Member Avatar for tinstaafl
0
124
Member Avatar for x38class

I have found the following post re this issue does any body have any idea which is correct 1. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Comdlg32] "NoFileMru"=dword:00000001 2.HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Value Name: NoRecentDocsMenu Value Type: REG_DWORD Value Data: 0 or 1 0 = Yes, allow recent docs 1 = No, do not allow recent docs Value Name: ClearRecentDocsOnExit …

0
237

The End.