Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

Editors IDEs

24K

Solutions

19K

Contributors

Development in most programming languages is frequently done with an editor or integrated development environment (IDE). An IDE is a software application that provide comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger. XCode, Visual Studio, Adobe Dreamweaver and Eclipse are some of the more popular development tools, but an editor or IDE can be anything from simple text editors to sophisticated programs. Related topics: All programming and development language, database and web based content management systems topics

Share tech news, updates, or what's on your mind.

Sign up to Post

Hello,
How can i convert this functon compatible to listview
 Private Sub ListBox1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles ListBox1.MouseDown
        If e.Button = MouseButtons.Left Then
            Dim pt As New Point(e.X, e.Y)
            startIndex = ListBox1.IndexFromPoint(pt)

            If startIndex >= 0 Then
                Dim itemRc As Rectangle = ListBox1.GetItemRectangle(startIndex)
                startPoint = ListBox1.PointToScreen(New Point(ListBox1.Width, itemRc.Top + (itemRc.Bottom - itemRc.Top) / 2))
                endPoint = startPoint
                lastIndex = -1
                ListBox1.DoDragDrop(ListBox1.Items(startIndex).ToString(), DragDropEffects.Move)
            End If
        End If
    End Sub

Open in new window



  Private Sub ListBox2_DragOver(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles ListBox2.DragOver
        Dim lbPoint As Point = ListBox2.PointToClient(New Point(e.X, e.Y))
        Dim index As Integer = ListBox2.IndexFromPoint(lbPoint)
        If index >= 0 Then
            ListBox2.SelectedIndex = index
            Dim itemRc As Rectangle = ListBox2.GetItemRectangle(index)
            Dim key As String
            If lastIndex <> index Then
                If lastIndex <> -1 Then
                    key = startIndex & "|" & lastIndex
                    If Not connections.ContainsKey(key) Then
                        ControlPaint.DrawReversibleLine(startPoint, endPoint, Panel1.BackColor)
                    End If
                End If
                key = startIndex & "|" & index
                If Not connections.ContainsKey(key) Then
                    endPoint = ListBox2.PointToScreen(New Point(0, itemRc.Top + (itemRc.Bottom - itemRc.Top) / 2))
                    ControlPaint.DrawReversibleLine(startPoint, endPoint, Panel1.BackColor)
                End If
                lastIndex = index
            End If
        End If
    End Sub

Open in new window


  Private Sub ListBox2_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles ListBox2.DragDrop
        Try

            Dim endIndex As Integer = ListBox2.IndexFromPoint(ListBox2.PointToClient(New Point(e.X, e.Y)))
            If endIndex >= 0 Then
                connections.Add(startIndex & "|" & endIndex, Nothing)
            End If
            Panel1.Refresh()
        Catch ex As Exception
            Exit Sub
        Finally
            Panel1.Refresh()
        End Try

    End Sub

Open in new window


ListBox2.GetItemRectangle(index)
GetitemRectangle,IndexFromPoint is not a part of listview
0
On Demand Webinar: Networking for the Cloud Era
LVL 10
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

I need to recover some data from an iPad, Passwords are not available. WinHex seems top be able to do the trick, but it cannot access the iPad. Is there a hex-editor that can do it?
0
In  Eclipse   when  I do "Run As > Maven Install"    for my project using eclipse Maven plugin ,  I get  "BUILD SUCCESS"  
 
However  Eclipse editor  still shows  error in one java class in my project  for the following import
 
import springfox.documentation.spring.web.plugins.Docket;


Error message :

The import springfox.documentation.spring.web.plugins.Docket cannot be resolved
 
 
Could you please suggest how to fix this error in Eclipse editor ?
0
When i have run the skpe bot run in visual studion then show this error
any help me i will attach the error
jRrkxFBUSC2duH6A0b_9Qg.jpeg
0
hi,

it seems that MS only release SQL server data tools for VS 2015 so that we can admin and develop even SSIS project within VS 2015, how about VS 2017?

it seems we don't have this option to develop SSIS package inside VS2017, am I right?
0
I have my code like below
      response = orch.process(request);

when i mover on to process method and click control and left mouse click it supposed to go to process method implementation but it is not doing in eclipse mars.

it used to work earlier not sure suddenly what happened stops working.

i restarted my laptop still not working.

please advise
0
I'm new to, and using Git. I have my remotes/origin branch of "master" that contains all production-ready code.

From "master", I create a new local branch called "Bug Fixes".

When I try to push code changes in Bug Fixes back to "master", I get this error every time:

Error encountered while pushing to the remote repository: Not a valid reference 'origin/master'

Maybe I'm not using this correctly? Can someone please advise?
0
Many web pages get some crummy, unreadable, text.

Attached is PhpMyAdmin.

I have been told it's my default font that's broken.

Can anyone tell me how to change that?

Thanks
0
Hi Experts,

I am getting the below error msg while installing maven plugiin.
Is there any to solve this issue

Error Messages:

    From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.8.0.20170516-2043 (org.eclipse.m2e.feature.feature.group 1.8.0.20170516-2043)
    To: org.eclipse.m2e.refactoring [1.8.0.20170516-2043]

i tried the below link,no luck
http://ourerrorcodes.blogspot.in/2015/05/error-javaee-solved-m2e-maven-dependency-plugin-install-eclipse.html

Thanks
0
I'm using Visual Studio Team Services for my source code respository.

I have a project AA that has it's own visualstudio.com location, but when I went to add another project BB on the same PC with a different location, it said it was already loaded under the other project AA's TFS location. Of course, I have never published my other project BB to that project AA, that would really mess things up.

I tried using Team > Disconnect from TFS to remove this project BB, but it says that will close all solutions that use TFS. So I said no.

I am able to go to Team Explorer > Manage Connections and add my other project BB's visualstudio.com repository,  I added the path to this project BB's directory and it shows on the HOME.

If I go to visualstudio.com  for BB there is no code there, just a BuildProcessTemplates folder.

When I go to Connect, it shows a Local Git Respository with my other project AA. When I try to ADD and use the Path to this Websolution BB,  it has "No new repositories were found."

When I go to NEW and try to create one with this path to BB it says:
The folder *** already exists and is not empty. Choose a new folder or an empty folder for the cloned repository.

How do I take an existing project BB, and add it to TFS? It's the one that contains existing source code.

thanks!
0
Independent Software Vendors: We Want Your Opinion
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

I want to keep all the lines that start with a + or a - but delete all other
lines in a file. I see a ready receipe for ^[+-]. that I could use to delete those
lines. But I want to keep them and delete all the ones. What's the mojo?
Thank you.
0
We are trying to migrate from 2010 to o-365 and we have SSRS reports in 2010, so we to have establish the connection between  Visual Studio and o-365,  so that we put the output of the report in O-365.
0
Hello,
I have submitted Selenium and Eclipse questions and they were never answered.  
There are many topics that are "Proposed."
My assumption is that EE does not have Experts for these topics.  Is my assumption correct?
0
Visual Studio 2015 is not letting me set breakpoint in javascript in code in front.

I am clicking on the left furiously and nothing happens. It just won't create the break point.

Any ideas what I'm doing wrong? I have done this in the past, but it just hasn't worked lately.

thanks!
0
Hi,
I am trying to use an SDK that is developed as a .NET DLL in Visual C/C++ in a Java development environment using Netbeans.

I want to use JNA and have been using the JNAerator to generate the java classes using the .h file of the library that I have received with the SDK. I think I have overcome the compile errors in the library and am now trying to get a sample program running. But when I call the functions it gives me all kind of errors. First of all the functions need to be called with pointers to structures that are being filled. I am not able to get java compiled without warnings/errors.

Is there anybody that has experience with using JNA and C/C++ dlls in Netbeans?
0
I am using the visual debugger in PythonWin on a Windows 7 platform with Python 2.7.  I am not using pdb.  I'm trying to debug code written by someone else.  I have set some breakpoints and am stepping through the code.  There are some for-loop variables in the code.  As I go through the code I would like to see the changes to these values.  However, they don't seem to change.  If I execute a print in the Interactive Window I see the correct value.  But all I see in the list of values in the visual debugger is the initial value.

Is there something I need to do to get the variables to refresh every time they are updated?

Any help would be much appreciated.  There is not a lot of documentation on the PythonWin visual debugger which is easier/quicker to use than pdb ... if I knew how to use it!  ;-)

Thanks.
0
Hi

I have created a new JavaFX project.

There is JavaFXApplication1.java that has been created initially, and I have added a JFrame which is now called NewJFrame.java.

How can I open and show NewJFrame.java when I run the project?

Instead of showing the standard form from the JavaFXApplikaction1:

public void start(Stage primaryStage) {
        Button btn = new Button();
        btn.setText("Say 'Hello World'");
        btn.setOnAction(new EventHandler<ActionEvent>() {
            
            @Override
            public void handle(ActionEvent event) {
                System.out.println("Hello World!");
            }
        });
        
        StackPane root = new StackPane();
        root.getChildren().add(btn);
        
        Scene scene = new Scene(root, 300, 250);
        
        primaryStage.setTitle("Hello World!");
        primaryStage.setScene(scene);
        primaryStage.show();
    }

Open in new window


Or would it also be possible to convert JavaFXApplication1 into a form that I can edit using the netbeans form editor gui?

Thanks
0
Hi

I have created a simple app just showing a JFrame with a button.

But when starting it I get an error that I can not run the self signed app ("Security Settings block execution of self signed app")

I have added the path to the jarjnlp file to the java control panel exception list (various versions with forward, backward slashes etc) but no success.

How can I run that application?

Thanks
0
I open my visual studio 2010 load a website and all toolbox controls are grayed out..

How can I enable them?

Or how do I start a new project with the controls enabled?

Any ideas?
0
New benefit for Premium Members - Upgrade now!
LVL 10
New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Hello,
I had/have Eclipse Neon 2 installed.  I then "had" to install IntelliJ.  When I installed IntelliJ I gave it a separate workspace path.
I installed IntelliJ because I want to learn it, yet at the moment I need to do my work on Eclipse Neon2.
It appears that Intellij has invaded the workspace of Eclipse Neon2.
I do not want to uninstall IntelliJ.  So what might be an easy fix?
Or do I need to uninstall IntelliJ?
0
Hi everybody.
I'm new to Java and I'm playing with a small project, just to start. Using Netbeans IDE, I wanted to import org.apache.commons.lang3.StringUtils, so I followed following steps:

1) right click on Libraries node in Projects panel
2) choosen Add JAR/Folder
3) added commons-lang3-3.5.jar file downloaded from Apache site
4) run the project (everything's fine)
5) Clean & build to create my small jar file

Then I used jSmooth to convert the jar file to a Windows executable and after some test I activated the debug option and there I saw that  I had this error:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils

Open in new window


Netbeans doesn't raise any error at all but conversion makes the exe raise that error and the code after the line where StringUtils is used is not executed...

Any idea?
Thank you for any help :)
0
Hi,
what are eclipse shortcuts for


how to extract some code to separate metod
how to put in a loop sysout

how to move whole method up and down

how to find call hierarchy and how it is different from type hierarchy and find references

please advise
0
hi,

while importing as existing maven project i see some projects have single pom.xml some other projects have top level pom and also sub level pom.xml as well. why we need like parent pom and child pom kind of structure for some projects?
please advise
0
If i am to choose between Visual Studio Pro of Microsoft and KOMODO IDE of ActiveState.  which is one would be a better IDE based on your experience. price should not be a factor.
0
I had this question after viewing Open a file from Powerbuilder using Windows default associated program.


I have used ShellExecuteW in my powerbuilder application to open any type of files on double click. The function/application works absolutely fine while running through powerbuilder, but terminates when i run thro PBD and EXE  with 0007 termination error-Unresolvable external linking reference to ShellExecutew .

Please let me know if i am missing anything..


below is my code

 li_rtn =GetFileOpenName("Select File",docpath, docname ,"DOC", &
                  + "All Files (*.*), *.*" )
string ls_filename, ls_null
SetNull(ls_null)
ls_filename=docname

//declared this external function-so calling it here
//ShellExecuteW( handle( THIS ), "open", ls_filename, ls_Null, ls_Null, 1)

In global external functions of userobject,have declared it as below
FUNCTION long ShellExecuteW( ulong hWnd, string Operation, string lpFile, string  lpParameters, string lpDirectory, int nShowCmd ) LIBRARY "shell32.dll" Alias For "ShellExecuteW"
0

Editors IDEs

24K

Solutions

19K

Contributors

Development in most programming languages is frequently done with an editor or integrated development environment (IDE). An IDE is a software application that provide comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger. XCode, Visual Studio, Adobe Dreamweaver and Eclipse are some of the more popular development tools, but an editor or IDE can be anything from simple text editors to sophisticated programs. Related topics: All programming and development language, database and web based content management systems topics

Top Experts In
Editors IDEs
<
Monthly
>