Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 431 results for
vbtab
- Page 1
VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by cambalinho
… = VertDist Debug.Print VertDist &
vbTab
& "Draw Vertical" &
vbTab
& HorizDist &
vbTab
& "Horizontal line" … = HorizDist Debug.Print HorizDist &
vbTab
& " Draw Horizontal" &
vbTab
& VertDist &
vbTab
& "vertical line" …
Re: VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by cambalinho
… VertDist 'Debug.Print VertDist &
vbTab
& "Draw Vertical" &
vbTab
& HorizDist &
vbTab
& "Horizontal line"… HorizDist 'Debug.Print HorizDist &
vbTab
& " Draw Horizontal" &
vbTab
& VertDist &
vbTab
& "vertical line" …
Re: VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by rproffitt
For VertDist I would set a break on line 104 so I could examine the values in line 103. Also, could be a localization issue that the comma is used for the decimal point and the integer of the results might be 35 and 4548.
Re: VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by cambalinho
finally i found the problem is on these line: HorizDist = Sqr(((HorizX - Player.PosX) * (HorizX - Player.PosX)) + ((HorizY - Player.PosY) * (HorizY - Player.PosY))) 'works fine VertDist = Sqr(((VertX - Player.PosX)) * ((VertX - Player.PosX))) + (((VertY - Player.PosY)) * ((VertY - Player.PosY)))'calculation incorrect like …
Re: VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by cambalinho
not so easy :( WallDistance = WallDistance * Cos(Abs(RayRadians - Player.Radians)) 'avoiding the Fish Effect RayHeight = (ObjectSize / WallDistance) * 200 '320 is the width screen If (RayHeight > 200) Then RayHeight = 200 A.ForeColor vbBlue A.DrawLine 475 + 50 + RayCounts, 200 / 2 - …
Re: VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by cambalinho
i fix 1 error: ElseIf (KeyCode = vbKeyUp) Then If (LevelMap0(Fix((Player.PosY + Player.MoveY * Speed) / ObjectSize), Fix((Player.PosX + Player.MoveX * Speed) / ObjectSize)) <> vbBlue) Then 'and: ElseIf (KeyCode = vbKeyDown) Then If (LevelMap0(Fix((Player.PosY - Player.MoveY * Speed) / …
Re: VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by cambalinho
after several tests i fix it: Do While RayCounts < RayCount If (RayRadians > (2 * PI)) Then RayRadians = 0.001 i have more to update: 1 - win more performance\FPS; 2 - and trying avoid the 'on error resume next'(it's about the array dimensions): Private Sub DrawRays2() Dim AY As Double…
VbTab in Delphi?
Programming
Software Development
10 Years Ago
by schroaus
I have recently started programming in delphi, after programming in VB. Does anyone know if there is anything similar to
vbtab
in delphi? If not is there anyway that I can create a constant that works similar to
vbtab
?
Re: VbTab in Delphi?
Programming
Software Development
10 Years Ago
by ddanbe
I guess `Const
vbTab
= Chr(9);`
help! "too many lines continuations" error
Programming
Software Development
15 Years Ago
by nanawan
…() MSFlexGrid1.AddItem rekod!Name &
vbTab
& _ rekod!Gender &
vbTab
& _ rekod!Race &
vbTab
& _ rekod!Address &… rekod!Admission &
vbTab
& _ rekod!AdmissionDate &
vbTab
& _ rekod!Completion &
vbTab
& _ rekod!Roll &
vbTab
& _…
Updating selected listbox item
Programming
Software Development
15 Years Ago
by SHAWTY721
… highlight glbInput =
vbTab
& txtIndexNum &
vbTab
& txtName &
vbTab
& Val(txtMin) &
vbTab
& Val(txtMax) &
vbTab
& txtPLC …= Right(SelectedInput, Len(SelectedInput) - Count) Count = InStr(1, SelectedInput,
vbTab
) InputName = Left(SelectedInput, Count - 1) SelectedInput = Right(SelectedInput, Len(…
Re: Updating selected listbox item
Programming
Software Development
15 Years Ago
by aktharshaik
… Right(SelectedInput, Len(SelectedInput) - Count) Count = InStr(1, SelectedInput,
vbTab
) InputMin = Left(SelectedInput, Count - 1) 'RawMin SelectedInput = Right(SelectedInput…Right(SelectedInput, Len(SelectedInput) - Count) Count = InStr(1, SelectedInput,
vbTab
) InputPLC = Right(SelectedInput, Len(SelectedInput) - Count) 'Grouping 'Retrieving all…
Problem solving but it is basic
Programming
Software Development
13 Years Ago
by moragmac
….Items.Add("Pupil Name" &
vbTab
&
vbTab
& "Pupil Age" &
vbTab
&
vbTab
& "TotalScore" &…) &
vbTab
&
vbTab
& age(pupil) &
vbTab
&
vbTab
& totalscore(pupil) &
vbTab
&
vbTab
& decision(pupil) &
vbTab
&
vbTab
&
vbTab
&
vbTab
) If…
Excel Macro VBA
Programming
Software Development
13 Years Ago
by shena
…(iRow + 1, 2).Value &
vbTab
& ws.Cells(iRow + 1, 3).Value &
vbTab
_ & ws.Cells(iRow + 1…Cells(iRow + 1, 10).Value &
vbTab
& ws.Cells(iRow + 1, 11).Value &
vbTab
_ & ws.Cells(iRow + 1…Cells(iRow + 1, 14).Value &
vbTab
& ws.Cells(iRow + 1, 15).Value &
vbTab
_ & ws.Cells(iRow + 1…
Re: help! "too many lines continuations" error
Programming
Software Development
15 Years Ago
by selvaganapathy
Hi, Instead of specifying the field name use field index and a loop. For Example [CODE=VB] Dim sAdd as String Dim i as Integer For i = 0 To rekod.Fields.Count - 1 sAdd = rekod.Fields(i) &
vbTab
Next MSFlexGrid1.AddItem sAdd [/CODE] But it cannot be in order unless you specify the Fields order in SQL.
Index out of range exception problem
Programming
Software Development
10 Years Ago
by Nebil
… &
vbTab
&
vbTab
& subItem &
vbTab
&
vbTab
& " " & _ unit &
vbTab
&
vbTab
& … bridgeType &
vbTab
&
vbTab
& " " & span &
vbTab
& _ "" &
vbTab
& "…
XML in VB6
Programming
Software Development
15 Years Ago
by aadebayo
… newline + tab + tab. frag.appendChild dom.createTextNode(vbNewLine +
vbTab
+
vbTab
) frag.appendChild dom.createElement("subNode2") ' Add a newline… + tab + tab. frag.appendChild dom.createTextNode(vbNewLine +
vbTab
+
vbTab
) frag.appendChild dom.createElement("subNode3") ' Add a newline…
Appending Columns from Two txt files
Programming
Software Development
13 Years Ago
by drummy
…In edaLines Dim eleEDA() As Double = Array.ConvertAll(strEDA.Split(
vbTab
), Function(k) Double.Parse(k)) listEDA.Add(eleEDA) Next…In regressLines Dim eleRegress() As Double = Array.ConvertAll(strRgr.Split(
vbTab
), Function(k) Double.Parse(k)) listRegression.Add(eleRegress) Next…
Account Program
Programming
Software Development
12 Years Ago
by Alex_2011
…' Me.ListBoxDisplay.Items.Add(AllAccount.FirstName &
vbTab
&
vbTab
& AllAccount.LastName &
vbTab
& "Account # " &…Add(CurrentTransaction.TrasnactionType &
vbTab
&
vbTab
& CurrentTransaction.Amount &
vbTab
& CurrentTransaction.OldBal &
vbTab
& CurrentTransaction.TransDateType) Next…
updating recordss..pls help..
Programming
Software Development
15 Years Ago
by agent7
… msflex.AddItem rs!Schoolcode &
vbTab
& _ rs!SchoolName &
vbTab
& _ rs!ShortName &
vbTab
& _ rs!Address &…;
vbTab
& _ rs!Telephone &
vbTab
& _…
HELP!!!! Print Receipt
Programming
Software Development
13 Years Ago
by swathys
… Then prtStrArr(i) = vbCr & Space(LAlign) & strTime &
vbTab
& ": " & CurrentTranxTime : i += 1 Else prtStrArr…Then prtStrArr(i) = vbCr & Space(LAlign) & strBranch &
vbTab
&
vbTab
& ": " & StoreCity : i += 1 Else …
Loop to count frequency
Programming
Software Development
13 Years Ago
by emko
…End Select lstOutput.Items.Add("Salary Range: " &
vbTab
& "Salary Frequency") lstOutput.Items.Add("$300… - 399 : " &
vbTab
& SalesRange(1).ToString()) lstOutput.Items.Add("$400 - 499…
VB Code Problem
Programming
Software Development
12 Years Ago
by Alex_2011
…Text = TotalCost TextBoxBill.Text += OrderMenu(3).ItemName.ToString &
vbTab
&
vbTab
& OrderMenu(3).ItemCost.ToString & vbCrLf End Sub Private…Text = TotalCost TextBoxBill.Text += OrderMenu(5).ItemName.ToString &
vbTab
&
vbTab
& OrderMenu(5).ItemCost.ToString & vbCrLf End Sub …
Store & Display Names in An Array
Programming
Software Development
12 Years Ago
by Alex_2011
…;Last Name" &
vbTab
& "First Name" &
vbTab
& "Array Number" &
vbTab
& "Account"… &= MyStudents.LastName &
vbTab
&
vbTab
& MyStudents.FirstName &
vbTab
&
vbTab
& "Array Value" &
vbTab
& MyStudents.AccountNumber &…
new to vb.net
Programming
Software Development
17 Years Ago
by killingfloor
… ListBox.Items .Clear() .Add("Invoice Number: " &
vbTab
& Invoicenumber) .Add("") .Add("Name: "…Tax: " & FormatCurrency(SalesTax)) .Add("" &
vbTab
& "" & "----------------") .Add("Total…
Doing work on Collection Lists in ranges
Programming
Software Development
13 Years Ago
by drummy
… In lines Dim ele() As Double = Array.ConvertAll(str.Split(
vbTab
), Function(k) Double.Parse(k)) list.Add(ele) Next 'Output….WriteLine("Easting " &
vbTab
& "Northing " &
vbTab
& "Depth" &
vbTab
& "East Mean"…
Txt File Header / Footer removal
Programming
Software Development
12 Years Ago
by gowans07
….Text Print #1, CmbProduct.Text &
vbTab
&
vbTab
&
vbTab
& TxtQuantity.Text &
vbTab
&
vbTab
&
vbTab
; "£" & ProductCostEx Print #1…
Streamread problem I can't figure out
Programming
Software Development
9 Years Ago
by Killakia
…gradeListBox.Items.Add(
vbTab
&
vbTab
&
vbTab
& "Test 1" &
vbTab
& "…quot; & studentCount + 1 &
vbTab
For column = 0 To grades.GetUpperBound(1) output… &=
vbTab
& grades(studentCount, column) Next gradeListBox…
Edit open for random as #1
Programming
Software Development
9 Months Ago
by arcon
… List1.AddItem Datos.id &
vbTab
& Datos.nombre &
vbTab
& Datos.imagen End If…As String Dati = Split(List1.List(List1.ListIndex),
vbTab
) Text1.Text = Dati(0) txtNombre.Text = …
data search from msflexgrid
Programming
Software Development
15 Years Ago
by abu taher
…, "DD/MMM/YYYY") &
vbTab
& rst!Name &
vbTab
& rst!DIAGNOSIS &
vbTab
& rst!REMARKS MSFlexGrid.AddItem Student… ID &
vbTab
& rst!Student Name &
vbTab
& rst!Jamal &
vbTab
& rst!Roll No It…
1
2
3
8
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC