|
Use square brackets in C#
|
|
|
|
|
Hello,
I want to create word files and also want to track changes in WORD from DOT NET. How can I achieve this.
Regards,
Pavas
|
|
|
|
|
Either integrate word into your application or use something like ASPOSE.Word.
|
|
|
|
|
ASPOSE.WORD seams to be a paid version. I am thinking of writing my own code. Could you please direct me some URLs where they show to "Integrate word" in the application.
Regards,
Pavas
|
|
|
|
|
Hi,
here are some links you can try for that.
Link1[^]
Link2[^]
Link3[^]
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Thanks I've some to start with. Thanks for the links
Regards,
Pavas
|
|
|
|
|
Can I open WORD DOC on a web Page. I have seen links which create the WORD DOC. But is there a way that a USER can open a WORD DOC and edit them online on an ASP.NET PAGE
Regards,
Pavas
|
|
|
|
|
Hi all... I have a strange issue since a couple of days.
here is my code:
<br />
DataRow row = MyDataView[Position].Row;<br />
row["LastName"] = "r";<br />
Now the strange thing is that row.RowState is always set on "Unchanged"... And naturally that means I can't update my modification to the database...
Does somebody have an idea where to look for?
Life is not short... the problem is only how you organize yourself
|
|
|
|
|
Found my self the solution
forgot to put an EndEdit...
But I still have the problem that when I go to my Update on the dataset, I retrieve a ConcurrencyException... but I'm the only one using this database...
Life is not short... the problem is only how you organize yourself
|
|
|
|
|
Hi,
check out this link[^]
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
this might be not related to C#, but i would like to know the reason why ALOGOL-60's assign operator (x:=5,//not x=5) was not followed by the other languages like C# and java .
|
|
|
|
|
|
I think (in fact someone told me some time ago) because C language's (i.e. the grandfather of both Java and C# ) assignment, equality test operator pair ({= , == }) is smarter than ALGOL-60 one (({:= , = }): it implies less typing since assignments are statistically more frequent than equality tests.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
prasadbuddhika wrote: this might be not related to C#, but i would like to know the reason why ALOGOL-60's assign operator (x:=5,//not x=5) was not followed by the other languages like C# and java .
Possibly because they were based on C style syntax. Pascal use the := syntax, C doesn't.
|
|
|
|
|
Maybe Bell Labs didn't have a colon on their keyboards? (Or card punch systems?)
BCPL uses := for assignement and = for equality.
B uses = for assignment and == for equality.
and it all goes downhill from there.
In my opinion, assignment should be := and equality should be == and a bare = should not be a valid token.
|
|
|
|
|
hi ,
i installed windows service in using installutil ,installing
is succesfull. But the service is giving error while starting ...
it is giving internal windows error or internal service error
can any one tell me how to rectify error ..
Thanks
suman
|
|
|
|
|
Build stable code and log exceptions to the eventlog (yes you've got one for free with your windowsservice )
Debuging a windows service is .... not nice so you better test your code before integrating it into a windows service.
Most errors are written to the system event log of your OS anyway so maybe have a look at those and try to find more information there.
A common problem is that a windows service runs normaly on special accounts that don't have all those fancy permisions you are used to while coding as admin - for example file access might be forbidden - you can test this by running the service in an administrator account (of course only for test reasons )
|
|
|
|
|
We've collected a fair bit of code written by different developers, some of who have been lax about disposing Bitmaps after they are done being used. I was wondering if anyone knows how serious a problem that is. Are there any reprocussions to not disposing bitmaps? Won't the GC take care of it all in the long run?
|
|
|
|
|
Winkles wrote: Are there any reprocussions to not disposing bitmaps? Won't the GC take care of it all in the long run?
Yes and yes. It uses more memory than is required until the garbage collector gets to it. If you don't dispose of it properly the garbage collector will require two passes at the object (meaning it will stay in memory longer). Also large items, such as bitmaps, go directly into the generation 2 heap which is cleaned up less frequently (meaning it will stay in memory longer).
Bottom line, slap your lax developers.
|
|
|
|
|
Colin Angus Mackay wrote: Also large items, such as bitmaps, go directly into the generation 2 heap which is cleaned up less frequently (meaning it will stay in memory longer)
Actually, large objects will go on the large object heap, which is different than Gen2. Also, the LOH isn't compacted but it is collected everytime Gen2 is collected.
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
Looks like I'll have to reread the chapter on garbage collection - I thought Gen2 was the same as the LOH (just synonyms for each other)
|
|
|
|
|
Hi Guys,
If you any idea regarding developing application in c# like Visio does
Drag and drop the shapes
Resize
Rotate .
Please let me know as soon as possible.
Regards
subash
Subash
|
|
|
|
|
|
nhss wrote: Please let me know as soon as possible.
No. The tone of the question is too rude for me to be bothered.
|
|
|
|
|
Hello everybody,
I want to design only one master page for different type of users. Menu items should display accoding to permission for a user type. To design, i have used menu tool. I want to connect the menu with different sitemaps, because sitemap stores xml data. I will provide all sitemap with different names menually. When someone logging in it will check the user type and set menu items accordingly.
But sitemap datasource by default connect with web.sitemap and shows menu. There is no option found to menually set other sitemaps for a menu.
How can i link with other sitemap at runtime? And how can i design this type of master page? If there is any other process, please tell me.
Please help me.........
Thank you in advance.
Dipak
|
|
|
|