What 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 ArticleHelp reading a PDF
Hello. I'm new here. I've been asked to modify code that reads an XML file to also read a PDF (the source data can come in either format). I'm working with VB5 and Adobe Acrobat 9 Pro. I've been...
View ArticleVB6 - Saving microphone sounds into a variable
I've read that while working with the sounds coming from the microphone the program "saves" the microphone data into a variable. I want to perform a Fast Fourier Transform and I think I would need that...
View ArticleBackground color in Printer object.
Hi, Is there a way to print white letters on a black background using the Printer object?
View ArticleElements appearing on wrong tab
I created a program utilizing MS tabbed dialog control in VB5. I have a label and two command buttons which appear on the wrong tab. I placed these elements on tab 0 but after setting their properties...
View Article