Type: Posts; User: WayneS
Search took 0.02 seconds.
November 14th, 2004, 09:46 AM
Set the ToolTipsText in the properties of the control.
November 1st, 2004, 10:34 PM
crlf is a 2 character set 13 and 10. using len(a)-1 only takes out the line feed but leaves in the carrage return. So use len(a)-2 to remove both the carrage return and the line feed. When you write...
November 1st, 2004, 10:04 PM
lIt's only a guess but the Join is adding a crlf to the end of your string and a crlf is added when saving the file. After your join statement try this.
that takes out the...
November 1st, 2004, 09:28 PM
It is a function of the print statement. Whether you are printing to a file or to a form each time you use a <,> in the statement a tab is sent out. However when printing to a file you need one <,>...
November 1st, 2004, 06:29 PM
Be sure to set your picturebox ScaleMode to Pixels.
Dim colour as Long
colour = Picture1.Point(X, Y)
x is your row coord. & y is your col. coord. Can be gotten from MouseDown event....
November 1st, 2004, 06:55 AM
In this line of code take out one of the commas in your print statement. You have
Open App.Path & "\Test.txt" For Output As #1
Print #1, , A
Open App.Path &...
November 1st, 2004, 05:55 AM
Don't use "On Error Resume Next". It could cause more problems.
Break up the line like this:
Dim x as Integer, Text as String
x=InStr(Text, " ")
If x=0 Then
Print #2, Text...
October 31st, 2004, 11:28 AM
Make sure the first line of code in your FormLoad is:
Some things dealing with graphics just don't work if the form is not showing.
October 30th, 2004, 10:16 AM
create a property on form2:
Public Property Let PrintStatement(ByVal strValue As String)
on form1 do:
Private Sub Command1_Click()
Dim x As Integer
October 30th, 2004, 07:06 AM
In the menu editor highlight the name (Yahoo in your example) and press the insert button. In the Caption box enter a single hyphen (-). Name it hyp1. Do same thing for each name you want a bar...
October 30th, 2004, 06:56 AM
If a space follows the last name then use.
October 29th, 2004, 10:09 AM
If you are running it from the IDE then goto File:AddProject to add a new project. In the window that lists the projects, forms, etc. right click on the new project name and select "Set as start up"....
October 29th, 2004, 06:47 AM
To stop a running app look at this site:
Unless you are doing some kind of system stuff (I don't like to put anything in the registery) put your program in...
October 29th, 2004, 06:34 AM
Sorry about that. I didn't read your post right.
If I get what you want to do is put text in a file that is on the disk.
The only way to do that is create a second file. Read data in and put in...
October 29th, 2004, 05:24 AM
Dim NewText As String
NewText = "New Text" & vbCrLf
Text1.Text = Left$(Text1.Text, Text1.SelStart) & NewText & Mid$(Text1.Text, Text1.SelStart + 1)
October 29th, 2004, 05:02 AM
The flickering is caused by painting to the screen while the screen is being refreshed. So you need to paint the picture very fast. The fastest way is using API BitBlt. Check out this tutorial at...
October 29th, 2004, 12:39 AM
Here is a quick usercontrol. Just compile it to an ocx and it will be in your componants list. Nothing fancy you can improve on it.
October 28th, 2004, 10:34 PM
The 75000 is not pixels. It is Twips. Click on your picturebox and look in properties for ScaleMode and click on the down arrow and choose 3-Pixels. This will give you your 5000 pixels.
October 28th, 2004, 06:39 PM
The problem is I don't have Access. Wish I did. Had to do it all with ADO and SQL.
October 28th, 2004, 08:27 AM
I'm new at database programing but don't you need the database name in:
October 28th, 2004, 08:05 AM
I already tried that but didn't work. I get a sql syntax error. I found out that if I made the primary key a long then it worked. Don't know why but it does.
Thanks for your reply,
October 27th, 2004, 07:04 PM
I am new to database programing and have this problem I can't find an answer to. This is the code I am using.
Set conData = New ADODB.Connection
April 2nd, 2004, 11:58 AM
I hadn't thought about that.
April 2nd, 2004, 11:52 AM
Thanks for your reply.
If richtext can capture the tab key then I will use it. Beats the other way I was going to do it.
April 2nd, 2004, 10:48 AM
I can't figure this out. I'm using a textbox (multiline). When I press the tab the focus changes to the next control. I know I can get the keypress but I have to insert it into the text....
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.