i want to make a custom instaloler for my ProjectI made a web browser and well.I want to add tabs Make it so you do not have to click go you can hit the return Key falso i want to make it where they have to enter a free 10 diget code i make and give out. iks this possible?one last thingi cannot figurel out how to print save or open a Text Box that i want to make kinda my own simple version of the notepad?sorry so manny questiuon kind new but kinda notIf you want one of the webbrowsers i made email me or tell me i made a couplewow i feel stupid is there anyway to have bookmarks option fr people
I really like the coding speed that vb.net provides, but I don't like the possibility to forget to declare variable types, return types of functions, etc. and that is why in each class I use[code]..
Is there a way to define those two options on the project/solution level?
the combo box style 1 has both the drop down option but also a manual entry option. I need to know how to code it so that when you manually enter data, it takes that data and places it in a text message "The shipping charges for "data" is $15" displaying in a text box. Shouldn't be hard but have developed a mind block.
what does these two code means in vb.net: Option Explicit on Option strict on i think option explicit means the compiler is not going to do any kind of conversion and i need to do all of them by the code;also it becomes case sensitive i.e;
I made a webbrowser that stores it bookmarks in an xml file called "WebSites.xml". I want it to show the favicons of the bookmarks in the button(toolStripSplitButton1) in which they are located but the code doesn't work
Friend Sub AddToolStripButtons() xmldoc.Load(My.Application.Info.DirectoryPath & "" & "WebSites.xml") ToolStripSplitButton1.DropDownItems.Clear()
I'm making a little webbrowser just for the heck of it, And i want to know if you can use a toolstrip for a bookmarks bar. I have it laid out, I just would need the code to make the buttons work.
I made a browser in VB and am trying to get a bookmarks bar, like the ones under the address bar in Google Chrome, Firefox, and IE.I have two listboxes, one with the same text as the button added and another with the url the code should make the listboxes select the same indexed item, and when you click on the button, it finds the same index number in listbox1 which contains the button's text, finds the matching url in listbox2, and goes to it however, I have a problem: when using addhandler for a newly added button, if I extract the text of the current function, it gives me the same text as the handler I'm getting it from its really confusing but basically how can I get the name of the button that was just clicked? the buttons aren't preset (like the user adds them when he/she needs to) so i cant use "button1_click..... button1.text...button2_click.... button2.text"
I have read other threads on this topic, but I still can't get this to work in VB 2010 Express. I am using 2 PC's, one with Windows7 32 bit and the other with Windows7 64 bit. On both machines the Bookmark icons are not in the toolbar. Using shortcut keys such as CTRL-kk works but I would prefer to use the icons.
I have 'Expert Settings' enabled and the 'Text Editor' toolbar is visible, but there are no bookmark icons in the Text Editer toolbar. Apparently other people have got this to work in the Express version.
When I am in the Visual Basic Express 2010 IDE I can search for an item using CNTR F. If I select "Book Mark All" in the CNTR F window a blue square will appear on the left hand side of the code viewer ex. Form1.vb*. Can someone tell me how to remove these bookmarks, and,also how can I add a bookmark manually for a line of code (perhaps there is a keyboard short cut). Please see the Jpeg attachment of my screen. (this was moved from The General Forum). I found the answer, if others need to know add the TEXT tool bar to the IDE and see the second JPEG below.
I want a favourites. Where when i click a button it saves the link to a .txt file in C Drive and i want it to make a menu item in a menustrip that has the name of it then when that is clicked it loads that bookmark but it gets it from the .txt file. Or is there an easier way??
i have made a basic web browser, i am trying to add bookmarks and history on to it. I have made a basic bookmarks form where you can add pages, but i want when you double click on a bookmark for it to open in the browser, and i have added a button to add the current page into the bookmarks, but that does not have any code as i did not know where to start.
Also i have not made a template for history as i did not know where to start, please help me out as i really want to get a fully working web browser. Also i have put a link for you to look at the code, and i know the media player is affecting the tabs, i would like to keep the media player but would not like it to auto open if you can also help there (i didnt put that in a friend did)
here is the link, i would have attached it but it was more than 500kb, it was 1.17mb on my pc and 1.18 on mediafire:[URL]..
My latest VB.NET project has been making a webbrowser. I now want to expand it's functionalities and create a bookmarking system. Would making a folder somewhere and storing files in it as the bookmarks be the best way to do it? Could someone also provide or teach me a way to use a 'for' loop to add all the bookmarks into a menu.
I want my console application to be able to do one function I have when you click one option on the windows context menu, and another function when you click another option.
1. I have read that keeping Option strict on and Option infer off is good practice and will insure your code is tight and properly written. I would like input regarding this, pro's and con's from those who are in the know.
2. Having said that, I have set Option strict on and Option infer off in an existing program I wrote (that was working perfectly mind you) with them off and on respectively. I went through and cleaned up all the errors on the 'need AS' and casting of variables, but one is leaving me a bit put out.[code]
I have also read where using My.Computer.System.Directory.GetFiles() instead of System.IO.Directory.GetFiles() is probably not a good thing, but when I change to this I get no error, but also no dataI am thinking I should stay with the strict on and infer off but am really slogging through getting this code correct.Running Win7 on Dual Quad Core XEON Intel Extreme with 8Gb RAM.
I am writing a text editor program and I have written the new, open, save as, exit menu items but I am struggling with writing the save option.Now I have created the menu itself (well vb did, I just used insert standard items) but how do I code up the save menu option so that it updates the current document or if the documnt has not yet been saved bring up the save file dialog.Here is the code I have so far
Public Class Main Private Sub NewToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewToolStripButton.Click, NewToolStripMenuItem.Click[code]....
I know I have some finishing touches such as messages and error handling and stuff but at the moment I want to get all the basics working,I think the save menu option is all I am struggling with at the moment.
I've been trying to make a browser for a while now, and I still can't figure out how to make favorites or history. Well for history i can get to where it lists but it won't save, so when I close it erases it. I don't care which method, i just want to know one working way. So if you guys could help me with making history and favorites that would be great!
I'm trying to figure out how to make the code from HTML url...I have in a listview with some pdf filenames..each of these pdf's have bookmarks to other pdf files.I managed to get the code to export the bookmarks and load them into the listview..but only the first listing seems to be working. when it gets to the second listing,, when it gets to the exportbookmarkstoxml function..it hits the catch from then on..i've tried several different things and none of them seem to be working..the code i have is somewhat messy because i been messin' with it,,but i'll try and tidy up as much as possible for ya.I'm thinking that something between the using statement needs to be closed or something but i can't get it to come even close..i even tried closing the reader with reader.close and then deleting the outputxml and then making the file again but that isn't working either. [code]
Ok, it's basically all in the description, but I need to make it so there is not a limited amount of bookmarks. I cannot use My.Settings because when i try to select 'My Project' in the Solution explorer, it doesn't work
I am having trouble with automatically filling a table in word from a asp.net app - i use bookmarks in the next top row to determine what data should be inserted into the columns of my tables. However, i am having trouble in getting the individual cells bookmarks and get all the bookmarks from the row instead. This is fine if i have one bookmark in each column as i can use the 3rd bookark and assume that is from the 3rd column, but if i were to have 2 bookmarks in one column, how would i know which column it was that contained the 2 bookmarks?Here is my code that returns all bookmarks for the row even though i am selecting a single cell; and therefore using bookmarks(1) - always the same bookmark(the one in the leftmost
I'm trying to develop a Mail Merge using Bookmarks in a word template (1 page doc). It works ok for the 1st record from a datatable (source of data for bookmarks), and then just piles the other records into the same bookmarks. After the 1st insertion I need the code to goto the end of the doc, insert a page break and append a fresh copy of the template for the next insertion. The mail merge could have many 1 page letters in it.
strTemplateDir = Trim(txtDocument.Text) wrdApp = CreateObject("Word.Application") wrdApp.documents.add(strTemplateDir) 'open new word doc based on template 'make it the active doc
I created a simple program that uses a saved word document (letter, and contracts) as a template to create other documents with information from my text boxes (from my VB application) which replaces my bookmark information with the new info (firstName, lastName, address, notes, etc.). This is what I currently use for the call statements to update the bookmarks[code]...
I'm trying to use a menustrip to control the 'bookmarks' function of my webbrowser.
The idea being, when the user opens form2 to add a new bookmark, he enters the url and name they want associated with the bookmark and then when they click the "save" button, it will add a new toolmenustripitem to the menustrip in form1, that, when clicked, will take the webbrowser in the currently selected tab to the url they specified in form2 the adding of the toolstripmenuitem was simple under the save_click event:
Code: Dim bookmrk As New ToolStripMenuItem bookmrk.Text = TextBox1.Text bookmrk.Name = "bkmrk"
I am working on a project which will include automatically filling out some templates.I plan to use word bookmarks to create the templates and then fill them in via VB.This would be no problem, but the problem is that I would like to allow other templates to be used.Is there a way I can open a word document and get all the bookmarks out of it?I need a list, so I can determine which ones I am able to fill out,then send the correct values.Here is the code I am working with if you need a refresher.
Imports Microsoft.Office.Interop Dim oWord As Word.Application Dim oDoc As Word.Document[code]....
Basically, I just want to make sure that "full_name" exists in a document before I try to add a value to it, so I need a list of bookmarks in the document.
I have two problems with my Visual studio 2008, I can't find the 3 button that use as bookmarks for line, and how to keep the Search Box to be on top, right now I'm pressing CTRL+F whenever I want to search something in my code.