20,284 Topics

Member Avatar for
Member Avatar for situ.pati

I have created a database in ms access and a form, in which i want to add some records, it is updating correctly, but when i close the form and restart the application and started to add new records the previous records are deleted automatically. please help me in this

Member Avatar for G_Waddell
0
209
Member Avatar for Denden17

Hello, anyone here have an idea of making your form more dynamic while not in a runtime i mean the form maximum size is the same as my screen resolution here in pc. i just want to add more control in that form but i cant because the maximum size …

Member Avatar for Denden17
0
89
Member Avatar for number361

Hello! I'm a beginner developer and I'm currently learning Visual Basic 2008 Express Edition. I'd like create the following program: - search custom selected database - if selected database contains TABLEX and if TABLEX has data in ColumnY and it equals 0 then make some sort of signal/error/report where it's …

Member Avatar for Reverend Jim
0
116
Member Avatar for Sneaky Pete

Hello everybody, I have a question about vb.Net. I really hope that you can help me with it. I've got a form with several textboxes. When the user gives input in an textbox and presses the tabkey, then the input in the textbox must be checked and complement with data. …

Member Avatar for Pride
0
238
Member Avatar for raficomps

> **I want to store session of employee that is employee id when employee login with username and password store employee id as session using vb.net** > **i have a form where employee enter his username and password after entering he must select new form from control panel when he …

Member Avatar for Pgmer
0
200
Member Avatar for iFrolox

I got a blank project, i added 3 checkboxes, and 1 inside a group box. And i got this code: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click For Each phCheck As Control In Me.Controls If TypeOf phCheck Is CheckBox AndAlso DirectCast(phCheck, CheckBox).Checked Then If phCheck.Tag Is "Test" …

Member Avatar for iFrolox
0
3K
Member Avatar for darthswift00

I want to know , how does one inherit from a class? Example: In this class i want it to have coding to connect to the database, and i use a form to use this class to connect to the database. Any suggestions as i a m not familar as …

Member Avatar for Pride
0
88
Member Avatar for Denden17

Hi guyz, anyone here who know how to set your form in a full screen in any type of screen resolution. Like for example im working here in my pc with a resolution of 1366x768 now if i want my application to run in another pc with another screen resolution …

Member Avatar for Denden17
0
235
Member Avatar for weeraa

I wanna just a beginning for my coding. (The application running with VB.NET and SQL server) I did this code and it not shown any error. After this process it is displayed the message "Successfully updated". But data is not update on the table. Please tell me, how to update …

Member Avatar for hericles
0
155
Member Avatar for guilherme.carvalho.9250

Hello everyone, Im a beginner in vb.net and currently Im developing a program where i save date to a txt file like this Reminder#dinner#26-07-2012 19:52:00 and show it in a listbox(all the lines in the txt file). What i want to do is to select a line(item) in the listbox …

Member Avatar for guilherme.carvalho.9250
0
2K
Member Avatar for HibaPro

i get this msg from sql server when i restore the back up file TITLE: Microsoft SQL Server Management Studio ------------------------------ An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ ADDITIONAL INFORMATION: The media family on device 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\TenderingSys' is incorrectly formed. SQL Server cannot …

Member Avatar for HibaPro
0
295
Member Avatar for CasperG

Help!!! I cannot get my combo box to populate using a select statement from mysql database. Please see below for coding [code] CN = New ADODB.Connection 'Connecion to database CN.Open("driver={mysql odbc 5.1 driver};server=localhost;database=v_control;user=root;password=;option=3") RS = New ADODB.Recordset RS.Open(SQLdata, CN, ADODB.CursorTypeEnum.adOpenUnspecified, ADODB.LockTypeEnum.adLockPessimistic) If DBconnect() = True Then SQLSearch("select * from engineer …

Member Avatar for andhie.dhie.1
0
535
Member Avatar for M.Waqas Aslam

hello ! i am working on a simple application that can block the sites ,after searching i found that if i add name of the site in c:\windows\system32\drivers\etc\hosts then i can block those sites , for this i want to open this hosts file in my textbox with administrator rights …

Member Avatar for M.Waqas Aslam
0
188
Member Avatar for satti

Hi, am using direct print command for crystal report from vb.net form to print barcode on tags.the problem is when i enable preview it give me correct print horizontal on barcode tag , but when i use direct print command it print verticaly on barcode , i have tried all …

0
114
Member Avatar for marky101

dim x as integer = 0 str = "SELECT uname, full_name FROM EMPLOYEE" cmd = New MySqlCommand(str, cn) ds = New DataSet da = New MySqlDataAdapter(str, cn) da.Fill(ds, "employee") Dim uname As String = ds.Tables(0).Rows(0)("uname").ToString Dim emp_name As String = ds.Tables(0).Rows(0)("full_name").ToString While x <= ds.Tables(0).Rows.Count If ds.Tables(0).Rows.Count <> 0 Then …

Member Avatar for marky101
0
166
Member Avatar for megdan

hi, Please im developing an application reserves rooms for clients it is in a way that you cannot insert another clients details if another client has chosen the room for a particular date. i have binded a comobox with a database that contains information about the various rooms. MY PROBLEM …

Member Avatar for Pgmer
0
229
Member Avatar for ziyaddinsadigov

Hi, I want to make array with loading text file and display it in ListBox. I used this code: Dim strFileName() As String '// String Array. Dim tempStr As String = "" '// temp String for result. strFileName = IO.File.ReadAllLines("C:\zel.txt") '// add each line as String Array. For Each myLine …

Member Avatar for Pride
0
2K
Member Avatar for abhi415

Hello guys, I have made an application in which I want to make my application expired after 6 months. and then user enters a key to activate and then application again validates for another 6 months. My code is: Public Class Form8 Dim date1 As Date = #7/24/2012 9:00:00 PM# …

Member Avatar for Begginnerdev
0
2K
Member Avatar for mzeewashooo

iam using vb 2010 and i want to search for any record when i enter a text in the search text box. i mean, if my records are as follows: dan,daniel,edn,steven,mary. and i just inpunt 'd' in the search box, the datagrid lists: dan,daniel,edn because they have a 'd' in …

Member Avatar for mzeewashooo
0
350
Member Avatar for ravin_r

hi friends, i am pretty new to vb 2008 and i am doin my project on media player..in my music player thr is a feature which cn record movements on the screen using a software "hycam"..bt the problem is dat "hycam" is not getting detected in the COM....please guide me …

0
43
Member Avatar for ayat abukhadra

Hello, I'm new in vb.net but befor a couple of days i've created a vb.net windows form application , my application works well it adds certain number of lines to access database and searches this database, my problem is when i minimize my application windows while doing some work it …

Member Avatar for ayat abukhadra
0
125
Member Avatar for reds8

I want to insert a "words file" into "ms access" which has a column with data type "attachement". Can anyone suggest me what the sql statement look like?

Member Avatar for Pgmer
0
97
Member Avatar for umariyoob

I have been searching for a way to retrieve records from my database. I was able to find and create a function specific to my program, but it wont work. Will someone advise me on how I can go about this task? I catch error in binding source and error …

Member Avatar for G_Waddell
0
296
Member Avatar for prancode

how do I set a shortcut key for 1 of the textboxes in vb.net. When I goto the textbox and press F3, then it should give the current date in the textfield...Can somebody help me with this?? Thanks in advance..:)

Member Avatar for Pgmer
0
289
Member Avatar for Angelic777

Excessive Image Resource Hi So I'm writing a program to clear old images out of some folders. I get the old and new folder paths from XML and then check each image against my database then I move it using MoveFile() if it meets my requirements. The one folder I'm …

Member Avatar for Pgmer
0
109
Member Avatar for ravi.kant.984349

Dear All ! Please Correct my SQL String. sqlcmd = New SqlCommand("Select top 10 Distinct[Batch No], [Item Name],Decentralization, UOM, Balance from Decentralization order by Serial desc", conn) When I run this Command I get Following error : incorrect syntax near the keyword 'Distinct'

Member Avatar for Pgmer
0
114
Member Avatar for TTTHXC

i have a function in a module that requries integer values. these values are set by the user typing in two textboxes on the form. the texboxes contain Hexadecimal data in string form. function: Friend Function addNewCode(ByVal Location As Integer, ByVal Opcode As Integer) As Boolean If (Not LocStack.Count < …

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

hello! i am developing a simple application which will get data from different database like mssql , access , foxpro , and after getting data it will create 4 text files tows.txt , customer.txt , product.text , trasection.txt , prob is this that i am very new to foxpro , …

Member Avatar for TnTinMN
0
3K
Member Avatar for M.Waqas Aslam

hello ! i am now working on office management system. i have a code to disable the usbport , i want to use it in win7 , before this i already used it in other project on windows xp , it works fine , but now in windows 7 it …

Member Avatar for M.Waqas Aslam
0
115
Member Avatar for HibaPro

hi everybody, i wish everything is okey? my question is how i can the value of textbox show on colums in datagridview , my textbox read data from DB ?? thx before...

Member Avatar for Begginnerdev
0
279

The End.