|
Hi,
to transfer an object you need to serialize (marshal, deflate) it. AFAIK there is no other way of transferring objects.
The transfer itself is done via a channel (cable or air). This channel is like a queue, you have to put bit after bit into the channel to receive them at the other end. So to transfer an object through this channel you have to serialize it.
All technologies I know (RMI, RPC, CORBA ...) work like this.
Have a look at the wikipedia-article for further details about serialization:
http://en.wikipedia.org/wiki/Serialization[^]
Hope this helps you.
Regards
Sebastian
|
|
|
|
|
hello all,
i'd like to know how to implement my scenerio.
my table has a datetime field.
base on that date time, i want to send notification to the users accordingly.
for e.g due date is 30-08-2010 inside my table.
if current date is 31-08-2010, i want the system to send notification automatically.
will appreciate the answers.
thanks in advance,
Kyi Kyi
|
|
|
|
|
You can use a windows service which will once a day look in to the table for records and send notifications if finds any.
|
|
|
|
|
thank you very much.
|
|
|
|
|
Hi Kyi Kyi,
For this u need to use windows scheduler tasks feature so that it'll executes a task periodically everyday in a certain time of period . On the other hand create a windows application to and give it to DB connectivity and write code what you want to do. point this .exe to that scheduler task. Thats it...All Over... ...
Rajendra prasad Panchati
.Net/Sharepoint Software Enginner
Hyderabad.
|
|
|
|
|
thank you very much .i'll try
|
|
|
|
|
Hi,
I need to write some application that include image analyzing.
Is there some .net libraries that can make this analyzing easy ?
for example - i need some simple object that can get bitmap stream input and return to me bitstream or raw-data.
Thanks.
|
|
|
|
|
AForge.NET[^] framework contains a nice and flexible image processing library.
For example this[^] excellent CodeProject article about image stitching is based on AForge.NET.
|
|
|
|
|
i used websmartchart control to create the org chart. I am able to retrieve all the fields but i am unable to display image in org chart. it is retriving means it is showing X mark picture. when i created the database i created the field called image with datatype longblob. That image i inserted manually in database. What could be the problem. Anybody knows please reply me.
modified on Thursday, August 19, 2010 6:09 AM
|
|
|
|
|
sometimes, i want to use messagebox because of debugging.
I know that ASP.net can't use messagebox.
But i think that read some article which explain how can use messagebox in ASP.NET by import dll files.
Is there anyone who know use messagebox?
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|
|
|
This article is very good.
Have a nice day.
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|
|
|
Hi All,
Easiest to explain if I show an example:
I have a DataGridView which has a column that is a combo box.
I have a dataset as the source, it has two columns: FirstName and LastName.
I want the combo box to display "LastName, FirstName", ie, I want the display member to be a combination of two columns. Is this possible? Or will I have to add a new column to my dataset "FullName" which will be the two added together?
Cheers,
Brad
|
|
|
|
|
webbooker wrote: I have a dataset as the source, it has two columns: FirstName and LastName.
Assuming that you're using Sql, how about concatenating the fields there?
SELECT [Field1] + [Field2] FROM ..
I are Troll
|
|
|
|
|
The combobox only handles a single column of displayed data.
It has a displaymember and a valuemember property for binding to the datasource.
But if you must display multicolumn in a combobox then you can concatenante your column values,
like Eddy's shown in SQL. In VB this works like:
Dim FnLn As String
Dim drRow As DataRow
For Each drRow In DataSet.Rows 'or DataSet.Tables("Table1").Rows
FnLn = drRow("Lastname") & " , " & drRow("Firstname")
cb1.Items.Add(FnLn)
Next
|
|
|
|
|
I ran into an issue that I cannot do a WORKAROUND with my service under the 4.0 framework.
I converted the service in IIS to 2.0, I converted the project to 3.5, and now I need to configure the service.
It is correct to assume that I must use the 3.0 wcf configuration tool instead of the 4.0 config too?
|
|
|
|
|
hi guys
I don't know this is right place to ask this question.
I have a situation. lets say there is a website called "www.abc.com" i want to send some string from that website to a remote local machine application through static IP(which is the ip of that particular machine).
how can i complete this task.
please share your idea.
Regards...
Shafiq
|
|
|
|
|
Take a look at Windows Communication Foundation (WCF). This should provide all the comms options you could possibly want (and more).
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hi Pete.
Thanks for reply me.
Can i accomplish this task without WCF, Because i am not very much aware of WCF.
Please suggest.
Shafiq
|
|
|
|
|
Yeah, you could, but it's also going to the be easiest route to take.
|
|
|
|
|
What is other way. can you please explain me
Thanks
Shafiq
|
|
|
|
|
No, I can't. There simplly isn't enough space in a forum post to cover everything WCF does and how to do it.
WCF doesn't encompass just one method of communicating. It's a suite of classes that encapsulates many methods of communication.
You can read more here[^].
|
|
|
|
|
Dear all,
I have inherited a web app project that makes use of a number of WCF Web Services hosted on a remote server. We have two environments that I need to deploy this project to, with different URLs for the different remote servers.
i.e. In the Staging environment, I need to point the services at xx.xx.xx.101
In the Live environment, I need to point them at xx.xx.xx.102, or whatever.
Currently, we've got all of the URLs stored in keys in the web.config file, so that we can change them dynamically... Unfortunately this isn't working!
If I change the URL in the web.config to something other than what the project was compiled with, I get an error when calling the web service:
Server did not recognize the value of HTTP Header SOAPAction: xx.xx.xx.101\ServiceName\MethodName.
During the .NET conversion process from 1.1 to 3.5, there is a Auto Generated web reference source file (Reference.cs under web reference) that contained the logic to get the correct Production URL for configuration file (web.config).
The problem is this logic seem to be replaced with a manual hard code referencing test webservice URL. Regarding how this happened still seems to be a puzzle which is hard to find as this file was supposed to be auto-generated and no manual edits should have taken place. This was not encountered in TEST environment as the unit test scenarios covered Common test accts.
It's driving me mad! I've written a pre-build NAnt script to go through and replace all instances of the URL found anywhere in the project directory, and even that isn't making any difference.
There must be something else being pulled down from the service when I click the "update reference", but I'm new to working with web services, and so I'm not sure what.
Does anyone have any ideas? Is there a way to do this programatically?
Reply With Quote
|
|
|
|
|
Windows XP SP3; .NET Framework 3.5 SP1; Microsoft Office 2007; C #.
At attempt to print a file through printer "Microsoft XPS Document Writer" to the user the dialog box "Save the file as" in which it should enter a XPS-file name is output. What it is necessary to make, that the printer printed at once in any file without inquiry for the user of a filename?
For example, for the printer "Microsoft Office Document Image Writer" after record in a register key "HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\ MODI\MDI writer" in parametre "OpenInMODI" values "0", the printer starts to print in a file "Note.tif" without inquiry of a filename for the user. It can be possible to make something similar and for printer "Microsoft XPS Document Writer"?
|
|
|
|