|
yes the client will be running on a client pc, but not always! some of our clients (actual ppl ) wont use our software with multiple users so they will have the client and server on the same pc and a periphiral device on its com port.
the devices we get data from ranges from fingerprint scanners to palm scanners to proximity scanners (those use a card as "key"). they are all used as an offline system IE when a person puts his finger on the scanner the record of it stays on the scanner until "polled" by our server app, only then all the records are transfered from the scanner to the server which will then write it to a database and let the client applications know there is some new data
now in some cases our clients may have more than one scanner, but only one connected to a pc. so in that case a scanner will be on clientPcOne and another on clientPcTwo. serverPc must be able to get to the data on the scanners from its location using clientPcOne and clientPcTwo as a "gateway" to the scanners if that makes sence
thanx
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
think BIG and kick ASS
you.suck = (you.passion != Programming)
|
|
|
|
|
I have worked with Mifire and proximity cards. I used a windows service (back then I wrote using c++) to commulicate with the card readers. Then the service would use webservice and send the data to a central server pc. If your situation is not much different you can use this method. But in this case you need a service always running background.
|
|
|
|
|
well the server app will be a service running in the background, or thats the plan atleast
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
think BIG and kick ASS
you.suck = (you.passion != Programming)
|
|
|
|
|
Sorry, but I do not understand the point of controlling a port from remote location. This means you need a driver that listens to a specific port for remote control commands. What I was sugesting is to control a remote application- not port- and let that application control port. Should not it work for your purpose?
|
|
|
|
|
yes that should do the trick!
this was the point of the thread, to get posible ideas from others who have atempted it and then decide which way will suite our needs best
but your idea sounds like it will work perfectly...
another colegue of mine asked me to look into the topic and posibility of controlling a com port remotely...
thanx for your idea
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
think BIG and kick ASS
you.suck = (you.passion != Programming)
|
|
|
|
|
Hi all,
I'm looking for a C# library to create a grid (multi column) with hirarchy view (Treelist)
waiting for your suggestion
Thanks
|
|
|
|
|
google ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
yes I try google but I can't find the feature I need
I want to have a TreeList (hierarchy + multicolumn)
and I want to have two fields of information in one column
-------------------------------
| column1 | column2 |
|---------|---------|-
|c11 |c12 | c21|c22 |
---------|----|----|----|----|-
+Node1 | 0 | 10| 15| x |
-Node2 | x | x | x | x |
+Node21| | | | |
Thanks for any help
|
|
|
|
|
Hi,
I have ClassA, ClassB. ClassB inherits ClassA.
How do I de-couple these classes, so that, If i make changes to ClassA, ClassB wont be affected?.
and I wont have to modify ClassB(rebuild)
how to generalize?
-Pete
|
|
|
|
|
By causing them not to be inherited from one another ? Perhaps define a common interface that defines the part you want to exist between the two classes.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
How to check Attributes of any Directory like ReadOnly Property??
Truth Is The Simplest !!!!
|
|
|
|
|
Create an instance of DirectoryInfo class and check Attributes property.
|
|
|
|
|
FileAttributes fa = File.GetAttributes(@"c:\test.txt");
if(fa == FileAttributes.ReadOnly)
{
//... do something here...
}
|
|
|
|
|
Thankxxxx but i am searching for Directory Attributes Readonly??
that means How to know Directory is writeprotected or Not??
Truth Is The Simplest !!!!
|
|
|
|
|
DirectoryInfo dirInfo = new DirectoryInfo(@"c:\temp");
if (dirInfo.Attributes == FileAttributes.ReadOnly)
{
}
|
|
|
|
|
Hello all
I have a problem in ComboBox Selecteditem, the DropDownStyle property for ComboBox is DropDownList and the datasource for ComboBox is Untype DataSet, and when I use Selecteditem property in comboBox the .NET compiler gave me error, and this is my code below:
---- Fill ComboBox From DataSet ---
DataSet dsAcc = new DataSet();
FillDsAcc(dsAcc);
if(dsAcc.Tables.Contains("ACCTYPE"))
{
CMBDecoreKind.DataSource=dsAcc.Tables["ACCTYPE"].DefaultView; CMBDecoreKind.DisplayMember="ACC_TYPE_DESC";
}
---- Set the CMBDecoreKind SelectItem ---
DataRow[] aRows=dsAcc.Tables["ACCTYPE"].Select("ACC_TYPE_ID=" + AccTypeID);
foreach (DataRow dr in aRows)
{
// CMBDecoreKind.SelectedItem = ((DataRowView) dr) ; // can't convert DataRow To DataRowView
}
The comment line "CMBDecoreKind.SelectedItem..." have a problem.
And the error message is:
Can anybody help me,
thanks in advance
modified on Monday, February 25, 2008 3:59 AM
|
|
|
|
|
I have a set of MP4 files on a remote FTP server. My application has to show a preview of that clips before user can download that. For displaying the preview, I am downloading the clip to a temporary location. This temporary file will be deleted once the preview finishes. But I feel insecurity in this method as user can copy the file from temporary location once they come to know the location.
I am looking for a method which I can get the video contents to a stream and supply that to the player. I am using windows media player wrapped int to my own custom control. Is there anyway to do this ? I am using WebClient class for accessing the file. It provides methods to read data to a stream, but I don't know how to set this to player. Any ideas ?
|
|
|
|
|
I think you need to use the HTTP, RTSP, or MMS protocols for WMP to support streaming. I think you should definitely look into hosting your files on a server with those protocols opposed to FTP. There might be a way to have an ASX file point to the files on the FTP server, but I'm not 100% sure of that.
Good Luck.
|
|
|
|
|
ChrisKo wrote: use the HTTP, RTSP, or MMS protocols for WMP to support streaming
That sounds great. I have some problem with using HTTP as users will be able to download the video directly from the server specifying URL. I will look into MMS and RTSP which is totally new to me. Thanks again.
|
|
|
|
|
call fortran dll winthin c#, when outnumbering, prompt:stack overflow
I don't know how to setup the size of stack in c#
|
|
|
|
|
The size of the stack is irrelevant, I reckon. Sounds like your code is getting into a recursive loop that doesn't end.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
when 3649*1824*sizeof(float),overflow
in fact,the amount is big
|
|
|
|
|
Hi all,
I have written a Application in C#. Its previous versions used to run on the Laptop.
However after including the dll(Interop.ActiveDs.dll) to find out the user name and the netId, the applciation fails to launch on several Laptops. however, few people are able to use it on thier PC's.
Does anyone have a clue as to why it does not work?
I ensured that .NET Framework is present on the Laptops. But it still does not work.
Thanks,
Nazia.
|
|
|
|
|
You need to provide more info than 'it fails to launch' and you need to work out what the machines it won't run on, have in common. It's not very probable that the issue is that they are notebooks.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello Christian,
The application works on few computers and does not work on the others.
I work on ASIA domain while the client for whom the application is written works in EUROPE domain. Even there, the application does not work on Laptop's.
I am not aware of what is amiss.
Can you tell me what are the features i need to look into?
Thanks.
|
|
|
|