|
No problem. It's late here too! 2:25 AM in UK!
Steve
|
|
|
|
|
Could someone help me with this problem?
My main form is MDI form i.e. frmMain
I have a search screen that appears i.e. frmSearch
Depending on the criteria on the search another form will appear i.e. frmCriteria
Problem
How can I keep the form frmCriteria within the MDI form, frmMain.
In the frmSearch form I have the following code at the moment
Dim frmCriteria As New frmCriteriaForm
If bExists = True Then
Me.Close()
frmCriteriaForm.ShowDialog()
Me.Close()
End If
What is the correct syntax to enable to keep form frmCriteria with the mdi form. I have frmMain as IsMdiContainer = True
I have tried using mdiParent but keep getting it wrong. I am doing something wrong. i.e. frmCriteriaForm.mdiParent = frmMain <-- what should the property be after frmMain. I cannot use me as frmSearch has the me properties
|
|
|
|
|
You need to open the form as an MDIChild and set its parent property.
Use a procedure similar to the following:
Dim NewMDIChild As New frmCriteriaForm()
'Set the Parent Form of the Child window.
NewMDIChild.MdiParent = Me 'frmMain
'Display the new form.
NewMDIChild.Show()
Steve
|
|
|
|
|
I need your help with developing a login screen using vb,net where the user must scan their finger print on a scanner.Please help.
kagiso
|
|
|
|
|
matjame wrote: where the user must scan their finger print on a scanner
I take it you have the documentation for this fingerprint reader, because most certainly we are unlikely to have any.
|
|
|
|
|
I have the documentations and the SDK, but need to use the scanner to log the user in with their finger print.I have every thing but don know where to start with the code, in vb.net
kagiso
|
|
|
|
|
matjame wrote: I have the documentations and the SDK
matjame wrote: I have every thing but don know where to start with the code, in vb.net
You have the documentation, which is more that what we have. I suggest you start by reading the documentation.
|
|
|
|
|
i need how to display html in the form og vb.net when i click a button how i make a print previw of this page like windows
and how to change the skin of the button and the skin of the form
|
|
|
|
|
If you have several questions, would you please at least write them in separate sentences? And a more descriptive subject would also be helpful.
-- modified at 18:17 Thursday 3rd August, 2006
---
b { font-weight: normal; }
|
|
|
|
|
hellow to all ..
can anyone help me with how to use ScrollBars ? and how to put it with picturebox ? any samples ?
thxx ...
|
|
|
|
|
It would help if you mentioned what you want these scroll bars to do...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
ok ,
i have a really width photo that i would like to show ,
the photo in width do not fit the screen so what i am trying to do is to have a scroll that when i go to the right i can see the rest of the photo
thank u in advance , for anyhelp ..
|
|
|
|
|
|
Easy. Put a Panel on your form, then put a PictureBox in the Panel. Make sure the Panel's AutoScroll property and the PictureBox AutoSize properties are set to True.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Woah! Nice one Dave!
Steve
|
|
|
|
|
I had to make one of these for an application I wrote a while back. Turned it into it's own control in about 10 minutes and now it sits in the GAC and has it's cozy little place in my Toolbox.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I think I will do the same!
A simple but great idea!
Steve
|
|
|
|
|
Hey Dave ,
i wanna remind u that the photo that i am trying to show is going to be biger than 1024 pix in width ..
thxx for any help ..
|
|
|
|
|
forget about the sh*t that i had just said it worked fine for me
|
|
|
|
|
Oops!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
So what?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi,
I want to change the color of the whole Tab control along with the Tab Pages..Currently i am able to change the color of the Tab pages.For e.g if there are 2 tab pages then both the tab pages header as well as the tab pages can get color but the empty space along side the 2 tab pages dont get any color.
Plz help me out with this problem.
Thanks
Riz
|
|
|
|
|
It looks like I replied to the right person, wrong post. My answer is here[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hi.. everybody..
hope you can help me with this thing.
Do you have any idea, how to save a file into MS Access database using VB 2005?
Here's the simple scheme of the table
FieldName {Data Type}
--------------------------
Date {Date}
EmployeeID {Number/Integer}
Attachment {OLE Object}
--------------------------
I red the MSDN help, but still haven't any idea how to apply it into my case.
Or should i make an array of bytes stream of the file and then store it into 'Attachment' field. But then how the to read and restore/create the file back?
Thanks before..
|
|
|
|
|
I haven't done anything like this with access, but with another database I declared a column of type blob....which essentially IS an array of bytes. That way I could store any type of file (.pdf, .jpg, .gif,...) Perhaps searching for information using the keyword "blob" will help you.
Sorry i couldn't be more helpful.
|
|
|
|