You're not a jerk. You're just lazy! And that is certainly something that
can be remedied. I have been working on parsing Digital Elevation Models and
GeoTiffs, for rendering real-time GPS-driven 3-D terrain and situational
awareness information for small aircraft pilots for about 6 months now. I've
had to teach myself DirectX, Indigo, parsing binary image file formats, and
a good bit of geography, trigonomentry, and a smattering of calculus. Most
of this is stuff that almost nobody else is doing. You know how I solved my
problems? Research. My Home Page is Google.
I will give you one last piece of help:
http://www.microsoft.com/downloads/d...displaylang=en
That is the FREE Microsoft .Net SDK, which you can download and use to your
heart's content. That is where I spend the second-most amount of my research
time.
From time to time, I do ask somebody for help. What I get is generally a
shove in the right direction, and I take it from there. That's all anyone
should need.
I will probably get clobbered (again) for doing this, but if I didn't feel
it was truly in your best interest I wouldn't do it.
Good luck!
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
"CHIN@KD" <racingnet_ac@yahoo.com.ar> wrote in message
news:OUbRs$WBFHA.2876@TK2MSFTNGP12.phx.gbl...[color=blue]
> Sorry , i m a jerk, in know..
>
> i m newbbie at .NET and i have to do it for yesterday... lol..
>
> ok, so i have to create the WebClient object, get the URL , log in that
> page
> ( i think just do the post to the ACTION on the login form ), and then
> post
> the file..
>
> right??
>
> thnx again !!
>
>
> "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
> news:ewejnVWBFHA.608@TK2MSFTNGP15.phx.gbl...[color=green]
>> I'm not following you. The Windows Form that you embed in the page
>> doesn't
>> need to do anything with the WebForm it resides in. It just has to
>> display
>> the dialog box, create the WebClient, and send it to its destination. If
>> a
>> POST request is needed, the WebClient can do a POST.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> Neither a follower nor a lender be.
>>
>> "CHIN@KD" <racingnet_ac@yahoo.com.ar> wrote in message
>> news:eTm5lTWBFHA.4008@tk2msftngp13.phx.gbl...[color=darkred]
>> > Yes, i just try to acces a page with System.Net.Webclient , simple..
>> > and
>> > done...
>> > i have to login on the site frist.. so i imagine that i have to put a
>> > webcontrol ( in VB6 was that name ) and navigate it right?
>> >
>> > and i have to post the user and the pass to the ACTION of the form ..
>> > right?
>> >
>> > m i on the zone?? lol
>> >
>> > tnx
>> >
>> > "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
>> > news:esE#6LWBFHA.2112@TK2MSFTNGP14.phx.gbl...
>> >> Yes, if you use it in an embedded .Net Windows Form in the page.
>> >>
>> >> --
>> >> HTH,
>> >>
>> >> Kevin Spencer
>> >> Microsoft MVP
>> >> .Net Developer
>> >> Neither a follower nor a lender be.
>> >>
>> >> "CHIN@KD" <racingnet_ac@yahoo.com.ar> wrote in message
>> >> news:OuXAxAWBFHA.2568@TK2MSFTNGP10.phx.gbl...
>> >> > Tnx Kevin... i can install framework on the client, but i have to[/color][/color]
> post[color=green][color=darkred]
>> > the
>> >> > file to the https url , it is possible with System.Net.Webclient ?
>> >> >
>> >> >
>> >> > "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
>> >> > news:uV8fveVBFHA.1292@TK2MSFTNGP10.phx.gbl...
>> >> >> > System.Net.WebClient is used client side (NOT server side). It's
>> >> >> > purpose
>> >> >> > is
>> >> >> > to upload (POST) a file to a particular page. This is done client
>> >> > side...
>> >> >>
>> >> >> I'm afraid that's just not true, Patrice. System.Net.WebClient is[/color][/color]
> used[color=green][color=darkred]
>> >> >> server-side in an ASP.Net application. It acts like a browser,[/color][/color]
> sending[color=green][color=darkred]
>> >> > HTTP
>> >> >> requests, and receiving HTTP responses. The HTML input type=file[/color][/color]
> form[color=green][color=darkred]
>> >> >> element is used for uploading files on the client. The server-side
>> >> >> ASP.Net
>> >> >> Control that creates the file upload form field on the client is
>> >> >> System.Web.UI.HtmlControls.HtmlInputFile.
>> >> >>
>> >> >> --
>> >> >> HTH,
>> >> >>
>> >> >> Kevin Spencer
>> >> >> Microsoft MVP
>> >> >> .Net Developer
>> >> >> Neither a follower nor a lender be.
>> >> >>
>> >> >> "Patrice" <nobody@nowhere.com> wrote in message
>> >> >> news:%23wptx%23UBFHA.1260@TK2MSFTNGP12.phx.gbl...
>> >> >> > System.Net.WebClient is used client side (NOT server side). It's
>> >> >> > purpose
>> >> >> > is
>> >> >> > to upload (POST) a file to a particular page. This is done client
>> >> > side...
>> >> >> >
>> >> >> > It should work. Check the documentation for this class and give
>> >> >> > it[/color][/color]
> a[color=green][color=darkred]
>> >> >> > try...
>> >> >> >
>> >> >> > Patrice
>> >> >> >
>> >> >> > --
>> >> >> >
>> >> >> > "CHIN@KD" <racingnet_ac@yahoo.com.ar> a écrit dans le message de
>> >> >> > news:%23APxf5UBFHA.3236@TK2MSFTNGP15.phx.gbl...
>> >> >> >> I have to do a batch process that replaces a guy and his clicks[/color][/color]
> ..[color=green][color=darkred]
>> > lol
>> >> >> >>
>> >> >> >> there is no way to change or access the remote side code.. and
>> >> >> >> no
>> >> >> >> other
>> >> >> > way
>> >> >> >> to do that loggin the page and posting the file..
>> >> >> >>
>> >> >> >> the page is like hotmail, u log in.. select New Mail.. attach a
>> >> >> >> file
>> >> >> >> ..
>> >> >> > and
>> >> >> >> then have to select the file... with System.Net.WebClient, can i
>> > emule
>> >> >> >> all
>> >> >> >> that? .. is possible the website knows if the file comes from
>> >> >> >> System.Net.WebClient or from their form ?
>> >> >> >>
>> >> >> >> sorry for my english :p i m posting in japanesse groups !!! lol
>> >> >> >>
>> >> >> >> Thnx
>> >> >> >>
>> >> >> >>
>> >> >> >> "Patrice" <nobody@nowhere.com> wrote in message
>> >> >> >> news:#43SvwUBFHA.136@TK2MSFTNGP14.phx.gbl...
>> >> >> >> > I'm not sure to have the whole picture. If I understood you
>> >> >> >> > are
>> >> >> >> > using
>> >> > a
>> >> >> >> web
>> >> >> >> > app that let's you upload a file. Instead of doing this[/color][/color]
> yourself[color=green][color=darkred]
>> > you
>> >> >> > would
>> >> >> >> > like to have an app doing this for you ?
>> >> >> >> >
>> >> >> >> > You have nothing to change or do server side. You'll have a
>> >> >> >> > client
>> >> > side
>> >> >> >> .NET
>> >> >> >> > app that uses System.Net.WebClient to post a file to the
>> >> >> >> > server
>> > side
>> >> >> > page.
>> >> >> >> > You could also ask them for possible alternate methods (they[/color][/color]
> may[color=green][color=darkred]
>> >> >> >> > have
>> >> >> > FTP
>> >> >> >> > access ?)
>> >> >> >> >
>> >> >> >> > Patrice
>> >> >> >> > --
>> >> >> >> >
>> >> >> >> > "CHIN@KD" <racingnet_ac@yahoo.com.ar> a écrit dans le message[/color][/color]
> de[color=green][color=darkred]
>> >> >> >> > news:ecqqtZUBFHA.1328@TK2MSFTNGP10.phx.gbl...
>> >> >> >> > > Thanx Patrice !!!
>> >> >> >> > >
>> >> >> >> > > But this app works on the Client.. and i dont have access to
>> >> >> >> > > the
>> >
>> >> >> > server
>> >> >> >> > > site... so.. i only can navigate their site and find out how[/color][/color]
> to[color=green][color=darkred]
>> >> >> >> > > put
>> >> >> > the
>> >> >> >> > path
>> >> >> >> > > on the file control !!!
>> >> >> >> > >
>> >> >> >> > > "Patrice" <nobody@nowhere.com> wrote in message
>> >> >> >> > > news:uBmlhRUBFHA.2076@TK2MSFTNGP15.phx.gbl...
>> >> >> >> > > > System.Net.WebClient allows to upload a file to particular
>> > page.
>> >> >> >> > > > See
>> >> >> >> the
>> >> >> >> > > SDK
>> >> >> >> > > > documentation for a sample.
>> >> >> >> > > >
>> >> >> >> > > > Patrice
>> >> >> >> > > >
>> >> >> >> > > >
>> >> >> >> > > > --
>> >> >> >> > > >
>> >> >> >> > > > "CHIN@KD" <racingnet_ac@yahoo.com.ar> a écrit dans le[/color][/color]
> message[color=green][color=darkred]
>> > de
>> >> >> >> > > > news:uVzukOUBFHA.3644@TK2MSFTNGP15.phx.gbl...
>> >> >> >> > > > > Hi all.. here s my problem ( maybe some of you saw me on
>> > other
>> >> >> >> groups,
>> >> >> >> > > but
>> >> >> >> > > > i
>> >> >> >> > > > > cant find the solution !! )
>> >> >> >> > > > >
>> >> >> >> > > > >
>> >> >> >> > > > > I have to upload a file to an external site, so, i made
>> >> >> >> > > > > a
>> > .vbs
>> >> >> > file
>> >> >> >> ,
>> >> >> >> > > that
>> >> >> >> > > > > logins to the site, and then i have to select the file
>> >> >> >> > > > > to
>> >> >> >> > > > > upload..
>> >> >> > i
>> >> >> >> > > used
>> >> >> >> > > > > sendkeys.. and i worked perfect.. BUT ... the computer[/color][/color]
> must[color=green][color=darkred]
>> > be
>> >> >> >> locked
>> >> >> >> > > for
>> >> >> >> > > > > security ( obviusly ) reazons.. so..i think this
>> >> >> >> > > > > probable
>> >> >> > solutions
>> >> >> >> to
>> >> >> >> > > > > unlock the computer and run the application .. or find
>> >> >> >> > > > > another way to fill the FILE control on that site...
>> >> >> >> > > > >
>> >> >> >> > > > > - I read some groups, and i found a SendMessage()
>> >> >> >> > > > > function,
>> >> > that
>> >> >> >> > sends
>> >> >> >> > > > > characters to an especific application, but dont know[/color][/color]
> wich[color=green][color=darkred]
>> >> >> > language
>> >> >> >> is
>> >> >> >> > > > it...
>> >> >> >> > > > > and if it runs on a locked computer.
>> >> >> >> > > > > - I can do the click on BROWSE button, but how can i
>> >> >> >> > > > > select
>> > a
>> >> >> > file
>> >> >> >> on
>> >> >> >> > > the
>> >> >> >> > > > > browse window ? ( without using SENDKEYS ) .. i can do a
>> >> >> >> > > > > VB6
>> >> >> >> > application
>> >> >> >> > > > > that runs the URL in a webcontrol, but cannot acces to[/color][/color]
> that[color=green][color=darkred]
>> >> >> > BROWSER
>> >> >> >> > > window
>> >> >> >> > > > > right?
>> >> >> >> > > > > - Is there any browser with the security bug that i can
>> > write
>> >> > in
>> >> >> >> the
>> >> >> >> > > > VALUE
>> >> >> >> > > > > property of the FILE control?? or is anyway to set that
>> >> > security
>> >> >> > on
>> >> >> >> > > > > IExplorer?
>> >> >> >> > > > > - .NET .... is there anyway to do this in .NET (ASP.NET[/color][/color]
> or[color=green][color=darkred]
>> >> >> > VB.NET)
>> >> >> >> ?
>> >> >> >> > i
>> >> >> >> > > m
>> >> >> >> > > > > begginer but if it could be possible.. i learn .NET in[/color][/color]
> one[color=green][color=darkred]
>> >> >> >> > > > > hour
>> >> >> >> > > > > !!
>> >> >> >> > lol..
>> >> >> >> > > > >
>> >> >> >> > > > >
>> >> >> >> > > > > Any idea would be really help here..
>> >> >> >> > > > >
>> >> >> >> > > > > Thank you all.
>> >> >> >> > > > >
>> >> >> >> > > > > --
>> >> >> >> > > > > CHIN@KD
>> >> >> >> > > > >
www.racingclub.com.ar
>> >> >> >> > > > >
>> >> >> >> > > > >
>> >> >> >> > > > >
>> >> >> >> > > >
>> >> >> >> > > >
>> >> >> >> > >
>> >> >> >> > >
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >[/color]
>>
>>[/color]
>
>[/color]