|
IIRC you can only emit that in the Page_load handler
xacc-ide 0.0.99-preview7 now with C#, C, C++, IL, XML, Nemerle, IronPython, Perl, Caml, SML, Ruby, Flex, Yacc, Java, Javascript, Lua, Prolog and Boo highlighting support!
|
|
|
|
|
Hello there,
anyone can lock a control in design time using the Locked property in the properties window, setting it to true .
But is there a way to do that programmatically?
|
|
|
|
|
the Locked property simply stops the control being moved/resized at design time - it has no effect at runtime so quite why you would want to set this using code im not sure.
If you want to stop a control being used at runtime, you are after the Enabled property
|
|
|
|
|
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
|
|
|
|