|
How can I customize the RichTextBox so I can add line number, etc. nice things on the left side, just like what IDEs have?
|
|
|
|
|
|
can you give me little more informations like what do you want to have on left side .
nemanja
|
|
|
|
|
Line numbers (label control)
or some custom stuff - image for example or something drawn with GDI+ like the dots added for debug breakpoints
or which is the most important in my case: a drop down list control with options.
|
|
|
|
|
Can enyone help me !!I have a problem . I dont know how to get information from web site to my application .
example . I wont to get information (text) to my text box.
Thanks..
nemanja
|
|
|
|
|
Not enough information to help you out here i'm affraid.
If your website is using a database, then your application also can use that database...
|
|
|
|
|
No.I was thinking that maybe i can use text from another site .Is it possible???
nemanja
|
|
|
|
|
So just have an html webpage and you want to see what that html page is showing?
Please explain your problem more so we can help you.
|
|
|
|
|
yes i just have an html web page and i wont every time i connect to internet the text from that site goto my text box.
example : weather.
nemanja
|
|
|
|
|
|
I am using the Webbrowser control in VS 2005 C# Express to automate the navigation of pages on a partner's web site. The first page contains an <IFRAME> element:
<iframe style='width:40; height:40'; align='center' marginwidth='0' marginheight='0'
scrolling='no' frameborder='0' id='xyzlogin' name='xyzlogin'
src='https://www.xyzcorp.com/accounts/ServiceLogin'>
</iframe>
Within that frame I need to access these three elements:
<input type="text" name="Email" value="" class="xyz le val" id="Email" size="18">
<input type="password" name="Passwd" class="xyz le val" id="Passwd" size="18">
<input type="submit" name="null" value="Sign in" class="xyz le button"
so I can programmatically: 1)enter the user ID and password, 2)click the 'Sign in' button.
I thought maybe Webbrowser.Document.Window.Frames would be the way to go but that did not seem to work (sorry, I'm not at my development environment right now or I would provide more detail).
Frames is an HtmlWindowCollection. An HtmlWindow has a Document member which is an HTMLDocument. So, would this work:
-Look through the Frames collection until a HtmlWindow named 'xyzlogin' is found.
-Get the Document member for that window and extract the following HTMLElements by ID: Email, Passwd.
-Set the InnerText properties for these elements.
-Find the button element (how? it does not have a valid name or id)
-Use InvokeMember("Click") to click the button.
|
|
|
|
|
|
Can anybody tell me what is the significance of interfaces of .Net framework, i mean , how i as a developer can make utilize.(with one small example)
santosh
|
|
|
|
|
Interfaces are a contract that an implementing class must fulfil. If an interface defines a method called "DoSomething()" then every class which implements this interface must define this method.
They are often used as a "Lowest common denominator" when dealing with objects where you dont know the exect type of class being used.
For example, a Data Abstraction Layer which works with Sql and Oracle databases may have a method called "CreateConnection" which returns an instance of a class which implements System.Data.IDbConnection - It does not matter to you, the user, whether it is a Sql or Oracle (or Access or MySQL) connection - just that it is a Database connection.
IDbConnection defines methods such as
-Open
-Close
-CreateCommand
-BeginTransaction
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
thanks milky,
But still i am not clear the usage of interface, may be i am unable to visualize it properly.
Can you pls give me one clear exmaple for - They are often used as a "Lowest common denominator" when dealing with objects where you dont know the exect type of class being used.
sorry for my ignorance
san
|
|
|
|
|
|
I tried to use \\server\directory but i got an error saying that UNC path can not be like that. What class can I use to convert the \\server\directory into a path that is acceptable by DirectoryInfo?
Thanks.
|
|
|
|
|
Post your code.
Are you making sure to format it like this:
@"\\server\directory"
?
|
|
|
|
|
Well insted of putting '@' infront I had "\\\\server\\directory".
|
|
|
|
|
|
I’m working with an ActiveX and it’s API has some samples on how to handle COM interfaces and so on.
How do I make the call QueryInterface in C#?
My C++ codline work like this:
<br />
hr = pMaterialField -> QueryInterface ( IID_ISFColorObject, (void**)ppDiffuseColor );
_____________________________
...and justice for all
APe
|
|
|
|
|
Try looking at the System.Runtime.InteropServices.Marshal class. This class has all kinds of static methods for handling COM interfaces and so on.
I hope this helps.
Deus caritas est
|
|
|
|
|
Hi,
I am trying for developing one application which will work as a Bluetooth Server to detect bluetooth enabled devices around its proximity and will transfer data to and from detected devices. If anyone is having any idea abt how to proceed or code snippet, do let me know
Sanjay
|
|
|
|
|
Hey, I'm trying to build my own ICryptoTransform-able class, so I could use it in CryptoStream, because as I know of, 2 chars in hebrew, transformed (in almost any transformable there is in System.Security.Cryptography) to 24 chars, so I would like to create my own so it wouldn't be so much... I already built the algoritm, and I inherited from ICryptoTransform as they wanted to, and I'm using MSDN to know what methods and properties I need to do, but there are two properties I don't know what to do with them, and what I should return from them... the properties are InputBlockSize AND OuputBlockSize, if anyone can tell me what to do in them, and even give me an exemple I would appriciate it...
oh and another thinh, can some-one tell me in the TransformBlock and TransformFinalBlock, what does every parameter stand for, and what do I need to return from it?
NaNg
-- modified at 8:30 Tuesday 9th May, 2006
|
|
|
|
|
I want to trap the page break event at runtime.I can't able to trap the page break at runtime in a running word document.
Requirement :
- When columns in a table span pages, need to repeat the column heading row at start of each page .Column means to say the total no of rows in a page is greater than the rows that can be printed in a single page, then in that case we have to repeat the column heading into the next page as well.
If anyone have any idea to implement this condition then please give your suggestions
rksingh
|
|
|
|