20,899 Topics

Member Avatar for
Member Avatar for Sneaky Pete

Hello, I've got a question about some mathematics in VB.net. I really hope someone can help me out! On a form i've got two textboxes. Users can give input (numbers) and the numbers are like this: 0.000 or 250.000 or 36547.256, etc. The numbers are converted to a string for …

Member Avatar for Sneaky Pete
0
238
Member Avatar for G_Waddell

Hi, I've written a routine for a customer to import sales orders into their Sage system. Everything was going well but the client has come back with a particular excel sheet that is not importing. He is getting a message to tell him the sheet is not in a valid …

Member Avatar for G_Waddell
0
534
Member Avatar for K.os

Hello! first of all i'm a **newbie **and don't know much about visual basics. I'm using **Visual Basics 2008** and i'm having a problem. It is that i don't know how to generate a search through my 'cmdsearch' i browse on internet but got nothing that approach to my expectations. …

Member Avatar for jemz
0
111
Member Avatar for agnair

Hi, I am new to VB, and still learning. Please help me. I am developing a simple VB application, in Visual Studio 2010, where in we have to enter values in the fields given. I need to add a REFRESH button, which should act like a clr screen command. When …

Member Avatar for Netcode
0
278
Member Avatar for ariez88

Hello, I have published version 1.3 of an smart client application on my intranet. The deployment goes fine. However, when I try to install the application on my system from intranet I encounter following problems. A. "The publisher can not be verified. Are you sure you want to install this …

Member Avatar for danielgr
0
186
Member Avatar for danielgr

I'm trying to figure out how to use a class. I have created a class: Public Class bicluster Public Property Vec As String Public Property left As String Public Property right As String Public Property distance As Double Public Property id As String Public Sub New(ByVal Vec As String, Optional …

Member Avatar for danielgr
0
136
Member Avatar for AndyPants

Hello, I would like to know if it's possible to get the webpage that is being loaded or currently being shown, edit it, then show the edited webpage.

Member Avatar for M.Waqas Aslam
0
134
Member Avatar for AquaNut

Hi All, Wondering if anyone can point me in the right direction.. I have looked at various snippets but nothing seems to be what I need. I have a tab delimited text file in the form of: Title: Ms Forename: Fred Middle Name Initials: Surname: Bloggs Employment Type: Permanent Employee …

Member Avatar for razree
0
2K
Member Avatar for dakaboguy

Im having trouble with nested for loops. I have have a SQL database with a few tables i need data pulled from. So in my first for loop i search for all materials in a product, i insert the data into a datatable then i do the for each dr …

Member Avatar for Reverend Jim
0
179
Member Avatar for Mobyguy77

Hello! Being my first post on Daniweb 'n' all, I'd like to apologies if this is in the incorrect section. This isn't why I'm here, though. I am a moderator on a fairly huge forum and thus we get roughly over 1500 reports for rule-breaking posts per day across all …

Member Avatar for G_Waddell
0
123
Member Avatar for Formby

I've had this problem many, many times. And it's always turned out to be a small typo or "" around an integer, but I just cannot find what's wrong with my SQL Statement this time! [CODE]SELECT Card_ID FROM Payment WHERE Customer_ID = 12 AND Card_Number = 1231231231231231[/CODE] The table and …

Member Avatar for kvprajapati
0
1K
Member Avatar for HibaPro

Private Sub CalculateDeductionPer() Dim FixSumPer As Double Dim i As Integer If DataGridView1.Rows(i).Cells(9).Value Is Nothing = True Then For i = 0 To Me.DataGridView1.RowCount - 1 FixSumPer += DataGridView1.Rows(i).Cells(9).Value Next i = i + 1 End If Deduction.Text = FixSumPer End Sub this is my code to sum some cols …

Member Avatar for Gé48
0
66
Member Avatar for Oneryavuz

i need to filter my table between 2 dates but it makes wrong filtering really i dont understand why. but it might be my wrong codes here is my codes... what should i do? Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim da As New …

Member Avatar for Oneryavuz
0
162
Member Avatar for kelvin_8188

how to find the radius using the center point only... the only given point is the center point... how to get or calculate for the radius...

Member Avatar for Reverend Jim
0
201
Member Avatar for Ash123ay

Hi, I generating a huge consolidated text file using VB from numerous smaller text files. Apart from consolidation, I want to save some time by directly generating this file without spaces and '"' symbols. Any pointers on this would help. Thanks in advance. Ash123ay

Member Avatar for Reverend Jim
0
121
Member Avatar for Reverend Jim

I need to get the value of one field out of a web page. I've never done web programming and I've never used the VB Web controls. I have no desire to learn all of the details because I doubt I'll ever have to do this again. I have a …

Member Avatar for DeanMSands3
0
432
Member Avatar for AnkitGuru

Hi Guys!! I am creating an addin in Excel using VB.Net. I want to access the current worksheet using a ribbon designer. I have tried all sorts but to no avail. Also all the resources that I have checked are providing solutions by adding or opening new workbook. What I …

Member Avatar for G_Waddell
0
1K
Member Avatar for rutuja8

how to link vb.net with already created website???? i want to fetch the data from sql server and put them in the textboxes which are already created in the website

Member Avatar for G_Waddell
0
171
Member Avatar for opman234

Please I need help, I am currently working with vb.net and access database. But now I want to use mysql, because I want the database to be online, so that a remote user can still connect to the company software using internet since the user has the software on his …

Member Avatar for G_Waddell
0
167
Member Avatar for amass

help friends, i am very new to vb.net and this is my first application. i create the setup project but after installing on another machine, the program cannot read from the sql2005 dbase. What files do i need to add during the compilation? i am sure that is where the …

Member Avatar for amass
0
98
Member Avatar for george8

Hi everyone .... I have problem with printing the invoice as follows and I hope you can help .... I have a table selling wholesale (material constant), such as ::: PC - Laptops - Router .... Etc. When the arrival of a customer the invoice will be as : **Laptop …

Member Avatar for george8
0
128
Member Avatar for tendaimare

I am using this code to compare two datatables(myTable and Dtable) and when I find two rows with common data I delete the rows in my other datatable(dtable) so that dtable comes up with data that is not already in myTable. However the code is not doing that at all. …

Member Avatar for Pgmer
0
1K
Member Avatar for marky101

is there a function that allows for auto sizing of report column widths ? How to auto size a textbox in report viewer based on the length of data from a database? Any help is much appreciated. Tnx.

Member Avatar for marky101
0
154
Member Avatar for HibaPro

i have data grid view , what i need is when the user click on some cell another datagrid view how i can do this , and after that i need what the user select from the second , the data reflected to the first one , thanks before

Member Avatar for |-|x
0
86
Member Avatar for sujimon

Hi I want to install the following on my new laptop:- 1. VB6 2. Crystal Reports 8.5 3. Crystal Reports 9 4. SQL Server 2005 5. VS 2005 6. SQL Server 2008/SQL Server 2008 R2 7. VS 2008 8. Oracle Server 9. Microsoft Office 2007 What sequence should i follow …

Member Avatar for |-|x
0
130
Member Avatar for Ctechnology24

Help, I need a free hosting site! I have a website made of PHP that I need to upload to a web server and a VB.net application on my PC, I saw tutorials on how to connect my VB.net application to my database located in the web server with my …

Member Avatar for chrishea
0
196
Member Avatar for dre-logics

>I use MySQL database Two tables: Table 1 articles Field: article nb article description supplier cell 100 nails company 1 no 200 screws company 2 yes >Table 1 stock Field: article nb. barcode nb. barcodedescription instock 100 10011 nails 2 inch 5000 100 10012 nails 5 inch 0 200 20012 …

Member Avatar for dre-logics
0
278
Member Avatar for dwinn

Hi everyone, I have developed a site using VB.Net and Visual Studio 2010, that allows users to upload and download multiple files to an FTP server. I have recently been given a request to change this so that SFTP is used instead of FTP. I have downloaded WinSCP but am …

0
604
Member Avatar for Tjandra

Hi guys, I have setup a form (frmParent) that contains 1 TableLayoutPanel with 1 col & 2 rows. In the first row i put a DataGridView and on second row i put a Button. I set all controls' modifiers to Public. Then add a form (frmChild) that inherit from frmMaster. …

Member Avatar for s_prata
0
113
Member Avatar for musicazx

I'm new to Visual Basic. I have a little program look like this. https://www.dropbox.com/s/xr44pxp3n79atkk/wall.png <Please have a look It will calculate the total area by adding up all wall area. Public Sub btnWallAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnWallAdd.Click FlowLayoutPanel1.Controls.Clear() FlowLayoutPanel1.AutoScroll = True For i As Integer …

Member Avatar for Mike Askew
0
154
Member Avatar for babyhadem

i'm having problem in coding for my project i.e Hospital Management System ... plz refer me few sites which provide codes of vb.net i'v done only the code for the login form ...

Member Avatar for Mike Askew
0
114
Member Avatar for benscomputers

The following is the code from an assignment I am struggling with. I am supposed to change the GetGallons function procedure to a sub procedure in a class that i created in another project.. Here is the code from the original class: Public Class RectangularPool Private _decLength As Decimal Private …

Member Avatar for benscomputers
0
155
Member Avatar for opman234

Please, I need help. I want to capture finger print and save it ĩ̷̊ñ database. I have not done it before. Please I need help on how to go about it. I am working with vb.net and access database. •̸ŤђαϞĸs so much ĩ̷̊ñ anticipation. Opman

0
70
Member Avatar for Khav

Greetings, i am doing a school project which basically deals with forms and an access database.I have various textboxes in a form.I want some textboxes to be filled automatically with a value when another textbox has been filled. For e.g , if the user fills in the 'Cost' textbox , …

Member Avatar for Khav
0
870
Member Avatar for HibaPro
Member Avatar for M.Waqas Aslam
0
897
Member Avatar for ayat abukhadra

hi, does textchange control for the textbox executes for every change in every character or for the full text?

Member Avatar for ayat abukhadra
0
96
Member Avatar for RobRTaylor

I have a question, been racking my brain trying to figure out why this is happening. Let me start off with a chunk of code. This takes values from a textbox and writes them to an Excel sheet: Public Sub printFrmDUIReportPreview() '// =============================== PRINT PREVIEW DUI REPORT FORM ================================== '// …

Member Avatar for RobRTaylor
0
175
Member Avatar for bembem20

can someone tell me how to get the values of the dynamic texbox created..on my first code, i munaully put textboxes..but resulted to non efficient code according to my prof..so i found a code that dynamically create texboxes, but my problem now is how to get the values of them. …

Member Avatar for Reverend Jim
1
563
Member Avatar for khair.ullah

hi friends, i have a problem with using vb.net application, i want to restore my database from my vb.net application so that user clicks the restore button an OpenDialog open which Open the .bak and then restore the database to a state befor backup taken. i try the follwing code …

Member Avatar for M.Waqas Aslam
0
184
Member Avatar for tendaimare

I would like to though my datatable and seach in one particular column if there are any zeros.Currently I've been using the code below but I am not happy with the results . Any suggestions, ideas If FormatNumber(myTable.Compute("0.00", "ProductCode = '" & txtProductCode.Text & "' "), 2) IsNot Nothing Then …

Member Avatar for Gé48
0
124
Member Avatar for Oneryavuz

Hello, I have 2 datatable, first table for customers personal information and second table for customers areas of interest. this two tables have same ID for same customers. So, when i want to check my some group of customers(like who intrests on sports stuffs) i need filter my first table …

Member Avatar for Oneryavuz
0
145
Member Avatar for darthswift00

How does one validate username and password from sql database? I have used parameters in doing validating my database, but have noticed that username and passwords are being accepted when i type it straight out(EG. username= e001 , password=dave@road) , even though they have characters in capital letters(such as username=E001 …

Member Avatar for darthswift00
0
863
Member Avatar for iqra.cs786
Member Avatar for khair.ullah

hi every one! I am creating an application in vb.net with sql server 2005 at backend. I have a table PURCHASE Order with 3 colunn i.e PO_Id ,Cus_id and PO_QTY . In front end i have a SAVE button, two TexTbox 'POrder no' , 'Order Qty' and combobox 'cutomer NAME' …

Member Avatar for M.Waqas Aslam
0
137
Member Avatar for melodies

Hello guys, I'm new to this forum and I'm a biginner in VBnet language. I'm using VB express 2008. I'm trying to create a PC version of the famous game "Ticket To Ride" using VBnet language. I uploaded the map as a background image. I thought about creating pictureboxes,rotating them …

Member Avatar for M.Waqas Aslam
0
152
Member Avatar for pipelian

i have a datagrid which contains a CheckBox colum. now i want to pass values (just 1 column) from datagrid to listview based on which cell is checked. ![Untitled31](/attachments/large/3/Untitled31.jpg "Untitled31") Picture shows that, once the cell is un-checked value disapears on listview.column 1. Thanks daniweb in advance

Member Avatar for M.Waqas Aslam
0
550
Member Avatar for iqra.cs786

i made the form of search of my project as in screen shot in vb.net the problem is that it shows the record many time of one person i put the sql query this qury = "SELECT p.per_id AS 'Person ID', " & _ "p.per_name AS 'Name', " & _ …

Member Avatar for M.Waqas Aslam
0
170
Member Avatar for Reverend Jim

Sometimes sorting data can be easy and sometimes it can be difficult. If you have data in a listview you can spend a great deal of time writing ICompare functions. This is appropriate for non-trivial applications but can be a little intimidating for inexperienced programmers. Also, it is a problem …

Member Avatar for Reverend Jim
1
893
Member Avatar for opman234

> please help me check this sql statement. it is giving me this error "No value given for one or more required parameters. " cn.Open() Dim cmd As New OleDb.OleDbCommand cmd.Connection = cn cmd.CommandType = CommandType.Text cmd.CommandText = "Update HallTransaction Set status=? where ID=?" cmd.Parameters.Add("@statu", OleDb.OleDbType.VarChar).Value = check cmd.Parameters.Add("@Custid", OleDb.OleDbType.VarChar).Value …

Member Avatar for M.Waqas Aslam
0
351
Member Avatar for moone009

Using VB.NET 2010 All helps is greatly appreciated! Currently I am parsing through 1,000s of text files each day and inserting them into SQL. I am unsure how to break up the actual pipe delimited data and insert it properly into my database columns so I am doing that through …

Member Avatar for Reverend Jim
0
349

The End.