Search:
Type: Posts; User: PsuFan
Search:
Search took 0.04 seconds.
-
Try: Content-Type: text/html; charset=utf-8
https://www.w3.org/International/articles/http-charset/index
Edit: Make sure you use "content-type", I thought I saw your code with typo...
-
Yeah that is pretty weird to get binary between characters, unless it's marking some kind of color or font, but who uses color SMS. Are you sending or receiving messages? If you're sending, you...
-
.Open requires URL, NewStrSend can't be the URL and the post data...
.open("POST", "smsreply.ashx?user=*****&password=*****&ref=" & Ref, false)
.send("POST DATA HERE")
Also refer to HTTP...
-
Is there a way to cast a variable as a UDT without creating a variable?
This is pretty stupid:
Do While M.GUIQueue.Count > 0
Request = M.GUIQueue.Item(1)
Select Case TypeName(Request)...
-
Must load by default, because I have it loading as well. That and the MouseWheelFix...
-
I started getting this error when using VB6 on Windows 10. I'd like a fix if anyone knows one. It runs fine after that message, so its just an annoyance.
Windows 10 v1809, VB6 SP6, NO MSDN
-
I ended up using shared memory class / PostMessage(Form.hWnd, WM_CHAR, Asc("A"), 0&) / Private Sub Form_KeyPress(KeyAscii As Integer) for Async notifications. Seems to be pretty clean and doesn't...
-
Also for others trying, you cant use Schmidt's Form_Activate example with multiple forms, it executes multiple times. I couldn't get threading at startup, you will have to use one time timer to start...
-
I appreciate everyone chiming in here, thanks guys.
@ Schmidt, I did realize I forgot to change the alias. Nice catch, I didn't think it was going to fix anything. But it did, finally async...
-
***, EVEN POSTMESSAGE IS BLOCKING MY WORKER THREAD.... :mad:
What the heck am I doing wrong, all the documentation says these things run async, I can never get anything to run async between...
-
Elroy,
That's exactly what I WAS doing. I had a GUI ActiveX application and a Service application that did backend work. It relays information via Referenced COM. But it became a pain to debug...
-
Looks like you have to sub-class form in order to receive Send/PostMessage events. Should work well in combination with shared memory thread / recordset / shared memory address.
Private Sub...
-
Take VLC for example. I wasn't able to add it as a component, but I could add it as a reference, so I generated it at runtime.
Dim vlcControl As Object
Dim WithEvents vlcPlayer As...
-
What do we think about passing the main thread form hWnd to the worker thread and using SetTimer for async notification? LOL
It appears to be entering on the main ThreadID
PostMessage looks...
-
You can try and load via CreateObject. If you were able to add to components, you can also try adding to form at runtime.
-
You can try via inet directly or look into updating root security certificates...
http://www.vbforums.com/showthread.php?874449-Reading-data-from-WebAPI&p=5385615&viewfull=1#post5385615
Edit:...
-
Looks promising, do you have the dim for WM_ID_ASYNCH_METHOD, cant find it anywhere...
-
Cool, can I send custom messages? How do you receive them on main thread? That would eliminate timers checking for updates but would likely need to use your recordset solution or the extra thread...
-
I don't think that will work non-blocking either though. If I purposely block the main thread, and try and call a function from a worker thread to the main thread that does nothing, it blocks the...
-
Anyone know why when I RaiseEvents to other threads, it still happens synchronous?
https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-basic-6/aa261370(v%3dvs.60)
-
Mine installed fine without MSDN, Windows 10 1809.
-
I was wondering why it didn't start on my target computer... Thanks
-
Interesting, I didn't think to use sub main to activate form instead of class... How many threads does this use, 4?
Private Sub Form_Activate() 'use this instead of Form_Load, in case you want...
-
Thanks for all the help. Sorry for all the questions, some of this stuff is barely English to me lol. So you're recommending the threaded data class? How (well) does a three threaded app run on a...
-
I was running Ax-EXE threading. How do I know if I am multi-process-mode?
Why does the data module need its own thread? If the two threads have access to the same memory locations, cant they just...
-
How do you use safe array in VB6? I do already want to pass mainly UDTs. Otherwise I will look into the recordset solution.
Edit: I was considering a data only class but it seemed overkill and...
-
@ Peekay, where's the post data? Is this just a GET request?
data = PostInfo("budgetmessaging.com", "/smsreply.ashx?user=*****&password=*****&ref=" & Ref, "WHERE_IS_POST=DATA?")
@ wqweto, no...
-
@ Zvoni, I have referenced the objects. Problem is as soon as one accesses the other, it deadlocks until the thread accessed is finished. Yes, the main thread has its own apartment, and the...
-
Well I guess it could be a little more native. I wish you could use global variables, however global variables are NOT common between threads. VB calls Sub Main again so that you can reload global...
-
There are more simple one line methods that download a file that you have to read. But I prefer loading direct to string:
data = PostInfo("server.com", "/?action=page", "user=hello")
...
-
Yes, it does exist. VB6 supports native multi-threading (proof)
I am trying to communicate between threads, but if thread A is busy and thread B tries to update thread A, thread B gets locked up...
-
I installed SP6 without MSDN simply by running (and clicking repair):
C:\Program Files (x86)\Microsoft Visual Studio\Common\Setup\1033\SETUP.EXE
-
Yes it does, did you use the file:// if local? The m3u8 was a skipping a little for me however.
-
Nanni, hmm yes you are right, that does work. I definitely tried that before and it didn't work.. don't know what was wrong. Both file:// and file:/// work.
Thanks!
-
@si_the_geek, yeah I figured that out when I came back to post again and had access to edit. Not the standard to have limited permissions but I can certainly understand the spam problems. I probably...
-
Is it free? In reference to the website being stupid, it was not meant to reflect the people that use this site. I was referring to the functionality of this website. It didn't let me edit my posts,...
-
Cant edit my post, this website is stupid. Now it lets me edit posts.
-
I finally solved this the real way, with real code. Sorry I'm late to the party, but since VLC isn't going to fix this problem... This works with the latest VLC as of writing: 2.2.1.
This code...
|
Click Here to Expand Forum to Full Width
|