Click here to Skip to main content
15,886,806 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Shift 2 character spaces Pin
Dave Kreskowiak27-Mar-09 1:36
mveDave Kreskowiak27-Mar-09 1:36 
GeneralRe: Shift 2 character spaces Pin
vijay248227-Mar-09 4:50
vijay248227-Mar-09 4:50 
QuestionMy.Setting.Save Pin
CodingYoshi26-Mar-09 11:44
CodingYoshi26-Mar-09 11:44 
AnswerRe: My.Setting.Save Pin
tech60326-Mar-09 16:56
tech60326-Mar-09 16:56 
Questionwhy EnableVisualStyles statement is not giving XP look to application? Pin
JUNEYT26-Mar-09 6:31
JUNEYT26-Mar-09 6:31 
AnswerRe: why EnableVisualStyles statement is not giving XP look to application? Pin
Henry Minute26-Mar-09 6:43
Henry Minute26-Mar-09 6:43 
AnswerRe: why EnableVisualStyles statement is not giving XP look to application? Pin
nishkarsh_k26-Mar-09 19:42
nishkarsh_k26-Mar-09 19:42 
QuestionExternal Images Pin
Stephen Lintott26-Mar-09 2:31
Stephen Lintott26-Mar-09 2:31 
Hi all... I'm working on a report (Reporting Services) with an external image. The problem is it's not showing up. I'm passing the image through as a base64 string to the report and converting it back to bytes using the
Convert.FromBase64String function. The code is as follows
Dim location As String = Configuration.ConfigurationSettings.AppSettings("location")                
Dim reader1 As New System.IO.StreamReader(location)                
Dim base64 As String                
Dim BinRead As New BinaryReader(reader1.BaseStream)                
Dim file1 As New FileInfo(location)                
base64 = Convert.ToBase64String(BinRead.ReadBytes(CType(file1.Length, Integer)))                
Dim param As New Microsoft.Reporting.WinForms.ReportParameter("Image", base64, False)                
Dim al As New List(Of Microsoft.Reporting.WinForms.ReportParameter)                
al.Add(param)                ReportViewer1.LocalReport.EnableExternalImages = True                ReportViewer1.LocalReport.SetParameters(al)                ReportViewer1.RefreshReport()
.
.
.


Please ignore the BinReader / Reader bit. I havn't fixed that up yet. If someone can please tell me why this thing is not showing an image. I would be very greatful.

Stephen Lintott Bsc IT (RAU)

AnswerRe: External Images Pin
Anubhava Dimri31-Mar-09 0:05
Anubhava Dimri31-Mar-09 0:05 
QuestionCount number of similar lines Pin
vijay248226-Mar-09 0:58
vijay248226-Mar-09 0:58 
AnswerRe: Count number of similar lines Pin
JernejR26-Mar-09 1:02
JernejR26-Mar-09 1:02 
GeneralRe: Count number of similar lines Pin
vijay248226-Mar-09 1:13
vijay248226-Mar-09 1:13 
AnswerRe: Count number of similar lines Pin
Eddy Vluggen26-Mar-09 2:14
professionalEddy Vluggen26-Mar-09 2:14 
AnswerRe: Count number of similar lines Pin
Anubhava Dimri31-Mar-09 0:16
Anubhava Dimri31-Mar-09 0:16 
Questionhow to change provider in crystal report runtime Pin
JernejR26-Mar-09 0:02
JernejR26-Mar-09 0:02 
AnswerRe: how to change provider in crystal report runtime Pin
Skymir27-Mar-09 8:51
Skymir27-Mar-09 8:51 
AnswerRe: how to change provider in crystal report runtime Pin
Anubhava Dimri31-Mar-09 0:26
Anubhava Dimri31-Mar-09 0:26 
QuestionOutput Differs Pin
vijay248225-Mar-09 23:33
vijay248225-Mar-09 23:33 
AnswerRe: Output Differs Pin
Tom Deketelaere25-Mar-09 23:40
professionalTom Deketelaere25-Mar-09 23:40 
GeneralRe: Output Differs Pin
vijay248226-Mar-09 0:54
vijay248226-Mar-09 0:54 
AnswerRe: Output Differs Pin
JernejR26-Mar-09 0:58
JernejR26-Mar-09 0:58 
AnswerRe: Output Differs Pin
Luc Pattyn26-Mar-09 0:58
sitebuilderLuc Pattyn26-Mar-09 0:58 
QuestionUsing SMTP, the email is sent only when the Form is closed Pin
paulogomes25-Mar-09 16:30
paulogomes25-Mar-09 16:30 
AnswerRe: Using SMTP, the email is sent only when the Form is closed Pin
Henry Minute26-Mar-09 1:48
Henry Minute26-Mar-09 1:48 
GeneralRe: Using SMTP, the email is sent only when the Form is closed Pin
paulogomes26-Mar-09 7:36
paulogomes26-Mar-09 7:36 

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.