10,989 Topics

Member Avatar for
Member Avatar for SaRa Ahmad

this is my code , it should save a pdf file from sql server to a folder but nothing happened can anyone help please ?? Set rs = New ADODB.Recordset rs.Open "select * from PDFStore where filename='" & co_name.Text & "'", db, adOpenKeyset, adLockBatchOptimistic If Not rs.EOF Then Set pdffile …

Member Avatar for SaRa Ahmad
0
264
Member Avatar for Michael Leung

When I copy the VB program to a directory, how can the program find the directory. So, it can read some data on this directory.

Member Avatar for Klahr_R
0
113
Member Avatar for eshajoshi

Hi, I have two databases. In my code, I open the first database and list all of its databases. With my code, I open the second database. Essentially I want to override the tables in database2 with the tables in database1 so I am trying to delete the tables in …

Member Avatar for eshajoshi
0
332
Member Avatar for suad.ibrahimhussain

The following VB code to reference many excel sheets using index variable in a loop; but I got error Sum = 0 For i = 1 To 10 Step 1 Sum = Sum + Sheets(i).Cells(6, 9).Value Next i

Member Avatar for Klahr_R
0
61
Member Avatar for jhonm

i am connecting online to MYSQL server(dsn less connection) through vb6 and displaying result on form.. as you know to connect we need to input "database name" , "password" , "username" , "server_name" so anyone can decompile and view the login detail (i have tried...it works). I cant accept it …

Member Avatar for Klahr_R
0
113
Member Avatar for jhonm

I am using windows media player in my vb6 form using wmp.url = "link" But it doesnt play online url eg."www.music.com/song.mp3" i found a solution : open local windows media player software --> type same url ---> MESSAGE APPEAR ASKING TO CONNECT OR "WORK OFFLINE" --> click connect and it …

Member Avatar for jhonm
0
526
Member Avatar for JD69
Member Avatar for anand.mahato1
0
4K
Member Avatar for babankamal

Dear friends, I need to create vb6 program that can search entire system(computer) documents for a string passed and report back number of occurences, list and sources(file name and address) on listbox. Thanks friends.

Member Avatar for Reverend Jim
0
54
Member Avatar for SaRa Ahmad

hi everybody , i would like to know how to view data in my crystal report depend on InputMessage that ask from the user how to sort the data to view on the report , as date or status , any one can help how to do that ??

0
66
Member Avatar for jemartalaban_1

hi, can vb6 detect if the unit is connected to a router or have a connection to the net or LAN ? example: if the user is disconnected to the LAN, a msgbox will appear that the unit is not connected, if connected nothing to worry about :) same as …

Member Avatar for Klahr_R
0
2K
Member Avatar for Divinedar

I have several worksheets that list the following data on each sheet but different project number: A B C D E F G Date Hours Project Description Task/Account Comments Employee Hours Total Aug-19 4.00 P09998 BID&PROPOSAL PRE-PREPOS P09998 Mexico iDirect; James 34.00 Aug-20 4.00 P09998 BID&PROPOSAL PRE-PREPOS P09998 Staff Meeting, …

Member Avatar for Divinedar
0
173
Member Avatar for Pheyishayor

urgent please i have a form with 3 sub procedures,i need to call on each of the sub seperately when i click a button in another form

Member Avatar for DM Galaxy
0
107
Member Avatar for vividiah

I created a Save button and I also have made the code for the Save button But why the error message like this: Run-time error '-2147217913(80040e07) convension failed when converting the varchar value '28/08/2013 10:11:01 to data type bit mohon bantuannya, thanks, V

Member Avatar for vividiah
0
784
Member Avatar for TTF

I have a spreadsheet that has many columns. I want to search the titles of the columns and copy all the content in the column that satifies the search criterion and paste it in different worksheet. Copying these columns manually is very time consuming and I wanted to create Macro …

Member Avatar for naresh73
0
258
Member Avatar for tinstaafl

I've noticed that comments in VB code snippets are ended in the middle of a line if an apostrophe is present(i.e. using a contraction), then continue from the next one over several lines until it reaches another. I'm wondering if that can't be changed to keep it as a comment …

Member Avatar for tinstaafl
0
242
Member Avatar for mridul.ahuja

I made a small web browser using the webbrowser control in vb6 but the Navigate2 method doesn't change the web page displayed. The URLAddress changes but the content on the web page doesn't .Can anybody help me plzzzz ?????

0
161
Member Avatar for BraithVince

hi i'm working on a project that requires a search code in visual basic to find data from a different table in ms acess..any help?

Member Avatar for happygeek
0
66
Member Avatar for Shayne_1

I am trying to write a code that directs the user to a specific sheet in the workbook depending on a yes or no answer. So basically there is information that will need to be completed and the information is specific to whether it is a YES or NO. So …

Member Avatar for Klahr_R
0
113
Member Avatar for wisyhambolu

please how do i code a search button in visual basic. my database is microsoft access and i am using a binding source to connect to the database.

Member Avatar for Klahr_R
0
268
Member Avatar for kunwar094
Member Avatar for mehul popat

Hi all In my window form project I want to display only 2 columns among 3 columns Of my BRAND datatable in LISTVIEW column 1 BRANID display in listview 2 BRANDNAME display in listview 3 ID don't want to display in listview all brand & it's id display in listview …

Member Avatar for Jx_Man
0
160
Member Avatar for sal21

Sub DUE() Dim strBuffer As String Dim strContents() As String Dim I As Long ReDim strContents(0) Erase strContents() Close #1 Open "C:\TEST\28-06-2013.TXT" For Input As #1 strBuffer = Input(LOF(1), 1) Close #1 strContents = Split(strBuffer, vbCrLf) For I = LBound(strContents) To UBound(strContents) 'Debug.Print strContents(I) Next I End Sub Problem out …

Member Avatar for RonalBertogi
0
162
Member Avatar for vividiah

hi good morning, I would like to ask why when I run my program, but it appears a message like this "Runtime error '381 'Invalid property array index". I am confused about this because I am still a beginner :) what is the solution for this? This is my code: …

Member Avatar for vividiah
0
2K
Member Avatar for Mukhopadhyay
Member Avatar for Stuugie
0
46
Member Avatar for mathewsp.jacob.7

How to check if email id already exist in db using vb6 r.Open " select count(*) from login where username = '" & Text1.Text & " ' ", c, 3, 3 If Count > 0 Then MsgBox " already exist " Else MsgBox "valid" End If r.Close plese help this …

Member Avatar for BitBlt
0
600
Member Avatar for docgrid

dear friends, icreated small project to open excel using vb. everything works fine with one exception. i used VB express 2010 in xp OS when developing the project. when it runs on the windows 7 platform the opening excel file goes behind the my application. the VB form topmost function …

Member Avatar for kRod
0
778
Member Avatar for Patrick_3

I don't know if what I would like to accomplish is possible in VB, but here it is. Lets say my program creates a set of labels at run time. These labels will be named Label_n (n being an index value to uniquely identify the object). Later in my program, …

Member Avatar for Patrick_3
0
354
Member Avatar for crooksb

I'm having a devil of a time figuring out what I'm doing wrong. I get the message "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another" at the datareport.show line. I've searched for a reason behind it but none I've found …

0
124
Member Avatar for vividiah
Member Avatar for yosian
0
291
Member Avatar for amvx86

Hey what's up everyone? I have a script here that works when i execute it from command line, and when I double-click it. Now, there is something interesting going on here. 1) When the program is executed by process.start it does not load (even when called from cmd.exe /c ...) …

0
194

The End.