|
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
|
|
|
|
|
niknurayunni wrote: when user press A and click on certain area in the panel, that will be the last location of the box A
You do not need to care about the button click then. Handle the panel's MouseDown event.
Infact get rid of the button and try out some help text for the user.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
I have a picturebox that loads an image, and I need to let the user replace the image. How can I replace the file of the image that was loaded into the picturebox? I tried settings the picturebox's image to "New Bitmap(1,1)" to clear it first, but it didn't help.
Help please?
|
|
|
|
|
Hi,
an image that get loaded from a file (by Image.FromFile or PictureBox.Location) remains locked until the image gets disposed of. So you would need (I'm using C# syntax here, adapt where necessary):
Image image=Image.FromFile(filename);
myPB.Image=image;
Thread.Sleep(10000);
myPB.Image=null;
image.Dispose();
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
|
|
|
|
|
If anybody have knowledge about smart cards...
how you convert the hexadecimal data in the APDU format to character form...
do we have to write a code for that..and how you connect smart card to visual basics so that it displays the data in character form....do we need a driver for connections....??
I am using the ACR38 SDK(software development kit)
smart card reader is ACR 38.
smart cards are SLE 5542,SLE 5528..
for more details contact www.acs.com.hk
|
|
|
|
|
I am developing appliation with ACR 38 and SLE 4428 card. I dont find API to be programmed in my .Net application on ACS website. Can you help so that i can directly use those API in my application.
my mail id : pratik81in@gmail.com
I know the ApI:
AC_Open
AC_StartSession
AC_ExchangeApdu
|
|
|
|
|
I use this
For i = 0 To CheckedListBox1.CheckedItems.Count - 1
DataGridView1.Rows.Add(1)
DataGridView1.Rows(i).Cells(0).Value = CheckedListBox1.CheckedItems.Item(i)
Next
But this add this "System.Data.DataRowView"
|
|
|
|
|
You have to convert the CheckedItems.Item(i) to a String or retrieve whatever text you used to label that item.
|
|
|
|