|
In a word document i've a paragraph. Programmatically i wants to check the spell and left side of each line of the paragraph i've to give the Error description.
In this above task,
I've done the spell check but i don't know how to generate error description in the left side of each line.
Any one can you help me?
Gopalakrishnan R (Software Engineer)
Ascendum Systems Pvt. Ltd
#90,II Main | Phase I | Electronics City | Hosur Rd | Bangalore 560100 | INDIA
Direct : 91.9860 44145
Office : 91.80.4135 9848
Email : Gopalakrishnan.R@ascendum.com
Web : www.ascendum.com
|
|
|
|
|
Please don't cross post.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi..
I tried the code given in http://www.codeproject.com/csharp/SimpleContextMenu.asp. I wrote the below code in the form_load :
string menuCommand = string.Format("\"{0}\" \"%L\"",
Application.ExecutablePath);
FileShellExtension.Register("jpegfile", "Simple Context Menu",
"Context Menu", menuCommand);
But i am not getting the context menu. Is this the correct way to provide the code in the form load. How to get the context menu?
Please help
Thanks & Regards,
Venkat
|
|
|
|
|
Did you download the sample application? Your app needs to contain the Classes described in the article.
If you did download the sample application, does IT create the context menu when you run it?
|
|
|
|
|
Hi..
I tried the same code. I am getting the message box that the Shell extension was registered. But still i dont get the context menu?
please help
Thanks & Regards,
Venkat
|
|
|
|
|
I am able to register the context menu, but its not getting displayed..
please help
Thanks & Regards,
Venkat
|
|
|
|
|
Any help...
Thanks & Regards,
Venkat
|
|
|
|
|
i have a combo box and a TreeView Control in a windows application.
How to populate the drives in the combo box and folders in a TreeView Control.
the problem is:
i want to populate all the drives of the system in the combo box.And when i select a drive, it should display all the folders in the TreeView control corresponding to that selected drive.
I tried Using .getlogicalDrives,but invain.Is there any coding for this.
Please help me.
tirumal
|
|
|
|
|
With String[] drives = Environment.GetLogicalDrives() , you get an array of strings where each element contains the name of a logical drive.
Within a foreach loop, you could then add those names to your combobox and perform any additional staff related to each name. Much faster is to use the YourComboBox.Items.AddRange(drives) method.
After that, you may want to use the ComboBox.SelectionChangeCommitted event which occurs when the selected item has changed and that change is displayed in the combobox. Inside the private void YourComboBox_SelectionChangeCommitted(object sender, EventArgs e) function used to treat that event, you will populate the tree control with information on the folders. You may want to see the Windows Forms Programming example provided by MSDN: Creating an Explorer Style Interface with the ListView and TreeView Controls[^]
SkyWalker
|
|
|
|
|
I programmicaly created a datatable, meaning it isn't bound to a database. I want to be able to add style to it but I can't associate created DataGridColumn style with any column.
For example, I have 3 columns, 1-2-3. Then I create a style for them... what and how do I map it appropriately!
Thanks,
RABB17
RABB17
"Nothing fancy needed, please just solve all our problems as quickly as possible."
|
|
|
|
|
|
Please tell me.
What is size of hash table?
Thanks in advance
|
|
|
|
|
Hi,
The usable size of a hash table is the number of associations that the table can hold at a given time. If the number of associations in the table exceeds the usable size, the table will automatically grow, increasing the usable size to a new value that is sufficient to hold the associations.
The physical size is an abstract measure of a hash table that specifies how much space is allocated to hold the associations of the table. The physical size is not interesting in itself; it is interesting only for its effect on the performance of the hash table.
Regards,
Cormac Redmond
|
|
|
|
|
Please tell me.
How many tables does dataset contains?
Thanks in advance.
|
|
|
|
|
|
My application is hanging, in the release version only, in a specific circumstance. This does not happen while running hosted by Visual Studio.
The culprit appears to be the DataGridView.
To whit:
My application listens to events from a COM source. When it receives an event, it adds a row to a table. That table is the DataSource for a DataGridView, so the DGV also grows by a row. As soon as the DGV has enough rows for it to sprout a vertical scrollbar, my application doesn't return from the COM message.
Note that my application is not in the foreground - the COM server application is. So my app is getting a message while it's not foreground, and it's causing the DGV to grow by a row. The DGV gets invalidated and repaints itself. When the DGV has enough rows to exceed the client area, it tries to paint a vertical scrollbar, and hangs.
This does not occur when running under the VS service host (ie, while debugging). I suspect this is because the order and occurrence of events is different. For instance, when running under VS, my application does not get invalidated while not in the foreground, so it doesn't try and repaint the DGV, and it doesn't try and sprout a vertical scrollbar.
If I turn off the scrollbar property of the DGV, the hang does not occur. So, I'm pretty sure that the problem is that the DGV is trying to pop the scrollbar and getting caught somewhere.
Oddly enough, my app is not eating CPU at this point - it's just sitting there, not returning from the COM call.
Any thoughts, or known bugs here?
-- modified at 23:38 Monday 1st January, 2007
|
|
|
|
|
I've worked around the problem. On my form_Deactivate, I set the Scroll property of my DataGridView to "none". On form_Activated, I set it back to "both".
It's a hack, all right. The fact that many of the DGV events don't fire when you are running hosted under VS (ie, F5) when the app is not foreground is disturbing. For instance, to see the rows that have been added while your app was background running hosted, you have to actually invalidate the whole window - and I mean, inside your app, like switching tab controls or something.
Moreover, aside from invalidating and painting, some events just never get fired. RowsAdded, for instance, will never be fired while you are background, and don't even get queued and fired later when your window is activated. They simply never get fired. Whereas, when you are not running hosted and are a background app, they fire just fine.
If anybody is aware of a place where I can read about known bugs/issues with .NET components, I'd appreciate the pointer. And if there's a place to report such issues, that would be a bonus, too.
Thanks!
|
|
|
|
|
JoeRip wrote: If anybody is aware of a place where I can read about known bugs/issues with .NET components, I'd appreciate the pointer. And if there's a place to report such issues, that would be a bonus, too.
MS Connect[^] is a central repository for feedback and known issues with Microsoft products. The MSDN Wiki[^] also allows users to post community content directly to the MSDN library, and sometimes these contain information about subtleties that may arise when using certain classes.
|
|
|
|
|
I have the following code snippet:
WebRequest request = WebRequest.Create(URL);
request.Method = "GET";
request.ContentType = "text/xml";
WebResponse response = request.GetResponse();
System.IO.Stream stream = response.GetResponseStream();
System.IO.StreamReader streamReader = new System.IO.StreamReader(stream);
String document = streamReader.ReadToEnd();
this.webBrowser1.DocumentText = document;
I have got the HTML content and javascript successful but it lack of the javascript inside the tags.
How can I solve this problem?
Thanks for your help!
Hung
|
|
|
|
|
Hi all
I want helping in NokiaCLMessaging Component
e.g how to use it ,how to use its classes and methods
of course in C# just
I want guide in this tobic
|
|
|
|
|
jawahi wrote: I want helping in NokiaCLMessaging Component
Welcome to Code Project!
Firstly, did you check Nokia's website[^]? There's an extensive API document at the provided URL.
If you need help with COM, on the other hand, I'd suggest reading some articles here on Code Project[^]. They can definitely get you started.
For more information on how to properly utilize these forums, check out the introduction[^]. Feel free to post again if you need assistance with something in particular!
|
|
|
|
|
Hi Vega02
Can you giude me to more than that about these Component and its classes.
thank you so mutch
|
|
|
|
|
Is it possible to transfer a value from a javascript variable to a aspx form variable .
When i tried to display the value of aspxVariable in my form it's empty
var a =myFunction();
aspxVariable=a;
|
|
|
|
|
yes it is possible,
you can write your javascript code this line
window.open("myweb.aspx?myvalue="+a);
//or
window.location.href="myweb.aspx?myvalue="+a;
//and then on your myweb.aspx page
you can use ConfigurationSettings.AppSettings.Get("a");
|
|
|
|
|
thanks, i gonna try this.
|
|
|
|