DNN NavigateURL causes Warning in 9.5.1 solution in basic? - vb.net

I got this warning in some very old Basic code I am managing. Web solutions are generally in C#.
Can anyone point me at an example solution in Basic please?
NavigateURL deprecated in 9.4.0 scheduled for removal in 11.0.0

You have to replace Globals.NavigateUrl with the new INavigationManager interface as it will be removed in version 11. See here.
Here are some threads in the DNN Community forum that might help:
NavigationManager
Upgrading from 9.1.1 to 9.4.4 and Globals.NavigateURL
The examples mentioned are all in C#, but it is not a question of the language but of the method/interface used. So it should be easy to translate it to VB.

I noticed the same problem.
Maybe you could try with:
Response.Redirect(PortalSettings.ActiveTab.Url) to replace NavigateURL()
Response.Redirect(EditURL()) to replace NavigateURL() with parameters

Related

Is there a single working OCaml IDE?

I have downloaded multiple OCaml IDE's / plugins and NONE of them work. I have no clue if I have a directory problem or if something else is at fault. I can access the OCaml console through cygwin just fine but it is not very useful for dealing with larger files. I am a total OCaml noob and have no clue how to fix my problems. I have been reading every post on OCaml here and nothing is helping. I am hoping that somebody can help me because this is very frustrating! Thanks to all who reply.
OCaml modes for Emacs and Vim work perfectly (and they run on MacOS and Windows, of course). I heard Geany works well as well.
I'm not saying everyone must learn Emacs and Vim; I understand that it's a kind of interface that beginners maybe don't want to get into -- and supporting other editors well for OCaml is a problem that we need to fix. But if you want reasonable support for pretty much every kind of text format out there, they're still good choices.
Finally, if you have a decent terminal / command-line (if you are on Windows that might require running a GNU/Linux virtual machine), pretty much every editor will be fine if you compile stuff by hand from the terminal (which is not particularly hard). In-Editor support will still provide you with a better experience, in particular allowing to jump right to the place in your code where the compiler says there is an error, but as a beginner you can go a long way without even that.
PS: it would be extremely useful if you took the time to spell out precisely what your problem with each tool was, and send that information to the respective maintainers. I think the main problem with these tools is the lack of testers. Help the future people that will try these tools by helping the maintainers fix them!
I'v recently looked at OcaIDE for eclipse - and it seems to work.
You need perhaps set some configuration variables (paths to ocaml compiler,...), but I don't remember any quirks.
I would like to thank everybody for their help. I finally found some installation instructions for the tuareg mode in EMACS. In case anybody else is having the same problem that I was there are VERY clear instructions here
How to install tuareg
Hopefully I can now translate some stuff into OCaml that I have been working on in other languages and post some of my projects. Thanks again for all of the help.
You can use Notepad++ for Windows. It is more intuitive for than Vim or Emacs for the beginners. And it has a syntax highlighting for Caml and you can assign hotkeys for compiling executing the program.
I would suggest using OcaIDE. I've done some fairly large projects with it, and it's not bad. Emacs (with Tuareg mode) is also a good option. If you're having trouble with setup, I wrote a guide for OS X: http://www.princeton.edu/~crmarsh/ocaml_dev_environment/

Atomineer Utils VB.NET XML Comment Documentation Not Working

I just downloaded the trial for this application and it doesn't seem to work. I went through the Quick Setup guide and it all looked great. Now when I place my cursor on a member of any type and press Ctrl+Shift+D it does nothing. I placed it on top, inside, etc... Nothing. If I press Ctrl+Shift+A (twice) on top of the member it tells me to place it "in the line of the form MyType myVariable;". I'm not quite sure what this means unless it's referring to C# but this project is VB.NET which it doesn't seem to recognize. Anyone else have this issue? I was hoping it would make things easier since I've read that it can document an entire document rather than having to member by member.
Using VS 2010 Premium.
Drop me an email to support (at) atomineerutils.com with a bit of example code that exhibits the problem, and I'll help you sort it out.
(edit)
Please note that AtomineerUtils only officially supports VB 9 onwards, although where the syntax of earlier versions is compatible (i.e. in most cases), it will still work perfectly well.
I've now investigated this, and I can't repeat the documentation behaviour you have mentioned - it works as expected for me. (However, I did find and fix a regression introduced to the Visual Basic handling in a recent version - a small coding glitch that meant some methods could be incorrectly documented as constructors, so thanks for indirectly helping me find this issue!)
All I can suggest is that if you see a problem in any application, the best (and often only) way to get it fixed is to let the author know!

Editing vb.net in netbeans

My work dropped a vb.net program in my lap that I need to modify. Die vb. Die.
Anyway, I work in Netbeans and can't find a module that will allow for syntax highlighting of vb. Is there a creative solution out there for this that doesn't involve using a different IDE?
Thanks guys.
As mentioned in the accepted answer to this question, there is a tutorial for setting up custom syntax highlighting in Netbeans here (direct link to tutorial instead of link to FAQ provided in linked question).
I think you might well find that it's less hassle to just install Visual Studio than to set up Netbeans to highlight VB.Net syntax, but that's up to you. Good luck.

wxWidgets for Ada?

In Lua-scripting I found wxWidgets (wxLua) library very useful, so I'd wanted to found binding for Ada and GNAT Programming Studio 2010 (4.4.1) - does it exist at all and maybe somebody know how to link it with GNAT?
Only one I found is wxAda, which is about 5 years old and without any hyperlinks to load it.
I'm the author of wxAda and tbh, it's a dead duck as it currently stands. I am looking at the moment at a revival by generating the source automatically.
Luke.
Well, the URL you are probably looking for is wxada.tigris.org, but it says right there it is incomplete. Most likely that's the best you are going to get without doing the work yourself.
From the discussion of his problems here it looks like he had solvable issues.

IDE for MSIL

There's any number of questions about MSIL on SO but none that directly answer this.
I've been using Textpad which does have a syntax definition file for MSIL and then using ILASM in a command prompt window.
I did find a reference to ILIDE but the link is broken.
Is there an IDE or add-on / plugin to Visual Studio / Eclipse for MSIL that allows syntax highlighting, intellisense, code completion, debugging etc.?
Use MonoDevelop
You can build specially MSIL projects. It's very useful for these issues, also you can use it in both Windows and Linux. What is better than this? :)
I made an extension for Visual Studio 2010 that supports syntax highlighting for IL files (.il) and includes projects with full debugging support for C#, F# and Visual Basic that support embedding and calling IL code directly.
IL Support extension
Enjoy!
I believe you can do it in #develop IDE.
No intellisense though.
I have exactly the same question!
I have found ilide eventually :
http://nida.se/ilide/
(note : strangely, some links to ilide are broken, some of them even mentioning earlier links that are broken , but then supply a link that's broken too. I was able to dowload it and Installed it succesfully from the link above though).
further :
http://sourceforge.net/project/showfiles.php?group_id=112895
seems a very good debugger.
cheers, ph
xacc.ide has syntax highlighting for MSIL, and another odd 20 .NET languages.
See some screenshots here.
IIRC, Visual Studio will give you debugging, if you assemble with /debug.
I think MS had a demo or sample of some VS plugin that helped a bit with IL. I'm not sure what it was named or if it was released.