20,285 Topics

Member Avatar for
Member Avatar for Ishaniwp

Hi! I'm a beginner to VB.NET. I'm working on an application which is created using VB.NET 2005 and the DB is created in SQL server 2005. I'm able to delete a record from a table when it is not used in another table as a Foreign Key. For eg. If …

Member Avatar for kplcjl
0
698
Member Avatar for mnewsome

I write as a systems administrator and own VS Team 2008 Team Suite. I would want to learn about the features within the package that allow developers to collaborate with other developers either real-time or otherwise. Additionally, I would want to learn about the features that would allow me to …

Member Avatar for sknake
0
93
Member Avatar for lovely ari

hey there i'm new in programing and there is a lot of hard things on me :( i want to make a program that take a value of text box and add it to the list box and one button to delete the selected item i make that and this …

Member Avatar for GeekByChoiCe
0
99
Member Avatar for zinu

hi to all, i want to print the vb.net into a specified printer ,my code is as following pdKbill.AllowPrintToFile = True pdKbill.PrinterSettings = New PrinterSettings pdKbill.PrinterSettings.PrinterName = "printername" Me.printKbill = New PrintDocument printKbill.PrintController = New StandardPrintController Me.printKbill.Print() but it always prints in to the system default printer, how can i …

0
47
Member Avatar for fawadkhalil

Hi I have a datagirdview with a checkbox placed in header.How can i check or uncheck all checkboxes by clicking on checkbox that is in header.

Member Avatar for fawadkhalil
0
159
Member Avatar for hardeepbhullar

Hello To All, I want to implement peer-to-peer video streaming in my WPF project. Plz help me by referring any web site or sample code which i can use in my project. Thanks in Advance With Best Regards Hardeep Singh Bhullar [email]er.hardeepbhullar@gmail.com[/email]

Member Avatar for hardeepbhullar
0
259
Member Avatar for snip

Hi, i have three textboxs, system time is in texbox1 , "09:00:00" is in textbox2 and i want to two times Comparison in vb.net, textbox3=textbox2 - textbox2, is any solution?

Member Avatar for sknake
0
93
Member Avatar for godfather_599
Member Avatar for xVent

Hello to all , is there any code that will make possible check if the user typed a word i want in order to show him something ? something like , if the user types time , or tim or timing or the word time and transformated to show him …

Member Avatar for xVent
0
102
Member Avatar for dre-logics

I use Visual Studio 8.0 Enterpice I create setup project Then I do the following: Right mouse click on application folder select Add -> Project Output "add project output group" [COLOR="Red"]shows up empty [/COLOR](see Annex) Pull Down by [COLOR="Green"]project[/COLOR] and [COLOR="green"]configuration[/COLOR] option is empty !!! what's is wrong or what …

Member Avatar for sknake
0
127
Member Avatar for hardindp

Help please... I have a WPF window that contains several WPF user controls. I am using VB express. How can I reference the controls in a UserControl from the main window? Thanks

0
142
Member Avatar for mshravs

i have a problem here. I need to change the year automatically...ie i have given year 2009 in the text box, but it should change along with the change of the year................do anyone know the code for this......if so please help me thnks

Member Avatar for mshravs
0
92
Member Avatar for zinu

hi, i have 2 documents to print from the same vb.net form. i want to print it using 2 printers.how can i set the printer for each one without selecting the printer at run time. i want to set it printer1,printer2 and for document1 i want to select printer1, and …

0
74
Member Avatar for yorro

How do I Load an excel file to the PrintPreviewDialog? [CODE=vb] Imports Excel = Microsoft.Office.Interop.Excel Private Sub btnPrintPreview_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrintPreview.Click Dim xlApp As Excel.Application Dim xlWorkBook As Excel.Workbook xlApp = New Excel.ApplicationClass xlWorkBook = xlApp.Workbooks.Open(Application.StartupPath & "report_summary.xlsx") MyPrintPreviewDialog.Document = xlWorkBook If MyPrintPreviewDialog.ShowDialog() = …

Member Avatar for yorro
0
217
Member Avatar for tatetg

open and close serial port and making variables, dim statement help. i written the code that show me my serial port 3 is on pc. don't know how to make my variable"theComPort work and declare as string to use in/out of lstbox. can anyone get me on the right track? …

Member Avatar for sknake
0
32
Member Avatar for x38class

I want to modify my app to include a list box of thumbnails say 3 or 4 across horizontal plane (depends on width of list box0 probaly add file name underneath as in explorer Any help much appreciated

Member Avatar for hollertrek
0
76
Member Avatar for rgerman

Hello, I am working with VB.net 2005. The PrintPreviewDialog I am working with allows users to preview a document but the Page numbers in the top right had corner limits the user to 999 pages. I have found a way to change the start page for that control but can't …

0
74
Member Avatar for Peric

Ok, this is what I need... I select four columns(those are informations about payed fee for each member...so it could have zero or more rows) from my database (from two different tables), one record as "ID" and other three (i've band them together) as "Rest". Then, I've put that column …

Member Avatar for Peric
-1
526
Member Avatar for VIPER5646

[QUOTE][/QUOTE]Hi I have been trying to flatten the columns header in a Datagrid, the same way as we do it with buttons using .FlatStyle = FlatStyle.Flat but have been unsuccessful. If it is possible to do it can someone help me. Thank you

0
80
Member Avatar for lovely ari

hey every one happy Halloween ^__^ i'm trying to make a log in system but i have a small problem the problem is i want the user name to be not Sensitive to the capital letter and small letter e.x if the user name is ari and password is IT …

Member Avatar for sknake
0
93
Member Avatar for Peric

I'm selecting value from my database, passing it to datatable then giving DataGridView.DataSource value of datatable. The thing is that in those rows i'm also selecting some dates and problem is that my default date in database is '1900-01-01 00:00:00' because i use "smalldatetime". And what i want is this...when …

Member Avatar for TomW
0
288
Member Avatar for xcorpionxting

I am having a small problem... I can connect to a local MySql Database using: [CODE]SQLConn.ConnectionString = "Data Source=servername;" & _ "Initial Catalog=databasename;" & _ "User ID=username;" & _ "Password=userpassword;" [/CODE] Where servername is "localhost". I need to make a connection to an online database (same data structure). What should …

Member Avatar for xcorpionxting
0
95
Member Avatar for saleemwazir

i m final year student of computer engineering and there is problem for me in my final year project. i want to attach databases to sql server dbms from one of the form of my vb.net application. the idea is that a want to have a button name "Browse" when …

Member Avatar for gbpnkpm
0
711
Member Avatar for babbu

hello every1, my project is on the verge of completion and a large part of the credit goes to daniweb. now m stuck with a very annoying problm. ive googled the whole day but to no avail. m using visual studion 2005 and access 07. ive clubbed these three problms …

Member Avatar for babbu
0
118
Member Avatar for bcohenllc

Alright.. i figured out mostly everything but my math is still screwing me up. I need to accumulate running totals for number of checks and number of deposits ;and total value of checks and total value of deposits. Im supposed to do this by looping through my arrays and this …

0
174
Member Avatar for ckenned8

I am trying to write a program that is a statistical calculator. The way i have it set up is that you press the enter data button and it asks you how many numbers you want entered by inputbox then it proceeds to take the numbers one by one by …

Member Avatar for kplcjl
0
140
Member Avatar for HarshaDhanushka

I'm a beginner to IT education.So, I wan't to know major differences between VB.NET and Visual Basic 6. What're the new features? Are they same?

0
73
Member Avatar for RC1007

I've got one form in a masterpage en here i've got one asp:button with a submit function that sends data to my mail for now. And then I made a contactform in a contentpage with a asp:button.Herefore is a second submitbutton. All code behind vb.net(the function) Problem: when i click …

0
98
Member Avatar for rready1

all I need to do is have a control that a user keys in a code that is validated against the sql table and brings back the associated web page for that code. does anyone know how to do this in Visual Studio 2003

Member Avatar for w412
0
103
Member Avatar for RRD

In VS2008 Is there a way to run an insert query against 2 different DataSources. I have a source that I would like to select about 10 fields from and insert into a different source. Example .. DS1 select 10 fields of data DS2 Insert those 10 fields of data …

0
41
Member Avatar for murid

[B]Sending Parts:[/B] [CODE]For var = i To x Dim PACKET_SIZE As UInt16 = 4096 Dim ByteArray() As Byte ' Data buffer filestream = New FileStream(at(z), FileMode.Open, FileAccess.Read) Reader = New BinaryReader(filestream) Writer = New BinaryWriter(clientSocke.GetStream) ' Get socket's stream 'send size of file Writer.Write(CInt(filestream.Length)) 'Send the file data Do 'read …

0
63
Member Avatar for soeppp

I create a filter to search a text from listview but it show a error message Like this {"Index and length must refer to a location within the string. Parameter name: length"} HERE IS MY CODE [CODE]Public Class Form1 Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles …

0
61
Member Avatar for Peric

i want to ask one more thing about crystal reports...let's say i need an report that will show me payed "membership fee" for year that I want to choose. How can I get something like this? I know that I can make separated reports for single year, but I want …

Member Avatar for Peric
0
136
Member Avatar for alan_2k9

Please help me on this. Printform of the visual powerpack 3.0 cant print the whole content of the form. I used scrollable form in order to have a content equal to a 8""x11" paper. when i preint using printform with scrollble option, i found out that it can only print …

0
64
Member Avatar for kerek2

Hi buddy's, I need your guide regarding to pull data form other database to other database....I'm already pull the data into Dataset using this command :- [CODE] oracmd = New odbccommand ("Select id,name,dept from staff order by id",oracn) da = ds.fill [/CODE] then i need to insert to other database …

Member Avatar for kerek2
0
100
Member Avatar for juster21

I have a spreadsheet that I need to trim 3 columns. I have scoured the net but can't find anything that I've been able to use to trim each cell in columns A, H and I. Any help is appreciated. I am using Excel 2003 and VS2005.

Member Avatar for mikiurban
0
86
Member Avatar for dwiest

Hi... Can anyone tell me (from scratch as I've not done this before) how I can stream live through modem-to-modem connection. The modem here refers to dial-up modem (PSTN modem), there is no internet/lan involved. It will be 2 programs, the first is to transmit real-time video from webcam, and …

0
330
Member Avatar for Alexwoo

Attempting to do an assignment that has five input boxes, and then uses them to calculate how much money a person would make over the course of their working life. The problem is, when i run it, it simply gives me how much the person would make after 1 year, …

Member Avatar for juster21
0
67
Member Avatar for samira1993

. Create an application that will predict the approximate size of a population organisms. The user should select or enter the starting number of organisms in a combo box, enter the average daily population increase (as a percentage) in a text box and select or enter the number of days …

Member Avatar for juster21
0
160
Member Avatar for mansi sharma

I have bind the DataGridview with DB. To add the data from textboxes to DataGrid, I use the foll. code- [code] Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Try Dim row0 As String() = {TextBox1.Text, TextBox2.Text, TextBox3.Text} DataGridView1.Rows.Add(row0) row0 = Nothing Catch ex As Exception …

Member Avatar for TomW
0
104
Member Avatar for ashi2

Hi, I am having a strange problem in the attached project... I will be very grateful if you people help me. In the attached project when I load the files in datatable and then try to add images without using the "Dispose" method the datagridview does not showing it correctly …

0
96
Member Avatar for JRabbit2307

Am I on the right track? Problem: Compute the income tax due on a taxable income entered by the user, given the data as shown on the following table: Taxable Income Tax Due From To $0 $50,000 $0 + 5% of amount over $0 $50,000 $100,000 $2,500 + 7% of …

0
59
Member Avatar for JRabbit2307

I'm not sure if I did this right... Problem: Using VB.NET write a console application to implement the New Car Price Calculator. Options available for Universal Motor's vehicles: Engine Purchase Code Price 6 cylinder S $150 8 cylinder E $475 Diesel D $750 Interior Trim Purchase Code Price Vinyl V …

0
66
Member Avatar for chuckjessup

ok I have imported a working code from vb 6.0 and it said that the form1.print function couldnt be converted... i am absolutely new at this .net stuff, and desperately need help... the code is below: [CODE] Private Sub Command1_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Command1.Click On …

0
61
Member Avatar for jess99

Hi, I have to create two forms. In the mainFrm the user enters all his personal data (name, phone, email, address), and a label to display amount due. One of the buttons takes the user to a second form. In the secondFrm , I have two CheckBoxes, one is for …

Member Avatar for jess99
0
151
Member Avatar for jess99

Well, I did this program and it works, but my instructor wants me to use this statements instead of the one I used: My original code was: Dim DiscountVal As Double = 1.0 'ByVal arguments passed as by value (chapter VI) Dim BasePrice As Double = 9.95 Dim AdditionalPrice As …

Member Avatar for jess99
0
122
Member Avatar for detoxx

Hi there. My problem is that when i click play to resume a paused song it starts the song from the beginning. I added an IF statement to the play button to say basically ... IF PAUSED THEN PLAY (RESUME) ELSE PLAY FROM IMPORT LIST. The problem with the IF …

0
60
Member Avatar for garyinmiami2003

I have an application that is a COM Class invoked by a large third party app. This com class loads an assembly at the time it is loaded. and the assembly then calls a server resident windows app with screen. The assembly uses process.WaitForExit() to wait for user to close …

Member Avatar for kasahun
0
83
Member Avatar for Peric

So...I want to send image source to Crystal Reports document. I'm having a database of maybe 400 members and each one of them is having personal picture...i want to send that picture to Crystal Report document when I click on button for each of my members, is that possible somehow? …

Member Avatar for TomW
0
2K
Member Avatar for TaoistTotty

I am trying to import and export to/from excel. This needs to be able to be done on a weekly basis. I have managed to find a couple of ways of doing this, but I need a way to set column width and row colours and wondered if anyone might …

Member Avatar for aacinc
-1
388

The End.