473,753 Members | 7,825 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Send Image in .NET Remoting

I'm looking for code samples to send a jpg image from a client machine to a
host machine. Both have the same image picWindows picture container. I would
like to be able to send the image on one machine to another machine as close
to realtime as possible. Also, can someone point me a direction to find out
how to transmit various field of information, i.e. listboxview, listbox,
textbox, datagridview etc via .NET remoting. Everything I've found so far on
MSDN is C# and I'm looking VB.NET 2005 if at all possible. Not looking for a
dll, or activeX control, unless it's native to Windows, .NET Framework etc.
Thank you for any and all assistance in advance.

Michael
May 19 '06 #1
2 4188


I comunicate with my remoting server to legacy projects ( delphi , vb6, etc
etc )
so i chose to send everything as a string so when i send pictures i put it
in a xml document where i send the picture data as a encodebase 64 byte
array

in the case of .Net to .Net i would have send it directly as a byte array
to the client

about the controls,,,, i have no experience with that ,,, i can also not
inmagine a scenario in my project where i would like to do this
i would just send the data and fill the controls on the client as this would
give the least trafic and is probably the fastest way

regards

Michel posseth
"eSolTec, Inc. 501(c)(3)" <eS************ *@discussions.m icrosoft.com>
schreef in bericht
news:8E******** *************** ***********@mic rosoft.com...
I'm looking for code samples to send a jpg image from a client machine to
a
host machine. Both have the same image picWindows picture container. I
would
like to be able to send the image on one machine to another machine as
close
to realtime as possible. Also, can someone point me a direction to find
out
how to transmit various field of information, i.e. listboxview, listbox,
textbox, datagridview etc via .NET remoting. Everything I've found so far
on
MSDN is C# and I'm looking VB.NET 2005 if at all possible. Not looking for
a
dll, or activeX control, unless it's native to Windows, .NET Framework
etc.
Thank you for any and all assistance in advance.

Michael

May 21 '06 #2
Michel

Thank you for your post, but what I'm looking for is code or code snippets
to be able to move a picture image from a remote client to a host and also
move a listboxview also the same way. Want to use TCP or HTTP/SOAP. Your
comments were informative, however I still don't know how to do what I'm
trying to accomplish :::: sigh ::::

Michael

"Michel Posseth [MCP]" wrote:


I comunicate with my remoting server to legacy projects ( delphi , vb6, etc
etc )
so i chose to send everything as a string so when i send pictures i put it
in a xml document where i send the picture data as a encodebase 64 byte
array

in the case of .Net to .Net i would have send it directly as a byte array
to the client

about the controls,,,, i have no experience with that ,,, i can also not
inmagine a scenario in my project where i would like to do this
i would just send the data and fill the controls on the client as this would
give the least trafic and is probably the fastest way

regards

Michel posseth
"eSolTec, Inc. 501(c)(3)" <eS************ *@discussions.m icrosoft.com>
schreef in bericht
news:8E******** *************** ***********@mic rosoft.com...
I'm looking for code samples to send a jpg image from a client machine to
a
host machine. Both have the same image picWindows picture container. I
would
like to be able to send the image on one machine to another machine as
close
to realtime as possible. Also, can someone point me a direction to find
out
how to transmit various field of information, i.e. listboxview, listbox,
textbox, datagridview etc via .NET remoting. Everything I've found so far
on
MSDN is C# and I'm looking VB.NET 2005 if at all possible. Not looking for
a
dll, or activeX control, unless it's native to Windows, .NET Framework
etc.
Thank you for any and all assistance in advance.

Michael


May 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
467
by: Michael Fan | last post by:
I am a newbie for web servcie and want to write a web service which monitors the certain field in the database. Once it exceeds the certain value, web service will send out notification to web service consumer who will take action on it. Is it possible? If yes, how to implement? If possible, please provide me the link. Thanks lot.
9
10224
by: Etienne Charland | last post by:
Hi, there is an application running on a remote desktop (under Citrix ICA, but the same problem applies for RDC or PC Anywhere). Now, I want to send keys to the remote application from a local app. I tried sending keys in VB with SendKeys, as well as using keybd_event API, but I'm not able to send any keys. It works very well for any local applications, but I can't pass the keys remotely. Is there any way to do it? Thanks! Etienne
6
2505
by: Usman | last post by:
Hi I have a window service written in C#. I have another application that requires a lengthy process to be performed like taking backup. How can I make this lengthy process be performed by window service in such a manner that my application may invoke the process. Is there any way that I can call some method written in window service apart from Start, Stop, Pause etc from my application or firing some custom event to the window service...
6
2532
by: Jaret Brower | last post by:
When I do a Socket.Send(byte) from a client, how do I know that I've reached the end of this data on the server? I've tried sending the length(4 bytes) at the beginning of the byte but I can't seem to read this correctly (I always get a negative number). I'm basically trying to take an Image from a picture box, I save it to a MemoryStream and then send it off, but i need to know how much to read before i construct the buffer on the server...
5
2258
by: Adam Nowotny | last post by:
I want my application to be able to load most components it uses at user logon (f.e. by running "prog.exe /startup") and create a NotifyIcon to show up in tray. Now when i load the prog.exe second time (without parameter) it should detect that an instance is already running and tell it to show the main form of the application (i need this to reduce application startup time). Then the second instance should exit. So far i've made a...
7
13978
by: Ahmad Jalil Qarshi | last post by:
Hi! I want to develop two applications one a Windows Service and the other a GUI based application. I want some sort of communication between Service and GUI. I have decided to use Remoting for this purpose. For this I registered an object on Service side for Remoting purposes. Remote Object exposes a function named ReloadFiles() that should internally send a message to service class to Reload some files. Now I don't know how to send...
0
9072
marktang
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...
0
9653
Oralloy
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...
0
9451
jinu1996
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...
1
9421
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9333
tracyyun
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...
0
8328
agi2029
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...
0
6151
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();...
0
4771
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...
2
2872
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.