20,278 Topics

Member Avatar for
Member Avatar for Dili1234

I want to send crystal report as email Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Imports System.Web.Mail Public Class Form1 Dim cryRpt As New ReportDocument Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Dim cryRpt As New ReportDocument End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As …

Member Avatar for Begginnerdev
0
1K
Member Avatar for paoi00

i had a problem with this codes.. this codes will retrieve image from database that will based on the employeenumber. Dim CN As New OleDbConnection(cnString) CN.Open() daImage = New OleDbDataAdapter() daImage.SelectCommand = New OleDbCommand("SELECT * FROM EmployeeProfile ", CN) dsImage = New DataSet("dsImage") Dim dataTable As DataTable = dsImage.Tables(0) If …

Member Avatar for Pgmer
0
1K
Member Avatar for vivekanandaan

Dim conn As New OleDbConnection("PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = e:\wms\wms\wms.mdb") conn.Open() Dim userDetailsAdapter As New OleDbDataAdapter("select * from daily_trans", conn) Dim userDetailsTable As New DataTable userDetailsAdapter.Fill(userDetailsTable) Dim returnRows() As System.Data.DataRow = Nothing returnRows = userDetailsTable.Select("cons = " & TextLine) If returnRows Is Nothing Then MsgBox("Can be saved") Else MsgBox("Primary Key") End If …

Member Avatar for Pgmer
0
86
Member Avatar for ohwhatacuteanaconda

I need help with the calculations done in a change concevter. The user enters the amount owed and the amount the purchaser paid and the change due, followed by the amount of dollars, quarters, nickles, dimes, and pennies are displayed. I have been working on this for a while and …

Member Avatar for Reverend Jim
0
107
Member Avatar for veeeeebeeeee

-We should only be able to enter ISBN's in this format, 0-1234567-8-9 or 0-1234567-8-X. -What I have now automatically inserts hyphens at a certain text length but doesn't let me delete the hyphens that have been added (besides the last one) -So how would I be to delete the hyphens? …

Member Avatar for TnTinMN
0
300
Member Avatar for firdousahmad

Dear Visitore of this Question I m New to VB.net i have declared a structure in vb.net and i want to give values to its members how could i can do that help me plz Structure Employee dim inta as integer dim strs as string end structure how to intialise …

Member Avatar for firdousahmad
0
237
Member Avatar for ohwhatacuteanaconda

I need assistance with using Keypress to only allow a certain range of numbers (1-26) to be typed into the textbox. When ever I do it, it only allows me to press the numbers "1 and 2". I'm very new to VB so the help is much obliged. I know …

Member Avatar for ohwhatacuteanaconda
0
391
Member Avatar for roemerito

Hello Everyone So i have this flowlayoutpanel that contains checkboxes, so what It does is if a select a checkbox the text of that checkbox will be passed to the ProblemTextBox ![checkboxes](/attachments/large/3/checkboxes.png "checkboxes") My main problem is that I am able to add new checkboxes to the ProblemTextBox, but when …

Member Avatar for roemerito
0
2K
Member Avatar for lkallas

Hi! I have a question I couldn't find answer to. I have a datepicker where user can pick a date. This is a warranty start date. Then there is a warranty duration combobox with options: 1 year, 2 years; 3 years. And then there is a textbox that should display …

Member Avatar for Reverend Jim
0
122
Member Avatar for jontennyeah

i have a combobox that contains the items 0001,0002,0003, etc. i have a listview with 3 columns namely ID, Name , Age. I want to do is when i select the ID "0001" in the combobox, it will display the name and the age in the textbox1 and textbox2 that …

Member Avatar for Reverend Jim
0
182
Member Avatar for Oblivi8or

Hi. I'm fairly new to VB.NET programming, and i'm currently developing an application for the sake of experience. What i know about Visual Basic programming might be considered dangerous, but none the less, i'm trying. I'm having difficulty getting past the idea of how to update a record in a …

Member Avatar for Novagrail
1
2K
Member Avatar for drj08

overload resolution failed because no accessible 'new' can be called with these arguments.. the error shows at the Dim *dataadapter* As New SqlDataAdapter(sqlCmd, connection) Imports System.Data.SqlClient Public Class Form1 Private Sub BtnGenResult_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnGenResult.Click Dim ConnectionString As String = "Data Source=(local)\SQLEXPRESS; AttachDbFilename=D:\PKBW Batching …

Member Avatar for dimasalang
0
2K
Member Avatar for ranga.seeman

Hi Guys, in vb we can get the week number counting from January. ex Jan 1st is Week 1 and Feb 1st is Week 5 etc by DatePart(DateInterval.WeekOfYear, Now) I need to count the week number from a given date. ex: if set the base to July 1st then July …

Member Avatar for ranga.seeman
0
933
Member Avatar for NYCRAVEN

I am new to vb and I have been working on getting my brain around this if condition problem I am having in a windows forms in VB. This part of the project is a form writing back to SQL. I am looking to valdate input in textboxAm before I …

Member Avatar for NYCRAVEN
0
4K
Member Avatar for pangit

Hi! I am new in vb.net and use it in our game programming. I don't know if this is the same in what they do. Here's the code. Thanks! :) Dim jeepEnemyGallery As New jeepGallery Me.y = CInt(Int((8 * Rnd(1)) + 1)) Select Case y Case 1 To 2 jeepEnemy …

Member Avatar for pangit
0
198
Member Avatar for tinu28

hey everybody, i am new to vb.net environment pls help me to sort out my problem. let me explain it. in my project i need to clone/copy the content of the two fields from one table to another table in same database.i have tried my level best but got the …

Member Avatar for tinu28
0
1K
Member Avatar for infantprgrmr

Hi, I am new into Visual Basic programming and I am using a VB2010 Express. I've been working on something and so far managed to achieve results by refering to different articles online. Now I am stuck at the serial communication part. Can anyone please help me describing how to …

0
43
Member Avatar for paoi00

i have 1 text box and combobox. all i want is to enter all data that is type or selected in combobox is showed in list view. can you help me to do that.? and all entered data in listview could be save in database. ^^

Member Avatar for Begginnerdev
0
157
Member Avatar for veeeeebeeeee

1) Could anybody tell me why I am getting a NullReferenceException when I hit exit? 2) Also, how would I display my txtPrice in currency form ($0.00) 3) How would I disable my navigation buttons at the same time once they reach the end of the datagrid? Option Strict On …

Member Avatar for Begginnerdev
0
215
Member Avatar for paoi00

i want to save my picture in database i have these codes but then there is an error . " command text was not set for the command object " how to solve this problem? thank you.! Try If imgName <> "" Then Dim fs As FileStream fs = New …

Member Avatar for salma sally
0
731
Member Avatar for Waldek

I have a problem that hopefully someone can shed light on. My OleDBdataadapters and OledbTableadapters have gone on strike!! In a simple vb.net 2005 pro project I have an Access 2003 .mdb with 2 tables each with 1 primary key and all other fields allowing zero length and not required. …

Member Avatar for yand
0
594
Member Avatar for mohana_61

hey, i want to perform difference of two values in datagridview and update it in access DB using oledb.. pls help me...

Member Avatar for Pgmer
0
52
Member Avatar for themaj

Can someone tell me how to add an additional item to a combobox that is bound to a datatable? I have populated the ComboBox with data from table sSQLCbo = "SELECT region.ID, region.name FROM [STORES] ORDER BY store.ID" Dim ds As New DataSet da = New OleDb.OleDbDataAdapter(sSQLCbo, con) da.Fill(dt) con.Close() …

Member Avatar for Pgmer
0
495
Member Avatar for drj08

Hye, can one please explain to me about the code below. I need to know what exactly should be inside Field1 and Field2? I'm new to vb.net. I know that tbltemp should be the name of our table but im confused about the Field1 and Field2. Dim strSQL as String …

Member Avatar for dimasalang
0
218
Member Avatar for cheekangteh

i face a problem in checking file condition. I wish to create a program that can check the condition file continuously while the program is running. For code below that I wrote: [CODE]Private Sub StartTracking_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim FILE_NAME As String = "\Program …

Member Avatar for lebo.bytes
0
1K
Member Avatar for Renga

I want to draw a 'stacked column chart' in VB.Net in which a series data is just stacked one above the other in the same column. Let me explain: Suppose I have three series of data each having 5 values like this: Series 1: (a1,b1,c1,d1,e1) Series 2: (a2,b2,c2,d2,e2) Series 3: …

Member Avatar for Renga
0
362
Member Avatar for jontennyeah

why when i save my vb project it save as SLN file? how it can be in a windowsapplication format? thank you

Member Avatar for Reverend Jim
0
105
Member Avatar for deepukng

Dear All, I need to incorporate sending mail option in a windows application where i have to use secured email client but not smtp client. Is there any other way to do this. Can anybody help me in doing this. Thanks in advance. Regards, Deepak

Member Avatar for simotaleb
0
63
Member Avatar for LD Company

Hello. I started making software for Counter Strike server of my friend. I want to grab some text from cs server page to labels in my form. Here is the page: http://www.gametracker.rs/index.php?page=server_info&ip=193.192.58.206:27065 I want to add info of the server to my form. Example: Game: ***Counter Strike 1.6*** Mod: ***PUB*** …

Member Avatar for gal7
0
139
Member Avatar for arabgogs

Hi there, I am trying to access a 3rd party Apache/Axis web service where I am required to submit an HTTP header with username and password attached. I have added the service/reference no problem using the VB.Net add service reference. this has given a local object for their service. I …

0
148

The End.