Forum: VB.NET Apr 7th, 2006 |
| Replies: 14 Views: 7,435 Re: Closing external application Ok here's the final code:
Sub PlayGenre(ByVal strGenre As String)
PlayWav("C:\VB6SBS\TTS testing\New Folder (3)\c55.wav")
Select Case strGenre
Case "jazz"
... |
Forum: VB.NET Apr 7th, 2006 |
| Replies: 14 Views: 7,435 Re: Closing external application Ok this is a little confusing, but works perfectly:
Select Case strGenre
Case "jazz"
If boolRadioIsPlaying = False Then
boolRadioIsPlaying = True
... |
Forum: VB.NET Apr 7th, 2006 |
| Replies: 14 Views: 7,435 Re: Closing external application That didn't work, but this did, well sorta.
extApplication = System.Diagnostics.Process.Start("C:\Program Files\Winamp\winamp.exe")
... |
Forum: VB.NET Apr 6th, 2006 |
| Replies: 14 Views: 7,435 Re: Closing external application I think the problem is that when I open WinAmp
extApplication = System.Diagnostics.Process.Start("http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=8234&file=filename.pls")
I am... |
Forum: VB.NET Apr 6th, 2006 |
| Replies: 14 Views: 7,435 Re: Closing external application Thanks for the reply , but I must be doing something wrong.
' Declaration
Private extApplication As Process
' //////
Select Case strGenre
Case "jazz" |
Forum: VB.NET Apr 4th, 2006 |
| Replies: 4 Views: 1,787 Re: Scanning for more than one object This is more ASP.NET solution, but might be what you need here, not sure...
Dim strList As String
Dim strLine As String
Dim arrList As Array
Dim lenList As Integer
... |
Forum: VB.NET Apr 2nd, 2006 |
| Replies: 14 Views: 7,435 Re: Closing external application Well that works (sorta)
The program closes an app based on the name of the process in the Task Manager : example - It would close a program called "My Program" just fine. But if I try to close... |
Forum: VB.NET Apr 2nd, 2006 |
| Replies: 14 Views: 7,435 |
Forum: VB.NET Apr 2nd, 2006 |
| Replies: 14 Views: 7,435 |
Forum: VB.NET Apr 2nd, 2006 |
| Replies: 14 Views: 7,435 Re: Closing external application Nope.
But thanks for the reply.
Goint to try referencing Winamp and see what I can do from there:
Dim WinAmp As New WinAmpXLib.IWinAmpActiveX
So far I don't see any cammands refering to the... |
Forum: VB.NET Apr 2nd, 2006 |
| Replies: 14 Views: 7,435 Closing external application Ok, I have been using Microsoft's SAPI, to "well try to do everything"
And have had alot of success. I can open applications, play music, calculate math equations, and even retreive defenitions of... |
Forum: ASP.NET Jul 19th, 2005 |
| Replies: 9 Views: 4,294 Re: Can't compare strings after PostBack I Think I might just use Javascript client-side to select the random image.
If I call the Javascript from another page the result will be hidden and so the protection will still work.
He he... I... |
Forum: ASP.NET Jul 19th, 2005 |
| Replies: 9 Views: 4,294 Re: Can't compare strings after PostBack I did that and it worked.
I remember the problem now.
It works, only now I need the Is.PostBack to be set to False.
Sort of like resetting the entire program so it can be run a second... |
Forum: ASP.NET Jul 19th, 2005 |
| Replies: 9 Views: 4,294 Re: Can't compare strings after PostBack I will have to get back to you on using 'IsPostBack'
I know I tried that recently, but it did not work right. Although I forget why.
It worked initially but something else further down the line... |
Forum: ASP.NET Jul 8th, 2005 |
| Replies: 9 Views: 4,294 Can't compare strings after PostBack I the Page_Load I have a random event and a public variable
Dim rndImage As Integer
Randomize()
rndImage = 1 + Int(Rnd() * 13)
Select Case rndImage
Case 1
... |
Forum: ASP.NET Jul 1st, 2005 |
| Replies: 4 Views: 2,900 |
Forum: ASP.NET Jun 30th, 2005 |
| Replies: 4 Views: 2,900 |
Forum: ASP.NET Jun 30th, 2005 |
| Replies: 3 Views: 23,624 |
Forum: ASP.NET Jun 30th, 2005 |
| Replies: 3 Views: 23,624 Re: Server Error in '/' Application Ok I didn't know I needed to place my bin folders etc on the root.
BUT, now I have another error, that does'nt appear so easy to understand:
Cannot create ActiveX component.
Description: An... |
Forum: ASP.NET Jun 30th, 2005 |
| Replies: 3 Views: 23,624 Server Error in '/' Application My program runs fine on my local server. I Copied the Project ( only the files needed to run ). Then uploaded my project to my website.
Server Error in '/'... |
Forum: ASP.NET Jun 30th, 2005 |
| Replies: 6 Views: 3,268 |
Forum: ASP.NET Jun 30th, 2005 |
| Replies: 2 Views: 10,417 |
Forum: ASP.NET Jun 27th, 2005 |
| Replies: 1 Views: 13,554 Re: Potentially Dangerous Request.Form? Error Well I studied the error and found a WorkAround.
disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly... |
Forum: ASP.NET Jun 27th, 2005 |
| Replies: 1 Views: 13,554 |
Forum: ASP.NET Jun 27th, 2005 |
| Replies: 4 Views: 2,900 |
Forum: ASP.NET Jun 27th, 2005 |
| Replies: 7 Views: 6,976 Re: how to make the aspx page at runtime Are you wanting to actually output an .aspx page and write it to a file?
Or just output the code to html to be copied then pasted?
Are you asking how to write to a file?
Or how you would format the... |
Forum: ASP.NET Jun 27th, 2005 |
| Replies: 4 Views: 7,921 Re: Using Excel You say it is supported in VB.net. But is it supported in ASP.net Web Applications?
There is a difference.
I looked around the web and in my manuals, and found nor references to using an Excel... |
Forum: ASP.NET Jun 27th, 2005 |
| Replies: 4 Views: 2,900 Import html docs from other server I've made a web-crawler in VB6. I'd like to port it to .NET so I can make it accesible to the public over the web.
Basically my own version of Poodle.
Porting most of the code will be very easy,... |