|
Map the CBN_SELCHANGE of the combobox and do the updations of the list control in the mapped function.
- NS -
|
|
|
|
|
Thanku all! I am done!
With Reagards
Vikas
|
|
|
|
|
hi...
how to get all system directories , folders and files in a combo box?
paulraj
|
|
|
|
|
If you want to get with a statement see DlgDirList but I suggest use of FindFirstFile/FindNextFile/code>.
|
|
|
|
|
hi...
I tried...
you understand my question....
If i clicked combobox, directories folders and files should be come.
paulraj
|
|
|
|
|
You want to have folders and files on your combobox,right now why my answer was wrong?
|
|
|
|
|
Maybe because you didn't give him the full answer or the done job :P
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
|
|
|
|
|
I like he answers to me because I like to know my answer was correct or wrong?
|
|
|
|
|
And it is perfectly logical. But there are users that doesn't understand that our reward is a simple thank you when we helped, and I know that I am not as good as many other users, but I do my aportation as well when I can :P
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
|
|
|
|
|
Of course its DlgDirListComboBox for combobox.;)
|
|
|
|
|
I am developing a web application in that I need to record audio, for that I am importing "winmm.dll" and using mciExecute function.(the following code is vb.net). If I have posted in irrelavent forum please let me know where should I post questions related to audio and video (for web development).
<code>
Imports System.Runtime.InteropServices
Imports Microsoft.VisualBasic
Imports Microsoft.VisualBasic.Devices
Partial Class audioRec
Inherits System.Web.UI.Page
<DllImport("winmm.dll", EntryPoint:="mciExecute", CharSet:=CharSet.Ansi, SetLastError:=True, ExactSpelling:=True)> Private Shared Function mciExecute(ByVal lpstrCommand As String) As Boolean
End Function
Protected Sub BtnStart_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BtnStart.Click
mciExecute("open new Type waveaudio Alias recsound1")
mciExecute("set recsound1 time format ms bitspersample 16 channels 1 samplespersec 11025")
mciExecute("record recsound1")
End Sub
Protected Sub BtnStop_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BtnStop.Click
mciExecute("save recsound1 c:\\record.wav")
mciExecute("close recsound1 ")
Dim c As New Computer
c.Audio.Stop()
End Sub
Protected Sub BTNplay_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BTNplay.Click
Dim computer As New Computer
computer.Audio.Play("c:\\record.wav", AudioPlayMode.Background)
End Sub
End Class
</code>
but when I am clicking the start button "the order in which you are passing parameters is invalid please correct the order" msg is getting displayed. I need to to record an audio file in "8khz, 16 bit, mono" format. How can I meet this requirement.
i will be thankful for ur suggestions..
with regards,
kiran
|
|
|
|
|
|
Hi All,
I have read many forum answers on this error but I could not found solution.
I am using MFC Application in VS 2005. I my application I have created one .dll file named VNCHooks.dll which is running before the my MFC solution .exe file. Now when I run it uising F5 I got tjhe error like below....
This application has failed to start because VNCHooks.dll was not found.Re-installing the application may fix this problem.
in the Messagebox.
I tried it to copy in C:\WINDOWS\system32 but it still gave me same error.Before some time it was working very nice but suddendly it got problem.
So, kindly reply if you got some solution or any suggetion.
Thanks in Advance.
Ashish Bhatt
|
|
|
|
|
Hi,
Some days bfore i got the same problem.We are using third party dll.It was working fine.but one day it shows error.
I made this,then it works fien.Pls follow this
1)Type REGSVR32 VNCHooks.dll in ur Run Command and click OK.
It shows the message like DLLregisterServer succeeded.
THen it works fine.
Bye
Anu
|
|
|
|
|
I have already tried what you are trying to say but I got message like below.....
LoadLibrary("VNCHooks.dll")failed- The specified module could not be found.
And also I tried it to put this dll into System32 folder but it stil gave me the same error.
Do you have any other suggetion? then give me.I will appreciate them.
Thanks.
Ashish Bhatt
|
|
|
|
|
Regsvr32.exe is an application that used to register Dlls and activex controls,did you use of it?
|
|
|
|
|
You can see my above post as I have posted.
if you any more suggetion then give me.
Thanks.
Ashish Bhatt
|
|
|
|
|
If you used of Regsvr32.exe previous whats its message?
|
|
|
|
|
LoadLibrary("VNCHooks.dll")failed- The specified module could not be found.
In messagebox.
Ashish Bhatt
|
|
|
|
|
Windows searches for dlls in this folder
1. c:\windows
2. c:\Windows\system32
3. c:\Windows\system
4. App's current directory
5. App's startup directory
6. Path environment variable
sometimes you can see this error for one or more DLL's in many cases windows uses of Path environment variable to find additional dlls
Can you use of other OS for register your dll and see result
|
|
|
|
|
ya I have searched this dll in all paths as u told.
And let me remind u that this is my application's dll so it is created in my debug folder when I compiled my project.And also I tried to put this dll in c:\windows\system32 then still I got same error.
thanks.
Ashish Bhatt
|
|
|
|
|
Maybe your dll needs to load other dlls and it cant,can you check your dll on other OS?
|
|
|
|
|
Copy the dll in the same folder than your application.
|
|
|
|
|
ya I have my dll in my same folder as my application
Ashish Bhatt
|
|
|
|
|
By the way I got solution by removing that dll project and once again add it to workspace. At present it is working nice. If I will get some problem then I will contact you later.
But I realy want to know the reason why this happened for my knowledge point of view.
Thanks to All.
Ashish Bhatt
|
|
|
|