20,899 Topics
![]() | |
Is there anyway to do a screen capture that will include the menu strip if expanded? I know ALT + PrintScreen will do a capture of the current view, but once I hit the ALT key, the menus disappear... | |
Hi, I have a form with multiple tables. when I add rors into the tables I Use code like this: [CODE] Dim n As Integer = 0 For Each copyRows1 In copyRows Dim newOrdreRow As DataRow = Kalkyle1DataSet.Tables("Ordre").NewRow() Dim Ordredato As String = Kalkyle1DataSet.Tables("Ordre").Rows(n).Item("Ordedato") [/CODE] where I add new rows … | |
I had a hard drive crash and lost all my source code for my poker clock program, but still have the program. Are there any programs I can use to reverse engineer my program so I can get the code back? | |
hi i want to take single table backup on sql server 2000 how can i take only selected table backup ?? | |
I have a program that will load a datagridview with data from a database via a dataset at form load. On this same form, I have a button named "count", that when pressed, I want it to show a message box indicating how many entries were loaded into the dataset. … | |
I am a little fuzzy on how to post my code so everyone can see it. I am too dull witted to figure out the instructions given on the blank thread. Would any one be willing to help me out? thanks | |
I have looked high and low and can't seem to find some sample code anywhere. I am looking for a snippet of code that will return all the folders in a Mailbox, not so much the drafts, inbox, outbox, sent items but a custom folder created by the user. Using … | |
I have two text boxes, submit button. and a dropdown list with the items(even, odd, and all). I want to calculate the sum of either all "Even", "Odd" or "All" numbers according the selection. In the code below, I have the "all" section working correctly but I'm trying to figure … | |
Hi everyone, I'm at my witts end and need some advice. I need to create a new table in MS Access from a datatable and I just can't get it to work. I have tried SQL with no luck, but I've been spinning my wheels in the mud. Any advice … | |
[CODE]Public Class Form1 Private Sub btnCompute_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCompute.Click Dim percent, calories As Double Dim grams As Double Dim allow_amount As Double = 30 grams = txtGrams.Text calories = txtCalories.Text percent = (grams * 9) / calories * 100 Dim fmtstr As String = … | |
i want help in saving the check box if its set on true to a data base | |
Hi!, I have a bit of a problem here. I am looking into a few options. First of all, I have a program that was written in GWBASIC and it runs great on a DOS machine. It will even run in Windows 2000 under QBasic if you run it from … | |
I have a groupbox called "GradeGroupBox" that contains 4 radio buttons for each high school grade. I also have a clear button which, when pressed, should deselect any values in that box. how can this be completed? I know how to do each one individually, but is there a way … | |
Hi..i need to write a program that allows the user to input student’s names (in textbox) and their studentID (using array) and searching (by name and id). the list of the student data should display in a gridview. Can anyone help me out? | |
[CODE]Public Class Form1 Private Sub btnCompute_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCompute.Click Dim percent As Double percent = (txtGrams.Text * 9) / txtCalories.Text * 100 Dim fmtstr As String = "{0, -15:p3}" lstResult.Items.Clear() lstResult.Items.Add(String.Format(fmtstr, txtFood.Text & " containts " & percent & _ " calories from fat.")) … | |
Hey there guys, First time poster here, so I apologize for being a rookie. This is my first VB class and im having a hard time with For-Next loops. The question assigned is as follows: Request and odd number, and display a triangle similar to this: [code] ***** **** *** … | |
Hi Can anyone have a look at my code and tell me where im going wrong??? What im trying to do is display my details in a listbox then the one that is selected frm the listbox is displayed in the textboxes and when delete button is clicked it is … | |
Hi. I'm fairly new to VB. I've made a handful of small programs and followed a few tutorials, but this is really the most complex program I've made so far. (Just a heads up that I may be missing something fairly obvious :$) I'm working on a VB program which … | |
I am writing a program that will ask the user to add in some of his details, which are stored into a text file, how do i check to see if the email he entered is not already stored in the text file already? I am also having problems with … | |
Team - Working on a personal project to help with my sons spelling. I can't seem to find an easy solution to this so I hope someone can point me in the right direction. Textbox 1 will hold the correctly spelled word. Textbox 2 will be typed BUT I want … | |
Hello! I have a webbrowser control in my program and what I want to do is to delete all the cookies stored in my computer. The problem is that for example I'm in some site, and then I decide I want to delete all the cookies, so I do it … | |
I have a Form1 with a method called OrdreUpdate2 I try to run thad method from another form by using the command Form1.Ordreupdate2 in a buttonclick. But nothing happens..What am I missing here? | |
Sir, My problem with my project so please help me about I am enclosing my project with problem very simple but I can't found. I am using text box and listbox last two textbox i.e. txtlani and maskedtextbox. Now the problem is when the user put the data into above … | |
Hi, I am doing a project in vb.net. I have a text box which contains numbers separated with commas. Now I need to insert only those numbers in a database. How to do this?? Can anyone please help me out.? Please post your suggestions ASAP. Thanks in Advance | |
Hi, I installed VC++ with SQL Server 2008, but I cant find SQL Server Management Studio application. Can you talk me why? Installation of all components was good and I can find other components. | |
hi guys......can you please give me the full working code of the program, because i also encountered the same problem.....but i don't know where to put clientsocket.close() and the other corresponding code. i new to vb.net AIM:1. when the user click on a disconnect button, the communication stop and user … | |
I have an Employee form that displays data about the employee, on that form I have a button that launches an Employee Job form that shows data about the employee job. My question is how do I show the relevant data on the Employee Jobs form when I click the … | |
Hello. I want to copy a file from a UNC path (ex: \\comname\dirname\filename.txt) to a local destination (c:\outputdir) I have no compile errors, but when I run it, it throws an exception (System.IO.DirectoryNotFoundException). I'm absolutely sure the destination existst (it's referencing the destination directory). I've tried doing it with system.io.file.copy(source,dest) … | |
Hello! I need help! In runtime i created a few tabs and few text box on each tab. Now I have to catch how many tabs is opened, and catch text from text box and write in table. My problem is how to catch that. Thanks P.S. Sorry on my … | |
hi i am working in vb.net 2005, how to check my printer status(true or false) before print report? | |
I have created simple database project, using vb.net, ado.net, oledb, datatable, datagridview. My program is working nice, I just need Help with how to add, delete, update and edit records. Can any one please and please help me in this case, or can provide any good tutorial or source code … | |
hi all, what i am trying to achieve is that, using statistics from a data source (may be a SQL DB) i need to create a graph dynamically at runtime, and display that graph on the web page. perhaps it would be a good idea to convert the generated graph … | |
When i try to log in i keep getting this error and i dont have a clue what it means the code i used is below along with the error message: code - Dim dr As OleDbDataReader = cmd.ExecuteReader error - Syntax error in FROM clause | |
hi everyone! need help in using all the listbox contents for filtering a datagridview2 (that is binded with an access database) my code is as follows: [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim tables As DataTableCollection = VPC_DatabaseDataSet.Tables Dim view1 As New DataView(tables(4)) … | |
I used VB 6.0 very much. There is a provison to compile to EXE file then package and deployment wizard make setup.exe But I learned VB.Net 2005 programming but I couldn't any way to make a setup program or any alternative to sell my project. | |
What I'm working on is a video rental project in visual basic 2008. I have a local database which contains info on DVDs, Members and a table for current rentals. [B]The columns i have in the current rentals table are:[/B] MemberID | DVDID | DaysOnRent | DateRented | DueDate | … | |
Hi I'm doing a project where I need to have people register by entering a username and password. When they click register I want them to be added to the database, but I'm having trouble doing this. Can anyone help? This is my first time using VB. This is the … | |
I have a VB.NET application created in Visual Studio 2005. The application uses crystal reports. It works fine on the developer machine, but I am receiving the following error on a client machine: System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=11.5.3700.0 This is a standalone executable and not distributable … | |
Want to know how to move an object from one place to another for a project on [B]interior decoration system[/B] | |
hiiiiiiii friends i want to get path of current directory . tell me as soon as posible | |
Hi i have my INSERT and DELETE command working fine my data gets saved to my database to deleted, my problem is my UPDATE command. i have a form which displays 'employee' information the form includes text boxes i.e forname surnam etc and this is where the data is displayed … | |
Hi there, I'll try to be brief, In short im trying to add together a variable, (name = STRFinValue) within a For loop, I think the syntax should be: STRTotal = STRFinValue +STRFinValue(f) But I am very wrong. [code] Private Sub btnLBTotal_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles … | |
Friends I m workin on vb.net ado.net oledb, I have also added datagrid Control to my form for retriving database from .Mdb file i used following code [code] 'decleared Name Space Imports System.Data.OleDb 'Dicleared Variabls in Class Form1 Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da … | |
Hi, In one of my vb.net 2008 application i have called a java class file through batch process which creates txt file and jar file and put in app path folder. When i run the application it creates only txt file in the app path and not the jar file. … | |
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim quantity As Integer Dim quanarr(20) As Integer Dim item As String Dim price As Double Dim x As Integer = 0 Dim counter As Integer counter = QuantityList.Items.Count quantity = Val(QuantityBox.Text) item = ItemBox.Text … | |
Imports System.Data Imports System.Data.SqlClient Public Class Form2 Dim myconnection As SqlConnection Dim mycommand As SqlCommand Dim dr As SqlDataReader Dim dr1 As SqlDataReader Dim ra As Integer Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click myconnection = New SqlConnection("server=Pakistan;Initial Catalog=Mumtaz;database=Mumtaz") myconnection.Open() mycommand = New SqlCommand("insert into … | |
I have a database I am creating with about 50 users over a network. There are about 6 groups of users and these users are spread across 10 branches. I want to block/allow users from particular forms and views. For example I want branch users forms to be filtered by … | |
I'm trying to distribute a click-once application to clients in various locations via our company website. I used to be able to do this with no problems when I was deploying these apps internally on a intranet. Now that I am deploying via the internet, the application will not install. … | |
Hi everyone, I've got an interesting problem that has me stumped and I just cannot seem to find the right answer in the help files. Background: My project requires that I establish more than a few relationships amongst datatables in a dataset so I decided to create a generic routine … | |
Hello everyone, I have this code below and everytime I run it I get this error. Please help. [CODE]Private Sub SendEmail(ByVal sender As Object, ByVal e As EventArgs) Handles Button2.Click Email.To.Add(Settings.txtTo.Text) Email.From = New MailAddress(Settings.txtFrom.Text) Email.Body = "Email Body" Email.Subject = "Email Subject" SMTPServer.Host = Settings.txtSMTPServer.Text SMTPServer.Credentials = Authentication SMTPServer.Send(Email) … |
The End.