|
i am looking for a dll file which will enable me to record from a mic from sound card and video from a webcam and coding them to (for example mpeg, mp4, avi, ...) and send them through the network to specific host ... so the host can decode the received data ,preview it, and save to a file.... all these by using C#.net 2005
and the HELP document for the DLL file if available...
Thanks a lot
best regards
|
|
|
|
|
Why not search for them?
marwan_siala wrote: record from a mic from sound card and video from a webcam
Here[^]
marwan_siala wrote: and coding them
Here[^]
marwan_siala wrote: HELP document for the DLL
See articles.
|
|
|
|
|
thanks a lot my friend...
i have already did some search about the dll file and i fine it... but i don't know if the dll provide seending live capture through the network i have which is the main purpose i want.
thanks
|
|
|
|
|
Read the provided information, or try it out yourself?
Internet - the worlds biggest dictionary
|
|
|
|
|
|
somthing like this:
if i click on button1 a listbox is loaded
if i click on button2 a datagridview is loaded
in the same form with the button. when button2 is clicked the listbox loaded by button1 closes and viceversa
|
|
|
|
|
if btn2 clicked
listbox.visible = false
if btn1 clicked
grid.visible = false
Is this what you mean??
only two letters away from being an asset
|
|
|
|
|
no
the listbox has data resources and it won't work like this because the resources have to change
what i am trying is to list the contents of a table in a listbox when i click the first button, then when i click the next one the data from another table is loaded in the same listbox or something like that
|
|
|
|
|
Have you used the DataSource property of the listbox?
only two letters away from being an asset
|
|
|
|
|
yes!
can you help me please
|
|
|
|
|
It would be more productive if you said what you have tried (code) and what were the results.
only two letters away from being an asset
|
|
|
|
|
Hi guys,
Anyone knows how to hide your application icon from the Alt+Tab screen??
Many thanks
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
What happens if you set your form to ShowInTaskbar = false?
|
|
|
|
|
Nope, dun that!
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
well, this.Hide() will also hide it from the alt+tab screen o_O
as long as your window has a handle, Alt+Tab will show it
|
|
|
|
|
I will give it a shot, thanks a bunch buddy!
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
You should try some values for FormBorderStyle. I think the *Dialog styles don't show in Alt+Tab.
|
|
|
|
|
They do but the ToolWindows don't.
|
|
|
|
|
Try setting the border style to a *ToolWindow and the ShowInTaskBar to false, works for me.
|
|
|
|
|
Is there a good N-Tier book for Newbies in C# and SqlServer?
Allan F. Gagnon
|
|
|
|
|
I made a panel with a gradient as background (LinearGradientBrush) but the gradient is sequential and err...high quality, i want to make a gradient like the one in the panel in CCleaner where you can see like blocks, how can i do it?
|
|
|
|
|
I think the simplest method would be to fill a number of rectangles and vary the colour yourself. I couldn't find a screenshot of CCleaner with a segmented gradient but here is some code that I think does what your after.
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
int segments = 10;
Color start = Color.FromArgb(81, 165, 244);
Color end = Color.FromArgb(54, 102, 147);
RectangleF area = ClientRectangle;
area.Height /= segments;
float r = start.R, g = start.G, b = start.B;
float dr = (end.R - r) / (segments - 1), dg = (end.G - g) / (segments - 1), db = (end.B - b) / (segments - 1);
using (SolidBrush brush = new SolidBrush(start))
{
for (int i = 0; i < segments; i++)
{
brush.Color = Color.FromArgb((byte)r, (byte)g, (byte)b);
e.Graphics.FillRectangle(brush, area);
area.Y += area.Height;
r += dr;
g += dg;
b += db;
}
}
}
|
|
|
|
|
Hi,
I am trying to display an image from the sql 2000 database on to the picture box control on windows app (VS 2.0).
I am able to pull the image in to byte array. I also am able to put the byte array in to the Memory stream by writing it like stream.Write(image, 0, image.Length)
However, when i try to create a bitmap out of the memory stream it thorows an exception stating "parameter is not valid".
The second approach I tried was to use Image.FromStream(ms1) method, but it also says "parameter is not valid" when it tries to get the image from stream (memory stream).
The third approach i tried was writing to a temporary file stream and then read from file using Image.FromFile(strfn, true). This line gets an error stating "Out of memory".
Nothing seems to be working. Please shed some light if possible. All i want to do is display an image from sql db field(image field) on to picture box in windows application using C# 2.0
Please look at the code below for detail. The line in bold where I am getting my exceptions.
// Put user code to initialize the page here
MemoryStream stream = new MemoryStream();
SqlConnection connection = new SqlConnection(@"my connection string");
try
{
connection.Open();
SqlCommand command = new SqlCommand("select image from images Where EntryDate > '2/15/2007'", connection);
byte[] image = (byte[])command.ExecuteScalar();
stream.Write(image, 0, image.Length);
Bitmap bitmap = new Bitmap(stream);
/////testing 2
MemoryStream ms1 = new MemoryStream(image);
exceptionPictureBox.Image = Image.FromStream(ms1);
///testing 3
string strfn = Convert.ToString(DateTime.Now.ToFileTime());
FileStream fs = new FileStream(strfn, FileMode.CreateNew, FileAccess.Write);
fs.Write(image, 0, image.Length);
fs.Flush();
fs.Close();
exceptionPictureBox.Image = Image.FromFile(strfn, true);
/////testing 3
}
finally
{
connection.Close();
stream.Close();
}
Thanks
Needy
|
|
|
|
|
I have an image of a checkerboard that I am using to calibrate a camera. I wanted to show a grid on top as a green overlay and the points of intersection as blue dots (squares). Right now I have a filter that goes over the image and creates another bitmap with this information on a black background. The grid lines are two pixels wide and the points are 2pixels x 2pixels. Eventually I would like to add some type of zoom functionality to the Picturebox showing the image.
Having said all of this, is it better to:
1) Add the images together (using OR) realizing that the colors would look lighter on the white squares because of the Red channel. This could be fixed by ANDing the Red channel.
2) Adding the two images using black as the transparency color for the overlay image. Although, I'm not sure how to do this with Bitmaps objects.
3) Use GDI+. I've never used this to know how difficult this may be. I think it would look better because the vector graphics could be make to look the same at every scale.
Thanks,
Brad
The secret to creativity is knowing how to hide your sources. - Albert Einstein
|
|
|
|
|
Hi,
I'm not sure I understand what you want to achieve, but maybe this helps:
- you can have one image in say a Bitmap, and create a Graphics object that
allows you to draw onto it; use Graphics.FromImage(image)
- now you can modify your image with graphics methods such as DrawLine and DrawString.
All the time you only have one image, which you can then scale, display and save
any way you like.
Hope this helps.
Luc Pattyn
|
|
|
|