Importing to an array from a sequential file
Hi guys, I am wondering if anyone would be able to help. I currently have a sequential file which houses a list of titles and course descriptions as below: "coursetitle","coursedescription"...
View ArticleMicrsoft RDO 2.0 for Windows 2008 server
Hi I have a old application that was using Microsoft Remote Data Objects 2.0 and was running on Windows Server 2003 R2 but now we need to move the application to Windows Server 2008 R2. Now when I am...
View Articlecheck if a item buy is bigger then the item in the inventory table dosnt work
strange thing when im trying to sale something from my inventory table although the remain is enough, still says that there is not enough to sell this is the code: Code: Set rs = CN.Execute("SELECT...
View Article[RESOLVED] .Top of Image Control is different from design time to run time
I have an Image Control that at design I placed it at 0, 276. When I run the app and mouse down on Image Control (it does not move) it tells me it is at 0, 338 which is a difference of 62 pixels for...
View ArticleFTP with Inet and Windows 7
I have the following typical FTP code using INET control. This code works well in XP but I'm unable to upload a file in Windows 7 with it. I've disabled completely the Firewall but nothing happens....
View Article[RESOLVED] User Control Question
Is there a way for a User Control to return to the parent Form it's current X and Y? I know I can get it by just using the UCname.Left and UCname.Top however because of certain features I'm...
View ArticleHi I need help to make a help.txt open in a richtextbox
Hi, Everyone, I got this code and I want to open this help.txt file in a richtextbox, This is the code I have now. Code: Private Sub Help_Click() If Dir(App.Path + "\Help.txt") <> "" Then...
View ArticleActiveX that checks Regional and Default Gateway Settings???
Hello I am looking to have an ActiveX Control Object that is embedded on my Website to check the IP Address of the current user's Default Gateway (Their Router Address). Then also the check the...
View Articlehow to update a value in the db that equals a label
im trying to show in the CashBox table a value of the same thing i have in my label but it stills shows me 0 column name InvProfit Code: strSQL = strSQL & "0," strSQL = "Update CashBox set...
View ArticleTransfer data from .log files to SQL
Sorry for my English. Hello, im beginer in programing. I need write a program (windows service) which should transfer my log from many files (.log) to SQL date base. I have folder where i keep my files...
View Article[RESOLVED] Replacement Database File
I have a program using an older (2002-2003) MS ACCESS (JET) database file (ending in .mdb), I'll call it 'mydatabasename.mdb' for this example. When the main form starts, it uses tables in that db...
View ArticleExport emails from Outlook to Excel, adding an additional column to existing...
Hello everyone I copied the following code from another forum but i need it to also extract the date/time from a 4th Column in an Outlook folder titled Modified but I am having no joy in getting it to...
View Articleform auto update (DAO)
HI I'm A bit stuck I'm using VB6 (DAO) and I have a form open which stores data and it is connected to a Database I have three buttons on there which save edit and cancel but if I type any thing in to...
View ArticleSkype4COM Lib - Get reply from user
So basically I want to do skype1.sendmessage "usernamehere", "test123" which is something that I understand and am able to do. But how do I see what the user has replied back to me through code? I...
View ArticleGetting a Hyperlink's target URL
Hello all, At the moment I am programming a Web Browser but I am stuck trying to find out how to get a hyperlink's target URL. Please could you help sometime soon - any code would be good, Thanks in...
View Article[RESOLVED] how to insert a single value from 1 form to another only if the...
im trying to figure out how can i insert from Appointments a name to the Customers form only if the text is green before i update the corrent lisview need some help so far i did Code: If...
View Article[VB6] Font and positioning problems on Win 7
Hi! First of all, I'll start saying: my vb6 aplications run almost perfectly on Win7. But... Out of 40 PC running my software, 20 of them are running perfectly in Win XP, 17 of them are running...
View ArticleListView: Display only unique files that are the most recently modified
Hi All, I have a custom ListView I’m working on. One of the functions/features I’m trying to integrate is to provide a list that shows only the most recently modified file that is returned. For...
View ArticleVB6 code that will Get XML file as Input
Hi Experts, Can anyone give me a code snippet on how to get/retrieve an XML file as input and do some modification on the XML file if once my condition is TRUE. Thank you.
View ArticleSomething like Net Seal for VB 6
So I'm going to be distrubuting my software soon. How can I protect it from being cracked? People who code in .NET can use Net Seal, is there something for VB 6?
View Article