Search found 38 matches

by blackborg
Mon Nov 01, 2010 10:10 pm
Forum: TailBite
Topic: Error: "No file selected for PBCompiler"
Replies: 5
Views: 4375

Re: Error: "No file selected for PBCompiler"

Fixed it.. I need to put the full path and filename. "Use Current" doesn't do this..
by blackborg
Mon Nov 01, 2010 8:09 pm
Forum: TailBite
Topic: Error: "No file selected for PBCompiler"
Replies: 5
Views: 4375

Re: Error: "No file selected for PBCompiler"

Thanks.. I did both pick current and browse and I still get the message.. is it because it's open in PB?
by blackborg
Fri Oct 29, 2010 7:41 pm
Forum: TailBite
Topic: Error: "No file selected for PBCompiler"
Replies: 5
Views: 4375

Error: "No file selected for PBCompiler"

I am making my first lib with Tailbite ever.. can anyone tell me how to fix this error.. using TBManager.exe
by blackborg
Tue Oct 26, 2010 7:19 pm
Forum: Coding Questions
Topic: NetGetDCName_
Replies: 3
Views: 932

Re: NetGetDCName_

Thanks much.. the part I missed was the api expects a pointer to a pointer..

It works great now..
by blackborg
Tue Oct 26, 2010 6:32 pm
Forum: Coding Questions
Topic: NetGetDCName_
Replies: 3
Views: 932

NetGetDCName_

I feel like this should be easy.. but...

How can I read the name of the Domain Controller that's returned...

I get a result code that says the function succeeded..


mydc.s = Space(255)

rc.l = NetGetDCName_(0,0,@mydc)

PrintN("Did I get my DC? " + Str(rc))



but I have had no luck ...
by blackborg
Tue Sep 07, 2010 8:22 pm
Forum: Feature Requests and Wishlists
Topic: Integrated COM support would be wonderful!
Replies: 15
Views: 4037

Re: Integrated COM support would be wonderful!

I understand all of your points, but being a consumer, there are certain things I am simply to busy or too lazy to work out for myself -- some of those things may seem simple to you or to other more experienced programmers but they are not to me..

I like Purebasic and COMatePlus. Native COM ...
by blackborg
Tue Sep 07, 2010 7:24 pm
Forum: Feature Requests and Wishlists
Topic: Deprecate IncludeFile, IncludePath, CompilerIf etc...
Replies: 17
Views: 5012

Re: Deprecate IncludeFile, IncludePath, CompilerIf etc...

If you've really spent a good deal of time in the forums, you should recognize that Mr Gaman's comments were not really discourteous or aggressive. Rather, it's merely the way Mr Gaman expresses himself and is probably cultural, rather than directed at someone.

It may be his personal style, but I ...
by blackborg
Tue Sep 07, 2010 7:07 pm
Forum: Feature Requests and Wishlists
Topic: Integrated COM support would be wonderful!
Replies: 15
Views: 4037

Re: Integrated COM support would be wonderful!

Agreed.. native COM would be great..
by blackborg
Thu Jan 07, 2010 8:16 pm
Forum: Announcement
Topic: COMatePlus and Active Directory
Replies: 3
Views: 2484

COMatePlus and Active Directory

I am trying to perform a search of active directory and followed the example file.

this produces the message that the adodb.recordset object could not be created

Here is the code..

;/////////////////////////////////////////////////////////////////////////////////
;***COMate*** COM automation ...
by blackborg
Thu Jan 01, 2009 6:07 pm
Forum: Coding Questions
Topic: HTTP Post Help
Replies: 15
Views: 5394

Well Almost

I got jpgs to upload to my php server..

but posting a tar.gz file to a ruby/rails/tomcat server.. does anyone have a working example of how to put multiple strings and binary data into a memory buffer in a specific order in PB..

also.. for http protocol.. can someone explain to me since I'm a ...
by blackborg
Mon Dec 29, 2008 9:16 pm
Forum: Coding Questions
Topic: HTTP Post Help
Replies: 15
Views: 5394

It Worked

I checked on the server and it worked..

I had to use "Connection: closed" and pass the size of the file to Content-Length: <numbytes>..

worked like a charm.. many thanks..
by blackborg
Mon Dec 29, 2008 9:34 am
Forum: Coding Questions
Topic: HTTP Post Help
Replies: 15
Views: 5394

Really Great.. thank you..

I will keep inspecting it.. it works with a html form and live httpheaders.. I'm sure there's something simple and small I'm missing..

if there is other form data, the content-length refers to that file PLUS any other key/value/boundary info from the "form".. correct..

You've been really helpful ...
by blackborg
Mon Dec 29, 2008 12:21 am
Forum: Coding Questions
Topic: HTTP Post Help
Replies: 15
Views: 5394

The original code generated this return code

was Event: 2
HTTP/1.1 200 OK
Date: Sun, 28 Dec 2008 23:17:19 GMT
Server: Apache
Connection: close
Content-Type: text/html

Invalid file

"Invalid file" is echo'd by php.. so this part is working.. it's just that the file is not being uploaded and there is no data in $_POST or $_FILES?

After making ...
by blackborg
Sun Dec 28, 2008 11:46 pm
Forum: Coding Questions
Topic: HTTP Post Help
Replies: 15
Views: 5394

probably other errors..

I made the change you noted and this is the error response I got

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>400 Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
Your browser sent a request that this server could not understand.<P>
Request header field is missing ...
by blackborg
Sun Dec 28, 2008 11:23 pm
Forum: Coding Questions
Topic: HTTP Post Help
Replies: 15
Views: 5394

true.. I've been hacking on it for hours..

POST /upload_file.php HTTP/1.0
Host: www.snapcorp.com
Keep-Alive: 300
Connection: keep-alive
User-Agent: PlayLusting Sync 1.0

Content-type: multipart/form-data, boundary=aA7hhfk4
Content-Length: 5490
--aA7hhfk4
Content-Disposition: form-data; name="file"; filename="tall_seattle.jpg"
Content-Type ...