|
Show me the complete code of the Method you are using to change teh Value of a DataGridViewCell
|
|
|
|
|
If you don't understand what integral types are, you should go back to basics before attempting more complicated tasks. Read up on the BCL (Base Class Library).
Follow this link[^] for more information on C# data types.
Paul Marfleet
|
|
|
|
|
i am using webbrowser control in one of my projects. After I navigate to a webpage and try to exit the application I get the following error message
No Symbols are loaded for any call stack frame. The source code can not be displayes
If i press "OK" which is the only option i get this message
LoaderLock was detected
Attempting managed execution inside OS Loader lock. Do not attempt to run managed
code inside a DllMain or image initialization function since doing so can cause the application to hang.
-- modified at 8:10 Tuesday 30th October, 2007
o O º(`'·.,(`'·., ☆,.·''),.·'')º O o°
»·'"`»* *☆ t4ure4n ☆* *«·'"`«
°o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°
|
|
|
|
|
I'm assuming you are running the application through Visual Studio. Check this[^] out, it may help. I have disabled the LoaderLock MDA, because if I tried to create a new folder in a OpenFileDialog (as a user) then I would get loader lock issues.
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
cheers mate
o O º(`'·.,(`'·., ☆,.·''),.·'')º O o°
»·'"`»* *☆ t4ure4n ☆* *«·'"`«
°o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°
|
|
|
|
|
Hey
I am trying to use some icons in a listview. The thing is that they look ok in windows vista, but they do not look clear in windows xp. Does anyone have any ideas about how could i correct this?
|
|
|
|
|
There are some problems with images with an alpha channel. Check this[^] out for more info and a work-around.
Also, Vista has Jumbo images, which are not supported by XP or lower. So it really depends on what type of icons you are using.
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
I am having trouble adding a ToolStripMenuItem but I do not know why. I have so far added many ToolStripMenuItems as follows:
File
New
Save
Save As
Print
Close
Format
Font
Colour
Help
Contents
Index
Search
About
I want to add 3 more items under the Format menu, these being: Bold, Italic, Underlined.
Each time I click on the drop down menu at design time and type Bold where it says 'Type Here' and then click away (This menu item with the text Bold should be saved) but the new menu item disappears as though I have not typed anything. When I try to type Bold again this error appears in a dialog box:
The control System.Windows.Forms.TextBox has thrown an unhandled exception in the designer and has been disabled.
Exception:
Object reference not set to an instance of an object.
Stack trace:
I then get an error from Visual Studio saying:
Microsoft Visual Studio has encounted a problem and needs to close.
Also in this dialog box, there are 3 buttons, Debug, Send Error Report and Don't Send.
Can anyone advise me as to what is going wrong when I try to add a ToolStripMenuItem?
Lucy
|
|
|
|
|
Perhaps its just some bug, or visual studio hates you.
Try adding the menu in the code, rather than the designer. It shouldn't be hard to figure out how, there's already at least 15 examples.
Once youv'e added it, go back to the designer and see what it does, if it still comes up with the error then i can see your going to have alot of fun. If not, then i guess you can forget about it.
My current favourite word is: Waffle
Cheese is still good though.
|
|
|
|
|
What version of Visual Studio are you running?
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
Is your form's designer file read-only?
/ravi
|
|
|
|
|
I am using Visual Studio 2005.
Yes I can add the menu item into the code easily and with no errors.
Lucy
|
|
|
|
|
No none of my files are read-only.
Lucy
|
|
|
|
|
Hi,
How can i catch the TAB key on my buttons?
Keypreview is on, but key_down is not triggered.
(i do have a compare keys.TAB == e.keycode, so it should exist in dotnet)
thx
Kurt
|
|
|
|
|
But, when you press tab, the next control in the tab order gains focus so...
My current favourite word is: Waffle
Cheese is still good though.
|
|
|
|
|
Hi,
have a look at Control.IsInputKey()
MSDN says: "If IsInputKey returns false, the specified key is preprocessed and only sent to
the control if it is not consumed by the preprocessing phase. Keys that are preprocessed
include the TAB, RETURN, ESCAPE, and the UP ARROW, DOWN ARROW, LEFT ARROW, and RIGHT ARROW
keys."
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
|
Hi,
I have a Managed Application, working fine on mine system.
I want to install it on the clients machine .Can I include any libraries or Dlls related to .Net Framework in my application so that my application runs on client side?
So that the client need not install .Net Framework.I want my application to be lightweight when I run on client.So, I want to merge only the libraries which I used in my application.
If it can be done, how? Any suggestions would be helpful.
Thanks
Today is a gift, that's why it is called the present.
|
|
|
|
|
No. The .NET framework has to be installed on the client in order for any applications written in .NET to run.
Paul Marfleet
|
|
|
|
|
You need to install .NET framework on the client machine to get it work. Framework executable can be attached with the installation package of your application.
|
|
|
|
|
Yes, it can be done by this program: Xenocode Postbuild[^] but the generated executable is about 10MB in size
|
|
|
|
|
Hi all,
Does anyone know if it is possible to change PDF file metadata programmically using C#. Or for that matter is it possible to make/edit PDF files at all using C#?
Mark.
"The only good bug, is a dead bug!" - Starship Troopers 1999
|
|
|
|
|
MarkBrock wrote: Does anyone know if it is possible to change PDF file metadata programmically using C#. Or for that matter is it possible to make/edit PDF files at all using C#?
Yes.
|
|
|
|
|
Yes, but only if you write code to read the format, or get an external toolkit for working with PDFs
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 )
|
|
|
|
|
I'm trying to make an application that will read several thousand PDF files and generate keywords that will be added to the title (metadata), based on the first few lines in the file.
Christian Graus wrote: Yes, but only if you write code to read the format
Does that mean I could do what i'm trying to achieve?
Regards,
Mark.
|
|
|
|