2,383 Posted Topics

Member Avatar for atplerry
Member Avatar for Sawamura

you can use err object. this object was built in vb.net. i will give a simple code for u try this following code : [CODE] sub main() 10: on error goto errHandling 20: dim a as integer = 2 30: dim b as integer = 7 40: dim c as …

Member Avatar for Sawamura
0
130
Member Avatar for lawlao

see on your start menu program and find folder microsoft visual studio 6.0 tools on microsoft visual studio 6.0 menu. in this folder, running package & deployment wizard tool. you can make setup for your project with this tool. you just following every instruction and add file as u want.

Member Avatar for hkdani
0
91
Member Avatar for ahmed_mido

[CODE] If MsgBox("Your Confirm Message ?", MsgBoxStyle.OKCancel, "Exit confirm") = MsgBoxResult.OK Then 'add your code to do something if yes button pressed Else ' Do nothing when cancel was pressed End If [/CODE] OK.

Member Avatar for poonams
0
95
Member Avatar for tau
Member Avatar for Jx_Man
0
133
Member Avatar for nazrulcckl

first you have make a module to connected vb.net with sqlserver. you can add this code in module : Imports System.Data Imports System.Data.SqlClient Module ModuleName Public conn As SqlConnection Public Function GetConnect() conn = New SqlConnection("server = ServerName;database = DatabaseName;Trusted_Connection = yes") Return conn End Function End Module you can …

Member Avatar for Jx_Man
0
85
Member Avatar for pogiding

"We only give homework help to those who show effort" if you never try you'll never know how to write program, but i'll give a clue. 1st make a function or procedure to convert number to word. ex : private function ConvetNumToWord(ByVal num As integer) dim Words as string ' …

Member Avatar for debasisdas
0
74
Member Avatar for nazrulcckl

if you use integer as id datatype (ex:1.2.3...n) you can select max from id and add it by 1.

Member Avatar for debasisdas
0
385
Member Avatar for sreenathvp

check this link [URL="http://www.asciitable.com/"]http://www.asciitable.com/[/URL] but i give the ascii table too. hope this usefull

Member Avatar for Jx_Man
0
132
Member Avatar for pritia

are u using sqlserver? i had error like this before, and actualy you can't to update or add string to double. if your empid is double, you cannot insert with string. check the fields type again.. Ok. see u

Member Avatar for Jx_Man
0
88
Member Avatar for AdmiralGeek
Member Avatar for sravani

try this if u use access as your database. 1st make module to connect vb with database [CODE]Global Conn As ADODB.Connection Global rs As ADODB.Recordset Sub Access_Connector() Set Conn = New ADODB.Connection Conn.Provider = "microsoft.jet.oledb.4.0" Conn.CursorLocation = adUseClient Conn.Open App.Path & "\databaseName.mdb" End Sub [/CODE] then u can call access_connector …

Member Avatar for Jx_Man
0
100
Member Avatar for locsin

you can change date format : [CODE]Ex : Format(Date, "dddd MMMM dd,yyyy")[/CODE] every days name and month name will be long type or you can make procedure to convert : [CODE] Private Sub Month_Convertion() Dim bulan As String bulan = Month(Date) Select Case bulan Case 1 bulan = "Januari" Case …

Member Avatar for Jx_Man
0
118
Member Avatar for Bele

program start is load form event.what integer?showing effort please.its more help. OK.see u

Member Avatar for Jx_Man
0
36
Member Avatar for AdmiralGeek

i think nothing mistake was happened. the message error will shown if file was moved, deleted or there was none file. try to kill other file

Member Avatar for Jx_Man
0
77
Member Avatar for TOROOOLOLOOLO

open your vb 6 look into toolbar Add-Ins --> Visual data manager after that VSM will be opened. to make new db with vsm : File -> New -> MsAccess - > Version 7.0 mdb - save db you now can make new table and insert field.

Member Avatar for Jx_Man
0
59
Member Avatar for rajeshnrh74

actually Shouvik and venkatramasamy was given the solution but if you want to try other way you can use enter keys. [CODE]Private Sub Option1_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then Option2.SetFocus End If End Sub[/CODE] may help.

Member Avatar for Jx_Man
0
114
Member Avatar for tbaker897

you can change the form properties visible = false -> to hide form show in taskbar = false -> to hide from taskbar if you want to hide application from task manager add this in your code : app.taskvisible = true actually your application not shown in application list but …

Member Avatar for Jx_Man
0
97
Member Avatar for Annex

i think peter was given the solution. opt = Int(Me.TXT_r.Text) - 110 character can't be converted into numeric (int in your project) try to make exception (try-catch) or you can stinted input in text box, if user input character or letter you can display error message.

Member Avatar for Annex
0
116
Member Avatar for Jade_me

you can use a function in vb.net to do that (datediff()) [CODE] dim result as long result = DateDiff(DateInterval.Day, dtpicker1.Value, dtpicker2.value) [/CODE] if you want to get details, you can count month and days by divide the result with days in selected month in dtpicker

Member Avatar for Jade_me
0
94
Member Avatar for sisey

you mean that when user finished login, user access a form in accordance with the rules?

Member Avatar for Jx_Man
0
85
Member Avatar for saravanarajan

you can use dataAdapter n generate dataset. or declare variable as new data set.

Member Avatar for saravanarajan
0
105
Member Avatar for rahuldravid

how about to use opacity. u can change the value from 100% to 0%.its my opinion.

Member Avatar for Jx_Man
0
41
Member Avatar for naeem@hu.edu.pk

use cristalreport viewer to see result. To connect you can use sqldata adapter. in sqldata adapter configuration u will make connection with your database n choose which database to load n specify the table. after configuration make new cristal report (.rpt) with configuration.

Member Avatar for Jx_Man
0
73
Member Avatar for haringmunti

this is you the part example code : Me.BindingContext(DataSet21, "table1").Position = Me.BindingContext(DataSet21,_ "table1"). Count - 1 you make mistake on your code. delete a underscore sign (_) in (DataSet21,_ "table1"). do same changes to similar code..

Member Avatar for haringmunti
0
103
Member Avatar for LudwigFF

how about to use 2 datagrid. first datagrid to list client and second datagrid to list client_id as the client selected on first datagrid. of course you have to use events for each datagrid.

Member Avatar for Jx_Man
0
77
Member Avatar for Run.[it]
Member Avatar for QuickBooksDev

by check : if Bydate radio is checked you can add code to turn on the next radio button. so when you click Go button once byDate radio will be turn on then you click Go button again. the program will check if bydate is turned on then checked the …

Member Avatar for QuickBooksDev
0
115
Member Avatar for unabomberto

if u used data grid for viewer i have the code : - first u have a connection module (in this code i used GetConnect to connect to sqlserver) - in this code dgWhat is datagrid name. Dim conn As SqlConnection Dim cmdWhat As New SqlCommand Dim daWhat As New …

Member Avatar for Jx_Man
0
95
Member Avatar for poonams
Member Avatar for Jx_Man
0
69
Member Avatar for kinley2007

i think is not difficult to convert from vb6 to vb.net. actually in vb.net you just learn a oop but is not difficult. like the first time you try to learn vb6. post your problem in forum. OK. c u

Member Avatar for Jx_Man
0
71
Member Avatar for samiullah478

actually we cant used one programming language 'cause people has many necessary. every programming language has a different power (good and bad), so u can use the best language for problems.

Member Avatar for Jx_Man
0
145
Member Avatar for Annex

First declaration a new object for the Form you have to called. So you can use Dim do declare then you can use the new object to call a form as you want. Example: The Form Name is CalledForm Dim call as new CalledForm call.show() if you want to close …

Member Avatar for Jx_Man
0
147

The End.