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
M

mehrdad333

@mehrdad333
About
Posts
21
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ip address
    M mehrdad333

    hi every one imagine that i am in a local network how can i retrieve my servers ip with socket programming? i know that (hostInfo.AddressList[0]) retrieve my local ip but i need my server ip like the ones that site(ip-address.com) retrieve thatks

    C# sysadmin question com

  • problem of socket programming with local ip
    M mehrdad333

    hi take a look at my codes:

    C# help

  • problem by local ip
    M mehrdad333

    hi thank u for your answer and i really appriciate that here is my codes:

    C# help sysadmin tutorial

  • wpf
    M mehrdad333

    what is wpf and where should i start?

    C# question csharp wpf

  • network programming
    M mehrdad333

    i suggest you to start with socket programing

    C# csharp sysadmin

  • problem by local ip
    M mehrdad333

    hi everyone i have wrote two application by socket programing that connect to each other by ip the problem is that if listener program has an invalid ip(being in a local network) the other application can not access it i mean that i dont know how to connect to an application that is in a local network please help me

    C# help sysadmin tutorial

  • wia temp picture problem
    M mehrdad333

    hi when i use this command for taking a picture :

    wiaVideo[sendpic].TakePicture(out jpgFile);

    the picture automatically save to this address: C:\Documents and Settings\All Users.WINDOWS\Application Data\Microsoft\WIA and after several use of program it gives this exeption: system.outofmemoryexeption how can i disable the picture automatically save in wia thanks

    C# help question

  • API explanation request [modified]
    M mehrdad333

    thank u for your post where should i exactly change int to intptr and what is the difference thanks

    C# graphics design json

  • wia user interface
    M mehrdad333

    hi in a project i saw a code that let a user to choose the camera i dont want to let them do this how can i here is the code:

    foundID = System.Reflection.Missing.Value;
    wiaCamera = (ItemClass) wiaManager.Create( ref foundID );

    thanks

    C# design question

  • Files between one or several computers? Via a netowor.?
    M mehrdad333

    type this in google: c# file transfer using socket there are so many samplee and tutorials ;)

    C# help question

  • API explanation request [modified]
    M mehrdad333

    at first excuse me because of confusing you i corrected the code and here is the site that i downloaded the file: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1339&lngWId=10\[^\]

    C# graphics design json

  • API explanation request [modified]
    M mehrdad333

    at first excuse me because of confusing you i corrected the code and here is the site that i downloaded the file: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1339&lngWId=10[^]

    C# graphics design json

  • Files between one or several computers? Via a netowor.?
    M mehrdad333

    hi you should search about socket programing at first you need to create a server program using sockets that can qeue clients for connection and after that create client programs that connect to server with ip and tcp protocol and for start use msdn socket programing

    C# help question

  • API explanation request [modified]
    M mehrdad333

    hi there i am writing a program for video conference over internet i was looking for a sample for capturing a image from webcam i found that there is two way for doing this first is using WIA and second is using API i found a sample that use API (avicap32.dll) it work fine now i want to add another camera or webcam and the aouther is not accessible .i reviewed codes several times but i cant understand that. it is really complicated for me and as i cant understand the code i cant extend it for capturing image or video from any other devices synchronouslly here is the code and i would be really appriciated if you explan about the codes : the class for capturing and sending image:

    using System;
    using System.Collections;
    using System.ComponentModel;
    using System.Drawing;
    using System.Data;
    using System.Windows.Forms;
    using System.Runtime.InteropServices;

    namespace WebCam_Capture
    {
    /// <summary>
    /// Summary description for UserControl1.
    /// </summary>
    [System.Drawing.ToolboxBitmap(typeof(WebCamCapture), "CAMERA.ICO")] // toolbox bitmap
    [Designer("Sytem.Windows.Forms.Design.ParentControlDesigner,System.Design", typeof(System.ComponentModel.Design.IDesigner))] // make composite
    public class WebCamCapture : System.Windows.Forms.UserControl
    {
    private System.ComponentModel.IContainer components;
    private System.Windows.Forms.Timer timer1;

    	// property variables
    	private int m\_TimeToCapture\_milliseconds = 100;
    	private int m\_Width = 320;
    	private int m\_Height = 240;
    	private int mCapHwnd;
    	private ulong m\_FrameNumber = 0;
    
    	// global variables to make the video capture go faster
    	private WebCam\_Capture.WebcamEventArgs x = new WebCam\_Capture.WebcamEventArgs();
    	private IDataObject tempObj;
    	private System.Drawing.Image tempImg;
    	private bool bStopped = true;
    
    	// event delegate
    	public delegate void WebCamEventHandler (object source, WebCam\_Capture.WebcamEventArgs e);
    	// fired when a new image is captured
    	public event WebCamEventHandler ImageCaptured; 
    
    	#region API Declarations
    
    	\[DllImport("user32", EntryPoint="SendMessage")\]
    	public static extern int SendMessage(int hWnd, uint Msg, int wParam, int lParam);
    
    	\[DllImport("avicap32.dll", EntryPoint="capCreateCaptureWindowA")\]
    	public static extern int capCreateCaptureWindowA(string lpszWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, int hwndParent, int nID);
    
    	\[DllImport("user32", EntryPoint="OpenClipboard")\]
    	public static extern int OpenClipboard(int
    
    C# graphics design json

  • multiple webcam capture
    M mehrdad333

    hi i used a program form(http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=1339&lngWId=10[^]) site for capturing video from webcam now i want to connect two or more webcams to program how can i please help me its vital thanks

    C# question com help

  • mutli webcam connection
    M mehrdad333

    hi christian at first abaut program that u think i asked twice: i download a project that could connect to one webcam but i want to connect to several webcams i searched but i didnt find any example and second abaut knowlegment: i know c# as i created several programs but i write this down because im afraid of complex answers and i want them to answer me in a simple way .

    C# csharp tutorial question

  • mutli webcam connection
    M mehrdad333

    hi i want to know that how can i connect webcam to c# program specialy how to connect several webcams to it and please answer with full explanation because i am new in c# thanks in advance

    C# csharp tutorial question

  • how to capture image or video from ip camera?
    M mehrdad333

    hello i am new in c# i would like to know that how can i connect to an ip camera and how to stream image or video from it please answer completely and consider that i dont know anything abaut ip camera and c# thanks in advance

    C# question csharp tutorial

  • problem with socket programing for image transformation
    M mehrdad333

    ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh :omg: :(( :(( :(( oh my god you solved my problem oh my god thank you thank you thanks please please let me kiss your foot :(( :(( i wont forget your name paulo zemek i wont forget you thanks thanks a milion thanks a bunch let me let me kiss your foot :(( :(( :(( :(( :(( :(( i am really crying here :(( :(( :(( :(( thanks thanks .................................. ................................................ ................................................. .................................................. ...................................................

    C# help database performance

  • problem with socket programing for image transformation
    M mehrdad333

    thanks sockets doesnt have Getstream() methode only tcp client has it please if you guide me write more cause i am new to c# thanks in advance

    C# help database performance
  • Login

  • Don't have an account? Register

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