Search Results

Showing results 1 to 40 of 45
Search took 0.02 seconds.
Search: Posts Made By: AUGXIS
Forum: Visual Basic 4 / 5 / 6 Nov 13th, 2008
Replies: 18
Views: 2,193
Posted By AUGXIS
check first the state of your recordet. if its open then close it first
then open it again.

If rs.State = adStateOpen Then rs.Close
rs.open"Select * "
Forum: Visual Basic 4 / 5 / 6 Nov 12th, 2008
Replies: 4
Views: 597
Posted By AUGXIS
hi. just select the field you're gonna use.

rs.open"select emp_name, emp_address from tbl_emp"
text1=rs.fields("emp_name")
Forum: Visual Basic 4 / 5 / 6 Nov 12th, 2008
Replies: 8
Views: 1,528
Posted By AUGXIS
hi. you're transferring all the data to text1 and you also clear it when you uncheck a button.
so its better if you uncheck a checkbox, just clear the text1 then just get all the value of checkboxes...
Forum: Visual Basic 4 / 5 / 6 Nov 12th, 2008
Replies: 18
Views: 2,193
Posted By AUGXIS
hi. you can close the database after saving then open it again upon loading of the new form.
Forum: Visual Basic 4 / 5 / 6 Nov 12th, 2008
Replies: 4
Views: 597
Posted By AUGXIS
hi. you can left command

If Left(Text1.Text, 2) = "OS" Then
rs.open"select * from table"
Elseif Left(Text1.Text, 2) = "TP" Then
rs1.open"select * from table1"
else
...
Forum: Visual Basic 4 / 5 / 6 Nov 6th, 2008
Replies: 2
Views: 1,580
Posted By AUGXIS
have you tried this one http://www.connectionstrings.com/
Forum: Visual Basic 4 / 5 / 6 Nov 5th, 2008
Replies: 8
Views: 669
Posted By AUGXIS
hi. just search their entry using a query and if is not found then just add it as a new entry.
Forum: Visual Basic 4 / 5 / 6 Nov 4th, 2008
Replies: 27
Views: 3,475
Posted By AUGXIS
hi. you try to make a query first.say

rs.Open "Select appdate, name from tablename where appdate between '" & date1 & "' AND '" & date2 & "'"

then set the record source of the report

Set...
Forum: Visual Basic 4 / 5 / 6 Nov 3rd, 2008
Replies: 27
Views: 3,475
Posted By AUGXIS
hi. you can write the query first. then i think you have to set the record source of your report
to the query you made.
Forum: Visual Basic 4 / 5 / 6 Nov 2nd, 2008
Replies: 2
Views: 439
Posted By AUGXIS
hi. i think it will only grow when the data transfers to the object is longer than the object's current width. it will automatically adjust as the data or text gets longer.
Forum: Visual Basic 4 / 5 / 6 Nov 2nd, 2008
Replies: 8
Views: 1,685
Posted By AUGXIS
hi. check first if youre recordset is open then try closing it before opening it again. and for the checkboxes i think its its if check1.value = 1.
Forum: Visual Basic 4 / 5 / 6 Oct 30th, 2008
Replies: 8
Views: 822
Posted By AUGXIS
hi. can you please post your code. but anyways if you're in a hurry you can just put on error resume next on your code so you won't get an error message for the mean time.but still you need to figure...
Forum: Visual Basic 4 / 5 / 6 Oct 29th, 2008
Replies: 8
Views: 1,685
Posted By AUGXIS
hi. i assume nonosc and osc are only the condtions if Release.Enabled = True

Dim rst As New Recordset
Dim sql As String

If Release.Enabled = True Then
If nonosc.Enabled = True Then
...
Forum: Visual Basic 4 / 5 / 6 Oct 23rd, 2008
Replies: 8
Views: 822
Posted By AUGXIS
hi. are you using textbox? and are they bound?
Forum: Visual Basic 4 / 5 / 6 Oct 21st, 2008
Replies: 2
Views: 575
Posted By AUGXIS
hi. you can use shell command.try this

Shell ("C:\\Program Files\\Microsoft Office\\OFFICE10\\MSACCESS.EXE ""D:\db1\database\db1.mdb")
Forum: Visual Basic 4 / 5 / 6 Oct 17th, 2008
Replies: 1
Views: 513
Posted By AUGXIS
hi. you can put your database in a server then share it and on your program you just have to specify the path of your database. then you can now install your program on every pc.
Forum: Visual Basic 4 / 5 / 6 Oct 13th, 2008
Replies: 7
Views: 846
Posted By AUGXIS
hi. i think it is much better that you will use the values of the string1 and string2 for the value of Data1.Recordset.Fileds(“ResultString”). You have not yet save any the data so your values for...
Forum: Visual Basic 4 / 5 / 6 Oct 10th, 2008
Replies: 4
Views: 470
Posted By AUGXIS
hi. you can save the deleted files on a different table, then call the data on form archive
Forum: Visual Basic 4 / 5 / 6 Oct 8th, 2008
Replies: 6
Views: 937
Posted By AUGXIS
on click event of the grid try this

Text1.Text = grid.TextMatrix(grid.RowSel, grid.ColSel)
Forum: Visual Basic 4 / 5 / 6 Oct 7th, 2008
Replies: 6
Views: 937
Posted By AUGXIS
you use the grid property rowsel and colsel to specify the cell you click on then pass the value to a textbox.
Forum: Visual Basic 4 / 5 / 6 Oct 7th, 2008
Replies: 3
Views: 1,573
Posted By AUGXIS
you can try this. i dont know how to use command prompt for this, so i hope this is ok.



Private Sub cmd_changedate_Click()

Dim ChangeDate

ChangeDate = "October" & " " & 8 & ", " & 2008...
Forum: Visual Basic 4 / 5 / 6 Oct 7th, 2008
Replies: 3
Views: 625
Posted By AUGXIS
can you try this one
you can set the multiline property of text2 to True


Dim strx As String
Dim cntr As Integer
Dim xstart As Integer
Dim sellen As Integer
Dim num As Integer
Dim storex(0...
Forum: Visual Basic 4 / 5 / 6 Oct 7th, 2008
Replies: 4
Views: 761
Posted By AUGXIS
try this one

Select * from accounts where emp_code='" & str1 & "' AND emp_name= '" & str2 & "', conn
Forum: Visual Basic 4 / 5 / 6 Sep 10th, 2008
Replies: 1
Views: 622
Posted By AUGXIS
hi. try this.


db.execute"select * from travel where doj between #" & doj.text &"# AND #" & doj1.text
& "#

db.execute"select * from travel where doj between cdate('" & doj.text & "') AND...
Forum: Visual Basic 4 / 5 / 6 Sep 4th, 2008
Replies: 6
Views: 2,422
Posted By AUGXIS
have you try changing your paper size to accomodate all 40 fields?
Forum: Visual Basic 4 / 5 / 6 Sep 2nd, 2008
Replies: 2
Views: 1,437
Posted By AUGXIS
As always thanks for the help.
Forum: Visual Basic 4 / 5 / 6 Sep 2nd, 2008
Replies: 2
Views: 1,437
Posted By AUGXIS
hi guys,

i have manage to copy and paste files (excel, word, txt) in specified locations, but when i used it to copy exe files, the exe files are not being copied to specified locations.
Forum: Visual Basic 4 / 5 / 6 Aug 29th, 2008
Replies: 2
Views: 443
Posted By AUGXIS
what database are you using?
Forum: Visual Basic 4 / 5 / 6 Aug 27th, 2008
Replies: 5
Views: 629
Posted By AUGXIS
check this one

http://www.connectionstrings.com
Forum: Visual Basic 4 / 5 / 6 Aug 27th, 2008
Replies: 5
Views: 775
Posted By AUGXIS
try this one



Dim ChangeTime

ChangeTime= "4:00 AM"
Time= ChangeTime
Forum: Visual Basic 4 / 5 / 6 Aug 27th, 2008
Replies: 5
Views: 629
Posted By AUGXIS
hi. just wanna ask why don't you just import your foxpro tables to access?
Forum: Visual Basic 4 / 5 / 6 Aug 7th, 2008
Replies: 3
Views: 605
Posted By AUGXIS
you should make your program into an exe
then under the microsoft visual studio tools there's a package and deployment wizard that can guide you
Forum: Visual Basic 4 / 5 / 6 Jul 24th, 2008
Replies: 9
Views: 1,154
Posted By AUGXIS
hi, can you try this code


Dim strText As String
Dim strText1 As String
Dim xwords As Integer
Dim xwords1 As Integer
Dim cPOs, cPos1

Set objRead = objAddress.OpenTextFile(App.Path +...
Forum: Visual Basic 4 / 5 / 6 Jul 23rd, 2008
Replies: 0
Views: 576
Posted By AUGXIS
hi guys,

i get an error message "554 message is not rfc compliant" while i was trying to send an email. can you please help me with my code...


MAPISession1.SignOn
With MAPIMessages1
...
Forum: Visual Basic 4 / 5 / 6 Jul 21st, 2008
Replies: 2
Solved: sum up a fields
Views: 760
Posted By AUGXIS
my bad. thanks for the help. just too stupid of me not to see that part.
Forum: Visual Basic 4 / 5 / 6 Jul 21st, 2008
Replies: 2
Solved: sum up a fields
Views: 760
Posted By AUGXIS
hi guys,

i was trying to sum up all the balances of clients to know which of them has reach their credit limit but my codes are not working. It shows an error and highlights on this code

...
Forum: Visual Basic 4 / 5 / 6 Apr 28th, 2008
Replies: 2
Views: 4,084
Posted By AUGXIS
/please visit this site http://www.connectionstrings.com/default.aspx?
Forum: Visual Basic 4 / 5 / 6 Mar 28th, 2008
Replies: 5
Views: 2,653
Posted By AUGXIS
Dim strA As String
Dim strB As String
Dim strC As String
Dim lenstr As Integer
Dim I As Integer

lenstr = 0
strA = ""
strB = ""
strC = ""
Forum: Visual Basic 4 / 5 / 6 Mar 28th, 2008
Replies: 7
Views: 981
Posted By AUGXIS
why don't you try to disable all timer before you unload the form
Forum: Visual Basic 4 / 5 / 6 Mar 27th, 2008
Replies: 4
Views: 1,004
Posted By AUGXIS
Text1.Text = Format$(CDbl(Format$(Text1.Text, "#,###,##0.00")) + CDbl(Format$(Text2.Text, "#,###,##0.00")), "$###,##0.00")
Showing results 1 to 40 of 45

 


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

©2003 - 2009 DaniWeb® LLC