Click here to Skip to main content
15,912,756 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionWindow Service doesn't run continously using vb 2005 Pin
CARisk319-Sep-08 11:20
CARisk319-Sep-08 11:20 
AnswerRe: Window Service doesn't run continously using vb 2005 Pin
Dave Kreskowiak20-Sep-08 7:57
mveDave Kreskowiak20-Sep-08 7:57 
GeneralRe: Window Service doesn't run continously using vb 2005 Pin
CARisk38-Oct-08 6:24
CARisk38-Oct-08 6:24 
GeneralRe: Window Service doesn't run continously using vb 2005 Pin
Dave Kreskowiak8-Oct-08 12:22
mveDave Kreskowiak8-Oct-08 12:22 
GeneralRe: Window Service doesn't run continously using vb 2005 Pin
CARisk38-Oct-08 12:37
CARisk38-Oct-08 12:37 
GeneralRe: Window Service doesn't run continously using vb 2005 Pin
Dave Kreskowiak8-Oct-08 15:12
mveDave Kreskowiak8-Oct-08 15:12 
GeneralRe: Window Service doesn't run continously using vb 2005 Pin
CARisk39-Oct-08 4:06
CARisk39-Oct-08 4:06 
QuestionVisual Studio 2008 Web Deployment - error writing file Pin
cab319-Sep-08 8:48
cab319-Sep-08 8:48 
I used VS 2008 to develop and deploy a small VB web project. The sample app has two buttons. One button will create a xml file and the other button will create a text file, see code below. Unfortunately, when I press either button on the web page, I get an “HTTP Error 404 - File or directory not found.”.

Any ideas on what the problem might be. The project works as advertised locally. By the way, how does VS (using a WEB project) handle calls to local drives? Let’s say that I am placing a file in the folder located at “C:\customers”. Does that translate to web, meaning the www.root folder?


        Dim xmlFileName As String = "SampleWebApplication.xml" 'ensure each session is unique<br />
<br />
        Using writer As XmlWriter = XmlWriter.Create(xmlFileName, settings)<br />
            writer.WriteStartDocument()<br />
<br />
            writer.WriteStartElement("Application")<br />
<br />
            writer.WriteStartElement("Accept_Date")<br />
            writer.WriteValue(Date.Now())<br />
            writer.WriteEndElement()<br />
<br />
            writer.WriteEndDocument()<br />
<br />
            writer.Flush()



Using sw As StreamWriter = New StreamWriter("TestFile.txt")<br />
    sw.WriteLine("This is a test")<br />
    sw.WriteLine(DateTime.Now)<br />
    sw.Close()


cab3

AnswerRe: Visual Studio 2008 Web Deployment - error writing file Pin
Dave Kreskowiak20-Sep-08 7:54
mveDave Kreskowiak20-Sep-08 7:54 
GeneralRe: Visual Studio 2008 Web Deployment - error writing file Pin
cab322-Sep-08 13:04
cab322-Sep-08 13:04 
QuestionVB 6 .0 setup merage crystal report 8.0 Pin
Bhim Prakash Singh19-Sep-08 5:52
Bhim Prakash Singh19-Sep-08 5:52 
AnswerRe: VB 6 .0 setup merage crystal report 8.0 Pin
Dave Kreskowiak19-Sep-08 7:50
mveDave Kreskowiak19-Sep-08 7:50 
AnswerRe: VB 6 .0 setup merage crystal report 8.0 Pin
Ashfield19-Sep-08 8:59
Ashfield19-Sep-08 8:59 
AnswerRe: VB 6 .0 setup merage crystal report 8.0 Pin
Paul Conrad19-Sep-08 10:19
professionalPaul Conrad19-Sep-08 10:19 
QuestionGetting Company Name in VB.net Pin
Gagan.2019-Sep-08 5:44
Gagan.2019-Sep-08 5:44 
AnswerRe: Getting Company Name in VB.net Pin
jzonthemtn19-Sep-08 7:07
jzonthemtn19-Sep-08 7:07 
GeneralRe: Getting Company Name in VB.net Pin
Gagan.2020-Sep-08 4:19
Gagan.2020-Sep-08 4:19 
QuestionVB.net Graphics Pin
Gagan.2019-Sep-08 5:41
Gagan.2019-Sep-08 5:41 
AnswerRe: VB.net Graphics Pin
Dave Kreskowiak19-Sep-08 7:48
mveDave Kreskowiak19-Sep-08 7:48 
GeneralRe: VB.net Graphics Pin
Gagan.2020-Sep-08 4:22
Gagan.2020-Sep-08 4:22 
GeneralRe: VB.net Graphics Pin
Caio Kinzel Filho21-Sep-08 7:59
Caio Kinzel Filho21-Sep-08 7:59 
QuestionMultithreading help Pin
Cory Kimble19-Sep-08 5:12
Cory Kimble19-Sep-08 5:12 
AnswerRe: Multithreading help Pin
User 81152324-Sep-08 18:50
User 81152324-Sep-08 18:50 
QuestionProblem with Modal Form Pin
pdnet19-Sep-08 2:53
pdnet19-Sep-08 2:53 
AnswerRe: Problem with Modal Form Pin
Rupesh Kumar Swami19-Sep-08 4:51
Rupesh Kumar Swami19-Sep-08 4:51 

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.