Click here to Skip to main content

Visual Studio

    RSS: RSS Feed

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
QuestionInvalid Cast Exception Occurs when changing target cpu option in VS. PinmemberTapsnapper11:09 11 Nov '09  
AnswerRe: Invalid Cast Exception Occurs when changing target cpu option in VS. Pinmemberjessemtcarlton6:55 3 Dec '10  
GeneralRe: Invalid Cast Exception Occurs when changing target cpu option in VS. PinmemberEuhemerus7:59 3 Dec '10  
GeneralRe: Invalid Cast Exception Occurs when changing target cpu option in VS. Pinmemberjessemtcarlton8:06 3 Dec '10  
QuestionConfiguring Visual Studio 2008 Help Pinmembersoftwaremonkey7:42 10 Nov '09  
AnswerRe: Configuring Visual Studio 2008 Help PinmemberRichard MacCutchan7:52 10 Nov '09  
Questionvarbinary(max) Visual studio 2008 PinmemberSchalk Munnik8:26 8 Nov '09  
I need to read a employee database and display some fields in a windows forms application - that is fine except the varbinary(max) image. I need to move forwards and backwards through the records (some images are null).
The problem I have is using the dataset to obtain the information for the image convertion. I can find loads of code to use a button(s) to get & convert the image - this does not help me.
Help will be greatly appreciated.
 
Below is some of my code:
 
Public Class Form1
 
Private Sub GraduatesBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GraduatesBindingNavigatorSaveItem.Click
Me.Validate()
Me.GraduatesBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.Graduates_DatabaseDataSet)
 
End Sub
 
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'Graduates_DatabaseDataSet.Graduates' table. You can move, or remove it, as needed.
Me.GraduatesTableAdapter.Fill(Me.Graduates_DatabaseDataSet.Graduates)
End Sub
 
Private Sub GraduatesBindingNavigator_RefreshItems(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GraduatesBindingNavigator.RefreshItems
 
End Sub
 
Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
 
End Sub
 
Private Sub PhotographLabel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
 
End Sub
Private Sub SurnameTextBox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SurnameTextBox.TextChanged
 
End Sub
 
Private Sub FillBysurnameToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Try
Me.GraduatesTableAdapter.FillBysurname(Me.Graduates_DatabaseDataSet.Graduates, SsnameToolStripTextBox.Text)
Catch ex As System.Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
 
End Sub
End Class
Questionfile upload Pinmemberbahar.ghara1:52 7 Nov '09  
AnswerRe: file upload PinmemberRichard MacCutchan5:17 7 Nov '09  
AnswerRe: file upload PinmvpLuc Pattyn5:24 7 Nov '09  
GeneralRe: file upload PinmvpChristian Graus9:53 7 Nov '09  
Questionabout unable to connect to visual studio local host web server Pinmemberabolibapat722:04 6 Nov '09  
QuestionOpening Partial Class files Pinmemberkeefb0:37 6 Nov '09  
AnswerRe: Opening Partial Class files PinmvpLuc Pattyn4:43 6 Nov '09  
GeneralRe: Opening Partial Class files Pinmemberkeefb5:02 6 Nov '09  
GeneralRe: Opening Partial Class files PinmvpLuc Pattyn5:07 6 Nov '09  
QuestionAAHHH #if/else/endif placement in Visual Studio PinmemberMike Marynowski0:03 5 Nov '09  
AnswerRe: AAHHH #if/else/endif placement in Visual Studio PinmemberRichard MacCutchan0:26 5 Nov '09  
GeneralRe: AAHHH #if/else/endif placement in Visual Studio PinmemberMike Marynowski0:32 5 Nov '09  
GeneralRe: AAHHH #if/else/endif placement in Visual Studio PinmemberRichard MacCutchan0:30 6 Nov '09  
GeneralRe: AAHHH #if/else/endif placement in Visual Studio PinmemberMike Marynowski0:32 6 Nov '09  
GeneralRe: AAHHH #if/else/endif placement in Visual Studio PinmemberRichard MacCutchan0:53 6 Nov '09  
QuestionPreview report in Visual Studio 2003 PinmemberHardus Lombaard22:06 3 Nov '09  
QuestionVS 2008 is behaving strange! PinmemberAliAmjad2:32 3 Nov '09  
QuestionVS doesn't start, all of a sudden - "Cannot find one or more components. Please reinstall the application." [modified] PinmemberJohann Gerell23:00 1 Nov '09  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.5.120210.1 | Last Updated 31 Jan 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid