20,278 Topics

Member Avatar for
Member Avatar for JModak

how to Generate Auto Alpha numeric Inv. number in SQL Store procedure i used Sql Server 2008 r2 and vb.net 2012 I got a error ---- *Msg 245, Level 16, State 1, Procedure P_GetAutoIDPurchaseInv, Line 13 Conversion failed when converting the varchar value '17-18/00002' to data type int. * When …

Member Avatar for hericles
0
289
Member Avatar for vhycko

I want to filter data by day and month only excluding the year. For example I want to find people born from day 1 to day 15 in september without including years so what i did is like... Private Sub ButtonFilter_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonFilter.Click …

Member Avatar for vhycko
0
406
Member Avatar for sasank_1

Hi every one . i need code for how i set the connection i.e when i execute the project .exe it show me a form in which there is Database name , Server name , User name and Password . And after clicking the OK button it pass these value …

Member Avatar for Reverend Jim
0
699
Member Avatar for prathapsv3

I am new in vb.net. The image has been stored in sql server as <binary data> and i dont know how to convert it to display in picture box.Please tell me what are the changes should i made to get it to work.Here is the code which i have done …

Member Avatar for fredrick_3
0
3K
Member Avatar for Link_1

Error: The Remote Server Returned An Error 400 Bad Request I am using asp vb.net and instagram api also I am using Newtonsoft.Json -Version 10.0.3 I following below link as a tutorial but issue is I am converting code from c# to VB and I am getting an error: https://code.msdn.microsoft.com/Haroon-Said-e1d8d388 …

0
174
Member Avatar for Smalls

What I'm trying to do is have a login type windows form to take a user name and password then compare these with data in the db then open an admin type form. I've been trying to get this to work for a few days now with no luck, about …

Member Avatar for akash_12
0
2K
Member Avatar for wushu_1

newbie question. i have a class where i will get the value of username and password of my login form and pass it to admin form Public Property getUsername() As String Get Return Login.username.Text End Get Set(value As String) uname = value End Set End Property Public Property getPassword() As …

Member Avatar for rproffitt
0
690
Member Avatar for JModak

How to Update Sql database from vb.net 2010 i want to add a stored procedure in sql database from login time on button click.. **database name ** db17-18 **stored procedure** Create Proc P_SelectAllRole As Select StatusId,Status from tblStatusMaster

Member Avatar for mahe_1
0
6K
Member Avatar for Michael_9

# **OLD** # [URL=http://s127.photobucket.com/user/yoda3ddd/media/codemap_zps4115ff7e.jpg.html][IMG]http://i127.photobucket.com/albums/p158/yoda3ddd/codemap_zps4115ff7e.jpg[/IMG][/URL] The Data Namespace Core Friend Module Func Public OkButton As Button Public CancelButton As Button Public ProgBar As ProgressBar Private Sub ProgressLoop() Do Func.ProgBar.PerformStep() Threading.Thread.Sleep(1) Loop End Sub #Region "Constants" Public Const DataRoot As String = "C:\AFormData\" Public Const IMG_PATH As String = "C:\AFormData\img" Public Const …

Member Avatar for Michael_9
0
474
Member Avatar for k99rs

Hi guys, I am stuck on my code. I am creating Repeater control dynamically. For some reason i cant really get it to work, Maybe someone can tell where i am going wrong. I have one class name "MultipleSelectCategoryRepeaterTemplate" this class will create the repeater Header, Item and Footer dynamic. …

Member Avatar for Michael_9
0
565
Member Avatar for KushMishra

Hi All, Could anyone please suggest on how to apply multiple styles to multiple elements at runtime and that too the styles should be applied at the same time on all elements. For instance, I want to animate two buttons but their styles are different. Now if I apply the …

Member Avatar for rproffitt
1
766
Member Avatar for johndohmen1963

I have a datagridvied with several columns and one with date and the format is Me.DataGridView1.Columns("Doopdatum").DefaultCellStyle.Format = "yyyy - MM - dd dddd" or Me.DataGridView1.Columns("Doopdatum").DefaultCellStyle.Format = "dddd dd - MM - yyyy" Depends on the button i press My problem is when i reverse from "yyyy - MM - dd …

Member Avatar for r310070
0
424
Member Avatar for Bianca Zhang

Hello. im trying to creat a pocket pc application using visual basic. but i got problem access text file. system always shows that "counld not find a part of path". the code i wrote is like: [code] Imports System Imports System.IO Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, …

Member Avatar for leonardo_4
0
623
Member Avatar for Balaji_6
Member Avatar for rproffitt
0
81
Member Avatar for Glenda C.
Member Avatar for Noorul Ariff

Friends i need code to search the datas... I'm doing INVENTORY project... i'm using ACCESS databse with vb.net... i'm having purchase, sales tables... THIS IS MY PURCHASE TABLE: Code Price Category Type Dat SP Brnd 11 222 cde bgf 9/10/2025 356 asd 12 255 MEN Shirt 5/10/2010 355 Vanhesun 55 …

Member Avatar for Reverend Jim
0
4K
Member Avatar for Glenda C.
Member Avatar for ihthishaam

Hi guys, I am new to vb.net i want to know how to pass a datagridview row values onto another form once the row is been double clicked.

Member Avatar for Angelo_5
0
5K
Member Avatar for KushMishra

Hi All, I have a collection of huge records (6000+) wherein the object in the collections has got 50+ properties, so ideally it is not a good idea to run a "For-Each" loop here. What I want is a "GroupBy" clause which would get me a Dictionary (Of String, String) …

Member Avatar for KushMishra
0
3K
Member Avatar for pri.chakraborty

hello sir, i am new in vb.net.. i am making a project on railway reservation.. in train booking page, there are multiple textbox in my project to insert multiple passenger name for reservation.. i want to book train in one click... so, i have to insert all the passenger name …

Member Avatar for Reverend Jim
0
5K
Member Avatar for jailani_1

i have started system calculater in vb.net using process.start() method but i want to retrive it s value in textbox , how can i do that

Member Avatar for Reverend Jim
0
975
Member Avatar for wilsonchama

Hi Guys, Kindy assist me to make this code work. I want the datagridview to populate data from SQL server 2012 database based on the employment number selected in the combobox. below is the code I have tried to generate. Private Sub btnRecords_Click(sender As Object, e As EventArgs) Handles btnRecords.Click …

Member Avatar for mikeybware
0
197
Member Avatar for Titty_1

DataGridViewCheckBoxColumn Checking Issue I added a DataGridViewCheckBoxColumn to My Data Grid Dim DesChkBox As New DataGridViewCheckBoxColumn DesChkBox.Name = "chbSelect" DesChkBox.HeaderText = "Select" DesChkBox.TrueValue = True DesChkBox.FalseValue = False grdView.Columns.Add(DesChkBox) DesChkBox.Width = 50 grdView.ReadOnly = False grdView.AutoGenerateColumns = False grdView.RowHeadersWidth = 5 And through a procedure I want to check the …

Member Avatar for mikeybware
0
152
Member Avatar for JModak

I use the this code. showing "Update" msg but not update and if i add an item then show "Update" not "save" Please help me..... Private Sub Button14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button14.Click Dim sql = "select Count(*) from pur_invdet where purinvid= txtpurinvid.text" Dim cmd = …

Member Avatar for dspnhn
0
2K
Member Avatar for sashiksu

I'm currently using below code for print all things in data grid view in vb.net 2012. By all things I mean all columns. Try Dim mRow As Integer = 0 Dim newpage As Boolean = True With gdvcussearchcustomer Dim fmt As StringFormat = New StringFormat(StringFormatFlags.LineLimit) fmt.LineAlignment = StringAlignment.Center fmt.Trimming = …

Member Avatar for Elvis J.
0
6K
Member Avatar for Abdul_41

I am new in reporting with crystal reports. i am trying to genrate a report in vb.net. My data to be displayed in the report is based on a screen output. But I don't know how to bring the data from screen to report. Please help me any one so …

Member Avatar for Santanu.Das
0
168
Member Avatar for Mr.M

Hi DW. I would like to know if its possible to get the source path of a file copied/moved to a folder I set a FileSystemWatcher? What I mean is that get the location as to where this file is coming from if its was copied/moved into this folder. Thank …

Member Avatar for xrjf
0
298
Member Avatar for ChadW

I know I'm just missing the mark here, but what I am trying to accomplish is simply adding the results of two text boxes. Example: Form has two text boxes and 1 label The user enters a number (any number from 0 - 10) into each textbox when the user …

Member Avatar for Akbar_6
0
9K
Member Avatar for Programmer_2

Cant print crystal report viewers records after 32767 page ... im using crystalreportviewer.printtoprinter command

Member Avatar for ddanbe
0
134
Member Avatar for Obbie_1

![Untitled.jpg](/attachments/large/4/6c6056e3fdbd847b94af20fe43f18581.jpg "align-center") Why can not save to the database? my script Imports MySql.Data.MySqlClient Imports System.Data.Odbc Public Class Arsip Const DSN = "DSN=arsip" Dim conn As OdbcConnection Dim cmd As OdbcCommand Dim da As OdbcDataAdapter Dim dr As OdbcDataReader Dim ds As DataSet Dim table As DataTable Sub koneksi() conn = …

Member Avatar for Mr.M
0
216

The End.