|
Hello,
I need to use a Java Webservice which uses HTML/1.1 with transfer encoding: chunked. I already found postings that say that .NET is able to read chunked SOAP responses, but I haven´t found an arcticle about reading chunked SOAP messages.
Can anybody give me a hint how to process chunked SOAP XML response with C#, or has a link to an article about that?
|
|
|
|
|
Hai All,
Can I access the delphi compiled dll in .net.
I tried to use it by adding the reference but I am getting the error that it is not a valid com component or valid assembly.
I am getting information about the functions written in the dll in the dependency walker.
Can I accesst the dll functions through DllImport attribute.
Please help me
varmag
|
|
|
|
|
If you know the complete signature of the function (i.e. parameter definitions and types) you can use P/Invoke and the DllImport attribute.
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Hai Greeeg,
Thank You for your quick response.
I will check it.
Once again thanks for your response.
varmag
|
|
|
|
|
Hai Greeg,
Thanks for your hint.
Its working fine.
Thanking you
varmag
|
|
|
|
|
Hi all,
does anyone know a .NET PDF-Viewer control except Acrobat Reader(COM) (not necessarily for free) ?
Thanks in advance
Frank
-- modified at 5:55 Thursday 3rd November, 2005
|
|
|
|
|
Use the search from the main site, there are a couple of articles about PDF and C#
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Hi,
there are a lot of PDF creator apps but only one (commertial) PDF-(Viewer) converter. I didn't find a couple of articles of viewers what you have mentioned.
Do you have a link for me ?
regards
Frank
|
|
|
|
|
Don't know of a.NET one, but we've been using one from Glyph and Cog at http://www.glyphandcog.com/, or as its known in the open source world, XPdf. You could P/Invoke to it and it should work fine.
--
Joel Lucsy
|
|
|
|
|
Anyone know a free compiler that does Web stuff, i usually use SharpDevelop, but, there aint no web services / apps, part, and it would be REAL useful if i had something that did.
-- modified at 7:00 Thursday 3rd November, 2005
|
|
|
|
|
Hi all!
I don't know if anyone can reproduce this - sometimes (unpredictably as it seems to me) Image.GetWidth() throws a System.ArgumentException.
best regards
björn
|
|
|
|
|
That usually happens when you are trying to access properties on an Image instance that has already been disposed. Because the underlying unmanaged resource has been released, GetWidth throws exceptions.
You can try placing breakpoints on the lines where Dispose is called and checking if there are any accesses after Dispose.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
oh, yes, that helped, thanx.
I disposed the image of a PictureBox in another thread and (just two lines later) setting a new image.
That explains why it happened so scarcely.
|
|
|
|
|
hi
i have a datagridview in which i have a a datagridviewcomboboxcolumn.
The problem is i need to populate 2 values from 2 datasources in the same dropdown .
for example this populates only 2 to 10 in the combobox i need to customise it for a pair of values
how to do it ??
ArrayList arlTilsagnType = new ArrayList();
InitializeComponent();
for (int i = 2; i < 10; i++)
{
arlTilsagnType.Add(Convert.ToString(i));
}
dataGridViewComboBoxColumn1.DataSource = arlTilsagnType;
Anirban Pramanik
|
|
|
|
|
I have application settings (Configurations) which can be modified by the user at runtime. The settings are stored in a file or in a database.
Where do I locate this file? E.g. the installation folder C:\Program Files\MyExampleProgram\Settings is write-protected for a normal user.
The C# program is installed on Windows Systems post Win98SE.
|
|
|
|
|
Can't you put it in the application installation directory? In fact, the standard App.Config file gets placed in the same directory as the executable, with the extension executablename.exe.config.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Hi
Put the config-file in the application data path in the Home-directory of the User on NT-based OS (C:\documents and settings\%UserName%\Application Data\).
André
'A programmer ist just a tool which converts caffeine into code'
|
|
|
|
|
Hello Thanks for the reply!
Can I read the Home-directory folder out of the system settings? Or how should I handle multi language installations (french, german, ...) which do not name the folder 'documents and settings' but 'dokumente und einstellungen' for instance?
Greetings
|
|
|
|
|
|
Yes, that's the right solution.
'A programmer is just a tool which converts caffeine into code'
|
|
|
|
|
Hi,
I'am starting to learn how to write a custom control to use in my C# applications. Actually it's designed to the Compact Framework but as my tries say to me, my problem is the same in the normal Framework.
I need to have a textbox and a command button joined to it at its right border (think a textbox including a browse button). Actually my custom control inherits from the Panel, and I instanciate the textbox and the button in the constructor. It works perfectly, but when I use it in the designer, as it derives from the Panel, I can put other controls in it (it's a container). I don't wan't this behaviour (which also doesn't permit to click in it to move it, I have to point the borders, like a real Panel).
Is there another way to do that ?
Thanks all !
Stephane.
|
|
|
|
|
Just found the answer : I inherited my control from Control instead of Panel, as it has a Controls collection too.
Maybe this can be useful to someone else !
Thanx, Stephane
|
|
|
|
|
Im trying to call the function ChildWindowFromPoint but it seems that it always asumes the Parent window is in the Upperleft hand corner, meaning even if the parent form is in the lower right it wont find the child control until i click around in the area in the upper left hand corner. Its all a little hard to describe here but in anycase ill include the code on how im calling the function. Im using global mouse cords, with the upper left of the screen being 0,0.
[DllImport("User32")]
public static extern IntPtr ChildWindowFromPoint(int handle, int x,int y );
int chihan = (int)Form1.ChildWindowFromPoint(handle,e.X,e.Y);
//show if it found a pointer
MessageBox.Show(chihan.ToString());
//try to display the window text of the child control
StringBuilder s = new StringBuilder(1024);
Form1.GetWindowText(chihan,s,1024);
MessageBox.Show(s.ToString());
I dont know what im doing wrong, i can find the parent control without a problem, reguardless of where it is located on the screen, and im using the same cords as i use in the function above,
Thanks alot for your time
~Jesse
|
|
|
|
|
You probably need to convert the coords to the parents client coords. And, its going to depend on what coord system its coming from as to what you'd have to do. Try looking into PointToClient and PointToScreen.
--
Joel Lucsy
|
|
|
|
|
Just wondering if anyone can point me in the right direction or give me some useful pointers on how to pass data from a pop-up window to a crystal report.
I have worked out how to get the fields I want, the values populate and everything is fine, but i need it to be able to have a date selection on it (Ie load this report where date between start and finish)
I appreciate the feedback.
Paul.
Carnal (Car-Lan) Car and Computer Club http://carnalonline.org.
|
|
|
|