Click here to Skip to main content
11,571,155 members (65,586 online)

Visual Basic

 
GeneralRe: Saving a form and its contents as an image Pin
Eddy Vluggen1-Dec-12 4:04
memberEddy Vluggen1-Dec-12 4:04 
QuestionActivex can't create object error in VB6.0 Pin
Pradeep Londhe29-Nov-12 22:49
memberPradeep Londhe29-Nov-12 22:49 
AnswerRe: Activex can't create object error in VB6.0 Pin
Deepak Shitole14-Dec-12 21:25
memberDeepak Shitole14-Dec-12 21:25 
QuestionActivex can't create object error in VB6.0 Pin
Pradeep Londhe29-Nov-12 22:49
memberPradeep Londhe29-Nov-12 22:49 
AnswerRe: Activex can't create object error in VB6.0 Pin
Simon_Whale29-Nov-12 22:53
memberSimon_Whale29-Nov-12 22:53 
Questionhow to give Chinese characters sa in put in a Text box in vb.net Pin
ramesh.mandapelly29-Nov-12 22:03
memberramesh.mandapelly29-Nov-12 22:03 
AnswerRe: how to give Chinese characters sa in put in a Text box in vb.net Pin
Bernhard Hiller29-Nov-12 22:11
memberBernhard Hiller29-Nov-12 22:11 
QuestionHow to use c++ class into vba? Pin
gui.cmsilva29-Nov-12 17:16
membergui.cmsilva29-Nov-12 17:16 
QuestionHow Bind Multiple Columns under Same Label and store in database(VB 2010) Pin
charuwaka29-Nov-12 5:06
membercharuwaka29-Nov-12 5:06 
QuestionHow to make Login Page For a Windows Application Form(VB 2010) Pin
charuwaka29-Nov-12 3:41
membercharuwaka29-Nov-12 3:41 
AnswerRe: How to make Login Page For a Windows Application Form(VB 2010) Pin
Zaf Khan1-Dec-12 8:09
memberZaf Khan1-Dec-12 8:09 
QuestionVB.NET / APPLICATION SETTINGS Pin
mebjen29-Nov-12 2:17
membermebjen29-Nov-12 2:17 
AnswerRe: VB.NET / APPLICATION SETTINGS Pin
Dave Kreskowiak29-Nov-12 3:55
mvpDave Kreskowiak29-Nov-12 3:55 
GeneralRe: VB.NET / APPLICATION SETTINGS Pin
mebjen29-Nov-12 4:29
membermebjen29-Nov-12 4:29 
OK - lets see if this helps -   have the following variable under Public Class Main:

Dim poIncNo As Integer

Then in the formLoad Event I have:

txtBx_poNo.Text = genPoNo(currUser)

Private Function genPoNo(ByVal user As String) As String
            Dim strNum As String = "1"
            poIncNo = My.Settings.po + 1
            Dim poNum As String
            Select Case user
                     Case uFred
                     poNum = strNum & userId + CStr(poIncNo)
                     Return poNum
         End Select
   End Function

In Application.Settings I have:
Name = po
Type = integer
Scope = user
Value = 100001

Thanks,

MB
GeneralRe: VB.NET / APPLICATION SETTINGS Pin
Dave Kreskowiak29-Nov-12 10:36
mvpDave Kreskowiak29-Nov-12 10:36 
GeneralRe: VB.NET / APPLICATION SETTINGS Pin
mebjen29-Nov-12 10:57
membermebjen29-Nov-12 10:57 
GeneralRe: VB.NET / APPLICATION SETTINGS Pin
Dave Kreskowiak29-Nov-12 15:50
mvpDave Kreskowiak29-Nov-12 15:50 
QuestionMouse Down Event and Flag setting Pin
big_col28-Nov-12 19:53
memberbig_col28-Nov-12 19:53 
AnswerRe: Mouse Down Event and Flag setting Pin
Simon_Whale28-Nov-12 22:46
memberSimon_Whale28-Nov-12 22:46 
GeneralRe: Mouse Down Event and Flag setting Pin
big_col29-Nov-12 2:09
memberbig_col29-Nov-12 2:09 
GeneralRe: Mouse Down Event and Flag setting Pin
Simon_Whale29-Nov-12 3:06
memberSimon_Whale29-Nov-12 3:06 
AnswerRe: Mouse Down Event and Flag setting Pin
big_col29-Nov-12 20:19
memberbig_col29-Nov-12 20:19 
AnswerRe: Mouse Down Event and Flag setting Pin
Alan N29-Nov-12 3:09
memberAlan N29-Nov-12 3:09 
Questionvb6 to .net Pin
dvdljns28-Nov-12 7:42
memberdvdljns28-Nov-12 7:42 
AnswerRe: vb6 to .net Pin
Zaf Khan28-Nov-12 16:58
memberZaf Khan28-Nov-12 16:58 
GeneralRe: vb6 to .net Pin
dvdljns1-Dec-12 5:47
memberdvdljns1-Dec-12 5:47 
GeneralRe: vb6 to .net Pin
Zaf Khan1-Dec-12 8:00
memberZaf Khan1-Dec-12 8:00 
AnswerRe: vb6 to .net Pin
Dave Kreskowiak28-Nov-12 18:04
mvpDave Kreskowiak28-Nov-12 18:04 
QuestionDeleting a datarow, creating a query to find the row. - ANSWERED, Thank yo Pin
JRHibner27-Nov-12 23:30
memberJRHibner27-Nov-12 23:30 
AnswerRe: Deleting a datarow, creating a query to find the row. Pin
Andy_L_J28-Nov-12 22:30
memberAndy_L_J28-Nov-12 22:30 
GeneralRe: Deleting a datarow, creating a query to find the row. Pin
JRHibner1-Dec-12 7:21
memberJRHibner1-Dec-12 7:21 
GeneralRe: Deleting a datarow, creating a query to find the row. Pin
Andy_L_J1-Dec-12 20:27
memberAndy_L_J1-Dec-12 20:27 
GeneralRe: Deleting a datarow, creating a query to find the row. Pin
JRHibner9-Dec-12 14:55
memberJRHibner9-Dec-12 14:55 
QuestionModified Registry Key Pin
alirezamansoori27-Nov-12 18:52
memberalirezamansoori27-Nov-12 18:52 
AnswerRe: Modified Registry Key Pin
Richard MacCutchan28-Nov-12 0:02
mvpRichard MacCutchan28-Nov-12 0:02 
GeneralRe: Modified Registry Key Pin
alirezamansoori28-Nov-12 0:39
memberalirezamansoori28-Nov-12 0:39 
GeneralRe: Modified Registry Key Pin
Richard MacCutchan28-Nov-12 1:15
mvpRichard MacCutchan28-Nov-12 1:15 
QuestionLooking for idea for learning book Pin
NaZReD24-Nov-12 9:08
memberNaZReD24-Nov-12 9:08 
AnswerRe: Looking for idea for learning book Pin
Eddy Vluggen27-Nov-12 12:58
memberEddy Vluggen27-Nov-12 12:58 
QuestionInstall SQL Server on Another Computer without reach there Pin
Umesh Bachchani24-Nov-12 7:03
memberUmesh Bachchani24-Nov-12 7:03 
AnswerRe: Install SQL Server on Another Computer without reach there Pin
Eddy Vluggen27-Nov-12 12:59
memberEddy Vluggen27-Nov-12 12:59 
Question8queen ga write in vb Pin
bakhshipoor21-Nov-12 9:42
memberbakhshipoor21-Nov-12 9:42 
AnswerRe: 8queen ga write in vb Pin
David Mujica21-Nov-12 10:16
memberDavid Mujica21-Nov-12 10:16 
AnswerRe: 8queen ga write in vb Pin
Richard MacCutchan21-Nov-12 22:13
mvpRichard MacCutchan21-Nov-12 22:13 
QuestionOnline handwriting recognition system using vector machine Pin
HafiqWiselman21-Nov-12 1:39
memberHafiqWiselman21-Nov-12 1:39 
RantRe: Online handwriting recognition system using vector machine Pin
Richard Deeming21-Nov-12 2:16
memberRichard Deeming21-Nov-12 2:16 
GeneralRe: Online handwriting recognition system using vector machine Pin
HafiqWiselman21-Nov-12 3:22
memberHafiqWiselman21-Nov-12 3:22 
QuestionControlling Monitor brightness from VB6 Pin
Muhammed Niyas19-Nov-12 23:59
memberMuhammed Niyas19-Nov-12 23:59 
AnswerRe: Controlling Monitor brightness from VB6 Pin
Simon_Whale20-Nov-12 0:12
memberSimon_Whale20-Nov-12 0:12 
QuestionExport Data from Gridview to Sql Server Pin
Naga Raju Vutla18-Nov-12 18:22
memberNaga Raju Vutla18-Nov-12 18:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150624.2 | Last Updated 1 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid