We help IT Professionals succeed at work.

Editors IDEs

25K

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

I downloaded a Visual Studio C# solution which contains many projects in it, each designated as a console application and a couple as dll's.  The console projects all use the dll's and everything compiles fine.

On one of the projects, FieldRetriever, it's output is set to Console Application, not Class library.  It's startup object is set to FieldRetriever, and the FieldRetriever.cs class file contains a static Main method.  I can run the FieldRetriever.exe console application just fine, but when I try to debug inside Visual Studio I get the popup error:

A project with an Output type of Class Library cannot be started directly.

Open in new window

It's output is not set to class library.  It has a startup object and a static Main.   Just for curiosity I changed the project type to Windows App, but still got the same error.

How do I fix this?
(Windows 7, Visual Studio 2013, .Net 4.5)
0
I'm not a regular Visual Studio user, but I am trying to compile the OpenXMLPowerToolsExamples I downloaded (in C#).  However, VS 2013 is complaining that the reference to System.IO.Packaging is unresolved.  I downloaded and installed OpenXML version 2.5 as well as the latest Nuget for VS 2013.  I was getting this error:

The type 'System.IO.Packaging.Package' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
D:\Documents\Development\CplusplusProjects\Open-Xml-PowerTools-vNext\OpenXmlPowerToolsExamples\ChartUpdater01\ChartUpdater01.cs

Open in new window


I added WindowsBase, but I STILL show System.IO.Packaging unresolved, and it complains of no Main.  Please take a look at the picture.  How do I resolve this missing reference issue?
Thanks!
It says it can't find static Main.  It's right there in the window above the errors.  On the right, the System.IO.Packaging is unresolved, but WindowsBase is included and resolved.
0
I'm kinda new to java, so I'm not sure that what I want is even possible.   I'm working with 2D array pulled from a CSV using OPENCSV.  I want to load the contents into the 2D array and the populate a table.     I'm not even to the loading table part, I can seem to even reference the 2d method I created.  

parlatocwk3.java
package parlatocwk3;
  import java.io.FileNotFoundException;
  import java.io.IOException;
  import parlatocwk3.readCSV.*;

public class ParlatoCWk3 {

    public static void main(String[] args) throws FileNotFoundException, IOException {
        readFile file = new readFile("file.csv"); //can't do it this way.
        Object[][] array = readFile("file.csv"); //can't do it this way either.
        
    }
}

Open in new window


readCSV.java
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package parlatocwk3;

import com.opencsv.CSVReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import javax.swing.JOptionPane;

/**
 *
 * @author CHRIS
 */
public class readCSV {
    public static Object[][] readFile(String fileName) throws FileNotFoundException, IOException {
        
        fileName = "C:\\InventoryApp\\Appliance.csv";
        int i = getCSVRows(fileName);
        
        Object appList[][];
        appList = new Object[i][5];  
        
        try {
            

Open in new window

0
Is there a way to reference external folders from within the Visual Studio IDE. We have a master repository folder of CSS, javascript and web fonts but can't use them in a VS project because they are outside the project folder.
0
I am using Notepad++, which has regex support using PCRE (Perl) syntax.

I am not fluent in regex. Thus, I don't know if the following is possible. The solution may involve using the lookahead or lookbehind feature. I don't know.

I have a log that have line "sets" that look like:

Mon 2016-05-09 05:57:42.285: 05: Accepting SMTP connection from 141.212.122.57:40237 to 0.0.0.0:25
Mon 2016-05-09 05:57:42.287: 03: --> 220-domain.com ESMTP MDaemon 15.5.3; Mon, 09 May 2016 05:57:42 -1000
Mon 2016-05-09 05:57:42.287: 03: --> 220 All transactions and IP addresses are logged.
Mon 2016-05-09 05:57:42.287: 04: *  Socket error 10054 - Connection was reset by the other side!
Mon 2016-05-09 05:57:42.287: 04: SMTP session terminated (Bytes in/out: 0/0)

Open in new window


For a given set, the line count between line first line "Accepting SMTP connection" and 2nd to last line "Connection was reset by the other side" may vary. Some lines may have more lines, like this...
Mon 2016-05-09 05:57:42.285: 05: Accepting SMTP connection from 141.212.122.57:40237 to 0.0.0.0:25
Mon 2016-05-09 05:57:42.287: 03: --> 220-domain.com ESMTP MDaemon 15.5.3; Mon, 09 May 2016 05:57:42 -1000
Mon 2016-05-09 05:57:42.287: 03: --> 220 All transactions and IP addresses are logged.
Mon 2016-05-09 05:57:42.287: 04: Info line1
Mon 2016-05-09 05:57:42.287: 04: Info line2
Mon 2016-05-09 05:57:42.287: 05: Info line3
Mon 2016-05-09 05:57:42.287: 06: SMTP session terminated (Bytes in/out: 0/0)

Open in new window


I'd like to mark each line set. What is the reg expression to...
- Include first line: Accepting SMTP connection from
- Include the inner lines
- Include 2nd to last line: Socket error 10054 - Connection was reset by the other side
- Include following line: SMTP session terminated
0
HI,
I have an account on : https://github.com
when i search for all the code bases under a particular organization i see many files in java, C# etc..
But i noticed that if ai type a String like "Optional.empty" the search ignores the "." value... it seems to take only simple strings with no special value etc.

Is there any way to search any string you want under all of you codes ?
eg. I searched for org:yatra Optional.empty it showed me all files which had either Optional  or empty. I wanted to search for this exact string with a . in it

Thanks
0
Hello,

What are the main advantages of using ASP.NET C# MVC vs old WebForm technology

I'm starting a project and wonder if I should base it on MVC (don't have deep knowledge of it) or build it with WebForms.

I'm not particulary fan of having server controls mostly because the code behind they generate, I find them easy to start but really difficult and unnatural and limited to work with them

I wonder how to preview the view, the cshtml file on MVC without executing the code in the browser
0
I have a rectangle inside the WPF mainwindow. How do I make that rectangle resizable by adding those diagonal dotted lines at the bottom right corner of the rectangle (not sure what it is called, but these are typically seen on most resizable windows).

I have attached the xaml and .cs file created in VS2015.
MainWindow.xaml
MainWindow.xaml.cs
0
I'm running Notepad++ with the NppFtp plugin and I haven't found a way to display two remote directories and move files or folders from one to the other.   Does anyone know a way to do that?

Thanks
0
I have Visual Studio 2012 and 2015.

I can't get the "nest related files icon to nest my files in either version.

I had been getting some errors so I had installed RegAce and installed it. I ran the first two things, clean up and registry repair, and now my visual studio "nest related files" does not nest anything.

How can I repair that?

Personally, RegAce, said it was 29.99 and after I got the credit card charge it was 49.87 after they tacked on purchased that were scrolled down on the bottom of the screen. They provided no warning, or itemization, or final approval page with "this is the cost of your entire order."

In fact, if you scroll down, a bunch of checkboxes are checked to items that they haven't even told you what the cost will be. I'm thinking I got ripped off.

thanks for assistance with the VS and letting me vent about RegAce. I've asked for money back for the additional items and we'll see if they do.

BobCSD
0
HI,
In my java application i am using an xml file..
here is a sample :
<nomatch>
                    Oops! Looks like something's not right with one of the email IDs. Let's try
                    again.
                </nomatch>

Open in new window

Here the again has come into next line but this is not intended, This happend when i formatted the xml using Commadn + Alt + L in intellij idea to make it look cleaner and readable..
But now when i am reading this xml content using jaxb its picking up a newline between again and other other....

what way can i resolve this ?

Thanks
0
Hi Experts,

I am using Eclipse Helio and Luna
Luna i am using for java8
Helio i  am using for  java6

when i installed java8 and try to open Eclipse Helio
It throwing error so i am changing my java class path every time to java6

Is there any alternative to open any eclipse with out changing java class path

I mean some where in eclipse we can set the java version
I am not clear where exactly i need to set

Can some one suggest me how to do?

Thanks,
0
I'm using Eclipse SDK Version 4.3.2.

How to jump to matching brace in a 'c' language function?  Or  how to highlight opening and closing braces in a 'c' function ?
0
I'm trying to run some sample java exercises from a simple Lynda course and I downloaded all the project files.  They're grouped by folders into chapters and then into specific exercise numbers.

In Eclipse Kepler I created a new Java Project (I called it JavaExercises) , and then I just copied the exercise files over (with the directory structure) to the JavaExercises src folder.  I opened one of the exercise files (call it class 'Challenge4_2') and it compiled fine.  However, when I went to execute it, Eclipse complained "Editor does not contain a main type".  However, there IS a static main method in the class file.  I've searched around, but none of the explanations really clarified the issue.  It's a small file with the only method being the static main.

So, I have a bunch of java files that I want to compile and run independently. What am I missing here and what do I need to do to run these files independently?

Secondly, some of the files contain intentional errors.  When I'm working on one file, I want to be able to compile and run it regardless of errors in the other files.  How do I ignore errors outside the current file or relevant files?

Thanks!

Working on Eclipse Kepler in Windows 7 with the latest Java.
0
Hi Experts

Could you explain how to manage Maven repository from inside Netbeans IDE ?

img004
Does it have an automatic feature like a Nuget administrative package to facilitate .jar management ?

And what exactly means when this is occurring?

img006
Index transfering from Maven's Central repository...?

Thanks in advance
0
I have a C wrapper that has always been 32-bit.  It calls a FORTRAN subroutine. This FORTRAN subroutine is in a FORTRAN library (MyFortranLibrary_lib.lib).  This FORTRAN library file has also always been 32-bit. Everything has always worked fine.  However, I have recently changed both the FORTRAN library and the C Wrapper from 32-bit to 64-bit.  I have done this by simply changing the "Active Solution Platform" setting in visual studio from "win32" to "x64" for the C Wrapper and the corresponding setting in the FORTRAN library TO x64. The FORTRAN library compiles fine, without error.

The problem is with the C Wrapper.  When I compile the C Wrapper (and thus try to link it to this 64-bit FORTRAN library), i get A LOT of errors of type "error LNK2001: unresolved external symbol for _something_something_somthing..... So it would appear that there is something further I must do to make things "play nice" between the C Wrapper and FORTRAN library, in the 64-bit world.

Here's a sample of the these LNK errors:

MyFortranLibrary_lib.lib(SomeObject1.obj) : error LNK2001: unresolved external symbol for_check_mult_overflow64
1>MyFortranLibrary_lib.lib(SomeObject2.obj) : error LNK2001: unresolved external symbol for_check_mult_overflow64
1>MyFortranLibrary_lib.lib(SomeObject1.obj) : error LNK2001: unresolved external symbol for_alloc_allocatable
1>MyFortranLibrary_lib.lib(SomeObject2.obj) : error LNK2001: unresolved external symbol for_alloc_allocatable
0
Hi Experts

How to find missing packages when using Netbeans IDE 8.1 ?

Is there a kind of "Nuget" administrator to help in findind packages ?

Thanks in advance.
0
hi all
how to send to back
mid parent image

i send a image for you guys help me please!!!
send-to-back.png
0
Hi Experts


Could you point an entry-level example of MVC site, using a good framework at your choice ?

Just one more thing
I installed JavaBeans IDE 8.1

Is it necessary to install Apache and Tomcat to run an example, ok?

Thanks in advance
0
I am new to an SSIS project and want to debug it.
I am using Visual Studio 2008 on the old machine.

Any ideas on how to debug SSIS?
0
Hi everybody.
My Netbeans IDE 8.1 (on WIndows 10 x64), when I click Open project button, always uses as initial dir Documents folder. I would like change it to my C:\xampp\htdocs directory.
I have already tried every suggestion found googling. Specifically, I changed %APPDATA%\NetBeans\8.1\config\Preferences\org\netbeans\modules\projectui.properties setting projectsFolder to my target but the setting is always deleted by Netbeans itself.
I even posted a topic in Netbeans forum: 30 views, 0 answers!

I just hope here there be a Netbeans user who personally knows how to do it.

I'll pray you to not waste time with Google: I already spent a lot of hours doing it without success :-(

Thank you
0
SYSTEM
OS: Windows 7
Notepad:  v6.1 (Build 7601: Service Pack 1, 2009)
Notepad++:  v5.9.3 (Unicode)
Encoding: ANSI

PROBLEM
I am editing php files for a Wordpress related plugin. When I open a file in Notepad, there are NO line breaks, unless I select "Format > Word Wrap".

The same file in Notepad++, on the other hand, shows double spacing instead of single spacing. When I turn on "View > Show Symbol > Show All Characters," you can see an extra CR character (at the end of a line) followed by CRLF (in the blank line space between lines).

Also, it seems as though something changed between today and yesterday. Yesterday, these double spaced lines were showing up as single spaced. I did not make any configuration or preference changes in Notepad++. Encoding is set to ANSI.

It also looks like this may be dependent on where the files originated from. The WP eMember plugin files seem to be having the double space problem, TODAY. But they did not have the problem, YESTERDAY (exact same files from my hard drive on both days) !  The Genesis theme files are ok - consistent single spacing on both days.

QUESTION
(a) What can I do to make these Line Breaks consistent when viewed by either Notepad++ or Microsoft Notepad? If I make changes in one editor, I want it to look the same when I edit in the other editor. (b) And why the difference in line spacing from one day to the next?

UPDATE
Regarding the second part (b) of the question: It …
0
I need to find a free xml editor to edit the attached file. I'm not sure if saying it's compressed is the correct term, but the format is not editable in just a regular code editor or notepad. Can someone recommend one or at least know what to look for as a feature in one so I can find one that will work for me?
I don't want to purchase one because I only need to edit it just one time.
Thanks for any advice.

default-settings.xml
0
i am currently try to remove node background white color i try to use TargetCanvas.Brush.Style := bsClear; inside BeforeCellPaint event but the white background of node still visible how do i remove that white back ground color of node ? here what i tried

procedure TForm2.VTs1BeforeCellPaint(Sender: TBaseVirtualTree;   TargetCanvas: TCanvas; Node: PVirtualNode; Column: TColumnIndex;   CellPaintMode: TVTCellPaintMode; CellRect: TRect; var ContentRect: TRect); 
var Data: PUData;
 begin
 Data := VTS1.GetNodeData(Node);
  if not Assigned(Node) then Exit;
 TargetCanvas.Brush.Style := bsClear;
 end;

Open in new window

0
I need a macro that will scrub excel data quickly while allowing you to eliminate a column and/or row from the scrubbing.

It should use the same number of random letters for the cells where letters exist and the same number of random integers where random integers or characters exist.

It should be exportable within a single module.

Assistance is greatly appreciated.
0

Editors IDEs

25K

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
>