20,278 Topics

Member Avatar for
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
88
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
225
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
155
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
293
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
534
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
188
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
114
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
166
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
229
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
313
Member Avatar for ravin_r

hi friends, i am pretty new to vb 2008 and i am doin my project on media player..in my music player thr is a feature which cn record movements on the screen using a software "hycam"..bt the problem is dat "hycam" is not getting detected in the COM....please guide me …

0
43
Member Avatar for ayat abukhadra

Hello, I'm new in vb.net but befor a couple of days i've created a vb.net windows form application , my application works well it adds certain number of lines to access database and searches this database, my problem is when i minimize my application windows while doing some work it …

Member Avatar for ayat abukhadra
0
122
Member Avatar for reds8

I want to insert a "words file" into "ms access" which has a column with data type "attachement". Can anyone suggest me what the sql statement look like?

Member Avatar for Pgmer
0
97
Member Avatar for umariyoob

I have been searching for a way to retrieve records from my database. I was able to find and create a function specific to my program, but it wont work. Will someone advise me on how I can go about this task? I catch error in binding source and error …

Member Avatar for G_Waddell
0
296
Member Avatar for prancode

how do I set a shortcut key for 1 of the textboxes in vb.net. When I goto the textbox and press F3, then it should give the current date in the textfield...Can somebody help me with this?? Thanks in advance..:)

Member Avatar for Pgmer
0
289
Member Avatar for Angelic777

Excessive Image Resource Hi So I'm writing a program to clear old images out of some folders. I get the old and new folder paths from XML and then check each image against my database then I move it using MoveFile() if it meets my requirements. The one folder I'm …

Member Avatar for Pgmer
0
109
Member Avatar for ravi.kant.984349

Dear All ! Please Correct my SQL String. sqlcmd = New SqlCommand("Select top 10 Distinct[Batch No], [Item Name],Decentralization, UOM, Balance from Decentralization order by Serial desc", conn) When I run this Command I get Following error : incorrect syntax near the keyword 'Distinct'

Member Avatar for Pgmer
0
114
Member Avatar for TTTHXC

i have a function in a module that requries integer values. these values are set by the user typing in two textboxes on the form. the texboxes contain Hexadecimal data in string form. function: Friend Function addNewCode(ByVal Location As Integer, ByVal Opcode As Integer) As Boolean If (Not LocStack.Count < …

Member Avatar for Reverend Jim
0
720
Member Avatar for M.Waqas Aslam

hello! i am developing a simple application which will get data from different database like mssql , access , foxpro , and after getting data it will create 4 text files tows.txt , customer.txt , product.text , trasection.txt , prob is this that i am very new to foxpro , …

Member Avatar for TnTinMN
0
3K
Member Avatar for M.Waqas Aslam

hello ! i am now working on office management system. i have a code to disable the usbport , i want to use it in win7 , before this i already used it in other project on windows xp , it works fine , but now in windows 7 it …

Member Avatar for M.Waqas Aslam
0
114
Member Avatar for HibaPro

hi everybody, i wish everything is okey? my question is how i can the value of textbox show on colums in datagridview , my textbox read data from DB ?? thx before...

Member Avatar for Begginnerdev
0
277
Member Avatar for fordna1

Hi, I am displaying the values in Datagrid using VB.Net , SQL, i places add button below the grid , i want to add a new row when i click that button, i tried but didnt work can you assist?

Member Avatar for fordna1
0
540
Member Avatar for guilherme.carvalho.9250

Hello to everyone, Im a beginner in vb.net and currently Im developing a "reminder" program, the user inserts a task that he as to do, the date and the time to be remimbered! Im saving the task in a txt file like this, "Make dinner,Reminder,24-07-2012 18:31:00", but line by line, …

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

I am using VB2008 fr my project , I am having an error while inserting data in the sales form The error is;:__ "Number of query values and destination fields are not the same". Here is my code-: Dim sql As String sql = "insert into sales (SalesId ,PropertyNo, SellerNo, …

Member Avatar for MuddHizb
0
174
Member Avatar for santhini

Private Sub DataGridView1_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGridView1.SelectionChanged Dim con As New SqlClient.SqlConnection("data source=GOLDA2\GOLDA;initial catalog=school;Integrated Security=True") Dim sql As String = "Select * from fees where particulars=" & "'DataGridView1.Rows(0).Cells(1).Value'" & "" Dim dataadapter As New SqlDataAdapter(sql, con) Dim ds As New DataSet() con.Open() dataadapter.Fill(ds, "fees") con.Close() …

Member Avatar for hericles
0
439
Member Avatar for HibaPro
Member Avatar for vincent5487

This Is my Question : Using loop statement, write a VB .NET program that prompts an integer in the range of 1 to 10 (both inclusive) from the user in an input box, and prints a multiplication table of the integer entered. For example, when the user enters 8, your …

Member Avatar for hericles
0
751

The End.