Forms :: Create A Homepage Feature For Program?

Dec 19, 2009

I'm trying to create a homepage feature for my program and cant seem to get it to check is its Empty or only contains spaces etc.

[Code]...

View 2 Replies


ADVERTISEMENT

Forms :: Paint Program (graphics Disappearing) - Add A Save Feature To This Program?

Jul 22, 2010

Ok major problem with a paint program i am making. When i have a window overlap or anything and move to side of screen and minimize and maximize i lose whats in the picturebox...Here is an example of the code I use to draw a line after click a button:

Private Sub btndraw_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnlinedraw.Click
lxs = txtslinelocationx.Text
lxe = txtelinelocationx.Text[code].....

Here is a picture of my program running: How do I stop everything being deleted when things pass it...? how can i add a save feature to this program?

View 5 Replies

Set Browser Homepage Using Program?

May 23, 2011

Want VB.NET code to set the home page of the system's default browser

View 1 Replies

Setting Up A 'Timeout' Feature In Windows Forms App?

Jul 29, 2010

Dows anyone know how I can build a timeout feature into a windows forms app.

The app is event driven, but I am thinking of somehow using a timer which counts down for say 10minutes, and one the timer ticks then we time out the user.

The problem I have is how can I reset the timer each time the mouse is moved or clicked.

View 3 Replies

Forms :: RichTextBox - Search Feature And Match Case

Mar 28, 2011

Here's the situation: I've got a form that has
- RichTextBox
- OpenButton (to load RTF file)
- SaveButton (to save RTF file after editing)
- Textbox (for search phrase)
- SearchButton
- ExitButton
- 2 RadioButtons (WholeWord and MatchCase search)

All of them are working just the way I want them to except search features; I don't know how to write them properly. At the moment, they search and highlight only the first word they encounter. E.g. say I search for word "the" in the document, only the first "the" it encounters is highlighted. The rest is just untouched.

I understand this is because I've only got few lines of simple code as follows
If rtfText.Find(txtSearch.Text, RichTextBoxFinds.WholeWord) = -1 Then
MessageBox.Show("No results returned. Please try again.", "No matching results.", MessageBoxButtons.OK, MessageBoxIcon.Information)
End If

I did try a few other snippets I found on the Internet including While loop but they didn't work as I wanted them to, and I couldn't understand them either. What I want is, which ever search option is used, when the matching result is found; it will highlight that word and when I click it again it will move onto another word. If I keep clicking, it will highlight the same words (but located in different areas) throughout the whole document and at the end, it will send back to the first matching word. Just like Adobe Reader search.

View 4 Replies

Forms :: WebBrowser - Get Page Source And Find Feature

Nov 15, 2010

I am trying to add two features to my webbrowser: View Source and Find. Does anyone know how to get the webpages source code and a method to perform a search in the webpage? I was thinking one might lead to the other.

View 1 Replies

Create Program With Different Forms?

Jul 13, 2010

i want to create program, with different forms, in that it would have a main form in which if the user decides to select other forms, it would change right in the main form, so disallowing the user from noticing that he/she is viewing another form.

View 9 Replies

Forms :: Controlling Microsoft LifeCam Cinema WEBCAM Using (ZOOM Feature)?

Sep 2, 2010

I have a Microsoft LifeCam Cinema Webcam. I have written a simple application thats STARTS the video capture, STOPS the video capture, captures a STILL image and CLEARS the still image on one form using TWO picture boxes....one to hold the STILL image and the other to show the VIDEO from the Webcam.

View 3 Replies

Forms :: Controlling Microsoft LifeCam Cinema WEBCAM Using .NET (ZOOM Feature)?

May 23, 2011

I have a Microsoft LifeCam Cinema Webcam. I have written a simple application thats STARTS the video capture, STOPS the video capture, captures a STILL image and CLEARS the still image on one form using TWO picture boxes....one to hold the STILL image and the other to show the VIDEO from the Webcam.I am using the VFW(Video for Windows) API to interface to the Webcam and everything in the application is working as intended with NO PROBLEMS. I use No DirectX, No ActiveX/COM, No Intermediary file, just live video stream.I do however wish to control the ZOOM feature of the camera using the VFW API.(increase and decrease)

View 2 Replies

Forms :: Integer Value Changing When Compare Cell Data By Using 'IndexOf' Feature?

Sep 17, 2010

I have a program that is reading an Excel (xlsx) file and I am trying to take the data found in one of the cells and split it based upon the '@' symbol inside that cell. Here's an example: value in cell is "XXX @ YYY" I declare 3 strings (strOriginal, strA, strH) strOriginal is the value from the cell ("XXX @ YYY") then my code is supposed to split up the values in the Original string based upon that '@' symbol.So when my code is done, strA should = 'XXX' and strH should = 'YYY'.

Here is my code

strOriginal = dtbExcelData.Rows(0).Item(0).ToString
y = strOriginal.IndexOf("@")
strA = strOriginal.Substring(0, y - 1)

[code]....

For some unknown reason, the y integer (in this case, it is '4') changes to a random number (it has changed to 44, 61, 124) and causes the error "Error with Excel file: Index and length must refer to a location within the string. Parameter name: length" to occur.I understand why the error occurs (my y integer is not staying at 4)...I just don't understand why that y integer is changing numbers when it should remain as the indexof the '@' symbol. I'm looking for any suggestions on how to pull out the data after the space after the '@' symbol (the 'YYY' portion of 'XXX @ YYY'). Also sometimes the 'YYY' is only 'YY' as well.

View 4 Replies

Changing Users - Create A Feature While The Person Is Logged In

Apr 26, 2009

Well ive created a web browser programme and created a user login form for the users to login and that works fine. Now i want to create a feature while the person is logged in, he can change users, so loging as another user whilst already logged in, for example, Admin user might be logged in and now he wants to change user to a normal user without turning the programme on and off to do so.

View 2 Replies

Introduce A Suspend And A Resume Feature Into Program

Jun 16, 2010

I am looking to introduce a suspend and a resume feature into my program however [code] is there any way to introduce this feature..

View 2 Replies

Add A Feature To Program That Makes It So When The Cursor Moves Off Of The Form?

Jun 13, 2010

I'm trying to add a feature to my program that makes it so when the cursor moves off of the form, the form drops in opacity, making it sort-of transparent. However, it's not working for some reason.

Private Sub hovertimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles hovertimer.Tick
If MousePosition.X < "0" Then Me.Opacity = 60%

[code].....

View 5 Replies

Disable Implicit Line Continuations Feature In Program?

Jan 18, 2011

Is there a way to disable the new VB 2010 implicit line continuations feature in Visual Studio 2010. We are using an TFS 2008 built service which doesn't support the new feature (sources in VS 2010 without errors getting built errors in TFS 2008 built service / we cannot update to TFS 2010 built service).

View 6 Replies

How To Create A Program That Can Save The Forms Data From Web Or Desktop In Vb Vs2008

Jul 1, 2011

I want to save data from web and desktop applications and then provide that info again to fill the forms with the saved data .I am using vs2008 and sql2005

View 3 Replies

Create Custom Control Such As A Menu For Windows Forms Application Using Program?

Nov 14, 2011

I've search the net in order to create a custom control but nothing I find is worth looking at, The main thing I want to do is create a skinengin via DLL and import it in my vb 2010 then using or creating some sort of skin builder where I can create a full setting file which contains all the details of the customization regarding the Form(Look, Feel and the controls such as a menu), I have used Iriskin and multiple apps doing this for me and when a user installs my application they still recieve a message about buying the registered DLL file, I would like to create it completely from scratch.

View 2 Replies

.net - Given A Large Number Of Objects, Create Multiple Forms In Designer For Them Or Use Code To Create The Forms?

Dec 29, 2010

If I have a large number of classes, each similar to the other in certain aspects (they all share a common base class, but each does things differently), and I need to create Windows forms for each to allow easy changing of their values through a GUI? Create one matching form for each object in VS' forms designer, Or Use code to create the forms dynamically at runtime.

#2 makes the most sense to me, because a lot of these objects will share very common features of the form, notably "Ok" and "Cancel" buttons. But one object might need to draw a textbox on the form while another might need to draw a combobox. Not to mention, if I want to put icons on the "Ok" and "Cancel" buttons, I'd have to do this for each copy of the form in designer, and that sounds like it could get out of hand quickly.But is drawing forms through code sane? VS' forms designer is pretty sophisticated and designed to make life easier. Am I wise to consider ignoring its functionality and diving into the trench warfare of forms design through code? Or are there examples of automating form creation based on an existing object's properties?

View 1 Replies

Mobile Phone To App - Remotely Disable Email Sending Feature Of Program By User ?

Feb 7, 2010

Ok, I haven't started this yet, but I'm just thinking out loud for a project I have coming up.

One approach I am thinking about pursuing involves "messaging" my application (windows form in VS 2008 pro) from a mobile device, whether it be a laptop, phone, pda, etc.

is this possible? (1st question) and what is the "correct" implementation to do this? (2nd question)

The idea is to remotely disable the email sending feature of my program by the user (owner of the application) to kill email alerts if they are not at their computer.

View 3 Replies

Set Homepage Of IE7 And FF3?

Jun 20, 2009

How do I set the homepage of IE7 and FF3 to Example:"www.google.com" with one button click?

I have: Microsoft Visual Basic 2008 Professional

View 4 Replies

Add Or Change Homepage?

Mar 20, 2009

I'm trying to add a function thats adds and or changes the homepage of your web browser.[code]...

View 3 Replies

Set Homepage For Webbrowser?

Dec 5, 2009

Set homepage for webbrowser?

View 5 Replies

Set Web Browser Homepage?

Dec 10, 2008

ive browsed the forums and cant seem to find my answer ill admit im relatively new to vb.net so firgured frst thing would try and make a browser i have made one and now its time to extend it trying to figure out how to change the homepage which i believe is webbrowser.url so far my code displays the current url works fine trying to update it tho is proving tricky(well for me)

[Code]...

View 14 Replies

.net - Why Setupper Created By Publish Feature Does Not Copy Files To C:/PROGRAM FILES

Jun 10, 2009

I have VB project and I tried to use PUBLISH feature.It seems to create nicely some kind of setup program, but the setup program does not ask where to copy files (it does not seem to copy filesto target machine "PROGRAM FILES".)Is this setup program somehow different from usual installers?

NOTE: I want that app files are installed to Hard disk( from USB stick source)Is the signing recommended or necessary? My App is pretty simple, its just using access DB + printer api, should I still sign?

View 2 Replies

VS 2008 : Add A "resume Download" Feature To A Program?

Apr 21, 2011

its possible to add a "resume download" feature to my program as something doesn't seem to be right when I want to download the latest videos from my server.The application will download most of the video, but will then stop at random times. After the download has stopped, no more data will be received. Thats why I need a "download resume" feature in my application, so the whole file will be downloaded and corrupt files aren't being saved.

Here's my so far

Private WithEvents wClient As New WebClient
Private Sub wClient_DownloadProgressChanged(ByVal sender As Object, ByVal e As System.Net.DownloadProgressChangedEventArgs) Handles wClient.DownloadProgressChanged

[code].....

I was thinking of adding a timer to my project, and if data has not been received for more than "x" seconds, the file will in a "paused" state.The next step would be "resuming" the download so the file is downloading again.

Other Notes:The files download fine in IE and chrome.The files are around 5MB to 30MB in size and upto 10 minutes in length.

View 1 Replies

Change The Homepage But Not Just For Webbrowser

Oct 24, 2009

So I've been trying to figure out how to change the homepage but not just for your webbrowser, but for all of them. I have had a couple of codes trying to change the homepage but failed, but here is my code right now and i know it is very simple.

[Code]...

View 3 Replies

Set HomePage In A VB Tabbed WebBrowser?

Mar 14, 2010

I followed EndLessMind's Post on this thread[code]...

well.. first you have to be able you save the change.. to start with got to "project --> properties --> setting" and here you add a net setting.. let's call it HomePageUrl.. and sett the type to string and the scope to user.if tabbed browser ( like mine) the you need this one for the go.home button [code]...

View 4 Replies

VS 2008 - Getting Homepage On Tab Browser

Dec 13, 2009

i can't figure out how to set my own homepage for a tabbed web-browser. [Code]

View 2 Replies

Create A "log In" Feature On Form?

Oct 30, 2011

I need to create a login feature for my project , What would be the best way to accomplish this ?

View 4 Replies

Change Firefox Homepage In VB2011?

May 24, 2011

How Do I Change Firefox Homepage In VB2011 Code

I want to change the url homepage of the firefox browser by running that EXE file

View 1 Replies

Replace Default Homepage Of Webbrowser?

Aug 21, 2010

I have a setting in "My.Settings" which is called homePage

So here is my code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[code].....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved