20,284 Topics
| |
I have my form checked if it's dirty when a user goes to close it. If its dirty is true, the user is asked if they would like to save the data. When they click yes, the 'save event' is called. The problem I'm having is trying to get the … | |
I am experimenting with sendmessage from a simple form to control the various buttons in iTunes. The problem is some sendmessages appear to work just fine and others don't. Now before we get into "do you have the right handles child windows etc." Heres whats weird, I can take my … | |
System.Data.DataRowView Hello people. Ive got a problem with a listbox of mine. I have three lisboxes, one listbox1 is for product category, another lisbox2 is for the product itself in which it will appear after the user has chosen a product category AND another listbox3 which acts like a shopping … | |
I have an inventory system I am making for my business. I have a form that has a listbox control that lists all the orders that have been submitted. I also have a datagrid that lists the items in the order based on what is clicked in the listbox. I … | |
I am currently working on a project in VB.net that requires the advanced power settings of the client's system to be set to allow wake up timers for when the system sleeps. Please I have been looking around for the solution. I desperately need it. Thanks in advance. | |
I've run into a couple of errors within my program which reads a text file. When a user clicks a button to read the textfile and an exception is thrown, i have it displayed as a string in a message box, but an additional message box related to runtime error … | |
Hello Friends, I need to develop a birthday reminder form in my project.... The list of all patient that are celebrating birthday on that particular day and month...leaving the year.... My database is SQL server and I have used date datatype for it.... So I can I get the month … | |
Good day guys., im new with vb .net and im currently developing a simple information system for an agency .. im almost done with it but there seem to be a problem with my update statement for the change password code here's my code.., Imports System.Data.OleDb Friend Class login Public … | |
Hello, I am final year student and I am currently doing a website project on resort using asp.net 3.5 and vb.net and backend as sql2005. I have modules like Room reservation, membership, events and packages. Can I get any Sample Project. | |
I have a Function for checking the input in a textbox and only allowing Numeric & Backspace; everything works fine so far. My form is for financials and it has about 20 textboxes; they all receive Numeric only data; there is NO alpha data on the entire form required. Note … | |
I'm trying to figure out/learn how to overwrite previously saved data. Right now when I save data to my excel form and then reopen it, to edit, a duplicate row with the edited data is shown along with the previously saved data as well. | |
I am uploading ".xlsx" files to one of my web page in a calendar. While reading the file i am getting a message "Excel found unreadable content in 'test.xlsx' Do you want to recover the contents of the workbook? If i say YES then the content is loading properly. How … | |
I’m using VB.Net 2008 application program. I’m using DataGridView. I have a Print Preview option where i need to print the DataGridView. Using "DataGridView1.Rows.Add" i’m adding rows to datagridview. I’m using this code for Print Preview. Dim MyDataGridViewPrinter As DataGridViewPrinter Private Function SetupThePrinting() As Boolean Dim MyPrintDialog As PrintDialog = … | |
hi i created an vb application and when i debug it or build it it works beautiful but when i try to publish it it succeed but wit 2 warning as follows Warning 1 Two or more assemblies have the same identity 'Shull Account, Version=1.0.0.0, Culture=neutral, ProcessorArchitecture=x86'. Shull Account Warning … | |
hello how can do this program only read other sentence after # etc mister.john#gotodaniweb.com2 this (mister.john#gotodaniweb.com2) is in listbox so when u click it it print one the label only the sentence after # so iit prints and show only gotodaniweb.com2 | |
I just want to make an automatic format in the textbox, this is only to set 4 number with 2 decimal in the textbox, when the user enter any number in the textbox, it will be the number format - 4 number with 2 decimal automatically, thanks. | |
hello ! i am working on a simple grid , i create 3 columns name , A B C , manually , now i have a table having three fields A B C , i want to show Rec A in A col , B in B Col and C … | |
How can I trigger my "save" event when a user clicks the 'X' on the control box? I have code written for saving all of the information, but I don't know how to modify the control box features other than declaring it true or false. | |
Hi, I'm trying to create my own numeric textbox that will handle decimal as well as whole number values. The concept is, unlike the regular textbox, this one will accept a value of 'Double' data type and show it with proper formatting e.g. Leading Digits, Digit Grouping etc. When the … | |
2 textboxes to accept fromdate and todate and check with the database column of ida,rda and if matches then display only that row. I tried it in the below way but not able to do. con.Open() i = DataGridView1.CurrentCell.RowIndex cmd = New SqlCommand("SELECT COUNT(*) FROM IssueMBA WHERE ida='" + TextBox1.Text … | |
in which i wnt sme small widow and data usage and speed increase n decrease can b done n v cn use a credit or atm card also | |
I can't add infromation to my Projet.mdb ! please help me ! this is my code Try Dim ConStr As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source = C:\projet.mdb" Dim Save As New OleDbCommand Dim Conn As New OleDbConnection(ConStr) Save.CommandText = "INSERT INTO Client(Nom,Prenom,Adresse,Téléphone,date) VALUES(@p1,@p2,@p3,@p4,@p5)" Save.Parameters.AddWithValue("@p1", TextBox1.Text) Save.Parameters.AddWithValue("@p2", TextBox2.Text) Save.Parameters.AddWithValue("@p3", TextBox3.Text) Save.Parameters.AddWithValue("@p4", … | |
just forgot, I knew this "Textbox1.text = format(textbox1.text, “####.00”)" will set up the format to 4number with two decimal - 1234.00, how about if the user enter 12345.00, five number with two decimal, how did you do the check and give error message? Thanks. | |
Hello, Please tell me how to use datagrid in C# windows application? How to use other controls like textbox, checkbox and combobox in datagrind and populate it from database. Thanks VIMIT | |
I have a string 17:55:88 I want to split this up into the three sections and store them in varibles. IE I would like to have the 88 stored in a varible the 55 in a varible and the 17 in a varible. the following code does what i want, … | |
hi i just finished an application it works good when i debug but i tried to publish it and the publishing fails with errors that some files are double but i don't get what the problem is the error details are as follows PLATFORM VERSION INFO Windows : 6.1.7600.0 (Win32NT) … | |
Hi Guys, I have been browsing this site for a number of years now for articles, advice and code snippets, with great interest in the expertise displayed, never actually posting any questions until now. I have been coding for a number of years now using procedural code, with breif interludes … | |
Im really new to vb..and i've been using treeviews recently as a menu system in my project. What i want to know is, can i create buttons, or say labels within the treeview for the root nodes.so when i click on them and child nodes will appear below. Also is … | |
i foud this code , its work well in windows 7 but when i run project in windows xp its says i must use New keyword but when i use New its gives error at regkey.GetValueNames and RegistryKey = Registry.LocalMachine and regBaseKey.OpenSubKey("SOFTWARE\MyApp", False `Imports Microsoft.Win32` Public Class mform Dim regBaseKey … | |
#Administrator Console# I am Making a Noob-Proof GUI Administration Control Panel, and I Have, Log Off User Shutdown (With User Selected Amount Of Time) Quick Shutdown (Shell ("shutdown -s -t 00") ) Reboot Computer and I Need the following: Disable TaskManager Disable Command Prompt Disable internet Disable My Computer and … |
The End.