VB6 - 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 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 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 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 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 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 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 ArticleUDTs and the API
Hi All, I am new to this forum so please bear with me. I have been encountering problems passing UDTs to API functions. I have experienced this UDT issue with passes to class modules as well....
View ArticleApp crash report, how to understand?
My own app crashed and Windows gave me this which might as well be in Chinese, how can I understand and use this to solve the problem? Problem signature: Problem Event Name: APPCRASH Application Name:...
View Article[VB6]Set volume level of WAV files
Hi men :) A week ago I asked for some help in MasterDrive.it community on how I could set volume level of WAV sounds before that my application played them using the PlaySound API function. In that...
View Article