|
Have a look at this article:
Designing Resizable Windows Forms in Visual Studio .NET[^]
It demonstrates the "new" way of designing resizable forms using the anchor and dock properties provided by .NET.
In some cases you might want to resize the sizes of other types of controls on the form, eg. textboxes, comboboxes etc. That's the "old" way, and it's more complicated. If for instance you change the size of a textbox on the form, you might need to chenge the font size too or the box will become to small for the text, which will lead to nothing showing.
There are a lot of 3rd party libraries that can be used for this king of resizing, for instance this:
http://www.componentone.com/SuperProducts/SizerWinForms/[^]
|
|
|
|
|
Hi,dear all,
I am using Window XP (SP3), I create a project using VB6.0.
When I run the program from VB, it works fine, but When I use InstallMaster to compile to generate setup file, I got the following error:
"To deploy MS Jet 4.0 SP5, you must install MDAC 2.6 to your development system".
How can I know if I already have MDAC installed in my computer? if yes, how to check its version?
If I didn't have it installed in my computer, should I install MDAC 2.6 SDK or MDAC 2.6 RTM?
Thanks!
|
|
|
|
|
XP SP3 has MDAC 2.8 already installed. You need AT LEAST 2.6 installed.
Andraw Tang wrote: How can I know if I already have MDAC installed in my computer? if yes, how to check its version?
Easier asked than done. You need this[^] tool to determine that.
|
|
|
|
|
Dave,
If XP Sp3 already has MDAC2.8 installed, why was I asked to install MDAC2.6?
If I really need to install it, what type of MDAC2.6 should I install, SDK or RTM or someone else?
Thanks!
|
|
|
|
|
You can't install MDAC 2.6 on an XP SP3 machine. The installer will see that a newer version is already installed and will abort.
InstallMaster is what's screwing you up right now. I've never used it, so I can't tell you what it's looking for or why. My suggestion would be to use InnoSetup or something else to package the app and see what happens.
|
|
|
|
|
Dave,
Thank you for your reply.
The project I am working on is an existing project which is very complicate, they used several third party tools, while create setup file, it also need to register these tools, I just did a little changes on it. If I use InnoSetup, I need to rewrite all these .wse files, I am fraid of missing some logic, do you have any good idea?
|
|
|
|
|
Dave,
If I following the same logic to rewrite the installation script file using InnoSetup file, will I have the same problem as installMaster??
Also is it easy to convert .wse file to InnoSetup script file?
Thanks!
|
|
|
|
|
I have no idea. Like I said, I've never used InstallMaster.
You really should be asking the people who wrote InstallMaster these questions. It doesn't seem to be handling MDAC correctly, or, your code was written against an old version of MDAC. Truthfully, it wouldn't surprise me since you're still using VB6.
|
|
|
|
|
Hey guys,
if I start my project, I can see it in the taskmanager.
Is it possible to make it just visible in the processes (not in the applications)???
|
|
|
|
|
I don't know if this works in VB6, but try setting the form border to ToolWindow.
|
|
|
|
|
Nope, doesn't work
|
|
|
|
|
OK, another idea: What if you design and install your program as a windows service?
|
|
|
|
|
How do you start your program?
Meaning do you start if from an install or from your development tool?
Is this happening on more than one computer?
Normally you should see it in both the processes and applications tab without doing anything.
Keeping it out of applications tab will be more challenging tho.
|
|
|
|
|
both.
Yes i normally see it in both tabs, but I only want to see it in the processes tab!
(Like Office Outlook)
Is this possible?
|
|
|
|
|
What special edition on Outlook do you have that does not show in the Applications tab? It shows in both on my 2010 edition, and also did with all previous versions I have ever had installed.
|
|
|
|
|
Outlook 2007
I see no application... Only the "OUTLOOK.EXE" in the 'Processes' Tab
|
|
|
|
|
And what exactly do you think that is?
|
|
|
|
|
You misunderstand, some there are two tabs in task manager, titled 'Applications' and 'Processes'.
He is saying his program appears in both the 'Applications' tab and the 'Processes' tab and he wishes to remove his entry from the 'Applications' tab.
|
|
|
|
|
You're right, I misread it. But when I fire up my Outlook 2007 I see it both in Applications AND processes... ?!?!?!
|
|
|
|
|
If you look in the Taskbar notifications area (Windows 7) you can see running apps that do not have visible windows or icons on the main part of the taskbar. These apps show up in the process list but not in the application list of Task Manager. There are a number of MS applications that do this and behave somewhat like a background task, generally doing nothing until the user right clicks the icon and initiates some action.
It's time for a new signature.
|
|
|
|
|
Try setting the showintaskbar property to false
|
|
|
|
|
Please reply to the correct person, i.e. the one asking the question.
It's time for a new signature.
|
|
|
|
|
|
This article[^] explains how to do it in C++/Win32, so it may be of some help.
It's time for a new signature.
|
|
|
|
|
Try setting the ShowInTaskbar property to false because apps that are not displayed in the taskbar will not be displayed in the applications tab if you have noticed.
|
|
|
|