Search Results

Showing results 1 to 22 of 22
Search took 0.01 seconds.
Search: Posts Made By: QVeen72
Forum: Visual Basic 4 / 5 / 6 May 7th, 2009
Replies: 7
Views: 1,078
Posted By QVeen72
Hi,

Why do you want to use "AppendChunk" for simple string..?

Try This :

nVNBR = "hi how are yodsf sdf"
rsVen("BITS") =nVNBR
rsVen.Fields("BITS_LENGTH") = 19
' Or
Forum: Visual Basic 4 / 5 / 6 Jan 14th, 2009
Replies: 4
Solved: Userprofile
Views: 978
Posted By QVeen72
Hi,

Declare this API at the top :


Private Declare Function SHGetFolderPath Lib "shfolder.dll" _
Alias "SHGetFolderPathA" _
(ByVal hwndOwner As Long, _
ByVal nFolder As Long, _
...
Forum: Visual Basic 4 / 5 / 6 Jan 9th, 2009
Replies: 10
Views: 1,204
Posted By QVeen72
Hi,

Yes, Little bit tweaking of my code, will do the job:


Dim i As Integer
Dim TAmt As Currency
TAmt = 0
For i = 1 To Grd.Rows-1
TAmt = TAmt +...
Forum: Visual Basic 4 / 5 / 6 Jan 7th, 2009
Replies: 10
Views: 1,204
Posted By QVeen72
Hi,

Try This :


Dim i As Integer
Dim TAmt As Currency
TAmt = 0
For i = 1 To Grd.Rows-1
TAmt = TAmt + Val(Grd.TextMatrix(i, 8))
Forum: Visual Basic 4 / 5 / 6 Nov 20th, 2008
Replies: 8
Views: 1,130
Posted By QVeen72
Hi,

Index should be the Index name and not the Fieldname..

Data1.Recordset.Index = "indStatus"

Regards
Veena
Forum: Visual Basic 4 / 5 / 6 Nov 4th, 2008
Replies: 4
Views: 644
Posted By QVeen72
Hi,

Try this :
Report.Printout False

Without vieiwng the report..

Regards
Veena
Forum: Visual Basic 4 / 5 / 6 Apr 7th, 2008
Replies: 1
Views: 2,033
Posted By QVeen72
Hi,

After Selection of ComboBox, To filter out records use this query:

"Select CI.name,I.ServiceID,P.packagename,P.duration,P.price,I.date,I.timeIn,I.timeOut
From CustInfo CI, InDate I,...
Forum: Visual Basic 4 / 5 / 6 Apr 6th, 2008
Replies: 6
Solved: change cursor
Views: 1,993
Posted By QVeen72
Hi,

Write this in FormLoad event:


Me.MousePointer = 99
Me.MouseIcon = LoadPicture("C:\windows\cursors\3dgno.cur")


Change the path accordingly
Forum: Visual Basic 4 / 5 / 6 Oct 17th, 2007
Replies: 9
Views: 8,286
Posted By QVeen72
Hi PlusPlus,

What is AdoReminder....?
if it is a Connection object, then use Execute method..

say:


adoreminder.Execute = "INSERT INTO tblreminder([user-id]) SELECT tbluser.id FROM...
Forum: Visual Basic 4 / 5 / 6 Oct 11th, 2007
Replies: 3
Views: 2,224
Posted By QVeen72
Hi,

One more easier way, is to keep another FlexGrid Hidden, with same number of Rows and Cols as the main Flex Grid.
Save the Info in 2nd grid, corresponding to Same Textmatrix of the main...
Forum: Visual Basic 4 / 5 / 6 Aug 20th, 2007
Replies: 6
Views: 3,998
Posted By QVeen72
Hi,

It shud be some thing like this:


rsinPers.MoveFirst
Do
rsinPers.Find "Name='" & M.qBW![Personnel2] & "'"
If rsinPers.EOF
Exit Do
Forum: Visual Basic 4 / 5 / 6 Aug 15th, 2007
Replies: 2
Views: 12,039
Posted By QVeen72
Hi,

Directly on messagebox, u cannot show ProgressBar. An alternative is to Show another Form in Modal Form, And Place Progress bar on that and Increment the status, from calling form..
...
Forum: VB.NET Aug 8th, 2007
Replies: 2
Views: 2,128
Posted By QVeen72
Hi,

Use DataReader which is very fast. Check This Code:


Dim cn As OleDbConnection
Dim cmd As OleDbCommand
Dim dr As OleDbDataReader
cn = New...
Forum: Visual Basic 4 / 5 / 6 Aug 1st, 2007
Replies: 4
Views: 616
Posted By QVeen72
Hi,

Set this property of Combobox in Propertysheet:

Style = 2 DropDownList

REgards
Veena
Forum: Visual Basic 4 / 5 / 6 Jul 31st, 2007
Replies: 5
Views: 2,427
Posted By QVeen72
Hi,

use "Microsoft SS tab Control"..
U have to add it to ur tool box from this menu:
Project>>Components..

Regards
Veena
Forum: VB.NET Jul 29th, 2007
Replies: 13
Views: 17,684
Posted By QVeen72
Hi,

Every time u Build and run ur project, An "Exe" file is created in The "Bin" folder of the application path, u can use this Exe to re-distribute.
To Create Set-up Package Check This...
Forum: Visual Basic 4 / 5 / 6 Jul 19th, 2007
Replies: 15
Views: 2,035
Posted By QVeen72
Hi,

Check the following:

DB2 ADO Connection Object is open or not.
Declare RST
Dim RST As New ADODB.Recordset
Set RST=Nothing
RST.Open "select Project_Name,BU from Risk_Analysis", db2,...
Forum: VB.NET Jul 4th, 2007
Replies: 1
Views: 2,889
Posted By QVeen72
Hi,

Keep a Public Array of Selected ID's. In the LoadOrders Fill the DataGrid With all the items in the Array.

Say If ur SQL Query Is:
Select * From OrderDet Where ItemId='aa'

Change It...
Forum: Visual Basic 4 / 5 / 6 Jun 21st, 2007
Replies: 2
Solved: Toolbox Help
Views: 1,921
Posted By QVeen72
Hi,

Directly u cannot Configure the ToolBox in VB6..
There's a way around.
Create any dummy Project , add a Common Dialog Control and all the required OCX Controls. Now Place all the Controls...
Forum: Visual Basic 4 / 5 / 6 May 29th, 2007
Replies: 3
Views: 1,962
Posted By QVeen72
Hi,

Open a New Project. Place A Command Button on the Form.
Copy and Paste this Code Form Level:


Option Explicit
'
Dim TFlag as Boolean
Private Declare Function FindWindowEx Lib...
Forum: Visual Basic 4 / 5 / 6 Jan 15th, 2007
Replies: 9
Views: 1,716
Posted By QVeen72
Hi,

I noticed this after posting the code.
Sorry that was :


If iPos>0 Then
sSQL = Left(sSQL,(iPos-1))
End If
Forum: Visual Basic 4 / 5 / 6 Jan 9th, 2007
Replies: 2
Views: 6,197
Posted By QVeen72
Hi,

Use Late Binding of the .dll, like Create object.
Dont directly add the reference in VB6 (Calling project).

Dim MyObj As Object
Set MyObj = CreateObject("MyProj.MyDll")
This code...
Showing results 1 to 22 of 22

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC