I asked two fairly simple questions, or so I thought, but have received no
ideas at all.
1. What is the control that MS uses in Outlook Express that contains
attachments? It appears to be a multicolumn listbox but the # of columns is
somehow fixed and it contains icons as well as text.
2. When I add a main menu to a child form in an mdi app, and use this code,
the
menu does not merge (I do not want it to merge with the parent's menu):
Dim i As Integer
For i = 0 To MainMenu1.MenuI tems.Count - 1
MainMenu1.MenuI tems(i).MergeTy pe = MenuMerge.Remov e
Next
But I want the menu to appear on the child form, and it does, so long as I
don't really make it a child. If I call it like this:
Dim newmdichild As New buttonstest
'newmdichild.Md iParent = Me
newmdichild.Sho w()
it's a happy camper, but it is not a child form and it disappears behind the
mdi parent when it doesn't have focus. But when I uncomment
'newmdichild.md iparent = me, the form is now a child form but it has no
menu!
What I want is for it to have its own menu and be a child form at the same
time. How can this be done?
Tx for any help.
Bernie Yaeger 12 1115
Hi Bernie,
Sorry to hear that your questions are going some time without being
answered but you must be aware that everyone here bar the Microsoft
employees are helping completely voluntarily so it may take a little while
for your questions to be answered. Just have a little patience. 1. What is the control that MS uses in Outlook Express that contains attachments? It appears to be a multicolumn listbox but the # of columns is somehow fixed and it contains icons as well as text.
AFAIK this is the ListView control. There are plenty of advanced
extensions that can be applied to it, and it is probably the most extensible
control available in the framework.
2. When I add a main menu to a child form in an mdi app, and use this code, the menu does not merge (I do not want it to merge with the parent's menu): Dim i As Integer
For i = 0 To MainMenu1.MenuI tems.Count - 1
MainMenu1.MenuI tems(i).MergeTy pe = MenuMerge.Remov e
Next
Don't merge items by code, use the merge properties available for the
menu item. If you want an item to merge with it's parent you set the merge
order to the same value as an item in the parent menu. How it merges all
depends on the merge type property.
What I want is for it to have its own menu and be a child form at the same time. How can this be done?
It can't, the menu will always be attached. If you don't want this
functionality you will have to implement your own MDI interface. You can
add forms to containers providing their hidden property toplevel is set to
false, but be warned there is *allot* of work involved!
Nick.
Nick,
Bernie is with the ones who answer a lot here. He started I thought in that
time you was away.
He is always friendly and I find he does it as well now in a friendly way.
Although there is no need to set it directly on Herfried, Ken and me, there
are a lot of others who helps as well here.
Bernie had for Outlook in his previous message not written what outlook it
was for and I thought it was therefore not Outlook express and in my opinion
are there better ones to answer that than me.
I had planned to check what it could be, after that I thought that the
control was a created usercomponent with as most important part the listview
and a buttonbar (I have the idea it looks as that one in the powertools)
some comboboxes, some textboxes and a button.
I also planned to find out how I could help him with the MDI. Armin our
group specialist in MDI is already a while gone. I have done as well
something with that. However that merging from menu's I find always awfull
to do.
So I wait now on the answer on Bernie if your answer fit and will when it
does not fit when I have time other take some time in it to help him.
Cor
"Bernie Yaeger" <be*****@cherwe llinc.com> schrieb: I asked two fairly simple questions, or so I thought, but have received no ideas at all.
Please avoid addressing posts to certain people. Instead, address them to
the whole group!
(I didn't have time to reply because I got a new computer yesterday and I am
still setting everything up.)
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Congrats on the new computer...what did you get? (specs, brand etc).
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:hi******** *******@gmx.at: "Bernie Yaeger" <be*****@cherwe llinc.com> schrieb:I asked two fairly simple questions, or so I thought, but have received no ideas at all.
Please avoid addressing posts to certain people. Instead, address them to
the whole group!
(I didn't have time to reply because I got a new computer yesterday and I am still setting everything up.)
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
"scorpion53 061" <sc************ @nospamhereyaho o.com> schrieb: Congrats on the new computer...what did you get? (specs, brand etc).
That's very much OT here... ;-).
I got an Intel P4 3.0 GHz HT, 1 GB of Kingston RAM, 160 GB Western Digital
HDD (S-ATA), LiteOn CD/DVD writer (R+RW, supporting double layer DVDs), a
normal CD/DVD drive, a 3.5" floppy drive, Aeolus FX 550 graphics card, all
working on an ASUS board. The soundcard is on-board. Did I forget to
mention anything? Well, I have chosen a black/silver tower instead of such
an ugly grey box.
BTW: Donations are welcome ;-):
<URL:http://dotnet.mvps.org/meta/donate/#EnglishDonate>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Tx Herfried; great help this time.
Bernie
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:eI******** ********@TK2MSF TNGP10.phx.gbl. .. "Bernie Yaeger" <be*****@cherwe llinc.com> schrieb:I asked two fairly simple questions, or so I thought, but have received no ideas at all.
Please avoid addressing posts to certain people. Instead, address them to the whole group!
(I didn't have time to reply because I got a new computer yesterday and I am still setting everything up.)
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Hi Nak,
Thanks for your response.
I suspect you are correct about the listview.
Re the menus, I'm sorry that that's the answer - the inability to have a
simple menu on a child form is a serious oversight, in my opinion. There is
often need for such.
Tx again,
Bernie Yaeger
"Nak" <a@a.com> wrote in message
news:OF******** ***********@TK2 MSFTNGP09.phx.g bl... Hi Bernie,
Sorry to hear that your questions are going some time without being answered but you must be aware that everyone here bar the Microsoft employees are helping completely voluntarily so it may take a little while for your questions to be answered. Just have a little patience.
1. What is the control that MS uses in Outlook Express that contains attachments? It appears to be a multicolumn listbox but the # of columns is somehow fixed and it contains icons as well as text.
AFAIK this is the ListView control. There are plenty of advanced extensions that can be applied to it, and it is probably the most extensible control available in the framework.
2. When I add a main menu to a child form in an mdi app, and use this code, the menu does not merge (I do not want it to merge with the parent's menu): Dim i As Integer
For i = 0 To MainMenu1.MenuI tems.Count - 1
MainMenu1.MenuI tems(i).MergeTy pe = MenuMerge.Remov e
Next
Don't merge items by code, use the merge properties available for the menu item. If you want an item to merge with it's parent you set the merge order to the same value as an item in the parent menu. How it merges all depends on the merge type property.
What I want is for it to have its own menu and be a child form at the same time. How can this be done?
It can't, the menu will always be attached. If you don't want this functionality you will have to implement your own MDI interface. You can add forms to containers providing their hidden property toplevel is set to false, but be warned there is *allot* of work involved!
Nick.
Hi Cor,
Thanks for your consideration. I know you always try to help, and very
often are very helpful.
Yes, Nak's answers, although I wish the answer about menus was different,
were helpful.
Thanks again,
Bernie
"Cor Ligthert" <no************ @planet.nl> wrote in message
news:%2******** ************@TK 2MSFTNGP09.phx. gbl... Nick,
Bernie is with the ones who answer a lot here. He started I thought in that time you was away.
He is always friendly and I find he does it as well now in a friendly way. Although there is no need to set it directly on Herfried, Ken and me, there are a lot of others who helps as well here.
Bernie had for Outlook in his previous message not written what outlook it was for and I thought it was therefore not Outlook express and in my opinion are there better ones to answer that than me.
I had planned to check what it could be, after that I thought that the control was a created usercomponent with as most important part the listview and a buttonbar (I have the idea it looks as that one in the powertools) some comboboxes, some textboxes and a button.
I also planned to find out how I could help him with the MDI. Armin our group specialist in MDI is already a while gone. I have done as well something with that. However that merging from menu's I find always awfull to do.
So I wait now on the answer on Bernie if your answer fit and will when it does not fit when I have time other take some time in it to help him.
Cor
Sweet.
My laptop is 1 gig of ram, 80 gig hard drive, 3.2 ghz, 64bit but the
thing likes to shut down every once in a while on its own. It is
annoying. WE have been over the virus and worm and none were there.
SO what did your machine cost you? Did you build it yourself?
Did you have issues moving projects? Or did you image to the new
machine?
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:hi******** *******@gmx.at: "scorpion53 061" <sc************ @nospamhereyaho o.com> schrieb: Congrats on the new computer...what did you get? (specs, brand etc).
That's very much OT here... ;-).
I got an Intel P4 3.0 GHz HT, 1 GB of Kingston RAM, 160 GB Western Digital
HDD (S-ATA), LiteOn CD/DVD writer (R+RW, supporting double layer DVDs), a
normal CD/DVD drive, a 3.5" floppy drive, Aeolus FX 550 graphics card, all
working on an ASUS board. The soundcard is on-board. Did I forget to mention anything? Well, I have chosen a black/silver tower instead of such an ugly grey box.
BTW: Donations are welcome ;-):
<URL:http://dotnet.mvps.org/meta/donate/#EnglishDonate>
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: scorpion53061 |
last post by:
I know this may sound strange but I wanted to throw this at you guys as you
seem to be the "framework" of this NG.
I think you guys are great at giving help. Thank you for the help you have
given me over the last year since I started in vb.net. It was my first
language and boy let me tell you getting started was rough(and still can
be!). But I hung in there.
Would you all be willing to consider taking a topic (for example regular...
|
by: Robin Tucker |
last post by:
I have a DLL that hands me an HGLOBAL handle to a blob of memory containing
a WAV file (don't ask what the app is!).
I figured I could play it with winmm.dll PlaySound or sndPlaySound
(deprecated?). But how?
Any ideas?
|
by: Bernie Yaeger |
last post by:
I can't believe that there aren't lots of developers who:
1. create a crystal report that connects to sql server
2. calls the report using the crystalreportviewer control to view it and
then, if appropriate, print it
3. tries to deploy that report to the client's database, but now it calls
for a different database name
Yet I can't get an answer to the question:
I have developed numerous reports in an app (Windows Database App) that...
|
by: Lisa Jones |
last post by:
Hi
I don’t want to change my name or anything :) but I wish I was able to save Sound into SQL server and retrieve it
So my question is How do you save a wav file into a SQL server and how do you retrieve it
Thanks so much
Lisa Jone
|
by: spamfurnace |
last post by:
Howdy, im sure the man himself can answer this..... or his sidekick Cor.
What is an MVP and who put him in charge of this newsgroup?
I dont ask that in a grumpy or derogative way, Ive never met the man but he
seems like a very skilled programmer and I think it's an admirable thing
that he and the others like him, give so much of their time the way they do.
So full credit to you and thanks.
:)
| |
by: schneider |
last post by:
I can't get any of the Key events to fire in my UserControl.
The control only contains a few labels.
This is really annoying..
Anyone know whats going on?
Thanks,
Schneider
|
by: Dave |
last post by:
Are there any add-on products or samples available that can do the following
in an vb.net datagrid
I want to compare 2 rows in a datagrid - one row from one database and
another row for another database.
So all the even rows would be from database one.
All the odd rows would be from database two.
Row one and two will have different formats and colors.
|
by: Ken Fine |
last post by:
I want to add the security question and answer security feature to the
ChangePassword control. I am aware that this functionality is built into the
PasswordRecovery tool. I have implemented the PasswordRecovery with a
Password reset required; a temporary password is sent to the account on
file. I want an extra layer of security to accommodate the very unlikely
contingency that someone's e-mail account is compromised. Challenging with
the...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| | |