20,899 Topics

Member Avatar for
Member Avatar for PDB1982

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...

Member Avatar for Oxiegen
0
69
Member Avatar for johmolan

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 …

Member Avatar for Oxiegen
0
110
Member Avatar for crazyhorse09

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?

Member Avatar for crazyhorse09
0
99
Member Avatar for saj_amo

hi i want to take single table backup on sql server 2000 how can i take only selected table backup ??

Member Avatar for Oxiegen
0
56
Member Avatar for juanrafael

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. …

Member Avatar for Oxiegen
0
183
Member Avatar for Sizzlepantz

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

Member Avatar for abu taher
0
96
Member Avatar for spxChrome

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 …

Member Avatar for spxChrome
0
80
Member Avatar for jcb0806

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 …

Member Avatar for WaltP
1
2K
Member Avatar for hjdoran

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 …

Member Avatar for hjdoran
1
125
Member Avatar for mjltech

[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 = …

Member Avatar for puppykillaz
0
123
Member Avatar for semor7
Member Avatar for puppykillaz
0
59
Member Avatar for kire

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 …

Member Avatar for Adak
0
924
Member Avatar for PDB1982

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 …

Member Avatar for Luc001
0
83
Member Avatar for zazarina

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?

Member Avatar for kvprajapati
0
36
Member Avatar for mjltech

[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.")) …

Member Avatar for mjltech
0
91
Member Avatar for zimmy130

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] ***** **** *** …

Member Avatar for zimmy130
0
303
Member Avatar for Miss Confused

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 …

Member Avatar for Oxiegen
0
151
Member Avatar for toastghost

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 …

Member Avatar for toastghost
0
131
Member Avatar for jackly94

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 …

0
47
Member Avatar for bluem1

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 …

Member Avatar for bluem1
0
117
Member Avatar for ganav

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 …

0
60
Member Avatar for johmolan

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?

Member Avatar for johmolan
0
98
Member Avatar for jallan2010

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 …

Member Avatar for jallan2010
0
122
Member Avatar for koushikha

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

Member Avatar for koushikha
0
47
Member Avatar for 1manik

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.

0
49
Member Avatar for arou_1

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 …

Member Avatar for arou_1
0
88
Member Avatar for martin71

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 …

Member Avatar for martin71
0
83
Member Avatar for napkinbob

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) …

Member Avatar for fatiza
0
751
Member Avatar for srbenda

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 …

0
39
Member Avatar for laks_samy

hi i am working in vb.net 2005, how to check my printer status(true or false) before print report?

0
72
Member Avatar for digitalsindhx

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 …

Member Avatar for digitalsindhx
0
508
Member Avatar for athar258

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 …

0
34
Member Avatar for Danny_williams2

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

Member Avatar for kvprajapati
0
99
Member Avatar for ena_gb

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)) …

Member Avatar for kvprajapati
0
399
Member Avatar for gauravvmahhajan

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.

Member Avatar for kvprajapati
-2
2K
Member Avatar for BigPandaCake

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 | …

Member Avatar for BigPandaCake
0
187
Member Avatar for rumpleteaser33

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 …

Member Avatar for rumpleteaser33
0
238
Member Avatar for guht

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 …

Member Avatar for kjohnston
0
1K
Member Avatar for Goodoory

Want to know how to move an object from one place to another for a project on [B]interior decoration system[/B]

Member Avatar for kvprajapati
0
42
Member Avatar for Rahul8389

hiiiiiiii friends i want to get path of current directory . tell me as soon as posible

Member Avatar for shahab_qureshi
0
87
Member Avatar for student21

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 …

Member Avatar for Oxiegen
0
123
Member Avatar for lloydy76

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 …

Member Avatar for lloydy76
0
104
Member Avatar for digitalsindhx

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 …

Member Avatar for digitalsindhx
0
630
Member Avatar for manikr1973

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. …

Member Avatar for Renukavani
0
224
Member Avatar for c.pentasuglia

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 …

Member Avatar for Smith5646
0
141
Member Avatar for shahzadhard

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 …

Member Avatar for nevintom26
0
427
Member Avatar for kayjenx

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 …

Member Avatar for kayjenx
0
208
Member Avatar for hartmacj

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. …

0
44
Member Avatar for hjdoran

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 …

0
59
Member Avatar for sklemp

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) …

Member Avatar for sklemp
0
130

The End.