Lost Password?


Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-24-2008, 12:44 AM
mrbar mrbar is offline
Newbie
 
Join Date: Jan 2008
Location: Kuala Lumpur, Malaysia
Age: 36
Posts: 9
Rep Power: 0
mrbar is on a distinguished road
Send a message via MSN to mrbar Send a message via Yahoo to mrbar
Red face Bitmap picture in vb6 & ms access - Need help

I managed to load bitmap into picture box in vb6 with this code:

Code:
picPhoto.Picture = LoadPicture("c:\Photo\" & strTemp & ".bmp")
My problem is to get the picture saved into my MS Access database.

I've set the picture box datasource & datafield to connect with my database but it doesnt save the picture into my database with the rest of my text data.

When i put the picture from MS Access, I'll get an error message in VB6 stating unable to bind the object into my picture box.

Can anybody help me on this. Maybe I need some codes to solve them.

Last edited by TcM; 01-27-2008 at 05:45 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 01-27-2008, 05:07 AM
truonglekhanh_hcmuns truonglekhanh_hcmuns is offline
Newbie
 
Join Date: Jan 2008
Posts: 2
Rep Power: 0
truonglekhanh_hcmuns is on a distinguished road
Default

You should put the code for this problem. Anyone could be help you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-27-2008, 10:46 AM
mrbar mrbar is offline
Newbie
 
Join Date: Jan 2008
Location: Kuala Lumpur, Malaysia
Age: 36
Posts: 9
Rep Power: 0
mrbar is on a distinguished road
Send a message via MSN to mrbar Send a message via Yahoo to mrbar
Unhappy Bitmap picture in vb6 & ms access - Need help

What are the codes?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-27-2008, 11:59 AM
TcM's Avatar   
TcM TcM is offline
Code Warrior
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 8,332
Rep Power: 68
TcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of light
Default

I think he means you should upload your project.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial - Picture Box with extra features! travy92 VB Tutorials 6 03-22-2008 11:35 AM
How do I read .mbm (Multi BitMap) files? moondog General Programming 7 08-07-2007 08:08 AM
[PHP] Faking Shell Access Through PHP pranky PHP Tutorials 2 03-29-2007 07:28 AM
Java:Tutorial - Access Modifiers John Java Tutorials 0 12-09-2006 10:57 AM
HXTT Access 2.0.003 Kernel Software Development Tools 0 09-28-2006 08:12 AM


All times are GMT -5. The time now is 06:22 AM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 97%

Ads