20,899 Topics

Member Avatar for
Member Avatar for gillivt

I am using SQL Server 2005 express. I want to insert a record into a table and return its primary key. Here is my SQL Procedure: [code=sql] ALTER PROCEDURE InitialiseHistory AS INSERT INTO StatusHistory (StatusCode, DateChanged, Comments) VALUES (0, { fn NOW() }, 'Status initialised to UNKNOWN') RETURN SCOPE_IDENTITY() [/code] …

Member Avatar for gillivt
0
197
Member Avatar for tcordero

I need to add a feature in my VB .NET application to SCAN a document directly to a directory. The output directory and output file name is pre-defined in the application. I don't want to have the scanner config screen to popup everytime. Thanks, Ted

0
56
Member Avatar for Anitaks

How do I get serial numbers updated automatically on adding or deleting a record in datagrid.?

0
46
Member Avatar for sriviji

Hi, Dim MyDT As New DataTable Dim MyRow As DataRow MyDT.Columns.Add(New DataColumn("Item", GetType(Int32))) MyDT.Columns.Add(New DataColumn("Quantity", GetType(Int32))) MyDT.Columns.Add(New DataColumn("Price", GetType(Int32))) MyDT.Columns.Add(New DataColumn("Total", GetType(Int32))) MyDT.Columns.Add(New DataColumn("InvoiceNo", GetType(Int32))) MyRow = MyDT.NewRow() MyRow(0) = TextBox1.Text MyRow(1) = TextBox2.Text MyRow(2) = TextBox3.Text MyRow(3) = TextBox4.Text MyRow(4) = TextBox5.Text MyDT.Rows.Add(MyRow) Dim i As Integer DataGridView1.DataSource = …

0
45
Member Avatar for tableray
0
85
Member Avatar for infernojmd

so my project is a text editor and i am trying to make an open button and save. my code only opens the last part of the file it read. i was wondering if someone good help me or give any tips. thanks [ICODE] Private Sub OpenToolStripMenuItem_Click(ByVal sender As Object, …

Member Avatar for Teme64
0
107
Member Avatar for ravindransrm

i am doing sumall supermarket project this project i want to print invoice using dotmatrix printer table i am using this fields billno,sl.no,productname,qnt,rate ,total any one send some idea about this.....

0
67
Member Avatar for swappy

Hello guys I asked to make a library management project in the college...last year project many over here would might know... I just wanted to ask you guys how should I proceed with this thing..

Member Avatar for ithelp
-3
498
Member Avatar for saquibaltaf

Dear Developers.... I am going to develop application in ASP.NET / Vb.net. I want that Interface of that application is in urdu Language .. I need Help in. 1..... How to use urdu font in Vb.net for Application Interface. 2.... is it Possible to save Urdu text as it is …

Member Avatar for ithelp
0
77
Member Avatar for Nommy

Hi Everyone, I am developing a software that is interfaced with a RFID device. The RFID device manufacturer provides me with a DLL file that contains various functions to communicate with the device. One of the simplest function in the dll file is "CommOpen". This function opens the selected PC …

Member Avatar for Teme64
0
322
Member Avatar for jaslysahal

hai, i am a beginner,,,,i want to know,how to install my project into client system.i want to know it in detai

Member Avatar for jaslysahal
0
138
Member Avatar for Vivek_1986

Hi this is Vivekanand from Mumbai. I have just given final year exam of BSc (Computer Science). I have got interest in programming in VB.Net and VB.NET is totally new to me. I hope all you programmers will help me in gaining knowledge of VB.NET. Thank You. [:)]

Member Avatar for debasisdas
0
37
Member Avatar for kn2790

well tried readin many tut's about how to go about doing this but they seem to confuse me :S there seems to be many ways. i understand the concepts of what is required, but jus cant implement it into code [url]http://www.programmersheaven.com/mb/VBNET/389030/389030/database-search-/?S=B20000[/url] So im trying to display results from a form …

Member Avatar for kn2790
0
111
Member Avatar for kerek2

Hi alls, I'm using console application to pull data between 2 different database and column name (from Oracle to Sql 2008). The connection already done..but i'm having problem to select and insert from oracle to sql... The details as below :- Oracle DB Table :- Event Column : ID , …

0
67
Member Avatar for mhm_ra
Member Avatar for baderabc
0
72
Member Avatar for ravindransrm
Member Avatar for likewhoa

When i hit the start button i just get white boxes and no image for the dynamic and the image does not show for the random image i get a red x wondering if anyone can help me thanks! [code] Dim r As New Random Dim s As String Dim …

Member Avatar for Teme64
0
133
Member Avatar for SHALINISHEETAL

Can anyone pliz solve this....am a beginerin vb.net i wana know how to get squared digit length of an integer

Member Avatar for crazyhorse09
0
58
Member Avatar for tinajl

Hi All, I'm very new to VB, and I've been working a project for a class for a while. I'm trying to link totals from three different forms to a final form, but I'm getting stuck w/my coding. Someone suggested that I use the first form to set up the …

Member Avatar for c0deFr3aK
0
110
Member Avatar for BlahHx2

Ok lets say i want to make a web browser with tabs how would i get the first tab to display a webpage like google.ca as soon as the application opens?

Member Avatar for Jammerx2
0
212
Member Avatar for HalloJoe

Hi all! I need to check if an object with equal property value(CustomObject.Key) exist in my custom list In a List(Of String) i would do it like this [code=VB.NET] Public Class StringList Inherits List(Of String) Public Overloads Sub Add(ByVal s As String) If Not Me.Contains(s) Then MyBase.Add(s) End If End …

Member Avatar for tennisace24
0
4K
Member Avatar for 061923

i am working in web site project for e-learning in asp.net using vb.net, one of our services in our web page is the ability to record your voice using (save recorder,play recorder which in windows) then send it as voice messege. I want your help how can i save voice …

Member Avatar for sknake
0
107
Member Avatar for baby_1

Hello how can i send a fax with my computer(modem) and FAXCOMLib control? why connect do? its neccesery to specify it?

0
52
Member Avatar for Naziakanwal
Member Avatar for jaslysahal
0
39
Member Avatar for ravindransrm

hi im working on windows application.vb.net In this Application iam using two forms one is invoice form other one is search form first form one find button used to i will click button search form showme, my search form i am using datagridview datagridview some field product id,product name,price list …

0
74
Member Avatar for tableray

i want to show a msgbox when i click on the webbrowser control on my form.. how do i do it? why isnt there a mouseclick event in the webbrowser method listbox?

Member Avatar for Teme64
0
154
Member Avatar for aveao

I need some help. I have been problems getting my programs to recognize variables outside of the subroutines even if I make them public. Ive been able to work around the problem until now. I am working with arrays. It wont let me declare the array outside the subroutine and …

Member Avatar for Teme64
0
266
Member Avatar for olsofty

I am trying to access one colum in one row in a SQL Database. Dim qryDraw As String = "SELECT LastDD FROM dbo.comDate Where DrawNo = 2 " Dim cmdDraw As New SqlCommand(qryDraw, Connection) Dim pagesize As Long = 0 Dim adpDraw As SqlDataAdapter = New SqlDataAdapter(qryDraw, Connection) Dim dataSet …

0
53
Member Avatar for ranitsaha

[code]Imports System.Data Imports System.Data.OleDb Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim conn As String = "Provider=Microsoft.Jet.OLEDB.12.0;Data Source=G:\Visual Studio Projects\test\dbtest.accdb;Persist Security Info=False" Dim cmd As String = "SELECT * FROM Table1" Dim adapter As New OleDbDataAdapter(cmd, conn) Dim topics As New DataSet("Table1") …

Member Avatar for c0deFr3aK
0
320
Member Avatar for KikoLtd

Hello guys! I am a new member so if a make a mistake please don't shout at me :P I want to know how can i edit and delete a registry key in visual basic 2008 and also how to add a subfolder. I don't have any code so please …

Member Avatar for crazyhorse09
0
53
Member Avatar for sunilpro

Hi all dotnet lovers, I wish to develope software for my college. This is desktop+web apps. I wish to go for .NET tech. I am puzzled how to use and integrate various technologies. My desktop app will run at office for regitration of students and accepting fee, offering various legal …

Member Avatar for sunilpro
0
96
Member Avatar for keithE

I am trying to make a login form, and i need it to check for the inputed name in the database. I can't figure how to get text from the cell. i would also prefer not to use a GDV on the form. I am mainly seeking a way to …

Member Avatar for keithE
0
123
Member Avatar for Merovingian

Been trying to run a schema script from within vb.net. No matter how I format it I can't I just get all kinds of syntax errors: Here is my VB script: [CODE]Dim sqlservername As String sqlservername = Tservername.Text Dim SQLStr As String Dim ConnString As String ConnString = "Data Source=" …

Member Avatar for Merovingian
0
185
Member Avatar for Merovingian

I know this is probably really easy but I'm at a complete loss and I've been unable to find anything on the web. How do I get the name of the local SQL2008 instance? Please help!!!

0
59
Member Avatar for Ojeames

Hello, I am working on a project titled Time Management System, basically a billing system for cafes... I have gotten somewhere but now i need to change the look of my user login form. I chose what VB2008 gave in the new item view. Any ideas or templates will be …

0
48
Member Avatar for rpk2006

I have a Sub Routine as below: Private Sub SaveRecord() Call InsertIntoTable1 Call InsertIntoTable2 Call InsertIntoTable3 Call InsertIntoTable4 End Sub I want to use the transaction object in such a way that it starts just before the first Insert Call and ends after the last Insert Call. The situation is …

Member Avatar for MattWilkinson
0
84
Member Avatar for CSG-SQU

hello all :icon_cool: i'm actually new in this community i have been studying Computer Science from short time ago. i studied C++, HTML , little bet ASP, VB.net.:icon_redface: two weeks ago, i read about WML --> wirelless markup langauge. and i decide to give a mini project in my Mobile …

Member Avatar for CSG-SQU
0
167
Member Avatar for Rraster

Hi guys, I'm from Atlanta, Ga. Been here all my life...My degree from Ga. State U. is a BBA degree with a health admin major. I went back to school about 10 years ago and got a diploma in computer programming. Programmed for about five years. Got laided off twice …

Member Avatar for TH2006
0
40
Member Avatar for Nawsheen

I have attached my question. I am having some problems with the attached question. Well here is my code: Dim Name As String Name = TextBox1.Text If Name = TextBox1.Text And radLT20.Checked = True Then txtDisplay.Text = "Name is aged below 20" ElseIf Name = TextBox1.Text And rad20To40.Checked = True …

Member Avatar for Nawsheen
0
119
Member Avatar for mainak001

I have written a ftp client in VB.net which is working fine in Local access mode . But it is not able to connect internet based FTP server . Is it possible to connect Net FTp servers . How ???

0
76
Member Avatar for misae

hey i have a problem i want to add datetime picker column to datagridview.how to get date,when i click datepicker to datagrid.thanks for any help.

0
40
Member Avatar for jivangoyal

I want to send an email by using groupwise. Please anybody help me how I can send an email by using groupwise in VB.net. Or if not possible, please let me know the way that can send the email to the desired ID with placing the copy of the sent …

Member Avatar for gwguruman
0
113
Member Avatar for shers

Hi, I have developed a windows database application in vb.net 2008 express and sql express 2008. Is there a way to create reports in the application? Thanks

Member Avatar for shers
0
97
Member Avatar for Nastadon

Did a search but found nothing that answers my question. Was assigned the game Hangman as a test and I haven't been able to do anything myself and it's due tomorrow. I've looked on tons of sites for help, but so far haven't found any. The test says [quote]You need …

Member Avatar for Teme64
0
100
Member Avatar for lukechris

Hi, I have done a search so please don't tell me to! :D I have this in a text box: [ICODE]<MenuItem version="1.0"> <item_text> <TEXT default_lang="en" str=""></TEXT> </item_text> <item_help> </item_help> <item_icon> <RIGHT str="softkey1.png" /> </item_icon> <item_action> <ACTION type="JAVA" suite_name="" suite_vendor="" entry_point=""></ACTION> </item_action> </MenuItem> �PNG  IHDR F  �1�e bKGD � …

Member Avatar for Teme64
0
135
Member Avatar for coolshail_87

hello!! myself shail sharma n i want ur favor... i m developing an windows application in which i am implementing administrator right on the intranet through which i can controle the access of internet on the perticular intranet... i want to invoke my software as soon the explorer is clicked... …

0
63
Member Avatar for NanoNick

hi, I'm kinda puzzled here, i just finished working on my application and tried to use windows setup wizard. my program needs a database with it, so i included the database in the application folder. the question is... is their anyway to lock the database file so that no one …

0
46
Member Avatar for GeorgeFarr

I am connecting an access mdb format and cannot display the values from the database table onto a form in vb . I need also to enter values to the same database. I appreciate any help anyone can provide as I am new to all this. I did the same …

Member Avatar for c0deFr3aK
0
86
Member Avatar for Kecy

I'm about to embark on a biometrics project specifically a fingerprint project. If someone could help me with source codes or web sources to get helpful stuff, I would greatly appreciate it.

Member Avatar for Teme64
1
104
Member Avatar for zyaday

I have many projects in a software. Although some files and classes are shared within these projects, there are classes used by most of these projects. How do i creat classes that can be shaed among different projects . Is there anything in java that can function the same as …

Member Avatar for kvprajapati
0
198

The End.