Doesn't work on my computer.
Http error.
I am completely newbie and I would like to use this on my 4.51 demo too. Please help.
Search found 8 matches
- Mon Jan 09, 2012 6:12 pm
- Forum: Tricks 'n' Tips
- Topic: [Crossplatform] HTTP GET / Download *without API !*
- Replies: 32
- Views: 33481
- Fri Dec 23, 2011 4:14 pm
- Forum: Coding Questions
- Topic: How can I read a webpage (url) to a variable?
- Replies: 1
- Views: 656
How can I read a webpage (url) to a variable?
Hi ,
I know I can use ReceiveHTTPFile but is there a faster, more direct way?
Sorry to ask questions that may seem obvious to experienced users. I checked the winapi but there are too many and I don't know which one to use.
Thank you!
I know I can use ReceiveHTTPFile but is there a faster, more direct way?
Sorry to ask questions that may seem obvious to experienced users. I checked the winapi but there are too many and I don't know which one to use.
Thank you!
- Tue Dec 20, 2011 4:37 pm
- Forum: Tricks 'n' Tips
- Topic: Get system folder location...
- Replies: 13
- Views: 7176
- Sun Dec 18, 2011 9:10 pm
- Forum: Coding Questions
- Topic: How can I get caret position under Microsoft Word
- Replies: 5
- Views: 4304
Re: How can I get caret position under Microsoft Word
Private Declare Function HideCaret Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function ShowCaret Lib "user32" (ByVal hwnd As Long) As Long Private Sub Text1_GotFocus() 'MsgBox Text1.hwnd HideCaret Text1.hwnd End Sub The above code works! So it seems that if we can...
- Sun Dec 18, 2011 7:48 pm
- Forum: Coding Questions
- Topic: How can I get caret position under Microsoft Word
- Replies: 5
- Views: 4304
Re: How can I get caret position under Microsoft Word
Hi everyone, I searched and found that HideCaret and ShowCaret will work if WndProc is overwritten. Otherwise they will return an error of "5: access denied." I found two examples in VB.net and C#. Can anybody help make HideCaret and ShowCaret work using PB? Dallas Public Class MyTextBox I...
- Sun Dec 18, 2011 7:08 pm
- Forum: Coding Questions
- Topic: How can I get caret position under Microsoft Word
- Replies: 5
- Views: 4304
Re: How can I get caret position under Microsoft Word
I am thinking maybe MS Word hides the blinking cursor when some text is selected for cosmetic reasons. If I can use API to show the hidden cursor and then use GetCursorPos to get the position... On Ms API page I found these APIs. Can anybody make at least "ShowCaret" work? Thanks again! Da...
- Sun Dec 18, 2011 7:02 pm
- Forum: Coding Questions
- Topic: How can I get caret position under Microsoft Word
- Replies: 5
- Views: 4304
Re: How can I get caret position under Microsoft Word
Thank you for answering Kiffi. I tried to use the api under Autohotkey:-) I am coding a commercial program that sells quite nicely and I have been looking for a tool that I can use to write dlls and I found it here! If I can solve this caret issue with PB I will buy a copy immediately. It seems quit...
- Sun Dec 18, 2011 6:09 pm
- Forum: Coding Questions
- Topic: How can I get caret position under Microsoft Word
- Replies: 5
- Views: 4304
How can I get caret position under Microsoft Word
Aloha wonderful PureBasic people, I am a Autohotkey user and I am having trouble getting the caret position (the typing position) under Microsoft Word when some text is selected. The funny thing is that unlike in other Word processing programs, the caret stops blinking when you select some text unde...