20,278 Topics
| |
Using VbScript:: I have a list of several different prices and I'm trying to figure out how to round these 5 decimals adding zeros if necessary. For example: I want 2.84 3.1 4.896 to look like 2.84000 3.10000 4.89600 Can somebody please help me? Thanks! | |
I have posted more than one once about this but no one has ever given me the answer that I really need. How do I filter my datareport in vb 2008? When I run my form containing my datareport everything is being displayed. Is it possible to filter my datareport? … | |
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 … | |
can someone help me how to connect database from ms access to vb.net?????? please help me.. :( | |
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? … | |
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 … | |
Hi, I was just wondering if there was anyway to create some sort of stopwatch, that doesnt include labels signifing, milli seconds etc? Thanks | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
[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 & "-" … | |
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 … | |
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 … | |
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 … | |
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 … | |
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]", … | |
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 … | |
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. | |
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 | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … |
The End.