|
Hi
I wan´t to implement DIME in my managed c++ web service, but after I´ve installed WSE 2.0 and chooses to "Enable this project for Web Service Enhencments" I get the errormessage "The WSE must be installed to enable this feature"
Why is that, I have installed, the dll is in the assembly. What is wrong?
With highest regards
// Daniel
|
|
|
|
|
I want to use tcpTrace.exe to test the encryption sink that Ingo Rammer provided in his book, but i couldn't get anything.
my client and server is using port 5555, my default local host port is 80. in client.exe.config, the url is "http://localhost:5555/SomeSAO.soap" />. how do I configure tcpTrace's destination server, listen port# and destination port#?
|
|
|
|
|
Patrick Burke with Navistaff. I just wanted to check in with you regarding a spot I had come up at a major Ibank in the NYC area.
This bank is currently looking for a very strong C# developer with financial trading system experience to join their program trading group. Must have excellent WinForms development experience with multi-threaded applications and synchonization mechanisms. Experience with threading namespace would be a plus.
Must have strong experience with building and support high performance/high capacity systems. Experience with Oracle, IPC's, TibcoRV and FIX would be ideal.
Please send resumes to pb@navistaff.com
|
|
|
|
|
Greetings All!
My question is (i think pretty straight forward) mainly about logging errors from a web services or a webform.
What I would like to do is write to the event log from a web service and/or webform. I have read some of the articles on codeproject on how to do this.. but achieved zero success .. Can anyone help?
To further explain what I want to do..
An example web method :
[WebMethod]
public void someMethod()
{
try
{
// soem random code that might throw and exception
}
catch(Exception e)
{
// write to event log here
}
}
This is just one example.. There are more ofcourse.. But again if anyone can shed some light on this subject it would be greatly appreciated!
Regards,
Daniel Rodriguez
|
|
|
|
|
When debugging a serial app I'm working on, I notice that every so often a call to WriteFile with a handle corresponding to a serial port blocks indefinately...
After hunting this down I added a healthy write interval timeout and now the call returns (without completing the expected output fully), but after calling ClearCommError() I get no errors
returned, but the condition persists..
Representative calls below:
<br />
hComm = CreateFile(PortText, GENERIC_READ|GENERIC_WRITE,<br />
0, 0, OPEN_EXISTING, FILE_FLAG_NO_BUFFERING, 0);<br />
<br />
SetCommTimeouts(hComm, &MyTimeouts);<br />
...
<br />
<br />
WriteFile((HANDLE)hComm, Buffer, Size, &BytesWritten,<br />
(LPOVERLAPPED)NULL);<br />
Now with the write interval timeout, I check BytesWritten with OutputSize (passed in) and can see when the problem occurs (they don't match), but still have no clue as to why...
Any Resonable suggestions would be greatly appreciated. Thanks in advance.
Kevin
|
|
|
|
|
Hi,
I am using the PageSetupDialog, and all documentation says the Margin units are in 100ths of an Inch. However, the dialog box displays the margin values in either Millimeters or Inches depending on the setting in Control Panel - Regional Options - Numbers - Measurement system.
When the PageSetupDialog box is displayed, the values passed for the margins are converted to Inches, regardless of the 'Measurement system' selected in the control panel. This all works if you select 'U.S.' as your measurement system, but selecting 'Metric' causes the margin values to be corrupted when the PageSetupDialog box is used.
Try it yourself - select 'Metric' in the control panel setting, then use a .NET application that has a PageSetupDialog in it and simply open and close the dialog repeatedly. You will notice that the margin values will slowly decrese until they reach the minimum allowed values. Try setting them higher and repeat the open/close thing.
Shouldn't the PageSetupDialog be using the RegionInfo.CurrentRegion settings to decide on the measurement system instead of the control panel setting???
Is there a way to work around this?
Thanks for any help.
|
|
|
|
|
I've been using the colour (Color) structure and noticed you can get the Hue, Saturation and Brightness elements using GetHue() etc. However there does not been anyway to convert a HSB colour back to RGB.
Is there any other class (which I can't find) that can do this?
If there isn't then I have an algorithm to do RGB to HSB, but does anyone know what value GetHue() returns when the Hue value is undefined?
Thanks
|
|
|
|
|
Gomac wrote:
Is there any other class (which I can't find) that can do this?
Not that I know of. I wrote my own.
Gomac wrote:
If there isn't then I have an algorithm to do RGB to HSB, but does anyone know what value GetHue() returns when the Hue value is undefined?
You mean when it's grayscale? I don't know, but you might want to experiment to find out.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
hi,
sometimes i get an error when i open a formular. the exception is like this:
************** Exceptiontext **************
System.ArithmeticException: error in arithmetic Operation over- or underrun at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet)
it dont occur on every computer. i normally use framework v1.0 but
i even testet it on framework 1.1 and the error even occurs.
i found out the error occours when i e.g. have a form with 1 label and set the labelfont to bold ... but not every time!
does anyone hav a solution?
thx
michael
|
|
|
|
|
You know, the folks at SharpDevelop came across this, too. It's due to incompatible graphics card/drivers. Updating your graphics card drivers may help.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
How do i set the option for a windows service to interact with the desktop from my Installer?
|
|
|
|
|
I have just found a significant issue with this running on the v1.1 framework (in my enviroment - no others tested). In a nutshell, the Downloader component is starting to scavenge one level too high in the root of the disk drive; this results in some very unpleasant things such as the removal of the entire C: drive on the develoment machine...
I haven't found the cause of the problem yet, but thought I'd put a post out in case anyone else gets caught out. Note that the whole app. was running on the v1.0 framework everything was OK.
|
|
|
|
|
Thanks for warning us!
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
I'm trying to use the following:
System.Diagnostics.Process.Start("\\Path\\To\\My\\Program\\blah.exe");
but I get this error when I try to build:
The type or namespace name 'Process' does not exist in the class or namespace 'System.Diagnostics' (are you missing an assembly reference?)
Any idea what I'm doing wrong? Should I be doing this differently? This app is intended to run on a PocketPC, I'm using Visual C# .NET 2003 to create it.
|
|
|
|
|
May be you haven't add reference to assembly System.dll?
|
|
|
|
|
The Process class is not supported by the .NET Compact Framework!
|
|
|
|
|
I am a Software Engineer with two years experience. I am attending night school in pursuit of my graduate degree in Software Engineering and was contemplating studying for the MCSD. Would I benefit in the job market with the MCSD or is this a big waste of time? Also, if anyone is a MCSD, I would really like your book recommendation.
|
|
|
|
|
There are some big heavy Microsoft Press books that are recommended for each modules. Some of them do exactly what it says on the cover, it prepares you for the exam but nothing more and can be thrown in the bin once you have passed the exam. For example "Building Web Applications with ASP.NET and C#" is one of them.
The series XYZ Step by Step (like ASP.NET Step by Step) gives you more for your money and at least you have a good reference book that can be useful even after the exam.
Chris
|
|
|
|
|
Hi
I´m new to C++ and working with passing files back and fourth to a webservice. I have found som code in C# that does this for me but I can´t convert it into C++. Can someone please help me with the two last lines?
DimeAttachment attachment = new
DimeAttachment("application/octet-stream", TypeFormatEnum.MediaType, ms);
HttpSoapContext.ResponseContext.Attachments.Clear();
HttpSoapContext.ResponseContext.Attachments.Add(attachment);
Regards
// Daniel
Daniel
|
|
|
|
|
I would like to know where I can find implementations (if at all) of inter-process (real inter-process - between different processes) synchronization mechanisms besides System.Threading.Mutex (through using named mutex).
Especially, are there any implementations of something like ReaderWriterLock?
Of course, one can try to implement by himself such things using named mutexes, but though it seems simple, nothing is simple when it comes to multi-threading synchronization...
Thank you.
|
|
|
|
|
Hi
Any way to enable the test form to be used by another machine than the local one ?
You know, the little form that ask you all the variables used to test your webservice
Thanks
Heel
|
|
|
|
|
Hi
I haven´t tried it, but isn´t there a "Remote Settings"-part under the projects Properties-Debugging?
Daniel
|
|
|
|
|
Sir !
I have project of urdu editor.I m building it in C# .It has many fuctionalities other than simple urdu editors.But I got stuck now .If any body who have worked on urdu editor.
i ll be thankful for him for this favor.
please contact me on humayun_khattak@hotmail.com
|
|
|
|
|
Hi there,
I'm looking for the best way to send log files over the Internet. These logfiles contain EventViewer lists and Backup logs. On the Client Side I want to build an application getting this data and putting it into a XML File. On the Server Side I want to "read" the XML file and put it into a Database. These logs are comming from Customers, so the only way to communicate is through the Internet.
What do you all think it's a good solution for this problem? How must i get these log files from the client side to the server side (our Main Office)
E-mail, .XML Webservices, .NET remoting.
I'm new to .NET so I need some help to decide witch architecture is the best.
Of course I don't want to change the fysicall Network Infrastructure of the customers. Anyone an Idea?
Thanx in Advance,
Joost, the Netherlands
|
|
|
|
|
.XML Webservice seems to be the best solution for your business. You can build a web service that takes a dataset as argument. This web service would process this dataset and store it in your database. On the client side, you would build a windows app that reads EventViewer lists and Backup logs or whatever you require. The windows app would gather all this data in a dataset and call the web service passing in the dataset.
|
|
|
|