Here is a code snippet
URL$ = "https://filencdor.ondemand.sas.com/eNC3Web/"
SetCurrentDirectory("C:\SomeDir\SubDir\")
RP.l = RunProgram(URL$,"", GetCurrentDirectory(), #PB_Program_Open)
If RP
WaitProgram(RP)
CloseProgram(RP)
EndIf
End
This accesses a webpage that is designed to select and have ...
Search found 769 matches
- Wed Jan 12, 2022 2:13 am
- Forum: Coding Questions
- Topic: Need idea on setting a directory in the File Explorer
- Replies: 4
- Views: 1054
- Wed Jan 12, 2022 1:38 am
- Forum: General Discussion
- Topic: Windows 11 issue
- Replies: 9
- Views: 2105
Re: Windows 11 issue
Not resolved, but I believe the problem is with a third party DLL failing. I don't have a Windows 11 machine to test with on hand.
I have updated the code to PB 5.46 without any change in the action.
I have updated the code to PB 5.46 without any change in the action.
- Wed Jan 05, 2022 10:16 pm
- Forum: General Discussion
- Topic: Windows 11 issue
- Replies: 9
- Views: 2105
Windows 11 issue
I have a program installed on numerous Windows 10 Pro 64bit systems that runs perfectly. It has been around a long time, written in PB Version 5.31 (I know, way out of date but I don't fix what isn't broken).
One of those system was recently updated to Windows 11. Now that program will not save any ...
One of those system was recently updated to Windows 11. Now that program will not save any ...
- Tue Jan 16, 2018 5:09 pm
- Forum: Coding Questions
- Topic: How to change default...
- Replies: 3
- Views: 1976
Re: How to change default...
I have no control over which browser the user is utilizing.
But, the browser doesn't seem to matter. The accessed website opens a file browse to select the file to be uploaded.
I want to be able to set the directory where that browse window opens.
Thanks for your reply.
Terry
But, the browser doesn't seem to matter. The accessed website opens a file browse to select the file to be uploaded.
I want to be able to set the directory where that browse window opens.
Thanks for your reply.
Terry
- Tue Dec 12, 2017 10:24 pm
- Forum: Coding Questions
- Topic: How to change default...
- Replies: 3
- Views: 1976
How to change default...
I have a PB program that generated numerous .txt files that are to be upload to a web portal. These files are located in several directories.
Then the user logs into a web portal using a UserID and Password, clicks on a button, and the website opens a browse window to select the file(s) to be ...
Then the user logs into a web portal using a UserID and Password, clicks on a button, and the website opens a browse window to select the file(s) to be ...
- Mon Dec 05, 2016 11:08 pm
- Forum: Windows
- Topic: Advice needed
- Replies: 2
- Views: 2464
Advice needed
Is there a way to have a Windows system visible to the intra network but invisible to the internet?
I know, a little bit of a strange question. but, that is what it appears I need to do.
I need 5 systems to be able to map to a drive on a system that is visible only to the local area network. I ...
I know, a little bit of a strange question. but, that is what it appears I need to do.
I need 5 systems to be able to map to a drive on a system that is visible only to the local area network. I ...
- Thu Nov 10, 2016 8:06 pm
- Forum: Coding Questions
- Topic: Copy File/Directory with explorer [Resolved]
- Replies: 8
- Views: 3522
Re: Copy File/Directory with explorer [Resolved]
Unless you actually require the graphic display of the explorer doing the job...
Why not use the native PB command to copy/delete directories. Much faster in my testing without the GUI.
COPY
Result = CopyDirectory(SourceDirectory$, DestinationDirectory$, "", #PB_FileSystem_Recursive|#PB ...
Why not use the native PB command to copy/delete directories. Much faster in my testing without the GUI.
COPY
Result = CopyDirectory(SourceDirectory$, DestinationDirectory$, "", #PB_FileSystem_Recursive|#PB ...
- Tue Oct 25, 2016 4:16 pm
- Forum: Coding Questions
- Topic: 5.43 - ReceiveHTTPFile error
- Replies: 2
- Views: 1939
5.43 - ReceiveHTTPFile error
When the file to be received does not exist, Vs 5.4+ are returning a 1 (success) when it should return a 0 (failure).
Version up through 5.31 return a 0 if the requested file does not exist, as expected and described in the Help file.
Return value
Returns nonzero if the download was successful ...
Version up through 5.31 return a 0 if the requested file does not exist, as expected and described in the Help file.
Return value
Returns nonzero if the download was successful ...
- Thu Jan 30, 2014 10:25 pm
- Forum: Coding Questions
- Topic: How to grab data from non-owned window.
- Replies: 14
- Views: 3274
Re: How to grab data from non-owned window.
Check your PM. Let me know if you need more.
- Thu Jan 30, 2014 8:20 pm
- Forum: Coding Questions
- Topic: How to grab data from non-owned window.
- Replies: 14
- Views: 3274
Re: How to grab data from non-owned window.
I'm trying. But, all I get is the children from the screen that launched the one I'm trying to read.
Acts like there are none on this window at all, but there numerous fields on a scroll area.
Acts like there are none on this window at all, but there numerous fields on a scroll area.
- Thu Jan 30, 2014 6:14 pm
- Forum: Coding Questions
- Topic: How to grab data from non-owned window.
- Replies: 14
- Views: 3274
Re: How to grab data from non-owned window.
Thanks Sparkie! That code was a big help.
It helped me determine that these fields ARE NOT XEdit class at all.
They appear to be Static class, and if you click on the field it overlays it with an XEdit class control. That control then ALWAYS has the same handle and that was certainly confusing ...
It helped me determine that these fields ARE NOT XEdit class at all.
They appear to be Static class, and if you click on the field it overlays it with an XEdit class control. That control then ALWAYS has the same handle and that was certainly confusing ...
- Wed Jan 29, 2014 11:43 pm
- Forum: Coding Questions
- Topic: How to grab data from non-owned window.
- Replies: 14
- Views: 3274
Re: How to grab data from non-owned window.
Hi Sparkie. Good to see you are still around.
I may need your code. Right now I am trying to find the handle for these XEdit fields.
Not having much luck at the moment. Need to find something that will report it to me.
netmaestro suggested Greatis Windowse. That looked like it was going to do it ...
I may need your code. Right now I am trying to find the handle for these XEdit fields.
Not having much luck at the moment. Need to find something that will report it to me.
netmaestro suggested Greatis Windowse. That looked like it was going to do it ...
- Wed Jan 29, 2014 9:18 pm
- Forum: Coding Questions
- Topic: How to grab data from non-owned window.
- Replies: 14
- Views: 3274
Re: How to grab data from non-owned window.
Here is a screen capture of how the data looks on the non-owned screen that I need to grab the text from.

I'm not finding a way to do this so far.

I'm not finding a way to do this so far.
- Tue Jan 28, 2014 5:17 pm
- Forum: Coding Questions
- Topic: How to grab data from non-owned window.
- Replies: 14
- Views: 3274
Re: How to grab data from non-owned window.
Greatis Windowse reports
Class XEdit
on all of these fields.
Class XEdit
on all of these fields.
- Tue Jan 28, 2014 4:05 pm
- Forum: Coding Questions
- Topic: How to grab data from non-owned window.
- Replies: 14
- Views: 3274
Re: How to grab data from non-owned window.
Greatis Windowse does allow me to find each of these fields and reports the handle and control id of each of the lines. It even shows me the text in that control.
Now, I need to find a way to extract that over to a PureBasic program somehow. Probably some Windows API can help me?
Now, I need to find a way to extract that over to a PureBasic program somehow. Probably some Windows API can help me?