Popular Threadsvisualbasic© 2009 Microsoft Corporation. All rights reserved.Wed, 25 Nov 2009 03:40:26 Zvisualbasichttp://social.msdn.microsoft.com/Forums/en-US/vbinterop/thread/3eb020d1-9fbd-4605-a949-8e43bb5e9220http://social.msdn.microsoft.com/Forums/en-US/vbinterop/thread/3eb020d1-9fbd-4605-a949-8e43bb5e9220purush_srihttp://social.msdn.microsoft.com/Profile/en-US/?user=purush_sridll was loaded but dll register server entry point cannot be found. The file cannot be registered.<span style="font-family:Arial;font-size:13px;white-space:pre"><strong>dll was loaded but dll register server entry point cannot be found. The file cannot be registered.</strong></span> <div><span style="font-family:Arial;font-size:small"><span style="font-size:13px;white-space:pre">The above message is the error message which I get. I am using the command &quot;regsvr32&quot; in the command prompt followed by the path in quotes where my dll file is copied to. I suppose those are the only steps required to registering? </span></span></div> <div><span style="font-family:Arial;font-size:small"><span style="font-size:13px;white-space:pre">If there is anything else that I have missed to get such a message, do give me your feedback on the same. </span></span></div> <div><span style="font-family:Arial;font-size:small"><span style="font-size:13px;white-space:pre">Regards</span></span></div> <div><span style="font-family:Arial;font-size:small"><span style="font-size:13px;white-space:pre">Purush</span></span></div> <div><span style="font-family:Arial;font-size:small"><span style="font-size:13px;white-space:pre">purush_kamal@yahoo.co.in</span></span></div>Thu, 17 Sep 2009 09:01:15 Z2009-09-22T02:17:01Zhttp://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/2c213d8d-87dc-422f-b471-79c0d4fd1c43http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/2c213d8d-87dc-422f-b471-79c0d4fd1c43ShariqDONhttp://social.msdn.microsoft.com/Profile/en-US/?user=ShariqDONOnline Video Downloader<p>Hello I am make Online Video downloader so i Chose <a href="http://www.Youtube.com">www.Youtube.com</a> Video download But i get some error Please Helpme to Complete this Process<br/>(Youtube is the Basicaly Online Video Website who Containg FLV file Video)<br/> For starting Process we need Two <strong><span style="text-decoration:underline">Richtextboxs</span></strong> , One <strong><span style="text-decoration:underline">Textbox</span></strong> , Three <span style="text-decoration:underline"><strong>Buttons</strong></span> , one <strong><span style="text-decoration:underline">Progressbar</span></strong> , <br/>one <strong><span style="text-decoration:underline">webbrowser</span></strong> and Three <span style="text-decoration:underline"><strong>Labels</strong></span> <br/>look:</p> <img src="http://0gnlhw.bay.livefilestore.com/y1ppNh06LcHmMPG4ZxLckLfDApyJYpY8lxkk74ObaHffzKdxKJFFlTNYMSkWtbVp5U4u3Z4ARBjUPZdLOIdQQH-Z9-TToYcnw9L/ques1.PNG" alt=""> <br/> <p> </p> <pre lang=x-vbnet>Imports System.net Public Class Form1 Private WithEvents download As WebClient Private Sub get_link() Dim i As Integer Dim l As Integer Dim string1 As Integer i = Me.rtb.Find(&quot;wath_fullscreen&quot;) l = Me.rtb.Find(&quot;&amp;title&quot;) Me.rtb.Select(i, Me.rtb.Text.Length) Me.txturl.Text = Me.rtb.SelectedText.ToString Me.rtb.Select(l, Me.rtb.Text.Length) string1 = Me.rtb.SelectedText.ToString Me.txturl.Text = Me.txturl.Text.Replace(string1, &quot;&amp;&quot;) Me.txturl.Text = Me.txturl.Text.Insert(0, &quot;http://www.youtube.com/get_video?&quot;) End Sub Private Sub done() Me.lbl_bytes.text = &quot;0 Bytes of 0 Bytes&quot; Me.lbl_title.text = &quot;&quot; Me.lbl_percent.text = &quot;0 %&quot; Me.ProgressBar1.Value = 0 Me.btn_cancel.Enabled = False Me.btn_download.enabled = False Me.btn_val.Enabled = True End Sub Private Sub btn_val_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn_val.Click If Not Me.textbox1.Text = &quot;&quot; Then If Me.textbox1.Text.Contains(&quot;http://www.youtube.com/watch?v&quot;) Then Me.WebBrowser1.Navigate(Me.textbox1.Text) Else Form2.Show() End If Else MsgBox(&quot;&quot;) End If End Sub Private Sub download_DownloadDataCompleted(ByVal sender As Object, ByVal e As System.Net.DownloadDataCompletedEventArgs) Handles download.DownloadDataCompleted done() MsgBox(&quot;Video Download Is Succesful&quot;, MsgBoxStyle.OkOnly) End Sub Private Sub download_DownloadProgressChanged(ByVal sender As Object, ByVal e As System.Net.DownloadProgressChangedEventArgs) Handles download.DownloadProgressChanged Me.ProgressBar1.Value = e.ProgressPercentage Me.lbl_percent.Text = e.ProgressPercentage Me.lbl_bytes.Text = e.BytesReceived &amp; &quot;bytes of&quot; &amp; e.TotalBytesToReceive End Sub Private Sub btn_download_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_download.Click get_link() Dim save As New SaveFileDialog save.Title = &quot;Choose where to save the video&quot; save.Filter = &quot;Flv|*.flv;*.flv&quot; save.FileName = Me.lbl_title.Text &amp; &quot;.flv&quot; save.ShowDialog() Me.btn_cancel.Enabled = True Me.btn_val.Enabled = False Me.btn_download.Enabled = False download = New WebClient Dim url = txturl.Text Dim wheretosave = save.FileName Me.ProgressBar1.Value = 0 Me.ProgressBar1.Maximum = 100 Try download.DownloadFileAsync(New Uri(url), (wheretosave)) Catch ex As Exception MsgBox(&quot;Cannot download video, Please check your Video link&quot;) End Try End Sub Private Sub btn_cancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_cancel.Click download.CancelAsync() MsgBox(&quot;Cancel Download&quot;, MsgBoxStyle.OkOnly, &quot;Cancel&quot;) done() End Sub Private Sub WebBrowser1_Navigated(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserNavigatedEventArgs) Handles WebBrowser1.Navigated If Me.WebBrowser1.Url.ToString.Contains(&quot;http://www.youtube.com/watch?v&quot;) Then Me.lbl_title.Text = Me.WebBrowser1.DocumentTitle Me.lbl_title.Text = Me.lbl_title.Text.Replace(&quot;YouTube - &quot;, &quot;&quot;) Me.rtb.Text = Me.WebBrowser1.DocumentText Me.WebBrowser1.Navigate(&quot;about:blank&quot;) Me.btn_download.Enabled = True End If End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None Me.Opacity = 0 Timer1.Interval = TotalDelayInMS / StepInMS Timer1.Enabled = True Me.btn_download.Enabled = False Me.lbl_title.Text = &quot;&quot; Me.btn_cancel.Enabled = False End Sub End Class </pre>Sat, 05 Sep 2009 14:41:52 Z2009-11-02T20:57:43Zhttp://social.msdn.microsoft.com/Forums/en-US/vbpowerpacks/thread/d9137db9-b579-4a11-9974-abdd085589e8http://social.msdn.microsoft.com/Forums/en-US/vbpowerpacks/thread/d9137db9-b579-4a11-9974-abdd085589e8axel11http://social.msdn.microsoft.com/Profile/en-US/?user=axel11Multiple User Controls appear in the toolbox<p>Hi, iam using visual studio 2008 and when iam using VB.net and i try to add a user control to the toolbox which is fine. i can use this control and nothing is wrong with it but when i build or re-build the project, it creates multiple instences of the same control in the toolbox(basicly the controls are cloning themselfs) after a while i might have 15 usercontrols in the toolbox and it becomes cluttered with copys.Anyone heard of this before?</p>Fri, 11 Sep 2009 13:29:49 Z2009-09-30T13:23:09Zhttp://social.msdn.microsoft.com/Forums/en-US/vbpowerpacks/thread/5663e334-7704-423a-b8f8-fcb3b8899f56http://social.msdn.microsoft.com/Forums/en-US/vbpowerpacks/thread/5663e334-7704-423a-b8f8-fcb3b8899f56sujit1779http://social.msdn.microsoft.com/Profile/en-US/?user=sujit1779change line color of powerpack datarepeater which comes after every recordHi,<br/> <br/> I am a little frustrated by this simple thing.. In powerpack datarepeater how to change color of the line which appears after every record. Kindly look at the attached image for reference.<br/> <br/> <br/> <a title="http://i27.tinypic.com/ng4w9g.png" href="http://i27.tinypic.com/ng4w9g.png" title="http://i27.tinypic.com/ng4w9g.png"> http://i27.tinypic.com/ng4w9g.png</a> <br/> <br/> Can anyone help me out ?<br/> <br/> ThanksFri, 04 Sep 2009 10:41:15 Z2009-09-07T03:50:10Zhttp://social.msdn.microsoft.com/Forums/en-US/vbpowerpacks/thread/76227fdf-b444-4490-8bdc-d9776972d5d6http://social.msdn.microsoft.com/Forums/en-US/vbpowerpacks/thread/76227fdf-b444-4490-8bdc-d9776972d5d6kevinbennett126http://social.msdn.microsoft.com/Profile/en-US/?user=kevinbennett126problem with printpreviewHi, I'm trying to print address labels using a Dymo LabelWriter 400 printer. I've managed to print a lable using 'Word' and Notepad (so happy the printer is installed &amp; working) and from VB (using PrintForm) it outputs a lable but no text on it.<br/>So I'm trying to use 'printpreview' to check whats being printed - it seems to work ok if I have a A4 laser printer selected as the default printer but not if I have a Dymo LabelWriter 400 as the default.<br/>Any suggestions please?  <br/>Kevin<br/> Mon, 14 Sep 2009 11:27:26 Z2009-09-18T09:45:06Z