10,989 Topics
| |
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 … | |
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. | |
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 … | |
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 | |
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 … | |
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 … | |
Is there code in visual basic 2008 where i can set my program to expire every 30 days ? Thank You | |
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. | |
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 ?? | |
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 … | |
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, … | |
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 | |
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 | |
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 … | |
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 … | |
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 ????? | |
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? | |
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 … | |
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. | |
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 … | |
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 … | |
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: … | |
I want to learn database programming in VB6. Can anybody send me some tutorials please? | |
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 … | |
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 … | |
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, … | |
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 … | |
Hello, I want to ask, how to upload and download files in VB6? thanks, | |
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 ...) … |
The End.