Click here to Skip to main content
15,917,176 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how to use image edit in vb. net ? Pin
Dave Kreskowiak26-Apr-07 13:39
mveDave Kreskowiak26-Apr-07 13:39 
Questionaccess denied error Pin
alpdoruk24-Apr-07 21:38
alpdoruk24-Apr-07 21:38 
AnswerRe: access denied error Pin
Dave Kreskowiak25-Apr-07 3:59
mveDave Kreskowiak25-Apr-07 3:59 
AnswerRe: access denied error Pin
alpdoruk27-Apr-07 1:23
alpdoruk27-Apr-07 1:23 
Questionhow to specify location of saving file NETCF Pin
laurensia inge24-Apr-07 21:17
laurensia inge24-Apr-07 21:17 
AnswerRe: how to specify location of saving file NETCF Pin
Suhail Shahab24-Apr-07 21:33
Suhail Shahab24-Apr-07 21:33 
GeneralRe: how to specify location of saving file NETCF Pin
Dave Kreskowiak25-Apr-07 3:51
mveDave Kreskowiak25-Apr-07 3:51 
GeneralRe: how to specify location of saving file NETCF Pin
Suhail Shahab25-Apr-07 19:08
Suhail Shahab25-Apr-07 19:08 
Write this code according to ur requirment in button click event. when user click the button than save dialog open and user easily save the file where he want.try to understand by this conde in vb.net
Function saveCopyLocal(ByVal FSaveURL)
'source file
Dim strSrcFileName As String = "\foldername\" + FSaveURL + ".txt"
'targat file
Dim strTargetName As String = "Rapid_reporting_Pilot.txt"


Try


Dim fs As System.IO.FileStream

fs = System.IO.File.Open(Server.MapPath(strSrcFileName), System.IO.FileMode.Open)
Dim btFile(fs.Length) As Byte
fs.Read(btFile, 0, fs.Length)
fs.Close()
With Response
.AddHeader("Content-disposition", "attachment;filename=" & strTargetName)
.ContentType = "text/txt"
.BinaryWrite(btFile)
.End()
End With

Catch ex As Exception

End Try
End Function

GeneralRe: how to specify location of saving file NETCF Pin
Suhail Shahab25-Apr-07 19:15
Suhail Shahab25-Apr-07 19:15 
GeneralRe: how to specify location of saving file NETCF Pin
Dave Kreskowiak26-Apr-07 13:41
mveDave Kreskowiak26-Apr-07 13:41 
GeneralRe: how to specify location of saving file NETCF Pin
laurensia inge26-Apr-07 22:36
laurensia inge26-Apr-07 22:36 
Questionhow we hide destop and task Bar in asp.net and vb.net Pin
Suhail Shahab24-Apr-07 21:12
Suhail Shahab24-Apr-07 21:12 
AnswerRe: how we hide destop and task Bar in asp.net and vb.net Pin
Sathesh Sakthivel25-Apr-07 0:23
Sathesh Sakthivel25-Apr-07 0:23 
GeneralRe: how we hide destop and task Bar in asp.net and vb.net Pin
Suhail Shahab25-Apr-07 19:27
Suhail Shahab25-Apr-07 19:27 
AnswerRe: how we hide destop and task Bar in asp.net and vb.net Pin
Dave Kreskowiak25-Apr-07 3:49
mveDave Kreskowiak25-Apr-07 3:49 
GeneralRe: how we hide destop and task Bar in asp.net and vb.net Pin
Suhail Shahab25-Apr-07 19:20
Suhail Shahab25-Apr-07 19:20 
GeneralRe: how we hide destop and task Bar in asp.net and vb.net Pin
Dave Kreskowiak26-Apr-07 13:42
mveDave Kreskowiak26-Apr-07 13:42 
QuestionReports to EXCEL Pin
venkata lakshmi prasanna24-Apr-07 20:04
venkata lakshmi prasanna24-Apr-07 20:04 
QuestionSetting Wrap text for a label in VB.Net Pin
venkata lakshmi prasanna24-Apr-07 20:02
venkata lakshmi prasanna24-Apr-07 20:02 
AnswerRe: Setting Wrap text for a label in VB.Net Pin
MatrixCoder24-Apr-07 20:23
MatrixCoder24-Apr-07 20:23 
AnswerRe: Setting Wrap text for a label in VB.Net Pin
Dave Kreskowiak25-Apr-07 3:46
mveDave Kreskowiak25-Apr-07 3:46 
QuestionSerial port configuration dialog [modified] Pin
Nick Alexeev24-Apr-07 16:22
professionalNick Alexeev24-Apr-07 16:22 
AnswerRe: Serial port configuration dialog Pin
Dave Kreskowiak24-Apr-07 18:02
mveDave Kreskowiak24-Apr-07 18:02 
NewsRe: Serial port configuration dialog Pin
Nick Alexeev5-Jun-07 10:22
professionalNick Alexeev5-Jun-07 10:22 
QuestionAdding proxies to my internet browser Pin
itsryan24-Apr-07 15:59
itsryan24-Apr-07 15:59 

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.