20,278 Topics

Member Avatar for
Member Avatar for saras5
Member Avatar for Stevoni
-1
65
Member Avatar for tqmd1

Dear Programmers What are the possible alternative codes against following codes [CODE]If Len(PasswordTextBox.Text) > 0 And Len(PasswordTextBox.Text) > 0 Then MsgBox("ok", MsgBoxStyle.Information) else MsgBox("Enter User Name and Password", MsgBoxStyle.Information) End if [/CODE]

Member Avatar for Stevoni
0
99
Member Avatar for AndreRet

Just to say hi to all the .NET helpers out there. I have made the dreaded (but forced) change from vb6 to .NET. I will rely a lot on your expertise in this forum, and thanks to those that will be prepared to sort all my questions. I have been …

Member Avatar for debasisdas
0
87
Member Avatar for Progr4mmer

I have an application to make a server and clients to read/ send text to it but i want a program i can run from a remote computer that you enter the ip and port and it crashes the server

Member Avatar for Progr4mmer
0
36
Member Avatar for Ulukay

In a textbox i can see when RETURN is pressed , but when i check on the TAB key it does not work Help me Plzzz. [CODE] Dim handler As KeyEventHandler Private Sub Orderinvoer_Load(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles MyBase.Load AddHandler werkorderTB.KeyDown, handler end sub Private Sub werkorder_KeyDown(ByVal …

Member Avatar for LennieKuah
0
137
Member Avatar for muzzy1000

Hi I need to reference a .net .dll file at runtime of my program. Does anyone know the code to do it?

Member Avatar for sknake
0
68
Member Avatar for tqmd1

Dear Experts How to findout computer / server name with vb.net codes. I want to use it in connection string [CODE] con = New Data.SqlClient.SqlConnection("Data Source=noor;" & _ "Initial Catalog=accounts;Integrated Security=True")[/CODE] Please help

Member Avatar for sknake
0
94
Member Avatar for kool.net

Hi, I m using a datagrid in my project , it is just like a report but it is created with many queries so i m unable to create it with crystal report, so i created it with in loop with 10 datasets each for separate column. Now i want …

0
74
Member Avatar for ALex_ice

I have been given a project and i need to create a button to calculate N!. I've been trying to figure it out for a while now and I can't. Any help would be nice.

Member Avatar for ALex_ice
0
194
Member Avatar for Bamboozled

I've created a recordset in VB Express 2008 as follows [code] rsmembers = New ADODB.Recordset with rsmembers .Source = cn.Execute("SELECT * FROM members") .ActiveConnection = cn .CursorType = ADODB.CursorTypeEnum.adOpenDynamic .LockType = ADODB.LockTypeEnum.adLockOptimistic .CursorLocation = ADODB.CursorLocationEnum.adUseServer .Open("members", Options:=ADODB.CommandTypeEnum.adCmdTableDirect) .movefirst .Fields("Active").Value = vbFalse [/code] but the error window tells me that .fields("active") …

Member Avatar for jlego
0
150
Member Avatar for telltouday

Hi, I'm binding data table to datagrid but i'm not sure how to delete the empty cells in that data table Plz find the below image could anyone suggest the best way to delete the empty cells as marked in black pen Thanks

Member Avatar for telltouday
0
296
Member Avatar for jt_murphree

I am trying to use the validation event for all my validating on a form. However, if I try to exit the form before entering data the validation event will not allow it to exit. Does anyone know how to override this?

0
52
Member Avatar for jt_murphree

I have a combobox that pulls a list of values from a database. When a new entry is entered I want an entry in the combobox to read "New record". However, from what I have seen I can only insert and object, such as a DataRow, into the combobox. Is …

Member Avatar for jt_murphree
0
816
Member Avatar for jlego

with the vb.net default color dialogbox how can you handle the cancel buttons click event ? if the cancel button is clicked, i dont want it to make any changes with the selected color. as of now if i click cancel it still edits the colors. thanks

Member Avatar for jlego
0
96
Member Avatar for dwisely

I am useing the OpenFileDialog component with a Button Sub to use the text file that the user selects (it can change everyday) in the next part of my program that will read that file and then covert it into an xml format. How do I get the second part …

Member Avatar for wasyazwan
0
112
Member Avatar for Peric

I know how to create shortcuts on desktop and program files but i want to make an option with checkboxes...so that you can select if you want those two shortcuts or if you don't them. I've tried this with checkboxes (in User Interface), i've set checkboxes properties and changed "User's …

Member Avatar for Peric
0
557
Member Avatar for dre-logics

I use Visual Basic 8.0 and MySQL 5.0 [COLOR="Green"]Articles are listed in table rental places in table stock if articles not exists in table stock[/COLOR] first check with article are not in listed stock table and wel in listed stock table rental select * from rental,stock where rental.Article<>stock.Article ; This …

0
59
Member Avatar for JAM1011

Hey all, Hope ye are all are enjoying christmas, I was just wondering if someone could help me out I am having a small problem with insterting a Date into Access 2007. I am Using the Now() Function in VB.NET and have change the format to General date In Access …

Member Avatar for MeSampath
0
126
Member Avatar for zuve_fox

Hi.. could everyone help me how to send qdcode (barcode 2d) to mobile via sms using vb.net? and how to send sms with pdu format? thanx

0
54
Member Avatar for ExitWound

I am currently working on a program that edits txt files but it's for a game. There is a file that contains information that the client uses. This is what the file looks like: |piece of code here|another piece|and another piece| |piece of code here|another piece|and another piece| |piece of …

Member Avatar for ExitWound
0
120
Member Avatar for dre-logics

I use Visual Basic 8.0 and MySQL 5.0 select * from rental,stock where rental.Article=stock.Article ; This gives the following result: stock.article stock.stock rental.article rental.rent 1000 100 1000 15 2000 150 2000 25 Update stock set stock.stock=stock.stock-rental.rent where rental.Article=stock.Article ; This gives the following result: [COLOR="Red"]Unknown column rental.Article lin 'where clause' …

Member Avatar for dre-logics
0
92
Member Avatar for manutd4life

Hello, i wanted to know how to write a file path for every computer For example: [code]objwrite = New System.IO.StreamWriter("C:\Users\EVGA\Desktop\VB.Net Example\myfile.txt", False)[/code] this code work only on my pc cause of its path so i wanted to know how to write it so i can use it in another pc …

Member Avatar for sknake
0
160
Member Avatar for LennieKuah

Hi There, In VB6 I used ADP to confirm record existence by using this script IF ADO.EOF OR ADO.BOF then ado.addnew End if but in VB.NET 2003, How before using SQL String to Insert the record how do I confirm it's existence in the Table to prevent duplication. Please help …

Member Avatar for sknake
0
225
Member Avatar for zurehman

Hi , members this code show error in vb.net 2008 [CODE] If Con.State = 1 Then Con.Close() Con.Open() Dim strSQL As String Dim dt As DataTable strSQL = "select count(EntryNo) from(Select distinct(EntryNo) from Cash where year(Cash.PmtDat)= '" & yyyy & "')" dt = GetmyTable(strSQL) Rc = dt.Rows(0).Item("EntryNo")[/CODE] please guild me …

Member Avatar for sknake
0
122
Member Avatar for zurehman

[B]This error Show when i cliick Button3[/B] [U]ExecuteNonQuery requires the command to have a transaction when the connection assigned to the command is in pending local transaction. The transaction property of the command has not been initialized.[/U] [CODE]Private Sub Button3_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim …

0
61
Member Avatar for THEDuke141

Hi folks, Basically, i'm writting an app that pulls info from and AccesDB file and then fills in information in a form. Where i'm lost is that my form is to be in another form. I have my main form, frmMain.vb, that is my start-up form. When i pick a …

0
40
Member Avatar for dre-logics

I have Visual Basic 8.0 + MySQL 5.0 I have two tables: Table1 ([COLOR="Red"] Rental[/COLOR]) {Article rents may be on different days} Articlelnb Artikelrents Daterent 1000 15 1 nov 2009 5000 12 1 nov 2009 3000 10 1 nov 2009 1000 10 2 nov 2009 5000 5 2 nov 2009 …

0
68
Member Avatar for sem.live

anybody help me to create audio equalizer or led meter, using vb 2008 or 2005.. please give me a sample project. thanks before.

-1
64
Member Avatar for EllenHeijmans1

I have a problem with a combobox and no page on the Internet has been able to help me so far. So I hope that one of you can. I have a form (with information about clients) with textboxes binded to a dataview. One of the columns in the dataview …

Member Avatar for sem.live
0
90
Member Avatar for Um num num

I used regex a bit before but never got the hang of it. I need some help with few problems. My net is very limited for now so I can’t browse and look for answers so if anyone can help me with this ill appreciate it 1) For one text …

0
69

The End.