20,285 Topics
![]() | |
ok hey guys i have a application in vb with a textbox 2 buttons and a web browser, button1 is for navgating the web browser through what is entered in textbox1 button2 is for inserting the javascript : javascript:document.body.contentEditable='true'; document.designMode='on'; void 0 however when i clickthe button i just get … | |
I have created installer from Visual Studio Package and Deployment, but after successful installation, the installer files (like dlls, images and all supporting files) modified date or even creation date has been changed and all have the same date depends on the date of installation. Is there a way I … | |
Hi Im trying to achieve something which seems simple but is proving difficult. I have listview1 which will display the values of two textbox's when a button is clicked. I have listview2 which will make a calculation based on the two values in listview1 when a button is clicked. What … | |
I am opening a website in a web browser control in vb.net 2008 . I want to programatically fill a form which is on the 3rd page of the website . But my code is unable to fill it . Can u plz guide me . I am using the … | |
hiiiiii i have some problem for developing the code for addtion of 3x3 matrix class the code which i have develop is given below. but this class is not executed in vb.net code. dont know whats getting wrong in it as m nt getting the required result. please help me … | |
The menu strip must be created programmatically (ie NOT dragged and dropped onto the form). The exit option added to the menu strip must exit the application (This works) A structure must be created to encapsulate all the questions and suggested answers. The structure must contain: 1.Question String 2.Answers Collection … | |
Hi, I have just started learning VB.NET and recently tried to write my first piece of code. I am getting an error message that says: ******Statement cannot appear within a method body.End of method assumed. ****** Here's my piece of code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As … | |
hi can anyone help me . when the user enter the name in a textbox and click the search button, the output should be display in the datagrid... Help plz have to submit my project in 8 days | |
hi, i would like to assign the value of a combobox to a variable and use this variable as a parameter on the insert statement.see code below,code 1 works ok,but code 2 brings an error relating to wrong datatype,i cant seem to find where the problem because i think i … | |
Hi Guys, I am doing a report in crystal reports and i have 4 parameters. when i run the report the parameters are displayed each on a separete page i have to fill one by one and press next. Is there a way to make all the parameters show on … | |
Hi, all. I would like to know about convertion from (x, y) to (latitude, longitude)? For Example: In my project(windows form - VB.NET) i have a Panel (control) and have a MouseMove Event then when i moving the mouse it have a location such as: Label1.text = e.X Label2.text = … | |
Please i need to generate report for my application and i don't know how to go about it.pls i will appreciate if u can help thanks | |
I am creating a recipe program that will allow the user to save recipes in an external file, retrieve them and work out a new value for ingrediants depending on how many people they want this time. However within my code errors keep appearing and I cannot work out why … | |
Okay, I know some of you are looking at that title and thinking I'm quite daft because obviously I have to have a dataadapter if I have a bindingsource. And you're right, there is a dataadapter, but it's not exposed to me. I've taken over a winforms project (attached to … | |
hello world, i am trying this from last 2 days but unsuccessful . i am trying to make a project in visual basic 2010 which is connected with ms access 2010 database. the database having 4 tables i.e. tblsession, tblcourse, tbllevel, tblstudentregistration. tblsession data: column name column data sessionID -- … | |
Hello Daniweb, I need to write a program to change the extension of all the files in a folder from a certain extension to another. My code is shown below, however, I have one problem: i.e. Say we want to change all files with the extension "*.tx" to "*.txt" but … | |
I am really confused! My program doesnt work if I dont have visual studio here in my pc. To test it I have uninstalled visual studio. But my program doesnt work though flash player is present there(I have used flash animation in first form). To be more sure about it … | |
hello to all and thanks for giving all help to newbees, i have a form in visual basic 2010 with these specification 1 datagridview 7 textboxes 7 comboboxes 2 datepicker i use a connection with code to ms access. i am using this code to load data in DGV and … | |
i was trying to fill my conninfo to apply it to repdocument help! | |
Hi, I've made an application and it connects to my database. But the issue is the details of the database can be found out through packet logging or something. How can I stop this from happening and secure it, without having to have a third party such as PHP script … | |
Hello Friends, I need help to disable the parent window form as soon as the user will open the child form.... for eg...consider daniweb...when we click on member login the background form gets grayed out.... Disabling the form is not the option cause it will just disable all the controls … | |
![]() | Hi, I have been given the task of basically reading and writing to and from files. Below is the code from one sub: If btnSaveRecipe.Enabled = True Then FileName = "C:\Users\Leyla\Documents\Recipe Task\Recipe.txt" FileWriter = New IO.StreamWriter(FileName) For index = 0 To lstRecipe.Items.Count - 1 'For the number of ingredients in … |
Hello! i use Shell32.dll with ShellExecute to print an image file,but my requiremnt is to print in the same print window multiple image files like when we select 4 images in a folder then right click and click print,so microsoft windows photo viewer will open once and print the 4 … | |
Hello all! I would like your help please.. I have a datetimepicker and I want to use it for the time part only! So, I would like to disable its dropdown calendar.. Thank you in advance! | |
i need a a code to make a simple youtube downloader. All projects i have found in internet dont work. Can anyone help me? | |
want to inset a field on vb form with texboxe besides it such that when i inset values a polygon is drawn. please help asap | |
Hi Is there a way that i can a loop in my program Dim Total1,Total2,Total3,total4,Total5,Total6,Total7 ,Total8,Total9,Total10 as integer For I = 0 to 100 Total1= InterestRate(i, Listview1.Items(0).SubItems(1).text,Listview1.items(0).subitems(2)) Total2= InterestRate(i,Listview1.items(1).subitems(1).text,Listview1.items(1).subitems(2)) Dim Item1 as new ListviewItem(i) Item1.Subitems.add(FormatCurrency(Total1+Total2,2) ListView2.Items.addrange(new listviewitem() {Item1}) Next This works because i have know how many rows have data … | |
Hello,, i want combo to search the whole word before space ..like for blue berries when i press B it should give the whole word blue only not berries but when i select again b the it should give me blue berries . senario.. i have 3 names in combo … | |
Hey Guys i am doing a small project and i am using vb.net with MS access database. i am facing a Concurrency issue sometimes when i try to save data in the datagried view. i have added the datagried view by draging and drop the table from the data source. … | |
hello bros i need help in dis i have textbox with text blahbla@lablablab blahblabla@alalalala blahbla@lablablab blahblabla@alalalala multi line and so on i would trim all text after the "@" to be blahbla blahblabla blahbla blahblabla thx in advance my bros :) | |
hello ! may God bless all of us , well i am working on a project in which i need to create a simple desktop viewer , a user can view the screen of any computer in LAN network , how can i do this , as this is very … | |
i am having real issues trying to build a sql string Dim SelectQry = "SELECT * FROM TblSupplierQuotes where TenderNo='" & Me.txtTenderRef.Text & "' AND KMBPartNo=" & " " & Me.lbKMBPartNo.Text & " " in SQL the TenderNo is varchar(50) = L003141T75-2012JANTEN KMBPartNO is text = 442 019 115 1 … | |
Hey guys I manged to get some code what works fine but it uses console application I have tried to convert it by hand and change things around to get it to work but with no avail! Im certain it should be simple but I may be wrong :( Code … | |
I’m trying to produce this equation in VB.NET h = (sh * s + (dia / 2 (tan(ang))) + ((dia / 2 (tan(ang1))) / 3)) This is where I’d prefer to retrieve the data from. Sh = sheet height = 1 (can be variable)(data retrieved from textbox) S = sheets … | |
Hi Everyone I have a listbox that calculates interest rates the code is as follows:- dim amount as double = val(textbox2.text) dim counter as integer for counter = 1 to 10 listbox1.items.add(counter & " % " & formatcurrency((amount*counter)/100)) next counter This works great but i would like to use a … | |
hi, guys here is my question:- I've created an application for opening text files. there i got two forms.one contains the textbox where the contents of the file will be displayed. there is a button.clicking this will move me to another form which is displaying modally.in the second form i … | |
How to maintain Zeros in incremented values ex: ECJ-00001 any help willb appreciated this is how I am icrementing Dim Separ As String() = fullString.Split("-") Dim StrPart As String = String.Format(Separ(0), "ABC", System.String.Format("SIM")) Dim intPart As Integer = Convert.ToInt32(Separ(1)) Dim Novonumero As String = String.Empty Novonumero = String.Format("{0}-{1}", Separ(0), System.Threading.Interlocked.Increment(intPart), … | |
I'm new to complex maths and equations in vb, even the basic maths below does not work correctly. So can any one advise on the best data for for me to use e.g. below decimal for math calcs Help me put the below correct. Private Sub z() Dim ringheight As … | |
Hi, I'm searching for an Audio/Sound monintoring sample code. What it does is it **meters** the sound coming out of the computer. Can you give me some examples on how to do it? Thank you! | |
[Click Here](http://img96.imageshack.us/img96/1272/sucksu.png) I Have create a folder using my VB Project.how do i access it through my code..this folder contain all the contacts images in my programe.i mean i know the folder path in my computer if i instal my programe in a another pc how do i get the … | |
hello ! i am using mssql server 2008 , i have a table with three fields , 1- ProdID 2-ProdName 3-ProdPic , now i want to show the all records of the table in the datagridview by using vb.net , how can i show my image field in datagridview , … | |
Hi, I am in the process of trying to use VB 2005 to connect to a MySQL DB . I have the data connection working between the program (VB 2005) and my MySQL server but now I need to make my code connect to it. I have never done a … | |
How can i check whether the text box is numeric or not? Because i want to do validation. but i tried many style still cannot work. | |
hii all, i hope everyone is ok, can someone tell me why my crystal report dosesnt show any of my data. Best regards | |
hello all of you ! i am making a simple form which can create the text file from the database table , for this , i am using this code at the load event of my form so that it can create the files at the load time. IO.File.Create("C:\Customers.txt") IO.File.Create("C:\Towns.txt") … | |
Hi all, I've got a little personal project on the go at the moment. Given a UK postcode, it will find the nearest railway stations and sort them by distance. I would like to be able to get walking directions from the postcode to the station from google maps. This … | |
Hi there, I am new to this forum so please be patient with me :-) My problem is how to bring a nested XML structure into a single DataGridView. The XML looks like this: <Artist> <Name>John Doe</Name> <Age>36</Age> <Language>english</Language> <Artwork> <Picture>Picture 10</Picture> <Picture>Picture 20</Picture> <Picture>Picture 30</Picture> </Artwork> </Artist> <Artist> <Name>Mike … | |
I have completed my project with front-end as vb.net 2008 and back-end as SQL server 2005. I have to backup and restore my project in the following extensions: 1. .bak 2. .xls 3. .mdb Please tell me how can i store the backup project in my own path. | |
Hello people; I am implementing an application in vb.net about a library management system, when I add new record to the database and then close and reopen the application, the record is not there! I googled the issue and used the text book of this course but nothing beneficial. :( … | |
Hello Gents I have a small problem and hope someone ca help me. I wrote a small code to generate auto-increment number and save it to the database. the problems is that whrn it reaches 10, it stops incrementing hereis the code Dim Separ As String() = fullString.Split("-") Dim StrPart … |
The End.