20,899 Topics

Member Avatar for
Member Avatar for chriswelborn

This is a piece of code I wrote a long time ago when I saw someone make a "guess this scrambled word" game. The program didn't have to unscramble the word to know what the answer was, but I wanted to do it anyways. I wanted an algorithm that could …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Ao.No.Enjeru

Greetings guys can you help me with my problem i have a search textbox and i want to hide some rows on the datagrid that is not equal on the search textbox. can someone give me an idea? Thank you in advance.

Member Avatar for Ao.No.Enjeru
0
161
Member Avatar for Vijay_1

Hi All, I am well in Access Reports but in crystal reports just i am learning. I am using visual basic 2005 and access 2003 database. The report development in crystal, I am struggling and searching a long time but there is no useful tips. My database has more tables …

0
70
Member Avatar for kenth21v

I can't seem to find an thread that matches my questions so I am starting a new thread... I made an application. I used: VB.net 2010 SAP Crystal Reports Runtime Engine for .NET Framework 4.0 SQL Server Database (.mdf) I don't really know how to setup so I just publish …

Member Avatar for kenth21v
0
254
Member Avatar for npmiller

I am trying to read the following xml file into my datagridview <?xml version="1.0" encoding="utf-8" ?> <DEFLECTIONS_TABLE> <Deflections number="1"> <Service_Class>A</Service_Class> <Verticle>600</Verticle> <Horizontal>400</Horizontal> <Service_Class>B</Service_Class> <Verticle>600</Verticle> <Horizontal>400</Horizontal> <Service_Class>C</Service_Class> <Verticle>600</Verticle> <Horizontal>400</Horizontal> <Service_Class>D</Service_Class> <Verticle>800</Verticle> <Horizontal>400</Horizontal> <Service_Class>E</Service_Class> <Verticle>1000</Verticle> <Horizontal>400</Horizontal> <Service_Class>F</Service_Class> <Verticle>1000</Verticle> <Horizontal>400</Horizontal> </Deflections> </DEFLECTIONS_TABLE> I made my windowsform and put a datagridview inside called deflection_datagrid. …

Member Avatar for npmiller
0
2K
Member Avatar for ulasoc

i want to append text to "file.txt" in each new line. But its joining text when i use "write" instead of "writeline" like this "TEXTTEXT" The problem is "writeline" leaves characters end of the text as if you press enter like space. you just see them when you open it …

Member Avatar for ulasoc
0
428
Member Avatar for HydroPlume

I want to make a program that saves the states of about 50 checkboxes, so that I can keep track of the states I have been in. I also want to have four different save and load buttons, so that I can keep track of the states the 3 other …

Member Avatar for HydroPlume
0
268
Member Avatar for HibaPro

hi everybody , my question is if there is a method to determine the location of crystal report , that even i change the location of solution the report load???

Member Avatar for G_Waddell
0
141
Member Avatar for rokokmalboro

hello forumerz .. i have some issue here about my visual studio 2008.. the problem happen when i want to change example like :: -change background picture for splash form then when i am debug the picture is still same -Also have error when is compile "Error debug target is …

Member Avatar for G_Waddell
0
204
Member Avatar for ashking

After hours of searching, I still can't seem to find a solution. What I need to do is read a .mdb file into seperate listboxes. The database file has seperate tables within it, all containing a column of data in each table. If anyone could point me in the right …

Member Avatar for ashking
0
241
Member Avatar for navachaitanya

Hi everybody i am new to vb.net programing and i am developing gym application and i need help in coding in a form i an giving the joining date of a customer and with membership duration and the thing i need is if select 30days membership then expiry date to …

Member Avatar for Mike Askew
0
222
Member Avatar for iFrolox

Hello, i need help making a count down timer that can support at least 100 Hours, i got this code but it only supports 24 hours. Dim TimePlayer1 As Date Private Sub Button1_MouseClick(sender As Object, e As MouseEventArgs) Handles Button1.MouseClick If e.Button = Windows.Forms.MouseButtons.Left Then Select Case Me.Button1_Start.Text Case "Start" …

Member Avatar for iFrolox
0
345
Member Avatar for Netcode

Hi All, am currently working on a biometrics application to capture the fingerprint of users. I am working with the DigitaPersonal (UareU 450) fingerprint reader. The app works fine at the moment but i need it to be more sophistciated by making it save the fingerprints in sqlserver database instead …

Member Avatar for G_Waddell
0
265
Member Avatar for themaj

Can anyone please advise me on which version of Microsoft .NET Framework is needed for an XP SP2 (32bit) machine to run a VB.NET app developed on Microsoft Visual Basic 2010 Express? Feel a tad stupid about not checking :(

Member Avatar for M.Waqas Aslam
0
314
Member Avatar for reds8

I have completed the ASP.NET Web Application for my assignment. I want to burn the project into the CD so that my lecturer can open the web. How to burn the project into CD and it can works when my lecturer open it. And also how to type the file …

Member Avatar for hericles
0
429
Member Avatar for kindofsudden

I put together a vb.net program that does some string parsing and creates a fixed-width file at the end. When I run it on each of my 2 machines it creates a properly formatted file. When my client downloads the msi file, installs it, and runs it, he gets several …

Member Avatar for belenos46
0
222
Member Avatar for alexandra.lopez.94043
Member Avatar for alexandra.lopez.94043

Public Class Form1 Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged If CheckBox1.Checked = True Then txt1.Visible = True Else txt1.Visible = False End Sub Private Sub CheckBox2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox2.CheckedChanged If CheckBox2.Checked = True Then txt2.Visible = True Else …

Member Avatar for Reverend Jim
0
211
Member Avatar for bill_kearns

OK friends, so I need your advice. I'm reprogramming another web app that was originally written in .Net 1.1. The page I am working on looks like simple GridView with select, update and delete enabled. But it isn't so simple. In the code I have 10, yes 10 calls to …

Member Avatar for pritaeas
0
146
Member Avatar for santhini

i want to retrive data from database in datagrid while pressing the tab key. Help me to choose the event for this in VB.net 2010

Member Avatar for M.Waqas Aslam
0
101
Member Avatar for ashuag

I am in need of an urgent Hospital Management System Software with the inter connectivity between Doctors, Labs and In house chemists. Does anybody is having. If yes, then please please send me with the code.

Member Avatar for M.Waqas Aslam
0
151
Member Avatar for ayat abukhadra

hello, I'm re-writing a pre-written application which i wrote years ago i wanna develop it to become accessable by phones is it easier to write a mobile application using vb.net or an asp.net web page can be accessed by mobiles ,guid me please.

Member Avatar for Jx_Man
0
114
Member Avatar for ayat abukhadra

hello, I'm trying to write a web service using vb.net and i always get a localhost web service how can i write a web service as a server ?

Member Avatar for ayat abukhadra
0
104
Member Avatar for skran

I try to filter my datagridview with a datetimepicker. When the datetime value is just date (eg.15/5/2010) everything work fine. But when there is also date and time value occurs conversion problem "conversion failed when converting date and/or time from character string". Iused also combobox populated with the dattime values …

Member Avatar for G_Waddell
0
558
Member Avatar for rhm532005

hi every one i'm writing a program in vb.net in visualstudio i want to know how can i update my database by using dataadapter dataset dataconnection and command builder can you give me an example thank you

Member Avatar for M.Waqas Aslam
0
97
Member Avatar for m.tompkinsnz

Hey Guys, I'm working on a practice Project at the moment where I'm recalling user information from a database, placing it into a form with several textBoxes, comboBoxes, etc and then proceeding to update the information in the database when the user clicks save. I understand this is simple, however …

Member Avatar for M.Waqas Aslam
0
273
Member Avatar for Ctechnology24

I want to make a local application connected to the web server using vb.net also the database in webserver is connected to a PHP website, how can I decode a password(encrypted using bcrypt of PHP) using vb.net and vice versa

Member Avatar for G_Waddell
0
146
Member Avatar for ashuag

Getting error "OleDBException was Unhandled: No value given for one or more required parameters" while submitting the insert query through VB.Net. Below is the sample code I am using: custid = txtcusid.Text custname = txtcustname.Text age = txtage.Text gender = cmbgender.SelectedItem.ToString phno = txtcontact.Text custadd = txtadd.Text comm.CommandText = "INSERT …

Member Avatar for Reverend Jim
0
119
Member Avatar for miramiey

Hi, I try to open vb6 file to visual basic 2008 but have a problem during a converting. here's the error that appear, ![26-7-2012_11-44-11_AM](/attachments/large/3/26-7-2012_11-44-11_AM.jpg "26-7-2012_11-44-11_AM") Can anyone please help me to fix this error. Thank you in advance.

Member Avatar for AndreRet
0
311
Member Avatar for picogenkaku

Good day to everyone! I would like to ask how to create a custom receipt, say a delivery receipt, where the data to be used in the header portion will come from direct input of a Windows form. I've found one here but it is for VB6. Any guide will …

0
78
Member Avatar for Mark2349845

hi i don't know where the problem i have forum contain listview i want change some value in this listview from class example Public Class Test Private Shared vidlist As Integer = 1 Public Shared Sub Hello() Try start: If CInt(frmMethod1.ListView2.Items.Item(vidlist).SubItems(1).Text) < CInt(frmMethod1.ListView2.Items.Item(vidlist).SubItems(2).Text) Then '.. ElseIf CInt(frmMethod1.ListView2.Items.Item(vidlist).SubItems(1).Text) >= CInt(frmMethod1.ListView2.Items.Item(vidlist).SubItems(2).Text) Then …

Member Avatar for Reverend Jim
0
143
Member Avatar for situ.pati

I have created a database in ms access and a form, in which i want to add some records, it is updating correctly, but when i close the form and restart the application and started to add new records the previous records are deleted automatically. please help me in this

Member Avatar for G_Waddell
0
211
Member Avatar for Denden17

Hello, anyone here have an idea of making your form more dynamic while not in a runtime i mean the form maximum size is the same as my screen resolution here in pc. i just want to add more control in that form but i cant because the maximum size …

Member Avatar for Denden17
0
91
Member Avatar for number361

Hello! I'm a beginner developer and I'm currently learning Visual Basic 2008 Express Edition. I'd like create the following program: - search custom selected database - if selected database contains TABLEX and if TABLEX has data in ColumnY and it equals 0 then make some sort of signal/error/report where it's …

Member Avatar for Reverend Jim
0
119
Member Avatar for Sneaky Pete

Hello everybody, I have a question about vb.Net. I really hope that you can help me with it. I've got a form with several textboxes. When the user gives input in an textbox and presses the tabkey, then the input in the textbox must be checked and complement with data. …

Member Avatar for Pride
0
249
Member Avatar for raficomps

> **I want to store session of employee that is employee id when employee login with username and password store employee id as session using vb.net** > **i have a form where employee enter his username and password after entering he must select new form from control panel when he …

Member Avatar for Pgmer
0
203
Member Avatar for iFrolox

I got a blank project, i added 3 checkboxes, and 1 inside a group box. And i got this code: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click For Each phCheck As Control In Me.Controls If TypeOf phCheck Is CheckBox AndAlso DirectCast(phCheck, CheckBox).Checked Then If phCheck.Tag Is "Test" …

Member Avatar for iFrolox
0
3K
Member Avatar for darthswift00

I want to know , how does one inherit from a class? Example: In this class i want it to have coding to connect to the database, and i use a form to use this class to connect to the database. Any suggestions as i a m not familar as …

Member Avatar for Pride
0
94
Member Avatar for Denden17

Hi guyz, anyone here who know how to set your form in a full screen in any type of screen resolution. Like for example im working here in my pc with a resolution of 1366x768 now if i want my application to run in another pc with another screen resolution …

Member Avatar for Denden17
0
244
Member Avatar for weeraa

I wanna just a beginning for my coding. (The application running with VB.NET and SQL server) I did this code and it not shown any error. After this process it is displayed the message "Successfully updated". But data is not update on the table. Please tell me, how to update …

Member Avatar for hericles
0
157
Member Avatar for guilherme.carvalho.9250

Hello everyone, Im a beginner in vb.net and currently Im developing a program where i save date to a txt file like this Reminder#dinner#26-07-2012 19:52:00 and show it in a listbox(all the lines in the txt file). What i want to do is to select a line(item) in the listbox …

Member Avatar for guilherme.carvalho.9250
0
2K
Member Avatar for HibaPro

i get this msg from sql server when i restore the back up file TITLE: Microsoft SQL Server Management Studio ------------------------------ An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ ADDITIONAL INFORMATION: The media family on device 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\TenderingSys' is incorrectly formed. SQL Server cannot …

Member Avatar for HibaPro
0
300
Member Avatar for CasperG

Help!!! I cannot get my combo box to populate using a select statement from mysql database. Please see below for coding [code] CN = New ADODB.Connection 'Connecion to database CN.Open("driver={mysql odbc 5.1 driver};server=localhost;database=v_control;user=root;password=;option=3") RS = New ADODB.Recordset RS.Open(SQLdata, CN, ADODB.CursorTypeEnum.adOpenUnspecified, ADODB.LockTypeEnum.adLockPessimistic) If DBconnect() = True Then SQLSearch("select * from engineer …

Member Avatar for andhie.dhie.1
0
544
Member Avatar for M.Waqas Aslam

hello ! i am working on a simple application that can block the sites ,after searching i found that if i add name of the site in c:\windows\system32\drivers\etc\hosts then i can block those sites , for this i want to open this hosts file in my textbox with administrator rights …

Member Avatar for M.Waqas Aslam
0
190
Member Avatar for satti

Hi, am using direct print command for crystal report from vb.net form to print barcode on tags.the problem is when i enable preview it give me correct print horizontal on barcode tag , but when i use direct print command it print verticaly on barcode , i have tried all …

0
115
Member Avatar for marky101

dim x as integer = 0 str = "SELECT uname, full_name FROM EMPLOYEE" cmd = New MySqlCommand(str, cn) ds = New DataSet da = New MySqlDataAdapter(str, cn) da.Fill(ds, "employee") Dim uname As String = ds.Tables(0).Rows(0)("uname").ToString Dim emp_name As String = ds.Tables(0).Rows(0)("full_name").ToString While x <= ds.Tables(0).Rows.Count If ds.Tables(0).Rows.Count <> 0 Then …

Member Avatar for marky101
0
169
Member Avatar for megdan

hi, Please im developing an application reserves rooms for clients it is in a way that you cannot insert another clients details if another client has chosen the room for a particular date. i have binded a comobox with a database that contains information about the various rooms. MY PROBLEM …

Member Avatar for Pgmer
0
232
Member Avatar for ziyaddinsadigov

Hi, I want to make array with loading text file and display it in ListBox. I used this code: Dim strFileName() As String '// String Array. Dim tempStr As String = "" '// temp String for result. strFileName = IO.File.ReadAllLines("C:\zel.txt") '// add each line as String Array. For Each myLine …

Member Avatar for Pride
0
2K
Member Avatar for abhi415

Hello guys, I have made an application in which I want to make my application expired after 6 months. and then user enters a key to activate and then application again validates for another 6 months. My code is: Public Class Form8 Dim date1 As Date = #7/24/2012 9:00:00 PM# …

Member Avatar for Begginnerdev
0
2K
Member Avatar for mzeewashooo

iam using vb 2010 and i want to search for any record when i enter a text in the search text box. i mean, if my records are as follows: dan,daniel,edn,steven,mary. and i just inpunt 'd' in the search box, the datagrid lists: dan,daniel,edn because they have a 'd' in …

Member Avatar for mzeewashooo
0
381

The End.