20,897 Topics

Member Avatar for
Member Avatar for ukshir

hi, I have a windows forms application with one exe and several dlls(Class libraries) in a single solution. The application uses common data that is used across all the dlls. I would like to load the data when the application is starting up and use the loaded data at various …

Member Avatar for GuruJin
0
175
Member Avatar for dhirananda

can someone help me how to connect database from ms access to vb.net?????? please help me.. :(

Member Avatar for deshmukh dinesh
0
812
Member Avatar for markdean.expres

Hi, I have posted a question regarding this but no one has ever had the will to help. Maybe it was too long so I'm cutting it down to this more simplified question; How do I create subtables in MS Access 2007, or is it possible in the first place? …

0
51
Member Avatar for tendaimare

i have this function and it is giving me this warning. and i have many similar functions so by the time i'll be done i'll have a thousand warnings how can i get rid of the warnings Function 'SelectRows_local' doesn't return a value on all code paths. A null reference …

Member Avatar for Unhnd_Exception
0
110
Member Avatar for BleepyE

Hi, I was just wondering if there was anyway to create some sort of stopwatch, that doesnt include labels signifing, milli seconds etc? Thanks

Member Avatar for BleepyE
0
115
Member Avatar for anqe_tb

Hi All, I've looked everywhere and cannot find a reason for this. I'm essentially try ing to loop through every row in a datagridview, and trying to remove the entire row, if a certain cell's value matches another value. Please find the code below. This is working, however is skipping …

Member Avatar for anqe_tb
0
785
Member Avatar for jason7361

Hi! everyone. I am doing a bar chart project. my project should looks like this: [img]http://i6.tinypic.com/86gjn2e.jpg[/img] the problem i have right now is that i don't know how to draw the rectangle in the right way. my rectangle start to draw at the left top, how do i fix my …

Member Avatar for eltincho2202
0
412
Member Avatar for emaduddeen

Hi Everyone, Can you help me out of a concurrency violation error? It happens on this statement: [CODE] objDataAdapterCustomerDetails.UpdateCommand = _ objCommandBuilderParentDetails.GetUpdateCommand [/CODE] It thinks I'm using a key value of 1 when the actual value is really 1218. I'm using a command builder and I'm also new to doing …

Member Avatar for emaduddeen
0
142
Member Avatar for satiss7pwr

i have one window application developed in VS 2005 which is running successfully on client side,My question is that now i want to convert this window application in WPF browser based application, so what should i keep in mind to convert this application to wpf applicaton, One more thing that …

Member Avatar for satiss7pwr
0
955
Member Avatar for suis

Hi every body, I have a big problem, well my problem is i have a collection of .PST file in my hard drive now i have to write a programme using vb.Net to READ .PST files ! basically i need to be able to read the content of the .PST …

Member Avatar for David699
0
394
Member Avatar for tendaimare

I am trying to carry out a synchronisation of two databases one on the server and the other on a local machine so that even when they are not connected on the networkthe local database can carry on accepting data but when the network is back on the local database …

Member Avatar for kvprajapati
0
206
Member Avatar for cirno

Hello again, codegurus. I need to ask your assistance in converting string to datetype, from 'dd/mm/yyyy' to 'yyyy-mm-dd'. The user could key in either the 'dd/mm/yyyy' format or 'yyyy-mm-dd' format in a textbox. the system would check for both format and convert both to the 'yyyy-mm-dd' date format, to be …

Member Avatar for cirno
0
5K
Member Avatar for rick.eavans

[CODE] Imports System.Data.SqlClient Imports System.Data.SqlClient.SqlDataReader Imports System.Data.SqlClient.SqlConnection Public Class Order Inherits System.Windows.Forms.Form Dim myConnection As New SqlConnection Dim myCommand As New SqlCommand Dim ds As New DataSet Dim cmdtext As Integer Dim action As String Dim view As DataView Dim dr As SqlDataReader Sub fill() Dim adp As New SqlDataAdapter …

Member Avatar for kvprajapati
0
110
Member Avatar for saiju_menon

I am developing an application which downloads pdf files, then water marks and then print. Downloading part is completed using internet controls and water marking also done using itextsharp dll. With the following code I am able to set the printer also. [CODE]Public Function SetPrinter(ByVal prtName As String) As Boolean …

Member Avatar for saiju_menon
0
554
Member Avatar for ryan311

[CODE] ryan = "Select A.*, B.* from training as A, participant as B where B.partname = '" & TextBox1.Text & "' and A.traincode = 'B.traincode'" rs1.CursorLocation = ADODB.CursorLocationEnum.adUseClient rs1.Open(ryan, cn, ADODB.CursorTypeEnum.adOpenDynamic, ADODB.LockTypeEnum.adLockOptimistic) Form11.ListView1.Items.Clear() Dim AddItem As ListViewItem Do While Not rs1.EOF AddItem = New ListViewItem(rs1.Fields!traincode.Value.ToString) AddItem.SubItems.Add(rs1.B.Fields!title.Value) AddItem.SubItems.Add(rs1.Fields!venue.Value) AddItem.SubItems.Add(rs1.Fields!sdate.Value & "-" …

Member Avatar for crapulency
0
157
Member Avatar for sidyusuf

Hi everyone.I m new to vb.net and i m presently working on a project "Telecom Billing System".I have two different forms for "Adding New Connections" and "View Connections", Firsty i m unable to add new connections.... Moreover on "view connection" form,i can navigate the records but i want that when …

0
43
Member Avatar for ruchi18

hi i am working in .net project with c# coding i had design all of my forms in unsequential manner now at the time of debugging it shows some other which is the first form as in vb design but according to my procedure its not so how to start …

Member Avatar for Kinney
0
74
Member Avatar for IAFYM

Hi, I'm writing my own DLLs in vb.net. I'm making a DLL which contains layouts for printed forms - so these layouts could be updated easily. I'm using a DLL, because well... I dont know how else to do it really. But I want values from a form to be …

0
40
Member Avatar for tendaimare

can someone help me with why this code is not inserting into the database [CODE] Dim MyConnection As SqlConnection Dim sqlstring As String = "INSERT INTO Workers (FName, LName, FullName) VALUES ('" & Me.txtName.Text & "', '" & Me.txtSurname.Text & "', '" & Me.txtFullName.Text & "')" 'Dim data_base As String …

Member Avatar for tendaimare
0
123
Member Avatar for bklynman01

I am working on exporting some data to a DataGrid (with no luck). So far I have: [CODE] Private Sub SaveDoc() Dim MyConn As System.Data.OleDb.OleDbConnection Dim DtSet As System.Data.DataSet Dim MyCommand As System.Data.OleDb.OleDbDataAdapter Try MyConn = New System.Data.OleDb.OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0; Data Source='c:\book2.xls'; Extended Properties=Excel 8.0;") MyCommand = New System.Data.OleDb.OleDbDataAdapter("select * from [Sheet]", …

Member Avatar for bklynman01
0
142
Member Avatar for markdean.expres

Hi everyone! I have been a member of this community and I have found it really to be very helpful. Without Daniweb, I could have not finished my system(thesis). But I have another concern. We were given another project, and should we be fail to finish this before the school …

0
61
Member Avatar for greatmind

Could anyone please help me out with writting a program that demotrates Binary Search Tree operation(insert, delete, and search)in VB.N NET? Your help is going to save a soul, please. Your help is a sinequanon the survival of a soul. Thank you all for your anticipated coopertaion. Regards.

Member Avatar for kvprajapati
0
119
Member Avatar for navachaitanya

hi everybody i need some code for auto inncrement in msaccess database file and in form textbox and if we add any data the number should increment automatically please help meee thanks in advance

Member Avatar for codeorder
0
112
Member Avatar for limepebblez

Hey guys I'm really stuck in this very urgently needed solution, been working for 3 weeks plus and still can't come up with a working solution! Help needed asap. [U]ISSUE:[/U] The problem is simple. I have 2 PCs. One is 'master', second is 'slave'. On 'master', I have my .NET …

Member Avatar for limepebblez
0
178
Member Avatar for mhalfpap

Hello, I’ve just about scrambled my brain on this, searching and trying things, so I’m hoping someone sees something that I’m missing or can explain it to me. I’m new to .NET, used to do a lot of programming in VB but that was many years ago. I mainly lurk, …

Member Avatar for mhalfpap
0
438
Member Avatar for dre-logics

I use Visual Basic 2008 I had this code in Visual Basic 6.0 that the replace the ASCII value of [COLOR="Red"]decimal point [/COLOR]for the ASCII value for a [COLOR="red"]comma[/COLOR][CODE] Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii = 46 Then KeyAscii =44 End Sub [/CODE] But this does not work Visual …

Member Avatar for codeorder
0
201
Member Avatar for emaduddeen

Hi Everyone, I'm using MS Access as the database and using a command builder. .GetInsertCommand get the correct insert command text but .GetUpdateCommand gets the wrong command text. It even returns a primary key value of 1 which is not the actual value it should be. In order to get …

0
101
Member Avatar for waleed.makarem

Dear All , I have a binary file , the defincition of its content is as below L Here is one of my 'log items' from the data.bin, all data is stored in little endian (ie. least significant byte first) 11 63 39 46 --- Time, UTC in seconds since …

0
90
Member Avatar for Vikijo

[CODE]If strCardNum.Length <> 5 Then MessageBox.Show("Please enter a 5 numbers.", _ "Georgetown Credit", _ MessageBoxButtons.OK, MessageBoxIcon.Information) ElseIf Not (Integer.TryParse(strCardNum.Substring(0, 1), intNum1) _ OrElse Integer.TryParse(strCardNum.Substring(1, 1), intNum2) _ OrElse Integer.TryParse(strCardNum.Substring(2, 1), intNum3) _ OrElse Integer.TryParse(strCardNum.Substring(3, 1), intNum4) _ OrElse Integer.TryParse(strCardNum.Substring(4, 1), intNum5)) Then MessageBox.Show("The card number entered is not number") Else …

Member Avatar for AndreRet
0
1K
Member Avatar for a1a4a

I am on a visual basic mysql project Here is the code : [CODE]Imports MySql.Data.MySqlClient Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim conn As MySqlConnection conn = New MySqlConnection conn.ConnectionString = "server=db4free.net;Port=3306;user id=****; password=****; database=ume_corporation" conn.Open() Dim myadapter As New MySqlDataAdapter …

Member Avatar for AndreRet
0
107
Member Avatar for Eekhoorn

I have this rather stupid litle excel issue which somehow just doesn't go away by itself; I'm creating a excel chart from three rows of information data. Each row has a header, so far so good. The first row exixt of calender data and I planned it to use them …

Member Avatar for Eekhoorn
0
103
Member Avatar for waleed.makarem

Dear All , The question is quite simple for all of you . I have a binary file . A description for this file says that : "first 2 bytes in the header is the number of records" I have opened this file and loaded it into bytes by this …

Member Avatar for waleed.makarem
0
234
Member Avatar for dre-logics

I use Visual Basic 2008 I use Datagridview with column "verkoopprijs" I want comma instead of decimalpoint My problem is this 25[COLOR="red"][B].[/B][/COLOR]25 to fill column as decimal point in column "verkoopprijs" the system automatically adjusted to [COLOR="Red"]€ 2,525.00[/COLOR]. This is not okay 25[COLOR="Green"][B],[/B][/COLOR]25 as fill in column with comma in …

Member Avatar for GuruJin
0
147
Member Avatar for Leodumbi

Hy guys as mentioned before on my threads I'm a self teaching person learning VB. I' sucessfully created a project fully functional using access database. I've read about SQL connection on VB .net. But I'd apprecite a help to have some one guiding me step by step on how to …

Member Avatar for kvprajapati
0
282
Member Avatar for DCYPHER

Hi, My code is pretty much complete. I just need help in 2 things 1) When the program runs the 0 appears, which is fine, but when I type/write a number the Zero would continue next to the number i type/write 2) When i make an operation, such as add/divide/multiplication …

Member Avatar for kvprajapati
0
193
Member Avatar for Xcelled194

I have two forms (Form1 and Form2) which appear side by side. I want to "tie" them together, IE, you drag form1, and form2 follows it. I was thinking of using the Me.LocationChanged Event, but before I do that, I'm wondering if I'm overlooking a native way to get the …

Member Avatar for Unhnd_Exception
0
74
Member Avatar for Leodumbi

Hi Guys please I need your help. I'm creating this small application that will control some equipments based on its bar code and the owner picture. everything is working fine, except the picture. is there a way to save image to access database using ADO Connections and\or recordsets? I've head …

Member Avatar for Leodumbi
0
167
Member Avatar for cjoyce

hi guys... i can connect now to the mysql database and is able to display the database names (because i have 3 databases) in a combo box.. i was stuck up in displaying tables from mysql in a listview.. please help me solve this.. here are my codes: [code] Public …

0
399
Member Avatar for el3ashe2

hello my first thread to as for something here but i like daniweb a lot i'm trying to save data from listview to sql server [CODE] Dim iCount As Integer Dim iLoop As Integer Dim query3 As New SqlCommand Dim lvitem query3.Connection = New SqlConnection("Password=sasa;Persist Security Info=True;User ID=sa;Initial Catalog=Tel;Data Source=HA-PC") …

Member Avatar for el3ashe2
0
2K
Member Avatar for tendaimare

i have this insert code that is refusing to work it is giving me error 26: something to do with the network or connection. i am using sql express 2005 and vb.net 2008 any help will be greatly appreciated [CODE]] Dim MyConnection As SqlConnection Dim sqlstring As String = "INSERT …

Member Avatar for kvprajapati
0
122
Member Avatar for Eekhoorn

I have this litle problem: I have inserted a lot of data into a excel form. After that I wish to do a bit of sorting and all that stuf before I actually create a chart. So I used the subtotal routine. Somehow this routine ignores my first row of …

Member Avatar for el3ashe2
0
133
Member Avatar for tim8w

I have a RichTextBox where part of the RichTextBox is Bold and the rest is not. If I do a SelectAll, the SelectionFont member doesn't get set. Anyone know why? In WordPad, with the identical Font and bolding set on part of the text, the SelectionFont appears to get set …

Member Avatar for tim8w
0
100
Member Avatar for Joe Hart

In the following code, a selection in excel is selected. All of this information is then transfered to The DestFile. In this case the DestFile is Firm_ATC0.asc. I would like the program to put all the information from the A colum in the Firm_ATC0.asc file, and all the information in …

Member Avatar for Joe Hart
0
112
Member Avatar for jeffcogswell

Last week, Microsoft released a set of tools for developing software for the new Windows Phone 7 using Visual Basic. In order to use the tools, you have to have Visual Studio 2010 Professional or better (right now the Express versions don't work, although I've heard that will change). But …

Member Avatar for jeffcogswell
1
339
Member Avatar for waleed.makarem

Dear All , I have a device with upon serial communication , it send the data as HEX values , (eg, C020042ABD0F91A103E400F929EBC) . I use the following code to get data from the serial port. [code] Dim fStream As New FileStream(sFileName, FileMode.CreateNew) ' creates new file Dim bw As New …

Member Avatar for Unhnd_Exception
0
1K
Member Avatar for perryg30313

Hello all, I have an app that I've developed that has a vb.net front end and a SQL Server 2000 database backend. I currently have it running fine on my machine and it also installs fine on all the users that are inside the domain that the app was written …

Member Avatar for perryg30313
0
281
Member Avatar for rick.eavans

[code] Imports System.Data.SqlClient Imports System.Data.SqlClient.SqlDataReader Imports System.Data.SqlClient.SqlConnection Private Sub Button2_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Inherits System.Windows.Forms.Form Dim myConnection As New SqlConnection Dim myCommand As New SqlCommand Dim ds As New DataSet Dim cmdtext As Integer Dim action As String Dim view As DataView Dim dr …

Member Avatar for rick.eavans
0
1K
Member Avatar for keeda

Hi All, I want to transfer a html file generated by my VB application to my account in Unix Server, please let me know if this is possible and if yes, how can I achieve this? Thanks in advance!

Member Avatar for ANXIOUS117
0
135
Member Avatar for Dr.Cooper

So I have problem with a code I am writing, when I write a string to a text document, I get the following error; "Conversion from string "1, 1, 2, 3, 5, 8, 13, 21, 34, 55" to type 'Integer' is not valid." Please help; code below. Thanks in advance! …

Member Avatar for ANXIOUS117
0
183
Member Avatar for iWarrior

I'm having some problems with the UPDATE statement in VB.NET. Not the UPDATE statement directly, but when it comes to incrementing a field's value by 1. Below is the code that I'm using for writing to the database, as well as the two UPDATE SQL statements that I've tried. Any …

Member Avatar for GeekByChoiCe
0
237

The End.