Results 1 - 15 of about 3552 sawaal for "sub"
.Dim first As DoubleDim second As DoubleDim sign As StringPrivate Sub Command1ClickIndex As IntegerIf txtDisplay.Text = "" ThentxtDisplay.Text= Command1Index.CaptionElse txtD isplay.Text= txtDisplay.Text & Command1Index.CaptionEnd IfEnd SubPrivate Sub Command2ClickIndex As Integerfirst = txtDisplay.TexttxtDisplay.Te xt = ""sign = Command2Index.CaptionEnd SubPrivate Sub Form
Posted in
Computers & Technology by Rakes at 9:41 PM on June 14, 2008
hi therethe code is Dim txtClient As TextBox This method is the public interface to SnR functionality.Public Sub FindnReplaceByRef Tb As TextBoxSet txtClient = TbMe.Show , txtClient.ParentEnd SubPrivate Sub cmdReplaceClickDim CaseSense As IntegerDim SourceText As StringDim SourceTextCopy As StringDim Cnt As Integer Check for the case sensitivity optionsIf chkCaseSense.Value = vbChecked Then
Posted in
Computers & Technology by Rakesh Singh at 5:21 PM on May 31, 2008
ScrollBars 3. During the FormLoad event, initialise the scroll bars: Private Sub FormLoad Set up scroll bars: Set mcScroll = New cScrollBars mcScroll.Create Me.hwnd End Sub 4. Now your scroll bars are set up scroll bar range in Twips because it will mean it will take Screen.TwipsPerPixel normally 15 scroll bar steps before it moves: Private Sub FormResize With mcScroll Set up vertical scroll bar for 1024
Posted in
Computers & Technology by himanshu at 6:52 AM on June 15, 2008
Sub PageLoadByVal Sender as Object, ByVal E as EventArgslblTitle.Text = "Odd or Even Page"End SubSub SubmitBtnClickSender As Object, E As EventArgslblMessage2.Text = "number entered: " & OddOrEventxtNumber.TextEnd SubFunction OddOrEvenTheNumber as Long as StringIf TheNumber Mod 2 = 0 ThenOddOrEven = "even."ElseOddOrEven = "odd."End IfEnd Function
Posted in
Computers & Technology by Rakesh Singh at 9:32 PM on June 14, 2008
Tags
write,
visual,
basic,
code,
segment,
check,
number,
numbers,
upto,
using,
function
extensive subtitle options which enable the users to watch video content with subtitles from many popular subtitle formats MicroDVD .sub, VobSub .sub .idx, SubViewer .sub, Advanced SubStation Alpha .ssa or .ass, SubRip .srt, VPlayer .txt.......well;BS.Player is used by more than 70 millions of multimedia users throughout the world and it has been translated into more than 90 languages. All the downloaded
Posted in
Computers & Technology by Vaibhav at 10:16 PM on June 03, 2008
Private Sub Button1ClickByVal sender As System.Object,ByVal e As System.EventArgs Handles Button1.Clicktxtnum is starting square roottxtout1 is number outside of square root part of simplified answertxtout2 is number inside of square root part of simplified answerNot a number then abort codeIf Not IsNumerictxtnum.Text Then Exit SubDim num As Integer = txtnum.TextFirst check if perfect numberIf Not Is
Posted in
Computers & Technology by Rakesh Singh at 7:57 PM on June 12, 2008
well Rakesh, Private Sub Command1Clickarr = 0Print "Your array contains: "For k = 0 To num - 1Print "A"; ""; arr; ":"; Akarr = arr 1Next kEnd SubPrivate SubFor j = i 1 To num - 1If Ai < Aj Thentemp = AiAi = AjAj = tempEnd IfNext jNext iEnd Sub...Private Sub Command1Clickarr = 0Print "Your array contains: "For k = 0 To num - 1Print "
Posted in
Computers & Technology by Rakesh Singh at 9:31 PM on June 14, 2008
Tags
write,
visual,
basic,
code,
subroutine,
click,
event,
enter,
array,
elements,
sort,
descending
Well, In visual basic, additem method is used to add an item in a combobox. And example given by Alok Gupta is right.Private Sub FormLoadCombo1.AddItem "Nancy Davolio"Combo1.ItemDataComb o1.NewIndex = 12345Combo1.AddItem "Judy Phelps"Combo1.ItemDataCombo 1.NewIndex = 67890End SubPrivate Sub Combo1ClickLabel1.Caption = "Empoyee " & CStrCombo1.ItemDataCombo1 .List
Posted in
Computers & Technology by Ram Jain at 1:39 PM on July 24, 2008
well, Private Sub Command1Clickarr = 0Print "Your array contains: "For k = 0 To num - 1Print "A"; ""; arr; ":"; Akarr = arr 1Next kEnd SubPrivate Sub Form To num - 1If Ai < Aj Thentemp = AiAi = AjAj = tempEnd IfNext jNext iEnd Sub...well, Private Sub Command1Clickarr = 0Print "Your array contains: "For k = 0 To num - 1Print "A"; "
Posted in
Computers & Technology by Rakesh Singh at 8:37 PM on June 14, 2008
Tags
creat,
data,
file,
containing,
following,
fields,
print,
details,
bookof,
particular,
subject,
choice
Private Sub Command1Clickarr = 0Print "Your array contains: "For k = 0 To num - 1Print "A"; ""; arr; ":"; Akarr = arr 1Next kEnd SubPrivate Sub Form To num - 1If Ai < Aj Thentemp = AiAi = AjAj = tempEnd IfNext jNext iEnd Sub...Private Sub Command1Clickarr = 0Print "Your array contains: "For k = 0 To num - 1Print "A"; "
Posted in
Computers & Technology by Rakesh Singh at 9:28 PM on June 14, 2008
Private Sub Command1Clickarr = 0Print "Your array contains: "For k = 0 To num - 1Print "A"; ""; arr; ":"; Akarr = arr 1Next kEnd SubPrivate Sub Form To num - 1If Ai < Aj Thentemp = AiAi = AjAj = tempEnd IfNext jNext iEnd Sub...Private Sub Command1Clickarr = 0Print "Your array contains: "For k = 0 To num - 1Print "A"; "
Posted in
Computers & Technology by Rakesh Singh at 5:35 PM on June 14, 2008
If StrCompwordsI, wordsJ = -1 ThenCall SwapwordsI, wordsJEnd IfElseIf StrCompwordsI, wordsJ = 1 ThenCall SwapwordsI, wordsJEnd IfEnd IfEnd IfNext JNext IEnd SubPublic Static Sub NumSortnums As Variant ThenIf numsI < numsJ ThenNumSwap numsI, numsJEnd IfElseIf numsI > numsJ ThenNumSwap numsI, numsJEnd IfEnd IfNext JNext IEnd SubPrivate Sub NumSwapvar1 As Variant, var2 As VariantDim x As Variantx
Posted in
Computers & Technology by Rakesh Singh at 9:36 PM on June 14, 2008
.Example 1. Running a command line application, without concern for the results: Private Sub Button1ClickByVal sender As System.Object, ByVal e As System.EventArgs Handles Button1.Click System.Diagnostics.Process.Sta rt"C:listfiles.bat" End SubExample 2. Retrieving the results and waiting until the process stops running the process synchronously: Private Sub Button2ClickByVal sender As Object, ByVal e
Posted in
Computers & Technology by Sidd at 12:32 AM on September 13, 2008
membersnote : friendly is not a keyword- Accessibitlity is different in each of the following- within the class,- another class in the same package,- sub class in same package,- another class in the another package,- sub class in another package.- Therefore, there are- four types of access permissions and- five places to test the accessibility.- Totally 20 combinations.- Accessibility with in the class
Posted in
Computers & Technology by rocky singh at 2:08 PM on June 26, 2008
;">3. A dd this code in the Code-Behind file:VB.NETImports System.WebImports ASPNETEandCVBPublic Class WebForm1Inherits System.Web.UI.PagePrivate Sub PageLoadByVal sender As System.Object, ByVal e As System.EventArgs Handles MyBase.LoadResponse.Write"B efore Editing"End SubEnd Class//Cusing ASPNETEandCCS;public class WebForm1 : System.Web.UI.Pageprivate void PageLoadobject sender, System
Posted in
Computers & Technology by Harshil at 2:44 AM on June 01, 2008
Tags