I have written a shell command to call word application and the word application is opening fine. But once the application is opened. I want to have the word application screen in a specific size say 850*850 and make it fixed so that the user will not be able to change the size.
Can any one...
I have an VBP standard EXE project. I was working on it yesterday and it was working fine.
Now i am unable to load the VBP project. I have restarted my PC and tried, no fruitful results.
I am able to load some other projects succesfully, except this project which i was working yesterday.
Not...
I want a tool bar,(say a list box) where in i will be able to select a word from the list and the selected word should appear in the word document.
Is it possible to create our own toolbar with our own features in word.
My PC is linked to different drives say C Drive, D Drive. I want to select a folder which is present in the drives and use it for my further manupulations....
How could i do this using VB...
Thanks you
I got a tool which will do this... i have modified it for my requirements.
have a look into the attachemtn provided in this link.
http://www.devcity.net/forums/topic.asp?tid=26848&highlight=shell
Thank you
Suresh
The code which i have created is
Dim RetVal As Long
Dim WSH As IWshShell
Dim WaitForTermination As Boolean
Dim CommandLine As String
Private Declare Sub ExitProcess Lib "kernel32" (ByVal ReturnCode As Long)
Private Sub Command1_Click()
Dim oFso As New...
I tried like this
filepath = str_srcfoldername & ofile.Name
Call Shell("c:\md5.exe &filepath>c:\s1.txt")
BUt no fruitful results.
Any other ways of getting the solution using windows API.
Let me know
I need to invoke an exe from VB. I have to pass some parammeters to run the exe. The exe is giving a 16 digit number as output i need to store the result in a output file.
Is there any feasible solution.
Thanks
Thanks !
I have another problem now. This is lauching the MSDos prompt but not executing my .exe file (present in batch file) until I close the dos prompt.
Content of my batch file is:
C:\Myapp\setup.exe
As soon as I close the dos prompt, it starts executing the .exe file. I don't want to...
I am getting a compile error in the following line.
Call CloseHandle(udtProc.hThread)
Call CloseHandle(udtProc.hProcess)
This function is not present i believe.
I copied the code in VB editor,
But i see some lines in red. Probably some piece of info is missing in this line
Public Const NORMAL_PRIORITY_CLASS = &H20&
Public Const INFINITE = -1&
Can you help me out.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.