11,868 Topics

Member Avatar for
Member Avatar for seenivasaperuma

i want code for search in vb6.if i give see it will search seeni,seenivasan,seetha,mooseetha,etc

Member Avatar for AndreRet
0
56
Member Avatar for BEHZADnr

Hi I want add .mdf file in visual studio 2010 but in add conncetion show this error : click this link to show error [URL="http://imagenic.net/viewer.php?file=el5ce80y64r9d9bdspq1.jpg"]http://imagenic.net/viewer.php?file=el5ce80y64r9d9bdspq1.jpg[/URL] use SQL server 2008 R2 and VS2010 and I dont know what Please help me or give me a learning file or website Thanks

Member Avatar for BEHZADnr
0
102
Member Avatar for masterfact18

problem is in form5 when i add stock it didn't refresh... just download my attach file "datagridprob.zip" and try to correct my code in "add_stock form" then if you got it right kindly post your code here...thanks...

Member Avatar for masterfact18
0
164
Member Avatar for martin11ph

Hi again, sorry for yet another thread. I am using the KeyDown function in my form and it is not able to perform because of the other controls. For example, there is a text box in the form. Once the form has loaded, when I press vbKeyRight, my code does …

Member Avatar for AndreRet
0
2K
Member Avatar for emongs
Member Avatar for masterfact18

[CODE] Private Sub Command1_Click() Dim xSold As Integer Set db = New ADODB.Connection db.CursorLocation = adUseClient db.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\inventory.mdb" Set rs = New ADODB.Recordset rs.Open "SELECT * FROM storage WHERE Current Stock = '" & Text1.Text & "'", db, adOpenStatic, adLockOptimistic If rs.BOF = True …

Member Avatar for AndreRet
0
171
Member Avatar for daniwaber

Hi, Can anybody help. How to scroll data in DataList by using mouse scroll. DataList have no Scroll method.

Member Avatar for AndreRet
0
1K
Member Avatar for AWPROGRAMMER

I have multiple projects in the same database that use the same dll code. Currently I have to define in the dll what the project names are and what the unc path is that each particular project needs to reference for it's excel file. The excel file contains notes that …

Member Avatar for AndreRet
0
158
Member Avatar for abelingaw

[URL="http://www.daniweb.com/forums/thread341763.html"]http://www.daniweb.com/forums/thread341763.html[/URL] Regards to that, i also wanted the system not to be able to delete Administrator Accounts via my code also posted there. Here's the code again: [CODE] Private Sub cmdDelete_Click() ' On Error GoTo err Dim intYN intYN = MsgBox("You are about to delete a record." & vbCrLf & …

Member Avatar for AndreRet
1
144
Member Avatar for doremon89

i want to convert a fie(document,excel,picture) to binary format using VB.Please how can i achieve this

Member Avatar for AndreRet
0
211
Member Avatar for aquamarine_kath

Hi, I got a runtime error 3709. It says "The connection cannot be used to perform this operation. It is either closed or invalid in this context." I can't find what's causing the error.. Here is my code: [CODE] Public Sub S_LOAD_flxUser() Dim strSql As String Dim rsLoad As New …

Member Avatar for AndreRet
0
795
Member Avatar for vasaviam

How to run a command of MS DOS with code through visual basic 6.0 for ex. setting the path, zip and unzip files etc. and also the commands of Visual Foxpro Databasese through VB.

Member Avatar for VBzambo
0
2K
Member Avatar for PinoyDev

hello guys! Its been a long time posting here since I've switch to dot net...But I CANT LEAVE VB6 in programming.! I just want a little help.. Anybody can recode this statement regarding connecting to SQL SERVER local database.. The connection is succesful. But i want to trap the error …

Member Avatar for PinoyDev
0
106
Member Avatar for cavern

hello, im using vb6 with access 2007 (.mdb) im using adodc connection. my question, how to prevent if the data existed in my database. i've put primary key in my database and i need an example like it's giving msgbox "data existed!" anyone can help me? thanks.

Member Avatar for ChrisPadgham
0
85
Member Avatar for Shalvin
Member Avatar for debashishm
0
146
Member Avatar for masterfact18

...here is the scenario...in my inventory system i have database and it's fields are "Item Number,Description,Last Week Stocks,Deliveries,Total Stocks,Total Withdrawal and Current Stock...this is my logic if adding new stock it will add to 'Current Stock' and to 'Total Stocks' and if withdrawing stocks 'it will add to 'Total Withdrawal' …

Member Avatar for AndreRet
0
542
Member Avatar for martin11ph

Is there any code that will enable me to click on portions of the form with the use of coordinates? I know most of you find it easier to just use controlname.click but it is not possible for my application. Hope someone can help. Thanks.

Member Avatar for AndreRet
0
2K
Member Avatar for sam1

Hi, I am trying to output some data from sql db within excel to XML. I am updating the sql db from the excel worksheet and then outputting the records from the db to xml. I have used CDATA to parse html within xml but i can only get one …

Member Avatar for AndreRet
0
186
Member Avatar for piyushdhamecha

i made report for invoice printing which contains 10 pages for single invoice, i want to Print Terms & condition on every next page it means my report will be of 20 Page.. please help me... thanks in advance

Member Avatar for AndreRet
0
415
Member Avatar for RichIT

Hi all, thanks in advance for your help. Is it possible (and if so how:sad: ) in Excel (using VBA or whatever easiest) to have 2 worksheets A and B where worksheet B is atomatically updated. A bit more complicated tho!! I enter data into A, and B takes that …

Member Avatar for faizshafie
0
137
Member Avatar for ayarton

I'm a very new developer (if you could even call me that), and I'm killing myself here. Essentially here's what I'm trying to do. A user scans a series of documents which are sent through a program that places a .tif or .pdf of each document into a folder on …

Member Avatar for ayarton
0
210
Member Avatar for piyushdhamecha
Member Avatar for ichiban1985

Hi All, I need to create a macro that will copy the data in the last 5 columns of the spreadsheet and paste it to the next 5 columns, also I need to have a pop up that will let me add date to the heading of the new inserted …

Member Avatar for AndreRet
0
109
Member Avatar for ash07

Dear all I am developing an application in VB & Access .I am trying to secure application by adding user control,trace modules,database password. (just today i saw how to make a folder inaccesible+ not to allow delete.) 1)I would like to know how do i secure my application.. am i …

Member Avatar for AndreRet
0
156
Member Avatar for slugdoug

I am trying to learn vbscript and am having trouble with one of me first scripts, can someone look and see what I am doing wrong? I get the following error: Line 13, Path not Found. 'if folder B does not exist it is created option explicit const OverWriteFiles = …

Member Avatar for AndreRet
0
104
Member Avatar for gingank

Hi All, I want to ask how to remove unwanted character from string?? Can provide an example? Dim A As String A = "@AA@BB@CC@DD" If i want to remove @BB what method i should use? First i try to use instr to detect where the @BB but how to do …

Member Avatar for jhai_salvador
0
235
Member Avatar for ftl25

Hi, Does anyone know of some code analysis tools (add-ins) for VB6? I used to use checkstyle and some other tools for Java, and am looking for something similar for our VB6 project. There is a huge codebase, and as I'm just starting out in VB coding, I'd like advice …

Member Avatar for IssamLahlali
0
1K
Member Avatar for mgonzalezwec

How do I specify the default SMTP host within Visual Studio 2005 or within a web project in Visual Studio 2005? I realize this can be done in the web.config file, however I don't want to do it at that level (I would rather it be done at the machine …

Member Avatar for mgonzalezwec
0
207
Member Avatar for masterfact18

[CODE]Form3.Adodc1.RecordSource = "select * from login where username = '" + Text1.Text + "'" Form3.Adodc1.Refresh If Form3.Adodc1.Recordset.EOF = False Then If (Text2.Text = Form3.Adodc1.Recordset.Fields("password")) Then MsgBox "login success" Unload Me Else MsgBox "invalid pasword" Text1.Text = "" Text2.Text = "" Text1.SetFocus Form2.Refresh End If Else MsgBox "invalid username" Text1.Text = …

Member Avatar for peter_budo
0
153
Member Avatar for masterfact18

[code]Form3.Adodc1.RecordSource = "select * from login where username = '" + Text1.Text + "'" Form3.Adodc1.Refresh If Form3.Adodc1.Recordset.EOF = False Then If (Text2.Text = Form3.Adodc1.Recordset.Fields("password")) Then MsgBox "login success" Unload Me Else MsgBox "invalid pasword" Text1.Text = "" Text2.Text = "" Text1.SetFocus Form2.Refresh End If Else MsgBox "invalid username" Text1.Text = …

Member Avatar for abelingaw
0
287

The End.