|
I have checked it out. i have disabled the functions so the form can not be minimized , moved,... this because of the users are not PC minded.
I think i have found my mistake.
I am opening a new form, when this forms is loaded, in the form_load sub there i have set that i set mainform.enabled=false
Maybe is there the problem the small time difference.
Thanks
DCA
|
|
|
|
|
Hi,
disable means the controls will no longer react to user input; a disabled form can still be minimized,
brought to the front, etc by some code.
if you don't want to see a form no matter what, then call Hide (or set Visible=false, that is the same).
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
|
You shouldn't be touching the main form from your child form at all.
Also, how are you displaying this child form? Are you using Show or ShowDialog?? It sounds like you should be using ShowDialog since this will prevent any interaction with the rest of the application forms until you close this child form.
|
|
|
|
|
|
In order to make a visualizer (plugin), you need the Windows Media Player 10 or 11 SDK, the docs for which can be found here[^].
The WMP 10 SDK can be downloaded from here[^]. The WMP11 SDK comes as part of the Windows SDK for Vista, which is HUGE and can be picked up from here[^].
Warning! This SDK is meant for use with Visual C++. You will not find any examples written in VB.NET. This is NOT a beginners project. If you don't have knowledge of how Component Object Model, or COM, works, you will not be able to create a visualizer at all.
|
|
|
|
|
hi Dave
thanks
I got just on little doubt.
if I use this SDK, will the exe file work on computers not having the sdk
can you tell me? please ...
TheMrProgrammer
|
|
|
|
|
Yes. The SDK is for developing the software, not running it.
|
|
|
|
|
hi dave
using the sdk i figured out that what i need is IWMPEffects interface
It has a frequency_index property but its under a header file
any ideas how to use it in vb
TheMrProgrammer
|
|
|
|
|
It's an interface you have to implement in your code. This is not a function you call, but an interface that you are expected to flesh out so WMP can call YOU.
TheMrProgrammer wrote: any ideas how to use it in vb
I have some ideas, but they involve HEAVY knowledge of COM interop. Something that I can't really explain in a forum. There's also a reason why I said you probably won't find any examples in VB doing this. It is far from easy to do.
|
|
|
|
|
Hello,
I have 2 questions about publishing a project.
1.I am using software from the manufactor if the POS printer in my own programm. When i install the published application on a PC there is one dll file of the software from the POS printer that is not included in the install file. Without this dll the printer is not responding and the programm is given errors.
when i manualy copy the missing dll file to the directory where the application is installed my programm is working without any problems.
Is there a way to attach the missing dll in the publish file so when the application is installed the dll is automaticly also there.
2.My second problem is also something with the publish of a project. When i have published my project and installed to a PC , the project is default installed in a directory that is not find in programm files.It is located somewhere far away from the root directory \locallow\.......
Is there a easy way so i can set that the installation must be under c:\program files\name of software
Thanks
best regards
DCA
|
|
|
|
|
DCAUB wrote: 1.I am using software from the manufactor if the POS printer in my own programm. When i install the published application on a PC there is one dll file of the software from the POS printer that is not included in the install file. Without this dll the printer is not responding and the programm is given errors.
when i manualy copy the missing dll file to the directory where the application is installed my programm is working without any problems.
Is there a way to attach the missing dll in the publish file so when the application is installed the dll is automaticly also there.
Adding the file is easy. Just open the Setup project you've added to your solution, click on the Application Folder on the left, then just drag the .DLL file into the right side panel and drop it.
DCAUB wrote: 2.My second problem is also something with the publish of a project. When i have published my project and installed to a PC , the project is default installed in a directory that is not find in programm files.It is located somewhere far away from the root directory \locallow\.......
Is there a easy way so i can set that the installation must be under c:\program files\name of software
If you're using ClickOnce deployment, no, you can't pick the installation folder.
If you're using a normal Setup project, you click on the Application Folder on the left, then look in the Properties window. You'll find the DefaultLocation property there.
|
|
|
|
|
Can you please give me a small explaination how i can make a setup of a working project ?
Do i need to add something to my existing program ?
thx
DCA
|
|
|
|
|
If you have an Express edition of Visual Studio, you don't have this option.
|
|
|
|
|
I have a payed version (pro)
thanks for give me a few hints how to add the setup to my project.
DCA
|
|
|
|
|
how to get reset an application without reopen the application?..txx
|
|
|
|
|
What do you mean by reset?
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
|
how to To Reset Form To How It Was At Startup?
|
|
|
|
|
Well, employ a method to reinitialize it. Something like a ClearAll method.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
There is no spoon, and there is no reset-feature. How about closing "self" and using a Process.Start to run your application again? That will reset your application, freeing resources and stuff
I are troll
|
|
|
|
|
thanks for your help!!
Me.Close()
Application.Restart()
|
|
|
|
|
Hi everyone
need your assistance on this matter
I develop an application which requires user to enter width and length in text area
and later when they press 'load button', the dimensions entered will be used to generate a box on panel
I am using .NET framework 2.0
is it possible?
Nik Nur Ayunni
Malaysia
|
|
|
|
|
Set the provided width and length(i suppose it should be height) to the controls width and height property in the load button's click handler.
|
|
|
|
|
You can create a picturebox or a label with the specified dimensions and add them to the panel on button click.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
oo ok2,i get the idea, thanks for your reply
but then how about multiple boxes to be put?
let say we have A, B, C, D, E in button controls (A represents box in A size, B in B size etc)
when user press A and click on certain area in the panel, that will be the last location of the box A
and when user click B and another area in the panel, it will be the last location of box B
is it possible with only .NET framework 2.0?
thanks
|
|
|
|