Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
O

Ofori Boadu

@Ofori Boadu
About
Posts
13
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Linked server connection error
    O Ofori Boadu

    I have implemented linked servers in SQL server using microsoft.jet.oledb and it works fine from the sql management studio but when I implement it in an aspx page I get below error, "Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server " Any help will be appreciated.

    a novice

    ASP.NET database help sql-server com sysadmin

  • Reading a specific line in a pdf file
    O Ofori Boadu

    I am reading a pdf file in my application using pdfbox. The reading works fine but I need to read specific portions instead of the whole text. Any idea is welcome

    a novice

    C#

  • inserting an image into a database
    O Ofori Boadu

    I am trying to save in image into an MS SQl amd keep getting this error "Must Declare the Scalar Variable" below is my code for the insertion; OdbcCommand cmd = new OdbcCommand("INSERT INTO dbo.photo (photo) VALUES (@BLOBData)", myConnection); //Save image from PictureBox into MemoryStream object. MemoryStream ms = new MemoryStream(); picture.Save(ms, ImageFormat.Jpeg); //Read from MemoryStream into Byte array. Byte[] bytBLOBData = new Byte[ms.Length]; ms.Position = 0; ms.Read(bytBLOBData, 0, Convert.ToInt32(ms.Length)); //Create parameter for insert statement that contains image. OdbcParameter prm = new OdbcParameter("@BLOBData", OdbcType.VarBinary, bytBLOBData.Length, ParameterDirection.Input, false,0, 0, null, DataRowVersion.Current, bytBLOBData); cmd.Parameters.Add(prm); myConnection.Open(); cmd.ExecuteNonQuery(); myConnection.Close(); } catch (OdbcException ex) { MessageBox.Show(ex.Message); } Any help?

    a novice

    C# database help data-structures question

  • Check for an enpty picturebox control
    O Ofori Boadu

    I am trying to check if a picture box control is enpty. I tried if (picturebox.Image = null) { ....... ....... } but I get an error stating that "connot implicitly convert system.drawing.image to bool" any idea how I can work around this?

    a novice

    C# graphics help question

  • Looking for latest filename
    O Ofori Boadu

    I have an application that takes images and stores them automatically in a folder on my local drive. The application auto increments the file name by adding 1 to the last one taken. I name the images as photo_00001 and the next taken photo names as photo_00002. Now I want to look through the folder and select the last image taken that is the one with the highes name. Any ideas how I can achieve that?

    a novice

    C# question

  • Displaying the output of one window form in another window form
    O Ofori Boadu

    I am developing an application that combines images. I have one form that communicates with a webcam and another that communicates with a signature pad and the main form. My problem is that I want to display the image that my webcamm takes in a picturebox on the main form. Any ideas?

    a novice

    C# help question

  • deleting a file in use
    O Ofori Boadu

    yeah, what happens it I add other things like signature and name to the photo and same them as one image,I don't need to close the program after the process is complete. I have to be doing for a lot of photos.

    a novice

    C# question

  • deleting a file in use
    O Ofori Boadu

    I have developed an application that takes a photo. I have a fixed path that the photos are saved to. I am able to save just one and after that unless I restart the whole application I am not able to save to overwrite the file because it sees the file as being in use. Any idea how I can overwrite or delete file in use?

    a novice

    C# question

  • An application suite
    O Ofori Boadu

    I have built different application and I want to put all together as a suite. Any ideas?

    a novice

    C# question

  • Displaying multiple images in a picture box
    O Ofori Boadu

    I am trying to pull a text from a database and display it in the picture box under the images. I am getting errors though. Any idea how I can do that?

    a novice

    C# question

  • Displaying multiple images in a picture box
    O Ofori Boadu

    Thank you Dave I tried it and it worked perfectly.

    a novice

    C# question

  • Linking different applications
    O Ofori Boadu

    I have three different C# applications that I have to put together as one. Any ideas?

    a novice

    C# csharp question

  • Displaying multiple images in a picture box
    O Ofori Boadu

    I am trying to display multiple images in a single picture box control. Any ideas?

    a novice

    C# question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups