|
by: pcPirate |
last post by:
Hi,
I have a control PictureBox and I need to display a picture from Sql
Database field, given data type Image.
i) How should I diplay the picture in the PictureBox from the database?
ii) How should I save the picture in PictureBox into the database?
Pls advise and thanks in advance.
pcPirate
|
by: Bradley1234 |
last post by:
Seems simple but Im missing something. In a C# form Ive got a picturebox
and a button
I have the File Open dialog linked to the button, but Im drawing a blank on
how to take the stream and push the thing onto the picturebox.
Here is the code, tia
OpenFileDialog fileChooser = new OpenFileDialog();
|
by: Johann Blake |
last post by:
I am creating PictureBox controls at runtime in code and not at design
time. These controls do get created and appear. These controls have a
form as their container. Not all of the controls I create are shown at
the same. The logic of my code is to sometimes show certain controls
while hiding others and then later on reversing this.
For some very strange reason, at some point when I want to display a
control that was previously...
|
by: barbara_dave |
last post by:
Hi, all,
I have a form which has a picturebox control on the top and several
buttons on the bottom. I want to change the form size smaller at run
time and let all buttons display overlap the image of the picturebox.
But when I was making the form smaller, the buttons were covered by the
image. How to show the buttons overlap the picturebox?
Thanks!
|
by: Mattbooty |
last post by:
Hello,
Not sure if anyone else has seen this bug, but I have a form where
the entire form is covered with a picturebox. The picturebox has a
mouseup event. I also have an open file dialog for loading images into
the picturebox. If you double click the file you want to open in the
open file dialog, it somehow interperets one of the clicks as a mouseup
on the picturebox and fires the mouseup event for the picturebox. How
can I get...
|
|
by: Liu Feng |
last post by:
How to display a 32bits icon in pictureBox or button?
It can be displayed correct in toolbar, but not work in pictureBox and
button.
Who can help me?
--
Thanks,
LiuFeng
|
by: Jeff Williams |
last post by:
I have a picture (jpg) displaying in a picture box but I find that the
file handle is still open to the image on disk.
I think I need the following to happen
1. Load image from file on disk
2. Copy the loaded image to another object.
3. Close the file on disk
4. Display the image in the picture box as a thumbnail.
5. Allow user to rotate image if necessary by reloading the file
|
by: swagatikasahoo |
last post by:
how to display all lines if i will scroll the picturebox. hi,
ok i m sending the code.
******************************************************
Private Sub PictureBox1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles PictureBox1.Paint
eGraphics = e.Graphics
TryToCreateRec(eGraphics)
PictureBox1.Refresh()
End Sub
Public Sub TryToCreateRec(ByVal eGraphics As Graphics)
Dim blackPen As New Pen(Color.White,...
|
by: =?Utf-8?B?U2hhcm9u?= |
last post by:
Using VS2005 with .NET Framework 2.0
I'm using the the System.Windows.Forms.PictureBox to display a bitmap when
the PictureBox.SizeMode is PictureBoxSizeMode.StretchImage
The PictureBox can be resized by the user.
When the PictureBox size is less then the bitmap size then the bitmap is
resized by the PictureBox to a smaller size to fit the PictureBox size.
My question is: What method is used to downsize the bitmap?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|