Getting 'Variable Not Defined' Using strFilename With Commondialog
Hi as the title says, I'm getting the error message variable not defined, when trying to load some thing using this string method. Is it the code, or am I missing some sort of reference? I tried object...
View Article[RESOLVED] Using Clipboard to copy several lines in a MultiSelect Listbox
I have the following code to copy several (more than 1) lines of a listbox with it's MultiSelect property set to 2-Enhanced. It works, however, it is time consuming when I am using a fairly long list...
View ArticleHelp with wininet FTP Upload
I'm using the code from http://www.ex-designz.net/apidetail.asp?api_id=50 The code works fine in an exe just to test. I put it on form load. The form loads and uploads a test.txt file to my localhost...
View ArticleMultiple PINGs in parallel
Hello! I have a ping function like s = Ping("1.2.3.4", 10000) that returns whether a host is alive or not. 10000=timeout value in miliseconds The ping function uses IcmpSendEcho API function. I want to...
View ArticleHelp export data from Access with formatting and layout to Excel
Hi I am currently using this code i got from SI_the_Geek from an old post to export data from Access to Excel. I would like to also export the headings and formatting from Access into Excel just like...
View ArticleADO Recordset to Excel - formatting cells
Please find this link http://support.microsoft.com/kb/246335 This is the link for 'How to transfer data from an ADO Recordset to Excel with automation' But this code I need some modifications. Because...
View ArticleSqlite with vb6
Hello, I want to package my application to use sqlite as the local database. it says sqlite is zero configuration. Is it possible to connect to it without installing drivers? Is there any way i can use...
View Articlehow to store and retrieve an image to an sql image field
Hi All, I want to store an image to SQL Server 2005. I don't wan't to store the image path, i wanna store the image as it is. If anybody has an idead please share it with me.
View ArticleCopy of SQL Database
Hi I have already Database with name of TEST in MS-SQL . I want when user clicks on a button "Copy Database" in Visual Basic , it should be copied to another Database with name of say TEST1 . Thanks
View ArticleHow to define "where" clause for RFC_READ_TABLE ?
Hello, I'm trying to define a where clause for the RFC_READ_TABLE function attached like so: RFC_READ_TABLE("KNA1", "tblKNA1", "KUNNR,KTOKD,NAME1") Where KUNNR = "260*" and KTOKD In ("9026","9017")....
View Articledata type mismatch i criteria expression
i have a system in which when i entered data in tha database,it works fine,but when im going to update the database i encountered thi error "data type mismatch in criteria expression" here is my code:...
View ArticleSearching database help needed..
Im trying to search my MS Access database but its not the usual searching of record. Im trying to search a record which is lesser (<) than the value that im using to search for it, as an example. i...
View ArticleHow to find word after a string in a txt file?
Looking for a way to search a .txt file for all instances of a certain string, then print the three words that follow each instance on a new line in another .txt file.
View ArticleA question to Lavolpe or anyone who can answer
i'm trying to get the color table of a 8bpp bmp with this API: GetDIBColorTable but the table is so bad and the resulting bmp different from the origin my steps are: 1. loading a 8bpp bmp via loadimage...
View ArticleDouble Jeopardy! - Keyboards Serial Numbers
A few years ago, I created a Jeopardy! look-alike game in VB6. As the TV series uses three contestants, so does my program. I used three keyboards and had each 'contestant' assigned a different key to...
View ArticleChecking processor is 32 bit or 64 bit
When a processor is considered 32 bit or 64 bit? I want to check whether a PC is having 32 bit or 64 bit processor. So how can i check it in a vb6 code? While i was researching about it i got that i...
View ArticleVB6 and TV Tuner
Just wondering if anybody had developed a program like a pvr and tv guide that could connect to something like TitanTV online to pull guide down? Thanks
View ArticleScript for uploading files to FTP site?
Hi there, I'm working on a method to allow easy uploading of files to a FTP site. I have a directory called 'files' which has several subfolders called 'txt','jpg','ini' and 'psd'. I want to be able to...
View Articleopen source
is thr a command called opscr i.e open source used to open other files. can you tell command to open sql table in oracle
View Articlereading a file into array
I was trying to find a post in the forums that may show me how to do what I need to do. I have a text file that has a list of cities with longitude and latitude. I need to put only the cites into a...
View Article