20,285 Topics

Member Avatar for
Member Avatar for mbb1234

I am having difficulty accessing modified data from a dynamic tab control in VB.net. In this case I have a client record with a "one-to-many" relationship to an address table. I have created code that successfully generates and populates the tabs as required. When I attempt to read the individual …

Member Avatar for mbb1234
0
270
Member Avatar for shikamaru

Hi friends, New one here...:) and new in vb.NET also I have started building a application which will display some data from access and plot the graph of them.. I have plotted it on one form, but i need zoom that graph runtime if user wants so..I am planning to …

Member Avatar for shikamaru
0
91
Member Avatar for Kartikey

good eveninh sir/madam, error is :- An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additional information: System error. code is : - Dim a, b As Date a = Date.Now.Date b = a.Now.AddDays(-7) Dim dataset2 As New DataSet Dim myconn As SqlConnection = New _ SqlConnection("server=;database=project3;uid=;pwd=") Dim obj_deletecommand As …

Member Avatar for sujitkar
0
206
Member Avatar for ident

Hello. I have sadly been trying to solve this since 1pm, (its now 9) Basicaly i have a single instance project when a user right clicks an image it trys to host it. i use this code (yes this really did take me all them hours to get) [code] Private …

Member Avatar for GeekByChoiCe
0
207
Member Avatar for Ana D.

Hi, I would like to know if there is a way to rename a label which is inside a GridView during the runtime. What I'm trying to do is: if the user chooses an option, Label.Text will be "Option 1"; if he chooses the other option, Label.Text = "Option2". Is …

Member Avatar for Kids
0
88
Member Avatar for php_noob

I am using a data connection (i don't know what...) I just have a connection string in APP_CODE and some supporting codes to execute it. (That's not the question) Well What is your recommended DB connection in ASP.NET, Is the real world still using ADO? is ADO for simple website …

Member Avatar for php_noob
0
83
Member Avatar for johmolan

I tried to sum a column using the Dim myValue As Double =myDt.Compute("Sum("total cost"),"Condition") But I ony end up with the result. SyntaxError:SytaxError in argument: expecting an argument for singel column with possible "Child"-qualificator. Anyone knows what I do wrong I tried the same code with the column quantity and …

Member Avatar for sknake
0
82
Member Avatar for daviddoria

(As a warning - if at any point you think "umm why don't you just use X to get your 2 column display - I'm all for that! This is the only way I came up with). I want to end up nice looking display of data on the form …

Member Avatar for daviddoria
0
1K
Member Avatar for densman

Hello guys, i am in final year and planing designing an E-voting system for a country. What do you think is the basic requirements for such a system.. Please i need clues thanks

Member Avatar for Salem
0
31
Member Avatar for phantom1000000

Hi all, I've written a piece of software that connects to a server's SQL database. The software has a timer which fires every second, and the timer connects to the database every time and pulls out a list of current to do's from a table (CurrentToDoList). This database only has …

Member Avatar for sknake
0
138
Member Avatar for scooby36

I am not too sure if this is easy or not but I have a datagrid with a return date field. All I want to happen is if any of the dates in the grid are before the current date Datetime.Now then turn a picturebox to visible. I have had …

Member Avatar for scooby36
0
72
Member Avatar for darkelf94

I built a vb.net solution and it works well on my computer but it doesn't on other computer. so what files I have to copy with the solution

Member Avatar for GeekByChoiCe
0
89
Member Avatar for ggl0rd

anyone can help me with this problem to make coding about : example question : me got 1 table with item X,1,2,3 and other table with item Z and value at row 1,2,3 i want make 1st table item 1,2,3 got a same value at other one table at row …

Member Avatar for ggl0rd
0
106
Member Avatar for tdapower
0
59
Member Avatar for Pgmer

Hi All I need to capitalize the first word of each new sentence as user types. How will i come to know about the start of new sentences? do i need to use regular expression for this?

Member Avatar for JadeSimon
0
139
Member Avatar for k.vijayakumar

in gridview i have labels in columns. in footer row i have textboxes(multiline) .now if i enter multiline text then after clicking add on label i am getting a big single line.what to do in source i am not getting wordwrap prop for label. thank you in advance

Member Avatar for JadeSimon
0
119
Member Avatar for vbnewbie5

I was just wondering for future information if you add a message to a combo box such as this: [code] ComboBox1.Items.Add(ComboBox1.Text) [/code] is it possible to save it in the combo box so that if the form is closed then re-loaded that message will still be stored? Thanks

Member Avatar for vbnewbie5
0
83
Member Avatar for scooby36

I have a main form with a combobox linked to a dataset when the user selects an account I have another form that opens the customers details on it. I can get it to display the first customer in the combobox but if select a different customer the form loads …

Member Avatar for scooby36
0
97
Member Avatar for cass84

Hi, I'm using Visual Basic Express 2008 (VB.NEt). I've created a project which connect to a Microsoft Access Database (OLEDB) & displays the records using textboxes in the windows app. I need to add a button which exports the database to a fixed length text file. Does anyone know the …

Member Avatar for sknake
0
99
Member Avatar for Sib

I have a code that is reading the contents of a xml tag and storing in a variable, e.g. batchVal = TAN,BMC,MIZ I want to replace the , by ',' so that final output looks like batchVal = TAN','BMC','MIZ Please note that the (') at the start and end has …

Member Avatar for GeekByChoiCe
0
34
Member Avatar for xVent

Hi guys , i am trying to create a form which will have a scroll pane so the user will be able to use it in order to view what it will be inside the form .. the problem is that i am designing some questions in the form and …

Member Avatar for Zandermander
0
131
Member Avatar for mishra.shubha

hi all I wld like to make some projects in vb.net so anybody can help me?

0
50
Member Avatar for lanzon

I need to connect to a foxpro database and fill a dataset with the tables within the foxpro database. Does any one have a solution

0
57
Member Avatar for shikamaru

Hi friends, I am planing to create and vb.NET application in which i have to call some existing vc++ codes... :rolleyes: After some initial reading i found i have to create some .dll and then call them.. but i cant able to do so with existing big code.. I need …

Member Avatar for GeekByChoiCe
0
55
Member Avatar for lolwtf

Hi all, I'm going to attempt to create middleware in C# and i need some advice. What I'm looking to do is have an open socket, then when our VB app connects to it, it makes another socket and keep the newly connected one open. It then has to get …

Member Avatar for kvprajapati
0
157
Member Avatar for sonia sardana

Suppose I have two exes WindowsApplication1.exe WindowsApplication2.exe..On the form load of WindowsApplication2.exe,I m calling WindowsApplication1.exe & sending the command line arguements..I copy the WindowsApplication1.exe into the debug folder of WindowsApplication2.exe. WindowsApplication2.exe [code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Process.Start(Application.StartupPath & "\" & "WindowsApplication1.exe", "one" …

Member Avatar for sknake
0
193
Member Avatar for realone

see my code pls Imports System.Data.SqlClient Inherits System.Windows.Forms.Form Dim myConnection As SqlConnection Dim myCommand As SqlCommand Dim dr As SqlDataReader ' the database we'll be connecting to myConnection= New SqlConnection("Data Source=MSALAMEEN;Initial Catalog=Biometric;Integrated Security=True") I am having declaration in the last line above(myConnection)

Member Avatar for Stevoni
0
94
Member Avatar for Arunabh Nag

[CODE] Dim SchemaTable As DataTable Try NewFaceOptions.comboselecttable.Items.Clear() SchemaTable = createConnection.GetOleDbSchemaTable(System.Data.OleDb.OleDbSchemaGuid.Tables, _ New Object() {Nothing, Nothing, Nothing, Nothing}) Dim int As Integer For int = 0 To SchemaTable.Rows.Count - 1 If SchemaTable.Rows(int)!TABLE_TYPE.ToString = "TABLE" Then 'Add items to list box NewFaceOptions.comboselecttable.Items.Add(SchemaTable.Rows(int)!TABLE_NAME.ToString()) End If Next Catch ex As Exception MessageBox.Show(ex.Message.ToString(), "Data Load …

Member Avatar for sknake
0
117
Member Avatar for Arunabh Nag

Hi,... i wish to create databases using runtime in the *.mdb format. The user will hhave MS-Access installed on his/her system but would not havt to manually create a new database using access before connecting through my program

0
60
Member Avatar for Arunabh Nag

Well, i really got stuck into this problem. In my project i wish the user to be able to select a database using an open file dialog box. I am unable to connect with this database. i used the code.. [CODE] createConnection.ConnectionString = _ "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Tostring(ofdselectdatabase.FileName)" [/CODE] and [CODE] createConnection.ConnectionString …

Member Avatar for sknake
0
223
Member Avatar for chirup

i want to overlay bitmap image(size 75 x 75 pixels) on a panel1 that already has a background image and i want to drag and drop the bitmap to another panel 2.The panel 2 has background bitmap image(600 x 600 pixels) and i want to overlay the small bitmap image …

Member Avatar for sknake
0
120
Member Avatar for tallapureddy

hi all i have a media player and listview added to my form. i got the paths added to my listview. that goes fine. the problem is that i want the paths in the listview to play one by one when i click the play button in the player. itried …

0
46
Member Avatar for sana.khatib20
Member Avatar for shikamaru
0
50
Member Avatar for Ana D.

Hi, I’m having a simple problem, but I don’t know what is wrong. I’m trying to remove all duplicate records from a DataTable using the following code: [CODE]Private Function removeDuplicate(ByVal dTable As DataTable) As DataTable Dim row1 As DataRow Dim row2 As DataRow Const wantedColumn As Int16 = 1 Dim …

Member Avatar for Stevoni
0
154
Member Avatar for chirup

I have put a background picture in a panel and now i want to drag and drop bitmap images on it.how do i accomplish that?

Member Avatar for Nada_ward
0
268
Member Avatar for sana.khatib20

i wanna try using the databinding technique to display all the records in the database in a listbox.plz give me the code n yes does it coz ny problem if i use the inbuilt databinding features during deployment. or installation.

0
51
Member Avatar for babbu

acees 2007 vb 2005 error: "Syntax error in insert into statement" [code] m_ColourCount = m_ColourCount + 1 Dim drNewRow As DataRow = m_ColourDataTable.NewRow() drNewRow("CID") = m_ColourCount drNewRow("ID") = m_CustomerCount drNewRow("Colour Name") = txtColourName.Text.Trim m_ColourDataTable.Rows.Add(drNewRow) m_ColourDataAdapter.Update(m_ColourDataTable) [/code]

Member Avatar for babbu
0
111
Member Avatar for Chris11246

Is there any way to tell if a shape collides with another shape im trying to make a simple game to test things. Im drawing circles with fillpie.

Member Avatar for atqamar
0
162
Member Avatar for Tamir09

Ive made an icon library for my program, so that I dont have my program depend on Windows for icons. I want to know how I can have my program use the icons from that dll file instead of from individual icons that I have in the program directory.

Member Avatar for Teme64
0
309
Member Avatar for jmmille

Hey guys. I have a program that does a SQL query and parses the info into a text file. The problem is it misses the first row every time it loops. I know the root cause here is my double use of the read function. I'm hoping to gain some …

Member Avatar for sknake
0
1K
Member Avatar for Keidi

I am trying to populate an MS Access table using VB.Net through a connection string everything else seems to work except when I try to add a new row. I get this error: OleDbException was unhandled Syntax error in INSERT INTO statement Here is the code [code=vbnet] [Dim MaxRows As …

Member Avatar for Keidi
0
176
Member Avatar for zazarina

:) hi...can anybody help me on how to create a login page in vb 2008 and oracle 9i?please help me..your help are so much appreciated...

0
42
Member Avatar for InsanitySorrow

hi, Just before I start I am new to VB.net, not much experience :) Ok so what I want to do is sort some files in a folder based on the order the files are listed in a text file. Is this possible? So an example, I have a text …

Member Avatar for sknake
0
89
Member Avatar for palak_paneer

Hi, I hav designed a custom control which already has scroll but not inherited from control or usercontrol. Now, i hav added some controls in it using csContol.control.add statement and i want to scroll these controls with scrollbar(vertical). Is it possible to do it? if yes then how can i …

0
44
Member Avatar for lil_Is

Hi all, I have a problem on sending the sms. The message can be sent but the receiver did not receive the full message that is being sent. For example, if i sent the message "helooo", the receiver only receives the letter "h". Here is the code that i am …

0
69
Member Avatar for stephen lowry

hi guys heres the problem i have a excell file which reads into a datagrid now everything works fine BUT yes theres alwas a but i want to password the excell file and have the password passed through to excell so far i have pulled out my hair teeth and …

Member Avatar for sknake
0
93
Member Avatar for babbu

hie i want the user to inset the email id in correct format. so i thought of using a masked text box. there are some predefined masks but none for email. plz help

Member Avatar for hkb261
0
137
Member Avatar for geetajlo

help plz....hi i wud like to know how to count each row of a datagrid and display the answer in a textbox. thks

Member Avatar for yehtun
0
87
Member Avatar for lolwtf

Can it be done in vb.net? I've looked online but haven't been able to find anything. If anyone can help me with this, I'd really appreciate it :)

Member Avatar for Stevoni
0
296
Member Avatar for xVent

Hi guys , i got a problem ,i have some radio buttons in my vb.net project and when i select one for the first question and go through the second question to select its answer the radio button changes to the latest one .. i want it to remain on …

Member Avatar for Stevoni
0
102

The End.