Click here to Skip to main content
15,920,217 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Mobile Application Pin
Dave Kreskowiak29-Feb-08 3:44
mveDave Kreskowiak29-Feb-08 3:44 
GeneralabControl Problem Pin
soniasan28-Feb-08 23:30
soniasan28-Feb-08 23:30 
GeneralRe: abControl Problem [modified] Pin
yogesh_kumar_agarwal28-Feb-08 23:34
yogesh_kumar_agarwal28-Feb-08 23:34 
Questionhow can i use values form one form to another in vb.net Pin
r_mohd28-Feb-08 22:24
r_mohd28-Feb-08 22:24 
AnswerRe: how can i use values form one form to another in vb.net Pin
yogesh_kumar_agarwal28-Feb-08 22:58
yogesh_kumar_agarwal28-Feb-08 22:58 
AnswerRe: how can i use values form one form to another in vb.net Pin
darkelv29-Feb-08 3:38
darkelv29-Feb-08 3:38 
AnswerRe: how can i use values form one form to another in vb.net Pin
tjskcp5-Mar-08 18:07
tjskcp5-Mar-08 18:07 
GeneralLighttpd & HTTPWEBREQUEST question Pin
Daniel Lopez28-Feb-08 17:35
Daniel Lopez28-Feb-08 17:35 
Hi there,

I was wondering if anyone was able to send a web request successfully to a lighttpd server. I am using RoR on the lighttpd side and when I send a request, I want the RoR code to save the request. If you're familiar with RoR, the code works fine in WEBrick. Is there something I'm missing? The final solution I would like is the .net app to communicate with the https portion of lighttpd.

RoR code:
def foo
if @testhash == params[:check]

@r= Timecard.new
@r.people_id = params[:id]
@r.card_id = params[:cd]
@r.day_in = checkinday
@r.time_in = checkin
@r.save
end
end

VB.net
Dim request As HttpWebRequest
System.Net.ServicePointManager.CertificatePolicy = New MyPolicy
request = CType(WebRequest.Create("http://127.0.0.1:3000/people/foo?"), HttpWebRequest)
request.ContentType = "application/x-www-form-urlencoded"
request.ContentLength = data.Length
request.Method = "POST"
request.AllowAutoRedirect = False
Dim requestStream As IO.Stream = request.GetRequestStream()
Dim postBytes As Byte() = Encoding.ASCII.GetBytes(data)
requestStream.Write(postBytes, 0, postBytes.Length)
requestStream.Flush()
requestStream.Close()


Thanks for your help everyone.

d
Questionmenu strip Pin
Tauseef A28-Feb-08 17:23
Tauseef A28-Feb-08 17:23 
GeneralRe: menu strip Pin
Xmen Real 28-Feb-08 17:38
professional Xmen Real 28-Feb-08 17:38 
Generalerror-cannot check the checkbox in datagrid after 2nd search Pin
Eunice (VB junior)28-Feb-08 14:51
Eunice (VB junior)28-Feb-08 14:51 
QuestionSave image in PostgresSQL DB Pin
nishkarsh_k28-Feb-08 8:56
nishkarsh_k28-Feb-08 8:56 
GeneralRe: Save image in PostgresSQL DB Pin
Christian Graus28-Feb-08 9:32
protectorChristian Graus28-Feb-08 9:32 
GeneralRe: Save image in PostgresSQL DB Pin
nishkarsh_k28-Feb-08 18:08
nishkarsh_k28-Feb-08 18:08 
GeneralRe: Save image in PostgresSQL DB Pin
Christian Graus28-Feb-08 18:29
protectorChristian Graus28-Feb-08 18:29 
QuestionNeed Help... Dial, Connect and Use a BBS in VB.Net Pin
Scyrious28-Feb-08 5:03
Scyrious28-Feb-08 5:03 
GeneralRe: Need Help... Dial, Connect and Use a BBS in VB.Net Pin
Christian Graus28-Feb-08 9:38
protectorChristian Graus28-Feb-08 9:38 
GeneralRe: Need Help... Dial, Connect and Use a BBS in VB.Net Pin
Scyrious29-Feb-08 3:12
Scyrious29-Feb-08 3:12 
QuestionAdd records to databound datagridview Pin
David Mujica28-Feb-08 4:40
David Mujica28-Feb-08 4:40 
GeneralRe: Add records to databound datagridview Pin
Dave Kreskowiak29-Feb-08 3:21
mveDave Kreskowiak29-Feb-08 3:21 
AnswerWorking now Pin
David Mujica29-Feb-08 9:39
David Mujica29-Feb-08 9:39 
QuestionAcessing certificate store of local system Pin
shinlang28-Feb-08 3:51
shinlang28-Feb-08 3:51 
GeneralRe: Acessing certificate store of local system Pin
Dave Kreskowiak29-Feb-08 3:27
mveDave Kreskowiak29-Feb-08 3:27 
GeneralCan't find appropriate control Pin
cstrader23228-Feb-08 3:32
cstrader23228-Feb-08 3:32 
GeneralRe: Can't find appropriate control Pin
Xmen Real 28-Feb-08 3:42
professional Xmen Real 28-Feb-08 3:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.