Make A Webbrowser But Cant Get The Dock Thing To Work ?
May 27, 2010
Im a bit new to vb.net and i have maked a webbrowser but cant get the dock thing to work im not so good to that the form looks like this: [URL] then when i maximize it to full screen it looks like this: [URL] not good how do i fix it?
View 11 Replies
ADVERTISEMENT
Feb 3, 2011
I need to write a program that uses 'try' in it
the program can only accept a number if its bigger than 3 otherwise it would give a error message and return to the start of the [code]...
View 16 Replies
Aug 26, 2009
I want to enter a formula in VB but don't know how to proceed.
The formula I use in Excel is as follows
=IF(B2="A",M2*20.27)+IF(B2="B",M2*15.96,0)
How can I write a formula to make the same thing work in VB
View 3 Replies
Oct 16, 2011
A few years ago I have been busy creating this application but it didn't succeed, now Im coming back to it and similar problems occur. Basically I use SetPixel on a given window to draw a line, work fine, but the line goes away as the window redraws itself.The problem: I have been putting timers and threads on it to make sure the line is being drawn. Is there any way to make a loop to make a certain thing happen about 10-30 times without taking in too much memory/CPU?
View 7 Replies
Oct 30, 2010
vb Public Class BugReportsCentral
Private Sub BugReportsCentral_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
WebBrowser2.Navigate("http://xxxxxxxxxxx.net/update/link/on-off/threadreport.html")
[code]...
Why this code doesn't work? It doesn't print the label with the correct thing.
View 12 Replies
Nov 30, 2011
Basically I want to make a dock bar that is on the desktop, I want to be able to drag files into it and when the files are dragged in there icon appears and when you click the icon it opens the file
View 14 Replies
Jun 27, 2010
I have 2 labels in my form. I have different content on them.I want to do the following:[code]*loop all the code above nonstop, in order to make this "sequence" running nonstop until i close this program*..Can anyone tell me what code do i need for each underlined part above?
View 2 Replies
Jul 29, 2009
i was wondering if theres a way to make an if command apply to more than one thing, this is my problem: theres 9 white squares and if theres one or more thats orange, then a numer.text goes down one but at the moment theres 9 white squares and for every one thats orange the score goes down one, so if three are orange then the score goes down by three, or if five are orange then the score goes down by five, I'd like to make it so that even if there all nine the score only goes down by one.
View 13 Replies
Nov 16, 2011
I want to make a dock in visual basic like the image i attached.
View 5 Replies
Feb 10, 2010
Let's say I have only Notepad.exe running. No other items are on my taskbar except "Untitled - Notepad". How do I tell VB that i want it to find notepad and for example, dock itself to the left hand side of the notepad window?
View 3 Replies
Mar 13, 2008
I want my application to be able to communicate 2-way between the application on another computer and the host server which will be running on my computer.I want to use the BackgroundWorker built into vb to create a thing to make it listen for incoming messages, and also send out messages to the client.The client needs to listen and receive, same as the server, because both need to communicate with one another.I do not know how I can make it do either sending nor receiving.I would be using two different background workers to keep the code seperated and organized so that I will understand what code is for what.
I want the code to say that if i receive the message "Apple" without the "" and cap sensitive, then it will change Label1.Text = "That worked, word received Apple" or something similar to that. ( This is because I am ignorant and I want it to interpret the text sent through to figure out what the application is supposed to do, and last time I couldn't figure out how to make it do something when a certain text was received.
View 1 Replies
Feb 2, 2011
I have an application that requires data be entered, and after entering, a button is clicked to process that data. Clicking the button works just as it should--the data is processed properly. In constructing a test module, I provide a set of data values, followed by:
btnWhatever.PerformClick()
Nothing happens. I have used this syntax for years, and it has always worked flawlessly. I have triple checked everything else and isolated the problem to the failure of the PerformClick(). The PerformClick() is in a test subroutine that does nothing but fill textboxes and labels with default data, then calls the PerformClick() on the button to begin processing. Again, the button works fine, the data is entered as it should be, but the PerformClick() does not fire the click event.
View 21 Replies
Feb 28, 2010
how can i make my webbrowser open up a new link in my same webbrowser or in another form? basically what im saying is i dont want it opening links in internet explorer.
View 3 Replies
May 6, 2011
I want to make a webbrowser, but only have it show one specific thing and not the whole page. The thing I want it to show and only show is in about the middle. How would I frame the page, and put it on the webbrowser?
View 1 Replies
May 13, 2009
I'm using a webbrowser control to pull some information from a website. It works fine.I load the web page when the user clicks a button and then I pull the information from the site when the page completely loads. I have this bit of code in the DocumentComplete event.I am doing this for two different websites. So, my code as it is, looks something likes this:
vb.net
Private Sub btnStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStart.Click
WebBrowser1.Navigate("http://www.website.com")
End If[code].....
If I add a second Navigate to the same WebBrowser control, and then add another Document. GetElementById line, using different variables, it doesn't work.Its obvious that it loads both sites and then it finishes. So, it never has time to finish the first load and then pull the info into the text box.Is there a way to do this? To load the first site, pull the info, load the second site, then pull the info from there?
View 7 Replies
Mar 17, 2009
i have a form where a button doesn't work if I click it by webbrowser; if i click it by explorer or other browser it works properly, this is the html code of form:
<input type="button" class="buttonblack120" name="new" value="new sim" onClick="newsim();">
input type="button" class="buttonblack120" name="calculate" value="calculate" onClick="startcalculate();">
<input type="button" class="buttonblack120" id="prtintS" name="printS" value="print" onClick="printsim();">
<input type="button" class="buttonblack120" name="exit" value="exit" ONCLICK="window.close();">
View 4 Replies
Mar 8, 2009
I have a Web Browser Control on a User Control that I load into IE problem is doesn't matter what I do, IE says that I cannot access a disposed control.I read the others have had similar problems with various controls, but here is no real answer out there regarding a Web Broswer control. The problem is on line 34. It happens if yout ry to do anything with the control, not just navigating. Also, the User Control does load in IE fine, however, the Web Browser control is never there no matter what I do.[code]
View 1 Replies
Feb 13, 2009
I'm coding a little application to login to one of my sites and grab some information then display it on a form, i'm using the webbrowser control:
WebBrowser1.Document.All("user[username]").SetAttribute("value", furlUN)
WebBrowser1.Document.All("user[password]").SetAttribute("value", furlPW)
WebBrowser1.Document.All("user[email]").SetAttribute("value", furlEM)
I have made a browser, and it all works fine, the only thing is i don't want to see the browser working, i mean i want the code to still execute but not display everything to me
currently:
Grab info button -> browser appears logs me in -> display information
what i wanted was:
Grab info button -> display information
does the browser need to be viewed? or can i make it so it works in the background still doing it's stuff?
View 2 Replies
Feb 5, 2011
I have a program which uses web browser control to automize some testing. it works fine on local machine. however, when I deploy it on windows server 2003, for some reasons, the program can not click any buttons automatically in the IE browser control.
I checked, the IE on windows 2003, because of security, the internet is set in the highest security zone, all others, i.e. activex, scripting, ... are enabled.
View 1 Replies
Feb 7, 2010
[code]I have web programming background and trying to learn windows programming....any guide or tutorial to make the transition smoother ?
View 2 Replies
Sep 25, 2011
this is my code
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
TextBox1.Text = ""
TextBox1.Text = WebBrowser1.DocumentText
Call baby()
End Sub
[Code]...
View 5 Replies
Jun 8, 2011
How to make my counter work. I keep feeling like I'm putting it, or maybe just part of it, in the wrong place so I've been moving it all over the place but haven't found anything that works yet. I'll paste my code below and it will be the code that seems to not stop when it reaches the end of my counter. Other ways I've tried it make it stop after one or two, depending on what I did to the code at them time.
Here's what I have at the moment:
Public Class mainForm
Dim guessCounter As Integer
Dim correctAccumulator As Integer
Dim totalAccumulator As Integer
Dim answer As Integer
[Code] ......
View 1 Replies
Jan 1, 2011
VB.NET While 1 = 1
Dim localRecv As New StreamReader(localClient.GetStream)
Dim aString As String = localRecv.ReadLine
localRecv.Peek()
MsgBox(aString)
End While
Basically "aString" will keep updating if new data arrives to the server. This way does work, and keeps MsgBoxing every time I get new data, but I don't wanna use While, I need something else, because It won't run any other code, just keeps looping that. :/
View 9 Replies
Jan 24, 2012
I am using datagridw view control for input purpose but when the datagridviewcell in edit mode the it is no problem to move current column to next column but when it is not in edit mode then and pressing enter key then it is moving to next row and the same column. but how to take over this problem please give me dn idea.
View 2 Replies
Apr 18, 2011
How to make a 32 bit VB.Net com add-in work with 64 bit Office 2010?
View 10 Replies
Aug 9, 2009
I'm looking for some advice on how to make my app work with different resolutions as I have posted a demo game on the forum but the game was designed on my laptop which is set to 1280x800 but a few people who have tried the demo are having problems as they are using 1024x768.
Is this a case of getting the computers resolution when the app starts and alter the size and position of controls?
View 11 Replies
Mar 14, 2011
I am using the code below for paypal notifications. I checked the notification history and it comes back as payment_status is Complete BUT the VB code performs the code for the "INVALID" case...
'Post back to either sandbox or live
Dim strSandbox As String = "https://www.sandbox.paypal.com/cgi-bin/webscr"
Dim strLive As String = "https://www.paypal.com/cgi-bin/webscr"
Dim req As HttpWebRequest = CType(WebRequest.Create(strSandbox), HttpWebRequest)
[code]....
View 7 Replies
Mar 30, 2011
Below is a test program I am trying to get working with using SENDKEYS to send strings to a window.The appactivate never makes the notepad window become the current window in focus and the sendkeys doesn't work.
View 8 Replies
Aug 18, 2010
I made a custom button to input keypresses:
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class KeyInputButton
Inherits System.Windows.Forms.Button
[code].....
View 3 Replies
Aug 12, 2010
I'm trying to convert a function in C# to VB.Net 2008 and can't seem to make the Lamda expression work. The code is taken from a neat little C# SMTP server that saves emails to Azure blob storage
[Code]...
View 3 Replies