I had a simular problem happen to me. Your solution was different than mine. My database was Access2000 and I was trying to connect it to VB6 program. I converted the Access database to an earlier version then it worked fine!
Sorry, haven't worked with transparences and don't have the time to find out for you. But, here is what you can do to find out for yourself. Get a winamp skin that has transparences. Rename the extension to zip and unzip it. You will see about 8~10 bitmaps. Look in each bitmap for...
Someone else will probably put out a better Idea. But this StoneAge method does work!
In a form place two textboxes and a button:
Option Explicit
Const DSPACE = 32
Const DQuat = 34
Const DUNDERLINE = 95
Private Sub Command1_Click()
Dim i As Integer
Dim Number As Integer
Dim Flag As...
Depends on bmp resolution. Black in 24 bit mode is three bytes "000"
go to this thread to get headerfile info
thread222-197569
if color palette is used. Look thru color palette(section of file right after header and before actual picture data)
for "000" the order in which...
...This gives line lenght in bytes. For 8 and 24 bit pixels,
use the bytesperpixel field to calculate the actual linelength.
Reallength=bytesperpixel*imagewidth/8
Now the throw way padding is;
throwAwaypadding=linelength-Reallength
Also, the bmp is stored bottom line first. for example, an...
If all you want is a line in a frame, place a line control. you can move it around and change its color etc..
If your making table grids that size dinamically I agree with strongm, a picturebox is best.
Dont think you can use the line method on a frame but you can place a line in a form at design time and move it during run time.
place a frame and a line in the frame. put a button anyware
private sub command1_click
line1.x1=0
line1.y1=0
line1.x2=frame1.width
line1.y2=frame1.height
end sub
Know what you mean, I got mine from a friend. It was the DVD version of everything microsoft ever documented(7GB!)
My opinion, find answers online and use msdn by table of contents or index. never by keyword search.
Now, if anybody knows how to trim down an already installed msdn I'm all ears...
use a picturebox(PB) inside a picturebox.
place PB1 where you want it in the form and place PB2 inside PB1. Next, place scrollbars(SB) under and to the right of PB2. Set the scalemode property of all three to pixels. Set the autosize property of PB2 to true.
Form1_Load()...
Here are some places for code
http://www.planet-source-code.com
http://www.vbworld.com
http://www.vbsquare.com
http://www.vbforum.com
For the text editer try searching in
http://www.cnet.com
type in "text edit" or "word processer" in the searchbox and select "see all...
Oops. One had 3 and the other had 4! My point was to get the string in the list without using additem. I leave the finer details to you - Gentlemen of the Forum.
...a value
for i= 0 to MaxValue
if A(i)= 15 then
'do stuff
endif
next i
2) to jump to a section of an array(in your case 50 byte increments)
A( Num*50+i)
here, Num is index for field and i is index for each character.
In your example 1, A(2*50+3)='t',A(3*50+6)='P'
Looking at your code, I...
Private Sub cboSelCat_Click()
Select Case cboSelCat.Text
Case "Accommodation"
cboSelSubCat.list(0)= "Hotels"
cboSelSubCat.list(1)= "Guesthouses"
cboSelSubCat.list(2)= "Hostels"
Case "Restaurants"...
Don't know what you want to do but here is info on arrays
dim StrArray() as string 'array of strings
dim temp as string
dim Fp as integer
dim Index as long
fp=freefile()
open "YourFileName" fp for input
Index=0
do until(EOF)
lineinput #fp,temp
if temp <>"" then
redim...
timer event is not accurate. Windows tries to do event every interval but might fail. Try regulating the timer
place in module:
dim Tsec as long
dim TLast as integer
place in form:
timer_Click()
if TLast <> second(time) then
Tsec=Tsec+1
TLast=second(time)
endif
if tsec >= 5 then 'put...
MrEGuest is correct on dropdown event. I thought you wanted a click triggered by selecting from the dropdown list. If you haven't used the dropdown event before, you should know that its triggered when the down arrow next to the combobox is clicked. NOT WHEN YOU SELECT AN ITEM.
I'm running MSDN on both IE5.0 and IE6.0 with no problems and I have VB6 Enterprise edition like you. Unless you come up with a better Idea, what about uninstalling / reinstalling IE. Its a hassle and it may not work.
I know what you mean. The otherway is to call the api and handle the messeges yourself. From that perspective, one extra if...then wrapper is not that bad.
Most files have whats called a header file. This is the first section of the file and it contains data on interpeting the data. I have never manipulated a pdf file my self but I bet that is why you cant simply merge the files. I have experience in dealing with bmp and pcx bitmap files and to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.