MonthView Coding Only Works Once When Project Is Loaded
I've recently inserted a MonthView object into my project with the intention of loading specific data items in a ListView when a certain date is clicked which is associated with the data item. So...
View ArticleCurrent user information
I want to stop people using my VB programme at the same time. So therefore I have set up a message box that says that someone is currently using the programme so try again later. I would like to be...
View Articlems access stored procedures
Hi. I am trying to run through VB6 some stored procedures in an access file. When i run the stored procedure directly from the ms access file, it runs correctly and returns the correct number of...
View ArticleVB6 - How to program device drivers
I've never read or heard anything about programming drivers. My neighbor and I are building like a radio-modem that will help to get access to internet. This is like wifi technology and we're doing...
View ArticleQuestion about buffering data
In a multi-client/server system is it necessary to buffer the data coming into the DataArrival event with a buffer for each client? What I mean is does each client have it's own buffer, like an array...
View ArticleWhat byte order used in CRC32?
I know the bit order must be most significant bit first, as it is doing division, in which is a math operation that requires the most significant digit to always be on the left. However I'm not so sure...
View ArticleNeed help with class diagram
Attachment 93991 Attachment 93993 I have an assignment to design and implement a 3-tier system for a weighted score method to compare products. I tried to make a class diagram but I only got 2 classes...
View ArticleAdding client certificate using ServerXMLHTTP request.
Hi All, I need to add the client certificate to the ServerXMLHTTP request object. I see that, we can use the setOption(3) method to add the certificate to the request. I wonder on how I can set the...
View ArticleMSCOMM Problem
Hi When i run executable file i get this error "Runtime Error-8018 Operation valid only when the port is open " . This is the code Public Sub open(comm1 As MSComm) Dim portno, brate, dbits, sbits,...
View Articlelist database and related table in Teradata
I need a code in VB6 to list all database and related table is possible? I prefere adodb or other to have the result. Tks.
View ArticleTypeOf Controls
Hi I want to use this code for several forms but when I call the function I get an error that the variable not defined and Controls is highlighted. If I declare Controls as a variant var I get and...
View ArticleQuestion About WebBrowser
I have a HTTP Web Server running on my local PC. xxx.xxx.xx.xx is the IP of my Web Server If I use I.E. and type in the address bar: http://xxx.xxx.xx.xx/mypicture.gif I will get the picture from my...
View ArticleSubclassing Question
When subclassing a Form I use this GWL_WNDPROC as in OldWndProc = SetWindowLong(Me.hwnd, GWL_WNDPROC, AddressOf MainWndProc) My question is if I subclass something else, like a Textbox, Combobox,...
View ArticleSubClassing mouse coordinates
I just started playing a bit with SubClassing form/control. I was wondering which way is the best to get the mouse X and Y coordinates? I currently use this for code Code: 'This code is in a Module...
View Article[RESOLVED] TypeOf Controls
Hi I want to use this code for several forms but when I call the function I get an error that the variable not defined and Controls is highlighted. If I declare Controls as a variant var I get and...
View ArticleVB Form height limit of 10800?
I started making an application to print business card sized cards with unique ID codes. I got it to print one card on a sheet, then 2, by placing the card images on a white form and transparent labels...
View ArticleProblem in monthly records.
good day! im trying to search records between 2 dates (monthly,weekly). what is wrong with my query/code? <code> paramDate1 = CDate(DateFrom) paramDate2 = CDate(DateTo) Set rs = New...
View ArticleText box problem - Conversion from string "" to type 'Integer' is not valid.
Good morning everyone, I'm new with VB 2008, and i've read a lot... I'm trying to do a simple code, calculating 2 values with a function and showing in a third textbox. Here it comes the code: Private...
View ArticleMenu Editor
Hi Is there a better way to disable the menu items other than Code: vb6 mnuFile.Enabled = False for each menu item or command button. Some like Typeof would be great.
View ArticleDisabling Print and Save Functions of AcroPDF Component
Hi, In one of the programs, I am using AcroPDF Component. I have no problems working with it. But, I don't want the user to print or save the documents. In simple words, I want them to open the program...
View Article