
neodammer
Avatar/Signature-
Posts
198 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by neodammer
-
ok i read up more on it, now im just needing a loop for this. Im needing to do these steps: 1. open web page...checked 2. Use webclient to open and save file...checked 3. Create a loop that runs through the html and tells webclient to download all the .jpg's ..... Not solved 4. Kill html doc...checked so step 3 is what im needing some help on
-
little baffled hehe. Can you give me a code example of how i would extract all the images off a page. Lets say http://www.google.com
-
Im trying to browse the web which is easy. Now im wondering if its possible and if how to take all the .jpg's inside that webpage and save them. I was thinking of saving the webpage, then because it really is just text making it a huuuge string file then just taking the http...jpg links out of it , just extracting them. Maybe somebody knows an easier way? lol
-
I would assume labels use more resources than textbox's. Textbox's also resemble what alot of people are used to in terms of "forms" etc... In theory I believe they are the same just easier for people to use.
-
hahaha. That gives me a challenge. To see if i can resize images in that way.
-
mostly backgrounds. Controls and such always got difficult and i gave up on it but im sure it can be done :D Mostly size issues gave me trouble. Different pc's different resolutions etc..which could be solved by having a fixed size but then you still have to have all the pics an exact size, otherwise it looks horrible :p
-
Remember, you can also code your own help file easily as well just by pulling up a form dedicated to help. Not really professional but for simple programs it gets the job done :D
-
I used to make an .ini file for the GUI configuration, that way its easier to swap pics around etc.. without having to recompile. :D
-
It is really not difficult, just time consuming. Plus you need some artistic ability..hehe hard for me :D I used to love making programs with themes that revolved around famous movies or anime.
-
your probably right sorry :p I assumed he already knew the default syntax.
-
Well I have obtained that A+ certification and its not as hard as some books claim it to be. Alot of great study material can come online. Also for me at least I made flash cards for all the material I had to remember for the exam. Also because its an official exam most folks who DO know alot about networking refer to it in terms that the books do not, so make sure when your doing networking work that you just take a second or two and look over the official names of everything your doing hehe. :p
-
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim rand As Random = New Random Dim textconvert As String = TextBox1.Text Dim num1 As Int16 = rand.Next(65, 90) Dim barcodealph As String = Chr(num1) Dim nums As Integer = rand.Next(1, 10) MsgBox(barcodealph) MsgBox(nums) textconvert = textconvert.Replace("X", barcodealph) textconvert = textconvert.Replace("n", nums) MsgBox(textconvert) End Sub This might help you, what it does is first randomly generates a letter and a number 1-9 then I put msgbox's up there for just testing purposes.. then it converts all the X's into the randomly generated letter.. same thing then with n and numbers.. If you want each X and each n to have a different random letter/number just make a loop for that.
-
are the numbers and letters random? or are you going to assign each?
-
I believe that how many sounds that can be played correctly at once is dependant on your sound card. I thought you could open up as many .wav's as you want? just never close them and loop em forever.
-
Yeah but here is my current dilema: using this code Private oldNumber As Integer Private newNumber As Integer Private urls As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click urls = TextBox1.Text newNumber = oldNumber + 1 urls = urls.Replace(oldNumber, newNumber) oldNumber = oldNumber + 1 TextBox1.Text = urls System.Diagnostics.Process.Start("C:\Program Files\Internet Explorer\IEXPLORE.EXE", urls) End Sub Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click oldNumber = TextBox2.Text Button4.Enabled() = False End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click urls = TextBox1.Text newNumber = oldNumber - 1 urls = urls.Replace(oldNumber, newNumber) oldNumber = oldNumber - 1 TextBox1.Text = urls System.Diagnostics.Process.Start("C:\Program Files\Internet Explorer\IEXPLORE.EXE", urls) End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click urls = "" TextBox1.Text = "" TextBox2.Text = "" newNumber = 0 oldNumber = 0 Button4.Enabled() = True End Sub if the url has something like 0002 in it... I cant really say 00 in the box..because by default VB takes out the extra zero's and if i hit + it was just end up 3 not 0003 which is an invalid page.. of course another bug is what you stated.. im hoping the url's only have that exact # once in the url if there is more like www3.yah3.com im in trouble lol
-
I figured it out lol..
-
Yeah I have noticed that when using this browser in my program it sloooows down majorly
-
Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents TextBox1 As System.Windows.Forms.TextBox Friend WithEvents Button1 As System.Windows.Forms.Button Friend WithEvents Button2 As System.Windows.Forms.Button Friend WithEvents Button3 As System.Windows.Forms.Button Friend WithEvents TextBox2 As System.Windows.Forms.TextBox Friend WithEvents Button4 As System.Windows.Forms.Button Friend WithEvents AxWebBrowser1 As AxSHDocVw.AxWebBrowser <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent() Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form1)) Me.TextBox1 = New System.Windows.Forms.TextBox Me.Button1 = New System.Windows.Forms.Button Me.Button2 = New System.Windows.Forms.Button Me.Button3 = New System.Windows.Forms.Button Me.TextBox2 = New System.Windows.Forms.TextBox Me.Button4 = New System.Windows.Forms.Button Me.AxWebBrowser1 = New AxSHDocVw.AxWebBrowser CType(Me.AxWebBrowser1, System.ComponentModel.ISupportInitialize).BeginInit() Me.SuspendLayout() ' 'TextBox1 ' Me.TextBox1.Location = New System.Drawing.Point(64, 8) Me.TextBox1.Name = "TextBox1" Me.TextBox1.Size = New System.Drawing.Size(248, 20) Me.TextBox1.TabIndex = 0 Me.TextBox1.Text = "TYPE URL IN HERE" ' 'Button1 ' Me.Button1.Location = New System.Drawing.Point(56, 96) Me.Button1.Name = "Button1" Me.Button1.Size = New System.Drawing.Size(104, 32) Me.Button1.TabIndex = 1 Me.Button1.Text = "+ #" ' 'Button2 ' Me.Button2.Location = New System.Drawing.Point(176, 96) Me.Button2.Name = "Button2" Me.Button2.Size = New System.Drawing.Size(104, 32) Me.Button2.TabIndex = 2 Me.Button2.Text = "- #" ' 'Button3 ' Me.Button3.Location = New System.Drawing.Point(296, 96) Me.Button3.Name = "Button3" Me.Button3.Size = New System.Drawing.Size(104, 32) Me.Button3.TabIndex = 3 Me.Button3.Text = "Clear" ' 'TextBox2 ' Me.TextBox2.Location = New System.Drawing.Point(144, 40) Me.TextBox2.Name = "TextBox2" Me.TextBox2.Size = New System.Drawing.Size(96, 20) Me.TextBox2.TabIndex = 4 Me.TextBox2.Text = "# to change here" ' 'Button4 ' Me.Button4.Location = New System.Drawing.Point(64, 40) Me.Button4.Name = "Button4" Me.Button4.Size = New System.Drawing.Size(72, 24) Me.Button4.TabIndex = 5 Me.Button4.Text = "Set #" ' 'AxWebBrowser1 ' Me.AxWebBrowser1.Enabled = True Me.AxWebBrowser1.Location = New System.Drawing.Point(16, 152) Me.AxWebBrowser1.OcxState = CType(resources.GetObject("AxWebBrowser1.OcxState"), System.Windows.Forms.AxHost.State) Me.AxWebBrowser1.Size = New System.Drawing.Size(416, 288) Me.AxWebBrowser1.TabIndex = 6 ' 'Form1 ' Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13) Me.ClientSize = New System.Drawing.Size(456, 469) Me.Controls.Add(Me.AxWebBrowser1) Me.Controls.Add(Me.Button4) Me.Controls.Add(Me.TextBox2) Me.Controls.Add(Me.Button3) Me.Controls.Add(Me.Button2) Me.Controls.Add(Me.Button1) Me.Controls.Add(Me.TextBox1) Me.Name = "Form1" Me.Text = "Form1" CType(Me.AxWebBrowser1, System.ComponentModel.ISupportInitialize).EndInit() Me.ResumeLayout(False) End Sub #End Region Private oldNumber As Integer Private newNumber As Integer Private urls As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click urls = TextBox1.Text newNumber = oldNumber + 1 urls.Replace(oldNumber, newNumber) TextBox1.Text = urls AxWebBrowser1.Navigate(urls) End Sub Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click oldNumber = TextBox2.Text Button4.Enabled() = False End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click urls = TextBox1.Text newNumber = oldNumber - 1 urls.Replace(oldNumber, newNumber) TextBox1.Text = urls AxWebBrowser1.Navigate(urls) End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click urls = "" TextBox1.Text = "" TextBox2.Text = "" newNumber = 0 oldNumber = 0 Button4.Enabled() = True End Sub End Class As you can see im trying to take a typed in URL and then the user tells the program what # inside the URL to either add 1 or subtract 1 to then execute that new one in the browser. Any suggestions why its not working? lol ill attach the project. Webapp.zip
-
Thanks, my goal is to be able to just click a button and it will increase the # of whatever I choose in the string. I do have one off topic question which is probably too simple to start a thread over: Do I need to run a shell command or is there something built into the webbrowser control that will just open up IE in a new window with an attached string url?
-
Here is a question that bugs me because as easy as it seems in virtualy every text program I dont believe there is a simple VB.net command for "find this text" and "replace it with this text". or is there? For example I want to take this string "Hello the # 24 test in running" and upon the click of a button swap out the 24 for say 25.. is this easier than it sounds?
-
funny, in the add/remove list for my toolbox i dont have a WebBrowser control...hmm
-
I remember in vb 6.0 how easy it was to just drag a big IE box on the form and then with alittle code make it jump to a web page. How would one go about doing the same in vb.net ?
-
you'll never have 100% security on this issue, at least not yet. But like stated in the previous post thats a great start.
-
whoa, I can program in vb for my jornada pocket pc?.. far out. Is there a whole different set of commands etc.?