|
Hi Kubben, i think this helps, thanks for your suggestion.
|
|
|
|
|
If you don't rethrow the exception, you have to return something:
If (bRethrow) Then
Throw
Else
Return Nothing
End If
---
single minded; short sighted; long gone;
|
|
|
|
|
Hello,
I am new to .Net and I am looking to add a custom tooltip to a link button with a close button.Please let me know how I can do that .
Thanks,
Uday.
Uday
|
|
|
|
|
Are you taking about a web application? If you are the LinkButton has a property called ToolTip. Just set that property to the correct ToolTip. If you want the browser to close you have to do it in javascript.
Here's some vb code for .net 1.1
Private Sub closeWindow()
Dim myScript As New StringBuilder
With myScript
.Append("<script>")
.Append(Environment.NewLine)
'Close the window
.Append("self.close()")
.Append(Environment.NewLine)
.Append("</script>")
Page.RegisterStartupScript("close window", .ToString())
End With
End Sub
If you are using .net 2.0 the registerstartupscript is a little different.
HOpe that helps.
Ben
|
|
|
|
|
Ben I am Using .Net 2.0 and I want close button to be present on tooltip, I am in a urgent need please help me.
Thanks
Uday.
Uday
|
|
|
|
|
You didn't answer him, is it a web app ?
If not, one obvious way is to create your own class instead of using the built in tooltips.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Do U want the close button to present in the
tool tip window?
Regards,
Arun Kumar.A
|
|
|
|
|
Arun I am Using .Net 2.0 and I want close button to be present on tooltip, I am in a urgent need please help me.
Uday.
Uday
|
|
|
|
|
See if this helps U.
click Here
But, it will show the popup on the click event.(not on the mouse over event.
Try to explore the control, and see if U can achieve what U really want.
Regards,
Arun Kumar.A
|
|
|
|
|
Hai all,
I am currently working a system project that handles Compiling and executing C,C++ programs using click event. Can any one help for me??????????
Senthil.s Software Programmer
|
|
|
|
|
Senthil S wrote: Can any one help for me
Only if you describe what part you're having a problem with.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
I guess you need to work out the commmand line for the C++ compiler, and then use Process.Start to call it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Back again!
Is there any simple line of Code that will report in boolean whether or not the Windows the program is running on is Activated or not?
|
|
|
|
|
GNX-Viper wrote: Is there any simple line of Code that will report in boolean
Nope. You have to write this function yourself.
You can gleen some information on how to do this by examining this[^] little script.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Thanks for pointing me in the right direction.
|
|
|
|
|
Hello!
I want to create a vb.net application where I will be able to open and view PDF files. I'm trying to work with AcroPDF.dll provided by Adobe. So far, everything is ok. The only problem is that I want to get rid of ALL menus... I just want to see the viewer... Not the left bookmark menu or the bottom one. How can I do this???
Thank you!
-------------
-= Nasty_p =-
|
|
|
|
|
Anybody please help me on how to insert data from VB.NET of Visual Studio 2005 to MS Assecc. I am in the middle of a project and i dont know how to do it.
It would be a great help if someone provide me some feedback. Thank You...
|
|
|
|
|
Hmm, you are in the middle of a project and still haven't figured how to connect to MS-Access?
Have a look at these sites Link 1 and Link 2
Tarakeshwar Reddy
MCP, CCIE Q(R&S)
There are two kinds of people, those who do the work and those who take the credit. Try to be in the first group; there is less competition there. - Indira Gandhi
|
|
|
|
|
hi
i am trying to create a syntax highlighting editor for language " Info Basic "
i am serching for syntax higliting code till now i dint get any idea to speed up the highlighting
the main problem in my language is comment line
it accepts " *", "!", "REM" as commenting keyword
could anyone help me out to do the editor . atleast i need regex format for commentline using "*" as comment keyword
with regards
Balagurunathan.B
|
|
|
|
|
This[^] is about the best article I've seen on syntax highlighting.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
thanks
its doing good but there is no answere for comment lines using comment command (" * ") of infobasic
any how thanks for showing me a good one
with regards
Balagurunathan.B
|
|
|
|
|
It's not going to give you the code itself, but it demonstrates the techniques for parsing up the data so you can write you own version that works for your requirements. You're not going to find a "cut and paste" solution.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
yes
u r correct i am also not looking for cut and paste solutions if i do like that i cannot improve my knowledge
k if i found a good solution from that i will also send a good article mainly on regex because i dono even abcd on regex
with regards
Balagurunathan.B
|
|
|
|
|
Hi
Here is the class structure in which i am facing the problem
Class1 : User
Properties: Name, Phone No, City
Class2 : Address
Properties: Street, City
Now i am serializing the User class and also add an object of address class in it to serialize it too.
the error that I'm gettin is regarding double entry of a property (City) in the file.
Is there any method using which i can distinguish between the two properties with same name but from different classes.
I and using SOAP for serialization
Thanks in advance
Parag
|
|
|
|
|
You could change the name of one of them. Or you could mark one of them as none serializiable.
Hope that helps.
Ben
|
|
|
|