Posts
 
Reputation
Joined
Last Seen
Ranked #801
Strength to Increase Rep
+9
Strength to Decrease Rep
-2
88% Quality Score
Upvotes Received
20
Posts with Upvotes
20
Upvoting Members
17
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
11 Commented Posts
9 Endorsements
Ranked #207
Ranked #207
~150.17K People Reached
About Me

Tech Lead

Interests
Reading BooksChatting with Friends
PC Specs
Type: LaptopProcessor : Core DeoRAM: 1 GBCompany: DELLOS: WinXP SP2
Favorite Tags
Member Avatar for thijscream

Hi, To get the Current Time u can use DateTime.Now property. It returns CurrentTime. So in btnStart u can use like this [CODE=c#] private void btnStart_Click(object sender, EventArgs e) { //Display the current Time textBox1.Text = DateTime.Now.ToString("hh:mm:ss tt"); textBox2.Text = DateTime.Now.ToString("hh:mm:ss tt"); //Start the Timer tmrTime.Enabled = true; } [/CODE] …

Member Avatar for HaxNain
0
7K
Member Avatar for peroberg
Member Avatar for vinaya

Hi, dateTimePicker1 is a Control which displays the date and Time visually. This control help to select the date and time visually. U can get currently selected date or Time using [ICODE] dateTimePicker1.Value [/ICODE] [ICODE] dateTimePicker1.Value.ToShortDateString(); [/ICODE] gets the Date in Short Format. Also in DateTime class, ToShortDateString() is possible. …

Member Avatar for ddanbe
0
11K
Member Avatar for sneixum

Hi macneato! Thats right!!.. but [CODE=CSS] position:fixed; [/CODE] is not work in IE6...

Member Avatar for shiqar
0
117
Member Avatar for selvaganapathy

Hi I am getting this error whenever running the DOT NET Applications. Any one help me to this problem. How can fix it.

Member Avatar for Reverend Jim
-1
709
Member Avatar for chern4ever

Use Input statement instead of Line Input Ex [code=vb] Private Sub Command1_Click() Dim dText As String Dim sString1 As String, sString2 As String Open "C:\Users\Chern\CINEMA\reserve.txt" For Input As #1 Do While Not EOF(1) Input #1, sString1, sString2 dText = dText & sString1 & ", " & sString2 & vbCrLf Loop …

Member Avatar for Jx_Man
0
3K
Member Avatar for Tekito

Hi, Instead of Arrays, You can use Collection object or Your own Collection Class. VB6 does not allow to declare Constants, Arrays, User Defined Types as Public. Ex In a class Module [CODE=VB] Option Explicit Private mMyCollection As Collection Public Property Get MyCollection() As Collection Set MyCollection = mMyCollection End …

Member Avatar for MrZerocaL
0
3K
Member Avatar for abu taher

Hi, Form has WindowState Property. The values may be vbNormal - 0 - (Default) Normal. vbMinimized - 1 - Minimized (minimized to an icon) vbMaximized - 2 - Maximized (enlarged to maximum size) But Form does not have any particular Event occur when minimize and maximize. [B]Resize()[/B] event can be …

Member Avatar for Qesha carol
0
1K
Member Avatar for Pgmer

Hi, To search all the instance of keyword, you should explicitly save the last search index. For this u can use the Variable [CODE=VB.NET] Dim iLastIndex as Integer Private Sub FindButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FindButton.Click Dim idx As Integer = iLastIndex idx = TextBox3.Text.IndexOf(TextBox1.Text, idx) …

Member Avatar for shamy086
0
234
Member Avatar for firoz.raj
Member Avatar for DAWNIE

Save the Information of all shapes (Circles and Squares) in a data structure and redraw it in paint event of PictureBox.

Member Avatar for polas5
0
2K
Member Avatar for lisheen

Hi Try this [ICODE] str = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\REPRINT.MDB;Persist Security Info=False" [/ICODE]

Member Avatar for Jason2726
0
271
Member Avatar for Webbsta

Have you try saveFileDialog.AddExtension property? It is indicating whether the dialog box automatically adds an extension to a file name if the user omits the extension. The extension added to a file name depends on the currently selected file filter.

Member Avatar for Weakegg
0
2K
Member Avatar for emulman

Starting html tag is missing, Is that typo mistake ?? Anyway, Set the height of the 5 DIV tags or it should contain something inside to show

Member Avatar for Skorpio07
0
141
Member Avatar for gamestoenjoy
Member Avatar for f_atencia

Use DIV tag instead of the first SPAN tag and remove the height CSS.

Member Avatar for ko ko
0
94
Member Avatar for ruudmu7
Member Avatar for emilio
Member Avatar for mahmudh
0
271
Member Avatar for suganzeni

Use Rnd () function to Get the Random value. The Rnd function returns a value less than 1, but greater than or equal to zero. Example [ICODE] Dim value As Integer = CInt(Int((256 * Rnd()))) [/iCODE] You will get the value 0 to 255 By using Rnd() in timer, generate …

Member Avatar for mzoner
0
1K
Member Avatar for Derice

Hi, I was also faced that problem, but never get good solution. Data Environment is not refresh when add a new Record. It will be static. But i did separate the Data Environment and my application. Then Make Exe with Data Environment. Whenever you want to print from Data Environment, …

Member Avatar for rjohn18
0
110
Member Avatar for Traicey

Hi, [QUOTE]I wana enter 4 digit[/QUOTE] means you have to allow only 4 digits? or you mean, when you press '4' If so, put quote before 4 in [CODE=CSharp] if(e.KeyChar == 4) [/CODE] [CODE=CSharp] if(e.KeyChar == '4') [/CODE] because u checking the char

Member Avatar for tawadchai
0
94
Member Avatar for lukechris

Hi Luke, Instead of converting Label to Integer (Label1 to Minutes), Use DateTime Class for Date or Time operations. It has methods and Properties to manipulate it.

Member Avatar for codeorder
0
441
Member Avatar for pinus-strobus
Member Avatar for AndreRet
-1
98
Member Avatar for Rajnesh

Hi, My Suggestion, Start your coding form [B]Boot Loader[/B]. Have a knowledge on Booting process.

Member Avatar for kvprajapati
0
924
Member Avatar for vbcoder123456

Hi, You can try String.Format() Try this [CODE=VB] Dim str As String 'Here 20 is the width of the first string '-means Left Align, 0 and 1 are index str = String.Format("{0,-20} {1,2}", "Hi", 10) MessageBox.Show(str) [/CODE]

Member Avatar for Jx_Man
0
739
Member Avatar for selvaganapathy

This code snippet convert Number to String in VB6. For instance input 100 will be return as Hundred, It converts upto Core....

Member Avatar for SoftwarePaladin
0
293
Member Avatar for rosebabu

Hi, Which version of .NET Framework you are using? FormClosing is new to .NET Framework 2.0. Or Specify what difficulty you are facing while implementing the above code.

Member Avatar for Geekitygeek
0
2K
Member Avatar for santy555
Member Avatar for swapna7999

Hi I think you want to include ij|11.dll into your vb project. If so, Open vb Project Click Project -> Reference Click Browse button and Locate the ij|11.dll Now the dll is included in your project

Member Avatar for phpbeginners
0
234
Member Avatar for vishalkhialani

I agree with macneato jQuery + AJAX it is possible .. You dont need to all the images statically. If u try AJAX, u can load the image (or any element) dynamically. There are lots of javascript libraries available, but jQuery is most popular ..

Member Avatar for infinitymedia
0
122