i need to play a system sound like in a chat program i am using [CODE]Interaction.Beep[/CODE] at the moment but would like to use a different sound. any thing i could not find any thing on the net

Member Avatar
Member Avatar
+0 forum 11

i have a video player and i need to detect when the scrubber is more then 20.6% across this is the script i got so far [CODE] function ad() { if (document.getElementById('scrubber').style.left > "20.6%") { document.getElementById('ad').style.display = 'block' }else{ setTimeout(ad(),1000); } } [/CODE] this is the scrubber and the ad i need to show when the scrubber is past 20.6% [CODE]<a id="scrubber" href="#" class="scrubber-button" style="left: 0%;"><img src="scrubber.gif" width="16" height="16"></a> <div id="ad" class="ad" style="display:none;">Ad This is the ad if you see this then i win.</div> [/CODE]

Member Avatar
+0 forum 0

i need to add code to the form using code like the Controls.Add(). but to add code not a control. any ideas.

Member Avatar
Member Avatar
+0 forum 8

I need to get the icon from a drive and put it in a picbox. For example i have an icon on my usb/flash drive and i want to get the icon and put it in a picbox same for my c drive and DVD drive

Member Avatar
Member Avatar
+0 forum 4

I am using a MDI Form and several documents can be opened using "CommonDialog1.ShowOpen" If i open a file then go back to open another file but click cancel or the "x" then it will open the last file. so i need to know how to clear the "#1" my code it: [CODE] FileName = "" Data = "" MDIForm1.CommonDialog1.Filter = "All Files(*.*)|*.*|Text Files(*.txt)|*.txt|Web Files(*.html;*.htm;*.shtml;*.shtm;*.xhtml;*.php;*.php3;*.phtml;*.css;*.js;)|*.html;*.htm;*.shtml;*.shtm;*.xhtml;*.php;*.php3;*.phtml;*.css;*.js;|Batch Files(*.bat;*.cmd;*.nt;)|*.bat;*.cmd;*.nt;|VB Files(*.vb;*.vbs;*.frm;*.vbp;)|*.vb;*.vbs;*.frm;*.vbp;" On Error GoTo error MDIForm1.CommonDialog1.ShowOpen Me.Caption = MDIForm1.CommonDialog1.FileTitle FileName = MDIForm1.CommonDialog1.FileName Open FileName For Input As #1 Do Until EOF(1) Input #1, Data Me.Text1.Text = Me.Text1.Text + Data + vbCrLf EOF (1) Loop …

Member Avatar
Member Avatar
+0 forum 2

I need to copy text form a text box for example: My text box has temperature="18.5" in it and i want to copy the text 18.5 i already have it selected i just need to copy it or put it into a var

Member Avatar
Member Avatar
+0 forum 5

I Need a script that will change the name of a file when it is getting downloaded. for example: the file getting downloaded has a name "File.mp4" and when the user downloads it i need it to be "Title.mp4"

Member Avatar
-1 forum 0

I need to create a form using code. Is there a way to do this. like in the code i need to create a form with a name, caption and text box in it.

Member Avatar
Member Avatar
+0 forum 21

im making a program that gives you the age of the person that enters there date of birth the code i got at the moment is: Private Sub Command1_Click() Dim age As String age = Month(Now) - Text4.Text If age < 0 Then age = 1 Else age = 0 End If Text3.Text = "" Text3.Text = Text3.Text & "Name: " & Text1.Text & vbCrLf Text3.Text = Text3.Text & "Gender: " & Text6.Text & vbCrLf Text3.Text = Text3.Text & "Date of Birth: " & Format(Text2.Text, "##") & "/" & Format(Text4.Text, "##") & "/" & Format(Text5.Text, "####") & vbCrLf Text3.Text = …

Member Avatar
Member Avatar
+0 forum 5

hi, How do you make a exe open and run in a different directory in vb6? so my exe is in the directory D:\test.exe and want it to run in the directory C:\ without copying the file there

Member Avatar
Member Avatar
+0 forum 4

The End.