|
Ing. Pedro Fernandez wrote: the client is behind a firewall and in a private network, I don't know if the solution is affected by this.
A firewall can affect anything you want. A typical implementation of a firewall would normally block the servers attempt to connect to the client that is behind the firewall as in the Web Service approach that Ennis suggested.
Using a nailed up connection over port 80 would be about the only way to accomplish this thru a typical firewall configuration and even with that the admin could still block your servers domain.
"Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?" Colin Angus Mackay in the C# forum
led mike
|
|
|
|
|
Hi everybody
i am going to develop a telephone system project or it seems to me like that
the problem is:
we allready have something like a switch but the problem is that switch maximum have five ports only we want to develop a desktop program that we just buy one telephone line from the telecomunication company and seperate this one line to more than five telephone cabin that can used in the same time and count the time the call take in order to count the many that the calls cost.
my Q. is is this available in C# or any other language to deal with that and how ?
thank you for helping me
yours
|
|
|
|
|
And some $300 hardware.
A man said to the universe:
"Sir I exist!"
"However," replied the Universe, "The fact has not created in me A sense of obligation."
-- Stephen Crane
|
|
|
|
|
a computrized system that control the telephone ?
|
|
|
|
|
Can you do it with the existing phone system you have? No, I seriously doubt it. Do you homework on how the phone systems REALLY work, then you can start thinking about this project.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hello ystar,
Do u hear about Asterisk open-source PBX(Click Here). Which can provide u a complete telephone exchage & also comunicate with telephone line.
But to connect with telephone line u have to purchase FXO card or other hardware that supported by asterisk.
Asterisk is only for Linux. U can make soft phone or just purchase it. And if u want to use existing telephone then u have to purchase Cisco Linksys hardware(Find Here).
Now by using Astrisk u can controll all things by ur computer.
regards,
Divyang Mithaiwala
System Engineer & Software Developer
|
|
|
|
|
A co-worker of mine is having trouble with his C#. Unfortunately, I don't deal with C# all too much so I'm not entirely sure where the error is taking place.
He's having trouble with a line of code used to create a Crystal Report. He's trying to call the .ExportOptions property of the ReportClass object, however for some reason, visual studio isn't even providing the dropdown to access the different ReportClass properties. It's not recognizing repClass as a ReportClass variable. Any idea why?
-------------------------------------------------------------------
public partial class _Default : System.Web.UI.Page
{
private static Data_PSPP oData_PSPP;
private string sID = "";
private ReportClass repClass = new ReportClass();
protected void Page_Load(object sender, EventArgs e)
{
DataTable dtSource = new DataTable();
oData_PSPP = new Data_PSPP();
this.sID = Session["ProjectID"].ToString();
if (!IsPostBack)
{
ExportOptions objExportOptions = new ExportOptions();
DiskFileDestinationOptions objDiskFileDestinationOpions = new DiskFileDestinationOptions();
string ExportFileName = "";
//Problem line.... "repClass" doesn't provide access to ".ExportOptions"
///////////////////////////////////////////////////////////////
objExportOptions = repClass.ExportOptions
//////////////////////////////////////////////////////////////
}
}
}
-----------------------------------------------------------
Thanks in advance.
-Goalie35
|
|
|
|
|
So, what exactly is the problem? Is the problem that IntelliSense isn't working? Is that all? Are you Is your colleague getting a compiler error?
:josh:
My WPF Blog[^]
|
|
|
|
|
He's getting a compiler error because for some reason, vs.net doesn't feel ".ExportOptions" is a valid property of ReportClass. Or at least a valid propery of the variable assigned the value of a ReportClass(the "repClass" variable)
This same code was implemented in VB.net and we had no problem, so it's a little odd.
Thanks again.
-Goalie35
|
|
|
|
|
Goalie35 wrote: He's getting a compiler error because for some reason
What does the compiler error say? What is the actual error message?
:josh:
My WPF Blog[^]
|
|
|
|
|
Hi,
The problem is that the reference for ReportClass is not set. For further info check
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/aspnetcustrep.asp
|
|
|
|
|
hi i m reading images from the databse and showing on picbox,so i had to make the temporary file to show pic on the picturebox thorugh Pic.image=Image.fromfile etc. it works fine.
i want to make one file for that purpose and delete when new file is readed from databse.
i m using this code for that purpose
Pic.image=null;
if(File.Exist("temp.bmp"))
File.Delete("temp.bmp");//give exception file used by process
String newf="temp.bmp"; and save the new data from database to this file and show it to the user.
but it give the exception that file is used by another process,i had clear the picbox but still gives.
how to do that Thanks in advance.
Tasleem Arif
|
|
|
|
|
Cross posting is considered very rude!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Dave Kreskowiak wrote: Cross posting is considered very rude!
Looking at some of his other posts, he seems to do it often.
|
|
|
|
|
How to add for example all Columns from DataTable or DataSet into control`s (DataGrid) Collection drop down list.
For example I have DataTable and DataGrid, I connect those two and in Collection , each item in collection has few properties one of them is "Column" property, now when i want to chose witch Column I want, all columns should be displayed in drop down list (trought UITypeEditor), but problem is how to do it ? How to pass column names to item(s) ?!
My English is bad i know
Thanks
|
|
|
|
|
We have a Windows application that was built in VS 2003 and .Net 1.1 - we just upgraded everything to VS 2005 and .NET 2.0.
We ran some upgrade installations recently and at the end of the installation process got a System.BadImageFormatException error. it doesn't happen all the time but at least 50%.
We do have a couple of launch conditions and custom actions in our deployment but nothing that i can see would be causing this necessarily.
Any ideas?
Thanks,
Eric
|
|
|
|
|
to add to my first post...we have an installer class that runs first during the installation. The full error was:
Exception occurred while initializing the installation: System.BadImageFormatException: The format of the file "Installer.exe" is invalid.
|
|
|
|
|
Hi everybody,
i need to know how to step through FOP Source code as it gets executed. If anybody can help that would be great.
Thank you in advance.
He who laughs last...
|
|
|
|
|
"FOP"?? Fraternal Order of Police??
You might want to elaborate on this and what you're really doing with it, besides trying to debug it.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
i want to see how fop does the conversion to try and find out if it is my xml and xsl files that has the problem that makes fop run out of memory. i have 256MB RAM and it is not enough for fop to create the pdf from my xml and xsl. it keeps running out of memory and ultimately it has to use virtual memory. but this slows down my whole system. The Java.exe in the task manager keeps growing and growing as the conversion takes place...
i just want to try and see if there is a non ending loop or something like that in the fop code. i'm using fop 0.20.5
He who laughs last...
|
|
|
|
|
I had to do a little digging to find out what "FOP" was. Keeps growing and running the system out of RAM?? I'm not surprised. According to the Apache FOP[^] documentation, it's not uncommon to see it consume LARGE amounts of RAM. Your system probably just doesn't meet the requirements, for the current version of FOP, to do what you want, how you want to do it. Most likely, the problem is being caused by your own XSL code.
You're not going to debug this thing under Visual Studio because VS can't debug anything in the Java Runtime. That's for a Java Development Environment to do.
Besides, 256MB of RAM is enough to run Visual Studio, but you'll run the machine out of RAM just launching it and IT will start swapping and slowing everything else down.
And this question had nothing to do with C#...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I appologize for posting my question here, it's just i thought i could step the code through Visual Studio (i'm using C#, learning as i go). But i understand your point of view. I found out that i could generate the xsl-fo by using the xalan.bat to try and find if my problem is in the conversion from xsl and xml to xsl-fo or in the xsl-fo to pdf...
Thank you for taking the time to help me.
i'll take it from here.
He who laughs last...
|
|
|
|
|
Hi,
I am currently working on a project named "motion detection to control pc". It is a project which can assist paralysed patient to access the pc using facial movement.
I have a webcam capturing movement of head and translate it to mouse(cursor) movement.
Do anyone have any idea on how to use codes to control/ program the mouse(cursor) movement?
Thanks~
|
|
|
|
|
In Windows Forms, the mouse cursor's location can be set via the static Cursor.Position property.
:josh:
My WPF Blog[^]
|
|
|
|
|
Hi,
I am a newbie towards c#, not very sure whether i did the correct way. Can you assist me?
I have write a simple coding using Cursor.Position:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
public void MoveCursor()
{
if(!this.Cursor.Equals(Cursors.Default))
{
this.Cursor = new Cursor(Cursor.Current.Handle);
Cursor.Position = new Point(Cursor.Position.X - 50, Cursor.Position.Y - 50);
MessageBox.Show(Cursor.Position.X.ToString);
}
}
private void Form1_Load(object sender, System.EventArgs e)
{
MoveCursor();
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I actually wanna do a simple codes which can read the current mouse position and write a new mouse position to it. However, the above codes cause an error: "Method 'int.ToString(string)' referenced without parentheses" which i do not the cause of this error.
|
|
|
|