VS 2010 Show Webpage In A Windows Application?
Sep 16, 2010
Is there a .Net control I can use to display a web page from a vb.Net windows forms application?
I am writing an app that will produce a slide show from a specified directory. The idea is it will ideally include Images, Video clips (via Windows Media), URL's (held in a text file), PDF documents and power point presentations.
Images and media clips aren't an issue. At present I am looking at displaying specified web pages. I am aware that I can use
System.Diagnostics.Process.Start("http://webinta/Pages/Home.htm"
to open a browser window, but I want control of that as after a specified amount of time it needs to close so I can display the next image (media clip, url etc).
View 2 Replies
ADVERTISEMENT
Mar 8, 2011
We have a company intranet and the powers that be think it would be nice to have a collection of icons/links representing the applications that most reps use (Outlook, Excel, few other apps).
The idea would be that if the application is installed, clicking the link/icon would launch the application on the client machine.
Anyone ever had a requirement like that and been successful implementing it?
View 3 Replies
Apr 25, 2011
How to remove any applications in taskmanager using vb.net windows application. In taskmanager application tab application is not remove.but process is remove.
View 5 Replies
Oct 5, 2011
I have windows application in .net framework 4. I want to display PDF file in PDF Viewer Control. I tried to user AxInterop.AcroPDFLib.dll (provided by Adobe), but as my application runs on 64 bit, it gives exception at run time.
View 5 Replies
Jan 22, 2011
I have developed a VB 2010 express application that works on my windows 7 machine, but when I deploy it to other windows 7 machines the application will not run at all. I created an msi script to install the software on other machines and it includes the .NET 4.0 framework an all of my application dll's and such. Any idea what might be he problem?
View 2 Replies
Jan 17, 2012
Final step in my application. I finally got all the requirements working, but now I need to have the application run in the background.
The application was written in Visual Studio 2010 VB, Win form app.
The requirements are as follows:
1.) run the application at start up
2.) no icon
3.) always in focas
4.) always runs in the background.
Here's the full code I have right now (working! whahoooo)
Public Class Form1
Private Property count As Integer
Private s As New Stopwatch
[CODE]...
View 2 Replies
Dec 7, 2010
I want to learn programming techniques so can make both windows and web applications more user-friendly, faster, safer, reliable and easier to deploy.
View 4 Replies
Jan 5, 2011
At present I have wrote an application (in-house CRM, vb .net 2010) which allows me to send emails under the selected customer & I categorised these emails.As these are categorised I can return data to display email history in my program by using search criteria:
Dim oMail As Outlook.MAPIFolder = oNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderSentMail)
Dim sSearch As String
sSearch = "[Categories] = '" + "[" + tAccount.Text.Trim + "]" + "(" + tShipTo.Text.Trim + ")'"
Dim oItems As Outlook.Items = oMail.Items.Restrict(sSearch)
However the limitation to the above is it only looks at sent items & no other folder.My ideal solution would be to display all email correspondence for a certain contact.
View 1 Replies
May 29, 2009
I have a problem I am trying to solve in an elegant manner. I have a .net application that I have created. I am trying to get one of the forms to be shown from a webpage. This sounds strange I'll admit, so here is the backstory
We have some large monitors at work, that show information on them. I have no control over how the information is displayed. Currently they are just using a browser and tabbing in the browser to show each different piece of information on the screen. Most of the info they show is just standard html stuff, text and images.
Now along comes my winforms application. The part of the application I need to show is a graphical display. Everything on this display is drawn using GDI+, if that matters. I need to get this form into a format that I can show. Below is my own solution, but I am pretty sure this is not the best method, but it may be the only method I can use[code]...
I though about doing something with the clients, however the clients are not always up, so I could have periods where the image wouldnt be updated.
I also was thinking about an ASP.net solution, but that would require me to learn ASP.net, and I am not quite ready to take that challenge
View 3 Replies
Jan 26, 2011
I'm working on a vb.net web application and want to make it to where when someone puts in a url into the browser or when someone clicks on a shortcut, a new browser window is opened but there is no back or forward, no refresh, no navigation bar, etc. Does anyone know how to do this or if it's even possible? I just want the browser shell essentially.
[Code]...
View 3 Replies
Aug 25, 2009
Here is the thing at the moment I have a list box and i have a text field I also have a drop down box so u can select which search angine to use
My problem is this when I type in the search Box it opens up my internet explorer and shows me in search there what I typed in my program
Instead I want my program to display list of urls in my list box.. this is what my cod looks like at the moment
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If TextBox1.Text = "" Then
[Code]....
when I hit Go it will display list of urls in my list box no info just web url in list format
View 24 Replies
Mar 23, 2009
How to show the webpage's current Icon (favIcon.ico) in a picture box. Just like the one's in ie and firefox next to the url textbox.
View 12 Replies
Aug 9, 2011
I have a web browser in vb.net and i want to make a chat box but the chat box is private source so i have to actually direct it to the site so what i am asking is how can i lock the web browser to the exact position of the chat box ?
So at the moment it loads the whole page i just want it to load to the position of the chat
View 2 Replies
Jun 3, 2009
I need to show a thumbnail of a web page on a VB 2008 form. I have found a number of code snippets that mention something called an IViewObject which can apparently do what I need but the only examples are in C.
View 5 Replies
Apr 2, 2012
I developed an application in Visual Basic 2010 Express which has two features:
1) It is portable and uses some .dlls which must be in the same folder
2) Requires Administrator in order to run
I want my application to run on windows startup. So i created the registry string value and made some tests that gave me the following results:
1) Windows XP -> Runs on startup without any errors
2) Windows 7 Starter -> It simply ignores my application
3) Windows 7 Premium -> The run confirmation box from unknown publisher appeared and when i selected to run, AVG gave a virus warning
4) Windows 8 Consumer Preview -> It simply ignores my application
View 3 Replies
Mar 28, 2011
It has been nearly 4 years since I have started developing with .NET - mostly with ASP.NET and SQL Server. I rarely got any time to work with Desktop application but now I want to get lower level knowledge of windows application - I mean hows window application works (Hows form is drawn, what kind of lower level objects are being used, how user control detect keystroke and up to what hierarchical level etc.)
View 3 Replies
Jul 14, 2011
I am creating a simple researcher application to access and store data. As of today it workes by entering a number into a text field and hit enter/button. The result then shows up in a non-menu webbrowser window. What i would like it to do was to exclude the web browser window, and instead show in a popup window inside the application. This should be rather easy, here's what i think might be a problem. I want only to show specific lines from the webpage, not the whole page.
View 3 Replies
Oct 12, 2010
I have a windows forms app (32 bit) written in VB2010 which occassionally hangs in windows when minimised to the task bar You click on the icon on the taskbar and it will not come back up on the screen
No other modal forms are open in the application when the hang occurs Other programs respond OK
I ran Process Explorer against when it was Hung but do not know how to interpret the stack page, or even if it is helpful STack page with my application selected and Threads tab selected with CSwitch Delta column sorted descending. Then double clicking the top entry (my application .exe)
Note: This is running on an x64 machine, but also hangs on x32 machines
[Code]...
View 6 Replies
Oct 4, 2010
i already create new connectionstring in app.config that point to myDB i already create aspnet membership table in myDB using aspnet_regsql i already create new custom provider and set the connection string there.. what i like to ask:
1. why when the app start, it create new folder app_data which contain aspnetDB.mdf eventhough i already create new connection string ?
2. why when i'm using Membership.CreateUser method, it succesfully inserted in myDB.aspnet_Users table but when i'm using Roles.CreateRole method it doesn't inserted in myDB.aspnet_Roles table?
PS: i'm using .net 4.0, sql2008, vs2010
View 9 Replies
Aug 30, 2011
So I listen to slacker radio a lot and I would really like to create an application that I can keep open on my desktop to be able to change songs among other things I want to keep all the limitations that the website has (such as not being able to skip through to many songs or anything like that) I don't want to make a huge difference I just want something that I can use to keep on my desktop to play music from so that I don't have to keep a chrome window open all the time (since I tent to close it out and lose my music) I'm just wondering if this will be a hard task... It doesn't have to look extremely beautiful functionality is the main thing i'm shooting for.
View 1 Replies
Aug 18, 2011
Working on a project trying to use mysql and Visual Studio C++ 2010. I have an established connection to the database on a server using a connection string. My issue is I am not sure how to get the retrieved data displayed in dataGridView. Below is where I have my code for the button named Search. Right now all I am trying to do is get already inserted information out and displayed. Not sure if I am utilizing the dataGridView correctly or if there is another way. When I select bind to database I do not show any data sources even though in my server explorer window I show that I am connected. I have googled my eyes out and still havent found any information relating to a non console application. Here is some code that worked and returned a value of 1 to a textbox just stating that it had no errors in the execution. [code]
View 1 Replies
Dec 22, 2010
am devoloping a simple program in vb.net but i wanna do it a cross platform almost (windows & linux) or if there is a vb.net to C++ code converter
View 2 Replies
Nov 19, 2011
Here is what I'm trying to do: Using WPF technology, I want to generate simple 3d solids inside a picturebox in vb windows form application, insert a camera and a light and control their position and direction through vb code, but it seems to be impossible, I know how to do that in a wpf project but I want to make use of WPF 3D capabilities in my windows form project.
View 5 Replies
Feb 19, 2011
im making some stuff using VB 2010 recently (im new to VB 2010) and well...i wanna make it into an executable file, how do i do it?
View 1 Replies
May 3, 2012
one of the apps that I wrote a couple months ago is getting to be rolled out to my production floor; one issue tho - It works great as a standard executable (you double-click, it starts and waits for data), however, I cannot get it to start as a system service.
I've already done a little bit of research for how to create a system service, but most of the information that I've come across is point to VC# or Visual Studio 2010 - I'm not finding much for VB 2010. Additionally, I'm only using VB 2010 Express and I'm pretty sure that I don't have the Windows Service application template's on my PC.
My application does have a "UI", but there isn't any user interaction; it starts and just sits minimized in the system tray polling a directory for the existence of a file - i.e. the windows form is not required.
View 1 Replies
Feb 6, 2012
I need to create a small report to be send automaticliy from VB.NET Windows application. I have wrote below code which is working on my private PC, and with Gmail settings, such as username + password + smtp.gmail.com, etc...But with, my work informations, like my proxy ID + proxy password + company smptserver + port 25, does not working .
Imports System.Net.Mail
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Mail As New MailMessage
[code]....
here is also error while try to execute code from program.
View 1 Replies
Oct 23, 2010
I am a novice in programming and wrote several simple Windows Forms applications. I need to play mp3 file in Windows 7 x64 application.
Could you, please, explain in simple words, how to call MediaElement.Play() method from Windows Forms?
View 8 Replies
Feb 12, 2010
A VB routine assembles a string of email addresses. It is sent to the clipboard with
Clipboard.Clear
Clipboard.SetText Atext
Where Atext is the address string The email client is opened with
lRet = ShellExecute(hWnd, "open", "Mailto:", vbNull, vbNull, SW_SHOWNORMAL)
At this point, when the email client is Outlook, the clipboard doesn't show what was added to the Windows clipboard above regardless of whether we use a left click in the BCC box or a CTRL-V.
View 2 Replies
Aug 11, 2010
I was trying experimenting with things and I was stuck in a way about how to refresh a webpage from a windows form. E.g.: a start button on the form refreshes the page [URL] and stop button stops the process.
View 6 Replies
Mar 18, 2011
What I have is on my form there are several text boxes. These text boxes are for user input and attached to each text box is a Private Sub txtBox1_KeyPress function. In that function I have some validation code to check that the user is inputing only what I want them to. And if it doesnt it will pop up a message box telling them so, then it is supposed to clear the text box so the user can try again. But no matter what I try, the text box does not clear it still keeps the last character typed (the invalid one).
Here is the code for one of the text boxes.
Private Sub txtLanIp_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtLanIp.KeyPress
Dim strEmpty As String = ""
If Char.IsDigit(e.KeyChar) = True Or Char.IsPunctuation(e.KeyChar) = True Or Char.IsControl(e.KeyChar) = True Then
'do nothing
[code]....
The commented methods at the bottom are some of the other things ive tried to make this work. The txtLanIp.text.clear() is what ive tried from the beginning. I have also tried setting the text to "", I even created an empty string and set the .Text value to it but no matter what it wont remove that character. I have also tried various trim(), len(), Select() functions, most either give me an 'index out of range error', a 'length cannot be less than zero' error or a general ExceptionOutOfBounds error. I am just tearing my hair out as to why the simple way doesnt work, there is no logical reason why and it gives no error it just doesn't clear the box.
I have also tried moving the validation to a _LostFocus but e.KeyChar isnt a valid method or property for that declaration, which doesn't surprise me but I wanted to try everything.I dont see how it would matter in this case but I am running Windows XP Pro SP3, though I also see the same behavior in Windows 7 64 bit ultimate sp1 and windows 7 64 bit pro.
View 7 Replies