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

In the application note for JN-AN-1005 Wireless UART, I was able to built the project successfully when the project is located on "C:\Jennic\Application" which is for "JN5148 Only" (page 4). But it has errors when I put the project on "C:\Jennic\cygwin\jennic\SDK\Application" which is for "JN5139/JN5121 Only" (page 5).

The errors are:
Description	Resource	Path	Location	Type
/jennic/SDK/Chip/Common/Build/config.mk: No such file or directory	Makefile	JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build	line 129	C/C++ Problem
/jennic/SDK/Platform/Common/Build/Config.mk: No such file or directory	Makefile	JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build	line 130	C/C++ Problem
/jennic/SDK/Stack/Common/Build/Config.mk: No such file or directory	Makefile	JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build	line 131	C/C++ Problem
make: *** No rule to make target `/jennic/SDK/Stack/Common/Build/Config.mk'.	JN-AN-1005-Wireless-UART		line 0	C/C++ Problem

Open in new window

I searched the C:\Jennic\cygwin and I can only find one config.mk which is on C:\Jennic\cygwin\jennic\SDK\Common\Build. What am I missing?
0
I have attempted for several hours to get text that starts with the word "Credit Card Number: " and has an actual number to turn red, and I have only had a portion of the code that I have attached turn the text in the RichTextBox red. In addition to that, I am receiving an index error when I am attempting to search for all entries to be highlighted that a user enters in a Literal search that they are doing on data from a flat file that should highlight the term that they are searching for if the Literal Search Check Box is checked. Could someone let me know what I am doing wrong syntactically with the C# code that has been attached that is not enabling me to have all of these lines of data properly formatted either in red font color or being highlighted in yellow if the term is entered in the literal search box and the literal search box is checked.

Any help that could be provided would be greatly appreciated.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Collections;
using System.Windows;
////using System.Windows.Controls;

namespace FTransViewer
{
    public partial class FTransMain : Form
    {
        DataTable Results = new DataTable("FTRANS");
        ArrayList credit_prefixes = new ArrayList();
        CCPrefixes values = new CCPrefixes();

        ////Declare Global Variables
        

Open in new window

0
I have installed eclipse (this was recommended by jennic)  in windows 7 and downloaded http://www.jennic.com/support/support_files/jn-an-1005_wireless_uart

In Eclipse, I then select Import->General->Existing Projects into Workspace and browse for the downloaded files which is in C:\Jennic\Application\JN-AN-1005-Wireless-UART-3v0.
 
The files are imported successfully (I think), but I got 4 errors and 1 warning on the "Problems" window:
Description	Resource	Path	Location	Type

/cygdrive/c/Jennic/Application/Chip/Common/Build/config.mk: No such file or directory	Makefile	JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build	line 129	C/C++ Problem

/cygdrive/c/Jennic/Application/Platform/Common/Build/Config.mk: No such file or directory	Makefile	JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build	line 130	C/C++ Problem

/cygdrive/c/Jennic/Application/Stack/Common/Build/Config.mk: No such file or directory	Makefile	JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build	line 131	C/C++ Problem

make: *** No rule to make target `/cygdrive/c/Jennic/Application/Stack/Common/Build/Config.mk'.	JN-AN-1005-Wireless-UART		line 0	C/C++ Problem

Invalid project path: Duplicate path entries.	JN-AN-1005-Wireless-UART		pathentry	Path Entry Problem

Open in new window

How do I fix this?

I am also open to other development platforms if you think it is better/easier to use.
 
TIA
0
Hi I have following code in Global.asax
 ------------------------ Global.asax -----------------------------------
   [Import]
         public IRedirector redir;
         [Import]
         public ILogger log;
         protected void Application_Start(object sender, EventArgs e)
         {
             MEFManager.Compose(this);
             log.EnsureInitialized();
         }
 
         protected void Application_Error(object sender, EventArgs e)
         {
             MEFManager.Compose(this);
 
            log.Error(sender, "Error caught by the Global.asax: " + Server.GetLastError().Message);
             redir.GoToErrorPage();
         }
 ---------------------------------------------------------------------- End

This is Compose method
--------------------------------MEFManager.cs--------------------------------------

 public static void Compose(object o)
         {
             var container = new CompositionContainer(
                                     new DirectoryCatalog(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"bin\MEFBin")));
             var batch = new CompositionBatch();
             batch.AddPart(o);
             container.Compose(batch); //Error always occurs here
         }
---------------------------------------
Its throwing following error on aplication start running and when it runs to the
 
The composition remains unchanged. The changes were rejected because of the following error(s): The composition …
0
I am using a system which had Rational Application Developer already installed. I have some project already there. When I do searches within the project I always get Stack overflow.
My system has 3.49GB RAM and 6 GB of Free Disk space.

how to increase the memory allocation for RAD? What values should I set and where in RAD?
   
  Stack Overflow in RAD
0
I have a flat file that I am reading data from and I am currently reading the data into an ArrayList. I will need to update the application to be able to read in more than one data file, and I was wondering if someone could explain to me how I would read the data in from a *.dat file and use LINQ in order to get the specific fields from the data table that would be created from reading in the information from the flat file. (I do have business rules that split the flat data table into different fields, and I would like to be able to store these fields within a temporary table in memory so that I could query them and be able to pull back results based on the information a user enters. Could someone direct me to example code that completes this task or if they could help me with the syntax that I would need in order to accomplish this task?

Any help with this task would be greatly appreciated.
0
I am trying to use the Tree view horizontal on a window in powerbuilder. How can I do that ?
My goal is to use the Tree View as a menu.
0
I am attempting to write a RichTextBox and I need to be able to write part of a sentence highlighted. or change the color of the text of a specific part of a string, and the remainder of the text in the sentence in regular type. Could someone help me figure out what the syntax would be in order to complete this task? For instance, if the control was called RichTextBox1 and the sentence was "The dog crossed the road", how would I get the word "dog" to be highlighted, or in a different font color, and the remainder of the sentence to be regular type?

Any help that could be provided on this topic would be greatly appreciated.
0
I am attempting to write a RichTextBox and I need to be able to write part of a sentence in bold and the remainder of the text in the sentence in regular type. Could someone help me figure out what the syntax would be in order to complete this task? For instance, if the control was called RichTextBox1 and the sentence was "The dog crossed the road", how would I get the word "dog" to be bold and the remainder of the sentence to be regular type?

Any help that could be provided on this topic would be greatly appreciated.
0
Hi,

I am trying to insert an image and 2 thumbnails into varbinary(max) fields via a stored procedure and I am getting an error returned. If I execute the the SP direct and provide nulls for the fields then the row is created so I suspect the SP and Table are Ok. I also list the byte array sizes when it fails so I can see the buffers have some data, eg.

buf1: 61896
buf2: 11611
buf3: 5174

The c# code is:

SqlCommand objCommand = new SqlCommand();
// Add user id and display order (ints)
objCommand.Parameters.Add("@picTenId", SqlDbType.Int).Value = strId;
objCommand.Parameters.Add("@picOrderId", SqlDbType.Int).Value = "1";

// create and add byte array buffers
byte[] bufM = new byte[0];
bufM = new FixedResizeConstraint(620, 410).SaveProcessedImageToByteArray(strImageF);
objCommand.Parameters.AddWithValue("@picMain", bufM);
byte[] bufT1 = new byte[0];
bufT1 = new FixedResizeConstraint(200, 132).SaveProcessedImageToByteArray(strImageF);
objCommand.Parameters.AddWithValue("@picThumb1", bufT1);
byte[] bufT2 = new byte[0];
bufT2 = new FixedResizeConstraint(116, 77).SaveProcessedImageToByteArray(strImageF);
objCommand.Parameters.AddWithValue("@picThumb2", bufT2);

// run the stored procedure
Int32 lngResult = utlData.Run_Procedure("hex_setPicture", objCommand);

The function adds a final 'result' output parameter to the command object, hopefully to return a new row Id. The function works well with inserts to other tables so I also don't suspect a big …
0
I am with this code below in what I call the class commport.cs that accesses the serial port.
I have 6 devices: ID01, ID02, ID03, ID04, ID05 and ID06.
The code sends the command id01 and accesses the device.
I need to receive the data and compare it really is the id01 device and the data are correct.
 
We give a time for the system receives the data and work through them.

Then send the command id02.
We give a time for the system receives the data and work through them.

And so in all six devices.

I am using for loop below to stop for a while,

for (int i = 0; i <= 10000; i + +)
                 for (int j = 0, j <= 10, j + +)
                 {}

however I would like to take this loop and make a stop with the timr_ID06 for 3 seconds and after that continue.

Or send the next command after received and compared the data.

I thought of using the System.Threading.Thread.Sleep (3000);
But i don´t know what happens if we put this code.

private void button26_Click(object sender, EventArgs e)
        {
            #region TRABALHA ID01
            timr_ID06.Enabled = true;
            Thread.Sleep(250);
            string s_ID01_c = "id01";
            CommPort com = CommPort.Instance;
            s_ID01_c = ConvertEscapeSequences(s_ID01_c); ;
            com.Send(s_ID01_c);
            #endregion

            for (int i = 0; i <= 10000; i++)
                for (int j = 0; j <= 10; j++)
                { }

            #region TRABALHA ID02
       

Open in new window

0
I have two projects, P1 and P2 in a Visual Studio 2010 solution.  I have set P2 to be the default project and it launches properly when I het F5 in VS.  I then created an installation project which seems to work fine.  However, when I run the program installed with the installation project, it launches P1 instead of P2.  What am I doing wrong?
0
I am trying to understand the differences and overlap between VS, MDT and BDD in compiling binaries and deploying applications. It seems like there is crossover, but I am not sure and seek some wisdom on this.

Thank you, in-advance,
JohnD
0
I am developing a VB.Net application in VS2010. The project folder has no special permissions over any other project folder. Suddenly VS2010 will not open the project without elevated permissions when I start VS2010 and then click on the project in the MRU list. However, I can right-click the VS2010 icon to bring up a list of projects and select the project without elevated permissions. The error screen is shown below. I would appreciate a fix for this and instruction on what I may have done to cause this behavior.
Permissions-Error-Screen.jpg
0
Hello

I am trying to display jpg's in a datawindow. Those pics were stored in a table using UPDATEBLOB.

Now my problem is that I was only able to display BMP's in the datawindow (using an OLE object, Class = Paint.Picture). I am aware that this class only handles bitmaps.

Does anybody know what Class to use in order to display jpg's?

Your answer is very much appreciated.

Thomas

P.S. I am using powerbuilder 11.5
0
Dear Experts,

I came across this very strange VS2010 problem. Let there be two web applications in one solution. Let them have a javascript file with a same name. No matter what webapplication I start, the script documents section grabs the javascript file from the project that has been added to the solution later.

I created a simple solution. You can download it from here.WebApplication1 is added to the solution later. WebApplication5 is set up as a start project. Start the project, it loads as expected, the browser loads the javascript from WebApplication5. But if you go to Visual Studio, Script Documents, and double click on JScript1.js then you notice it is from WebApplication1.

This is a serious problem, because it eg. ruins debug. Is this a known bug, or what? Any workaround to fix this?
0
Hello,

When I debug a project that contains a file path reference to another assembly and an exception is caught and handled in that assembly, VS will still stop and show me the exception.  How do I get VS to ignore the exception?

I'm using the Unity application block from microsoft and at first, VS studio would not stop on exceptions from UNITY assemblies.  But then I had to apply a strong name license to my application, which caused me to recompile the UNITY assemblies.   Now whenever I debug my code, its stops on Exceptions that are handled with in the UNITY assemblies.  Its very annoying to have to press f5 everything I debug my app.

Thanks.
0
hi
i need a plugin or tool recommendation working in eclipse for our cvs repositry

what i need is:
- i want to see the changes on files since a specific date
filtered by: date, author etc

the intelli jidea was making that pretty but i couldnt do that in eclipse for same cvs repository.

any suggestion?
0
Hello.
I want to add a CheckBox to a toolstrip and havebeen able to do this with the class below. I added the line
<ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.ToolStrip)> _

Open in new window

to have the CheckBox available in the designer, and this works. However, the designer is "unstable". I donot not know howelse to describe this, but, after adding the class below to the project, buttons already added to the project "at times" go missing from the designer or are in-accessible from the designer unless selected from the properties window. Infact, any further additions to the designer after compiling (and moving away from the designer then back) do not seem to "stick". Any ideas what is happening or on how toimplement this differently? I'd prefer to have the checkbox available in the designer. Here's is my entire class that is causing these issues.
Imports System.Windows.Forms.Design
<ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.ToolStrip)> _
Public Class ToolStripCheckBox
    Inherits ToolStripControlHost
    Public Sub New()
        MyBase.New(New CheckBox)
    End Sub
    Public ReadOnly Property CheckBoxControl As CheckBox
        Get
            Return TryCast(Control, CheckBox)
        End Get
    End Property
    Public Property Checked As Boolean
        Get
            Return CheckBoxControl.Checked
        End Get
        Set(ByVal value As Boolean)
            CheckBoxControl.Checked = value
        End Set
    End Property
End Class

Open in new window

0
I have an Employee class with empid, name and age and there are an array of employee objects created and their fields are initialized. Now how do I  (a)Sort and scramble the array using Arrays.Sort(). Also, how do I ensure the foll:

# anti-commutation : x.compareTo(y) is the opposite sign of y.compareTo(x) .
# exception symmetry : x.compareTo(y) throws exactly the same exceptions as y.compareTo(x) .
# transitivity : if x.compareTo(y)>0 and y.compareTo(z)>0, then x.compareTo(z)>0 (and same for less than) .
# if x.compareTo(y)==0, then x.compareTo(z) has the same sign as y.compareTo(z) .
# consistency with equals is highly recommended, but not required : x.compareTo(y)==0, if and only if x.equals(y) . Any class that implements the Comparable interface and violates this condition should clearly indicate this fact. The recommended language is "Note:
this class has a natural ordering that is inconsistent with equals."
0
Hi how do I synchronise my screen refresh rate with direct draw when I blit the back buffer to the primary surface so to get rid of the tearing effect on the screen
Thanks
0
Hello all,

Im trying to compile a c program in DevC++ but im getting Linker errors of the sort:
[Linker error] Undefined reference to 'image'..
Image is a variable defined in a seperate header file.. Can someone tell me how to link .c to .h files in DevC++??

Thanks
0
Hi there;

In VS2010, I got one solution, having multiple independent projects, and I set up 1 startup project, are there any relation or influence between projects if there is no reference between each other?

if there is a relation, what is the build order? I mean how VS2010 finds out the correct build order if the coder is not assigning it manually?

Kind regards.
0
Hi,

I am creating a setup file using the VS2010.
I am using the Publish function, Clickonce install.
I have VS C# window app.

When I created today, I didn't see the Setup .exe file. (there is .exe it the application file folder)
I used to see the Setup.exe with AppName.application.

Do you know why I am not seeing the Setup.exe any more?

MyAppName <= top publish folder
MyAppName.application
Application files folder
MyAppName_1_0_0_0
I see rest of files including the .exe

I used to see Setup.exe under MyAppName.


0
I have created a swing application, which runs fine when I run from desktop. The same application is now run from Applet.
class abc extends JApplet
{
 init()
{
 new Main()
}
}

Main class extends JFrame, it has JDialog opens for Login.
Now my problem is When I run Applet login dialog does not open up. I dont see any error in Applet console.

Any Thoughts?
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
>