![]() | ![]() | ![]() |
| |||||||
| Forums | Register | Groups | Awards | Arcade | Pets | T-Bucks / T-Store | Invite Your Friends | Blogs | Mark Forums Read |
| Web Design Forums and discussions on webdesign |
Web Design | |||||||||
|
|
|
|
| |||||
![]() |
| | LinkBack | Thread Tools |
| | #2 (permalink) |
| Civilians | John wrote: > Hi > > Is itc the only option if one needs to post to a web site from within > access? I am looking for something better if there is such a thing. Sure, don't mess with that control and instead use the WinInet API directly. Much easier to distribute. Search on "WinInet API". You are advised that it isn't good etiquette to cross-post to all these groups. Pick the most appropriate one or two; the first two in your list was sufficient. -- '--------------- 'John Mishefske '--------------- |
|
| | #3 (permalink) |
| Civilians | Thanks for that. I have searched but have not found an example to post to a url from behind an isa 2000 server. Any idea where I can find an example? Thanks Regards "John Mishefske" <mishejNEGATIVE@JUNKtds.net> wrote in message news:429d02ec$1_1@newspeer2.tds.net... > John wrote: >> Hi >> >> Is itc the only option if one needs to post to a web site from within >> access? I am looking for something better if there is such a thing. > > Sure, don't mess with that control and instead use the WinInet API > directly. Much easier to distribute. Search on "WinInet API". > > You are advised that it isn't good etiquette to cross-post to all these > groups. Pick the most appropriate one or two; the first two in your list > was sufficient. > > -- > '--------------- > 'John Mishefske > '--------------- |
|
| | #4 (permalink) |
| Civilians | John wrote: > Thanks for that. I have searched but have not found an example to post to a > url from behind an isa 2000 server. Any idea where I can find an example? Here's a couple of sites: http://www.codeproject.com/internet/...httpclient.asp http://www.developerfusion.com/show/3272/3/ -- '--------------- 'John Mishefske '--------------- |
|
| | #5 (permalink) |
| Civilians | This is all .net stuff and none of it relates to vba/access as far as I can see. Regards "John Mishefske" <mishejNEGATIVE@JUNKtds.net> wrote in message news:429d507f$1_3@newspeer2.tds.net... > John wrote: >> Thanks for that. I have searched but have not found an example to post to >> a url from behind an isa 2000 server. Any idea where I can find an >> example? > > > Here's a couple of sites: > > http://www.codeproject.com/internet/...httpclient.asp > http://www.developerfusion.com/show/3272/3/ > > -- > '--------------- > 'John Mishefske > '--------------- |
|
| | #6 (permalink) |
| Civilians | John wrote: > I just need to post some data to a url. Are there any code examples > somewhere? Dim oHttpPost As Object Dim POSTData As String Set oHttpPost = CreateObject("Microsoft.XMLHTTP") oHttpPost.Open "POST", "Your URL", False oHttpPost.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" POSTData = "RequestType=SAMPLE_POST" & _ "&Field1= " & Variable1 & _ "&Field2=" & Variable2 & _ "&Field3=" & Variable3 & _ "&Field4=" & Variable4 & _ "&Field5=" & Variable5 oHttpPost.Send (POSTData ) -- I don't check the Email account attached to this message. Send instead to... RBrandt at Hunter dot com |
|
| | #7 (permalink) |
| Civilians | Hi Rick Many thanks for that. Any way to get the return data from site (itc equivalent GetChunk) and any error code (itc ResponseCode)? Thanks Regards "Rick Brandt" <rickbrandt2@hotmail.com> wrote in message news:dyine.1170$JQ6.530@newssvr11.news.prodigy.com ... > John wrote: >> I just need to post some data to a url. Are there any code examples >> somewhere? > > > Dim oHttpPost As Object > Dim POSTData As String > > Set oHttpPost = CreateObject("Microsoft.XMLHTTP") > oHttpPost.Open "POST", "Your URL", False > oHttpPost.setRequestHeader "Content-Type", > "application/x-www-form-urlencoded" > > POSTData = "RequestType=SAMPLE_POST" & _ > "&Field1= " & Variable1 & _ > "&Field2=" & Variable2 & _ > "&Field3=" & Variable3 & _ > "&Field4=" & Variable4 & _ > "&Field5=" & Variable5 > > oHttpPost.Send (POSTData ) > > -- > I don't check the Email account attached > to this message. Send instead to... > RBrandt at Hunter dot com > > |
|
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A Monroe Doctrine for Control of the Internet | Woodmonkey | Point/Counterpoint | 3 | 11-14-2005 20:44 |
| Should the UN Control the Internet? | Woodmonkey | Point/Counterpoint | 10 | 11-13-2005 18:00 |
| MS Internet Transfer Control | John | Web Design | 1 | 12-04-2004 07:00 |
| Transfer of Detainee Control Completed | DoD News | DOD News Services | 0 | 10-11-2004 22:00 |
| Control Cell Link for Option Button based on value in a cell | arunjoshi | Microsoft Applications | 1 | 06-16-2004 02:20 |
![]() | ![]() | ![]() |