[RESOLVED] text1.text help
multi line textbox i wish to add <br> front of all text Quote: Private Sub Text21_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then ' The ENTER key. Text21.Text = "<br>" End If End Sub...
View ArticleNeed a piece of code optimized for my need!
I have 2 arrays. the first array holds the IDs to my sprites and the second array holds the IDs to my objects. and in the main loop, everything is Rendered this way: Code: '..................... For c...
View Article[RESOLVED] error type mismatch in query epression
im getting a error type mismatch when i try to get the history of a customer cant find exactly where is the mismatch this is my code Code: Dim strSQL As String Dim lngVal As Long lngVal =...
View ArticleGetCharABCWidthsI and GetCharWidthI
Anyone dealt with these API in VB6 and if so have declares and possibly small example?
View Article[RESOLVED] API help
Hi, I want to know how i can move an object on screen using the GetAsyncKeyState API. This is what i have so far, Code: If (GetAsyncKeyState(vbKeyRight) And &H8000) <> 0 Then 'move...
View ArticleContact List With Treeview
hi everyone. i wanna create a contact list with treeview, like Yahoo Messenger. how to add data n image to a treeview like this thanks in advance. am using vb6 Attached Images
View Article[RESOLVED] how to add a textbox to combobox
is there a way to add a text to a combobox? lets say i wright in the text 1234 and press add then i wanna see in the combobox 1234 tnx in advanced
View ArticleProgram crash when try to connect with Microsoft Sql Server 2008
:P I've a program in vb6 with connection to microsoft sql server 2008 database. I've checked the connection string, it seems to be ok but the program crash when try to connect. :/ i dont know what can...
View Articlecomparing list box to text
Im my program I have a list box containing selections made by the user. I need to compare these selections to lines in a text file and fill in the missing information. EX. the list box contains: side...
View Article[RESOLVED] syntax error
what is missing here?:confused: Code: CN.Execute "INSERT INTO Appointments (AppID, AppDate, AppTime, AppCust, AppHrDr, AppService, AppRemarks) VALUES (" & _ NewID & ", #" & _...
View ArticleObject Array filled with double arrays
Code: Public Function xXML(Filepath As String) As Object() Set objParser = CreateObject("Microsoft.XMLDOM") Set OCC = "OMICRON CONTROL Center" Dim xDoc As MSXML2.DOMDocument...
View Article[RESOLVED] Passing keystrokes to another window.
Hi, How do I pass keystrokes to another window? For example I need to fill up text boxes in another application.
View Article.vbs Check out sharepoint file, run macro, save, checkin
Good afternoon! Ive been working on this for what seems like hours. The title says it all. I'm trying to set up a VBScript to be ran by Scheduled Tasks. I need to open a file on Sharepoint, Run a...
View Articlehow to display the amount on top in mschart
is there a way to display the total amount on the top of the graph bar like this? Attached Images
View Article[RESOLVED] URL Traffic Source from VB6 Apps?
Hi Forums, I have a question and hopefully I can make it easy to understand: Can you somehow (in your program) leave some sort of "traffic source" information that tells you what brings you to a...
View ArticleAccess value of a specific Node
Hi there, I ve got a question. I need to search a XML Document for certain nodes and I m using the following Code(its just a part of the whole code): Code: For Each NodeLN In NodeListLN...
View Articlemsflexgrid not responding
Good day. I have this sub that is suppose to help me on populating my msflexgrid. I have tested this with the following records. 3 columns of 700 rows = populating ok 3 columns of 1000 rows = not...
View Article[RESOLVED] what is exactly ChrW function?
hello everyone so i have this question about the ChrW function let's say for example we do this char = ChrW(1584) then if we write the char variable in a file and we hex edit it we can see that the hex...
View Articlevb Ribbon Bar
how to insert command bar on Ribbon Bar like MS office Menu bar? Attached Images
View Article[RESOLVED] problem on mdiform and toolbar
I have this main form mdiform and I just knew that I cannot place a textbox or a label there to show any text messages of some sort that I want to display. Is there a way to place a textbox or label...
View Article