20,899 Topics
![]() | |
ok what i am trying to do is i have two textboxs which have figues in them and need the 3rd textbox to display the figure the code i am using doesnt seem to be doing anything could anyone spot it and tell me why it is not working for … | |
hello i was trying 2create crystal reports but they dont work for some silly reason is there any other way reports can be created?? any ideas linking vb.net 2 access 2run reports | |
Currently i am working and using a filter function for my search however i not sure how to do it using a query the sql statement is [CODE]cmd.CommandText = select * from tblcustomer where customerName like "'& textbox1.text &'"[/CODE] I no there is some bits missing but i am not … | |
Hey i am just a little confused. I am creating a system where customers order items and i have just realized that i cannot add more than one item per order how do i get around this i am using sql and vb thanks | |
hello everyone! how to make radio button and combo box has default value? | |
![]() | [CODE] Private Sub TimerZoominOut_Tick(sender As System.Object, e As System.EventArgs) Handles TimerZoominOut.Tick Dim zoom = Document.ZoomFactor Select Case zoom Case zoom = 63 toolBar_zoomin.Enabled = False Case zoom < 63 toolBar_zoomin.Enabled = True Case zoom = 1 toolBar_zoomOut.Enabled = False Case zoom > 1 toolBar_zoomOut.Enabled = True End Select End Sub[/CODE] … ![]() |
I know how to search a text file for a specific line, but what I don't know is then how to delete that line? Can anyone help? My text file is set up as such: 021,Donovan,56 Eynesford Crescent,Bexley,SE5 1TR,09/08/1967,13 March 2012,Bronze 062,Fredrikson,6 Freil Road,Gravesend,GR9 TRB,12/06/1995,13 March 2012,Silver So I know … | |
Dear Sir/Madam, I have two form in my application form1 and form2. Here, i want to show the form2 from form1 by using a button. And i want to reverse back to my form1 from form2 using same technique. But i want to close form1 (Not visible=false or hide) after … | |
Hi friends.. Is there a way in vb.net to check whether new memory pages have been created inside a process(such as winlogon, svchost etc) For eg : if i there is a certain value that may change if new memory pages are created inside the process. Then i can compare … | |
I need ideas on how to create program for CPU Scheduling particularly preemptive scheduling. Thanks in advance for the idea. | |
Hi, I'm having a problem with my forms. Basically I have one form that adds,deletes,updates transactions that are made when a registered member makes a request. Doing this then gets saved in the database under a transaction table. I then have another form which then calculates my transactions based on … | |
I create an xml file on startup in my application which contains the connection string of the database. [CODE] Dim contactDoc As XDocument = <?xml version="1.0"?> <database server=<%= TextBox1.Text %> name=<%= TextBox4.Text %> userid=<%= TextBox2.Text %> password=<%= TextBox3.Text %>> </database> Dim str1 As String str1 = Application.StartupPath contactDoc.Save((str1 + "\data.xml")) … | |
Hi every one. I need help with regards to application distribution. The application i have made is in vb.net with sql server as database. I have 2 laptops . i want to install the application on both computer So that one computer will be for administrator and other for employee. … | |
![]() | Hi, i'm fairly new to .NET after getting tired of using VB6 due to the lack of functionality. I'm trying to create a log on method for a system which will involve users selecting a colour from a paint panel and then placing/drawing the colour in 1 or more tiles … ![]() |
How do you read the default values from the appName.exe.config file? My application only reads these values on first installation. Subsequently, it reads the updated values sitting in the user.config file. Please assist. Thanks | |
any way to do this as the program not responds when trying to httpwebrequest. Dave | |
[B]Example: John Listed: John john JOhn jOhn JoHN JoHn johN jOhN[/B] How can i list like that all probability ? | |
Probably a simple answer to a stupid question. But i cannot figure it out myself. I am using [CODE]Date.Now().ToString("D")[/CODE] on a label. Now i was wondering how you could use a similar string. But to add 1,2,3 ect... to that. So that i can have a label for each day … | |
When the code below is executed if sometimes it performs a "TAB" sometimes does nothing and sometimes gets my PC hung so I have to do CTR-ALT-DEL & Cancel which moves the execution of the program to the next line ("End IF"). Any idea what is missing to make it … | |
Good Day!. Im, a new programmer. I want that the value of my textbox6 in form1 will add to the value of the textbox6 in form2. can anyone help me. :( | |
I'm not asking you to give me codes or what, I'm just asking for a little ideas thats all. :> My problem is, how to create a program of CPU Scheduling, particularly, Preemptive one, like SRT, Round Robin etc. How can I make them using VB.NET. Thanks in advance for … | |
good day. i have a problem with my login from. i have my table under SQL server 2008. which is tbl_user,with a field of userid,username,password and category i created a simple login form but that's fine and working as a simple login.. my problem is that i want to add … | |
![]() | Hi Guys. I got two combo boxes, one has numbers from 1-75 and the other one has all system fonts. I have a richtextbox as well. I basically want the user to be able to choose the font and font size from the combo box and then apply to the … |
I’m using VB.Net. I’m using DataGridView with ColumnType = DataGridViewTextBoxColumn. I have 3 columns. Column1, Column2, Column3. For example: [CODE] Column1 Column2 Column3 1 AA AAA 2 BB EDIT 3 CC CCC [/CODE] If column3’s value = “EDIT”, then I need to edit only that cell. Here for example: i … | |
i am using a listview on my admin form to see those who are logged in. so i have a table which captures users logging in and logging out. this table data is reflected onto this listview. but i want the listview to refresh itself as soon as the user … | |
hi every one i am trying to get a total in vb.net. i have a booking form which has fields like cust_id,date,location and payment. what i want to do is to generate a report so that when administrator wants to see report of total sale of suppose for the month … | |
Hi Everyone! I got two form. form 1 i ask the user a number of guest form 2 i ask each guest their name, their age i decide to make a loop throught form2 array base on the number of guest but then i got this error. NullReferenceException was unhandled … | |
Hi I'm trying to display the version number of my application on the screen using the code below. [CODE]Version = My.Application.Info.Version.ToString[/CODE] When ever this line of code runs Version always ends up being 1.0.0.0 but my publish version number is 1.0.0.33 Is the My.Application.Info.Version not the same as the publish … | |
Hi! everyone. i have never learn to loop an groupbox or anything so i don't know what wrong but the compiler said "NullReferenceException was unhandle" and here is my code. Please help! [CODE]iNumberOfPassengers = CInt(txtAdult.Text) gboPassengerDetails.Hide() Dim gboNextPassenger(iNumberOfPassengers) As GroupBox For iCounter As Integer = 2 To iNumberOfPassengers gboNextPassenger(iCounter) = … | |
Good day vb.net programmers!. I have here a combobox1 named choosename in form1. then i have a 10 textboxes named answers in form2. I want that if i choose from the combobox1 the textboxes answers of form2 to will link to it. and it save into my sql database. can … | |
Hello friends.... I have to check the folder path in such a way that c:\Pooja\[COLOR="red"]dynamic_folder[/COLOR]\Output.txt From Pooja folder how will I be able to move to the text file since the dynamic folder can be anything and I want to move inside the dynamic folder... is there any way... i … | |
hi gud day please help me to my problem -(....i don't know how to create dailytimerecord system in php please please help me...our defense will be on Friday march,[COLOR="Green"][/COLOR]16...please help | |
i have this problem : Dynamic SQL generation for the DeleteCommand is not supported against a SelectCommand that does not return any key column information. ... the button used to delete record in my project is button6 at the end of the code my code : [CODE]Public Class Form1 Dim … | |
[CODE]<input type="button" onclick="javascript:fnnSaveChanges()" onblur="lsTest=0" onfocus="lsTest=1" value="OK"> <input type="button" onclick="window.close()" onblur="lsTest=0" onfocus="lsTest=2" value="Cancel"> </td> <td class="clsTableElement" align="right" nowrap=""> Selecting 'Save' in the Main Window is required to Save the new settings. </td>[/CODE] i've tried [CODE]WebBrowser1.Document.All.GetElementsByName("OK")(0).InvokeMember("click")[/CODE] but i get value of 0 is not valid for index. index should bebetween 0 and … | |
Using format NOW will just show the current time but the time will not run. Is it possible to make it to make the time keep running?? | |
Hey guys, I am setting my viewmodel as datacontext in my xaml but I override it to my view to make few functions work however to achieve the visibility on some grids and I have a property in my VM can I override my datacontext back to my VM? If … | |
Hi, I have a form in VB which is scrollable (using autoscroll) and when I currently click 'print', it only prints what I can see; it takes a screenshot of the viewable information. Here's my code: [CODE] Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click Dim … | |
Hi all, What seems like a fairly straightforward process has got me stumped! How do I show a MapPoint map on a VB Net form? I have MapPoint 2011 (Europe) installed on my dev pc, and have added the references "Microsoft MapPoint 18.0 Object Library (Europe)" and "Microsoft MapPoint Utilities … | |
how to transfer all items of a list box to another list box in vb? i want coding of dat.../ plz help... | |
Well I have build a program until now with an MySql database. The programs add records for the customers and the products of the company(Its works perfect).. I am trying to build now the Orders the last part of my project but I have a little problem.. First of all … | |
I need to define a two dimensional array and assign values. I was wondering if there is an easier way in vb.net to do this other then how I have it below. some of my other arrays have over 700 elements in them. Dim L1(8, 2) As Double L1(0, 0) … | |
Hi everybody >> Thanks to this forum >> I need your help please .. My problem in the Combo Box and SQL query .. I have three comboboxes linked to an Access 2007 database first one "Department" second one "Year" third one "ClassRoom" in third combobox I need display the … | |
I'm having some issues with this code: [CODE] Imports System.Data.SqlClient Public Class loginForm Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load '--Connection string to POS database Dim loginFormConnection As New SqlConnection("SERVER = localhost\SQLExpress; DATABASE = POS; INTEGRATED SECURITY = true;") '--Check to see if Windows Point … | |
Employee Record Hello, Ive just wanted to get the idea for my problem. Im making payroll system now. I just wanna know what is the way of tracking the record of employee when i save theyre info in payroll. Like if the employee got paid in these date lets just … | |
Hi I have several things I need help in it 1- how I can put picture in tool strip and put it convert to split button without the picture go invisible when i click on it 2- how can I make tabs in the forms 3- I want to put … | |
In my project all, my forms are accessed through my MDI form, [CODE]Private Sub DocumentCollectionToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DocumentCollectionToolStripMenuItem.Click Dim capture1 As Boolean = False capture1 = noduplicatemdi("DOCUMENT_COLLECTION") If capture1 = False Then Dim mdiForm As New DOCUMENT_COLLECTION mdiForm.MdiParent = Me mdiForm.Show() End If End … | |
Good day!. I want to save my textbox to my sql database. this is my code: Dim con As New SqlConnection Dim cmd As New SqlCommand Try con.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\dbEvaluation.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" con.Open() cmd.Connection = con cmd.CommandText = "INSERT INTO Comment([Comment]) VALUES ('" & TextBox1.Text & "')" cmd.ExecuteNonQuery() … | |
I'm making this POS software for a restaurant and I was wondering what the best way to create the button interface for the items since it's going to use a touch screen monitor. I was thinking of adding the buttons at runtime to solve the excess space problem, and also … | |
Hi, I need to change size parameter of OvalShape, I have about 100 of them, named like OvalShape1, OvalShape1...... OvalShape100 Search the froum I noted this [url]http://www.daniweb.com/software-development/csharp/threads/367949[/url] This example works for Label, but throws error for OvalShape, following is my modified code that giving error; [CODE] For Count As Integer … | |
Hi, I'm new using AJAX and I'm developing a page where I need to populate a CheckBoxList based on what the user types (it's like an AutoSuggest). I don't know how to bind the checkboxlist from the database using AJAX. My code in VB.NET is something like this: [CODE]Dim DatabaseConnection … |
The End.