Search:
Type: Posts; User: KhalidMughal
Search:
Search took 0.02 seconds.
-
Here a useful sample code to count the No. of records in a text file before it use.
-
A sample code is here:
Private Sub Command1_Click()
dim Address As String
Address = "Pakistan Punjab Channu"
MsgBox Mid(Address, InStrRev(Address, " "))
End Sub
-
Try the Following:
http://www.vbcode.com/code/WhoIs01202003.zip
Hope it will help you
-
You can use the Format() for this. like:
Private Sub Command1_Click()
Dim n As Integer
n = InputBox("Input Any Integer Value", "Input Integer")
MsgBox "Example 1 = " & Format(n, "00000000")...
-
You may use ADODB for the connectivity with your Access Database, and use SQL queries to insert the data into the database.
-
You can also use SQL Query with a flag.
for Example: Dim isNew as Boolean
Check if data found in the table then
isNew = False
else
isNew = True
-
I think following type of code you needed:
Private Sub Text1_KeyPress(KeyAscii As Integer)
If (KeyAscii >= 65 And KeyAscii <= 90) Or (KeyAscii >= 97 And KeyAscii <= 122) Then
...
-
While installation be sure that you have the Administrator rights to install the application.
-
The alternate of all your Code is:
========================
Sub OptimisticTrans(strOldCity As String, strNewCity As String)
Dim cnn As ADODB.Connection
Dim rst As ADODB.Recordset
Dim...
-
When you make a Package, it will automatically pick the activeX control for CR8 and at the time of installation it is registered on client machines automatically.
-
You should send your project to me. I will add the login form in your project free of cost.
-
You should send your project to me. I will add the login form in your project free of cost.
-
Here is the sample code: and Sample form is attached herewith:
==============================================
Private Sub Combo1_CLICK()
Dim rsLocal As New ADODB.Recordset
rsLocal.Open...
-
If you are using ORACLE you need to write the query in the following way:
"Select * Table1 Order By to_char(ItemCode,'9999')"
if your are using ACCESS:
"Select * Table1 Order By...
-
What is your requirement/problem to design a form or to change the user password. Because, to change the password there must be some database as back-end of your form. You also need to define.
-
Thanks for the positive response.
Khalid Mahmood.
-
Try This:
Private Sub Command1_Click()
Dim a As Double
a = InputBox("Input Any Value in Three Decimal")
MsgBox Round(a - 0.001, 2)
End Sub
-
You can show it through coding. This is not a ready made.
-
Yes, it is possible.
And it has more than 1 ways to solve.
-
You need the following in your Visual Basic Editor:
Click On ==> Project ==> Preferences.... ==> Microsoft DAO 3.0 Object Library
I think in this way your problem will be solved.
-
At the end of your query Write:
ORDER BY USERNAME, DATE
-
Another Solution:
============
For i = 0 To List1.ListCount - 1
If List1.Selected(i) Then
List1.RemoveItem (i)
i = i - 1
End If
If i = List1.ListCount - 1 Then
...
-
Thanks CornedBee for the reply. I dont' have the idea how to use UNICODE. Can you give me a little example ?
-
I am using Windows 2000, and want to display on a Monitor Screen.
-
I want to display a message in Urdu or Arabic Language. How can I do it?
-
For Example You have a field name field1:
rs!Field1 = Month & "/" & Month & "/" & Year
-
Try the following:
rs.refresh
rs.addnew
rs.fields("name").value=txtname.text
rrs.fields("password").value=txtpass.text
rs.update
-
Yes you can insert all three keys into one cell by concating all of them.
For Example:
=========
Month & "/" & Month & "/" & Year
-
Private Sub Command1_Click()
Dim a As String
a = InputBox("Enter String/Word To Find", "Find")
If Len(Trim(a)) > 0 Then
If InStr(UCase(Text1.Text), UCase(Trim(a))) > 0 Then
...
-
Dim pathStr(10) as String 'Declare String as Global
Dim SS as Integer 'Declare Global to use as SubScript
Private Sub Form_Load()
Dim oFSO As New FileSystemObject
Set...
-
1. Navigate through the Next and Previous Button.
You should store all your paths having picture extensions in
an global array on FormLoad event. You should also declare a
global...
-
Through this utility you can get the comple information that:
Who is Connected with your PC?
- User Name
- Computer Name
- IP Address
-
A source code of a logic game.
Arrange these 8 queens on a chess board in a way so that any queen could not reach to any other queen.
-
Here is a sample program to Save Pictures in Access Database.
-
I think qtimer.h file is not available in 'include' directory. If it is in other than 'include' directory. use the following sentence to include:
#include "c:\project\sealkernel\qtimer.h"
|
Click Here to Expand Forum to Full Width
|