Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
server.mappath(path)in vb.net
Old 10-30-2009, 04:59 AM server.mappath(path)in vb.net
Junior Talker

Posts: 3
Trades: 0
Dim path As String
path = "test.bat"
Dim sw As System.IO.StreamWriter
Dim fi As System.IO.FileInfo
fi = New System.IO.FileInfo(Server.MapPath(path))
sw = fi.CreateText()
'The List Of Operations you want to execute.
sw.WriteLine("cd c:\\")
sw.WriteLine("md c:\\dummy")
sw.WriteLine("cd dummy")
sw.WriteLine("C:\\winJavaCoverage\\bin\\javacovera ge -F c:\\test.java")
sw.WriteLine("javac Pack\\Test.java")
sw.WriteLine("java Pack\\Test")
sw.Close()


pls help me.when i use thid code in my vb.net form it shows server.mappath is not declared.m not geting how to do that.please help me its so urgent
kokila1986 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-30-2009, 05:03 AM Re: server.mappath(path)in vb.net
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,516
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.webmaster-talk.com/net-pr...ppath-net.html
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-30-2009, 08:46 AM Re: server.mappath(path)in vb.net
Junior Talker

Posts: 3
Trades: 0
hey m still not geting nethng beneficial. i want the code in vb.net.
plz help me as how to use server.mappath in vb.net
kokila1986 is offline
Reply With Quote
View Public Profile
 
Old 10-30-2009, 09:12 AM Re: server.mappath(path)in vb.net
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,516
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
And did you go to this page?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-07-2009, 09:08 AM Re: server.mappath(path)in vb.net
Junior Talker

Posts: 3
Trades: 0
sir, i hve tried my best pls help me .

what r all the namespace and things i hve to use..
please tell me with the code.
kokila1986 is offline
Reply With Quote
View Public Profile
 
Old 11-09-2009, 09:16 PM
Banned

Posts: 1
Name: muslatfra
Trades: 0
can you help me?

i want the code in vb.net.

thanks
muslatfra is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to server.mappath(path)in vb.net
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.49682 seconds with 12 queries