Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

AmbiguousName

@AmbiguousName
About
Posts
455
Topics
243
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Can not Access RequestAttribute in JSTL
    A AmbiguousName

    Hello there. I am trying to get rid of scriptlets. I attach an object from servlet and try to access it in JSTL. But the logs say that JSP can not find the properties of this object. Here is the servlet sample

    request.setAttribute("student", student);

    Here is the JSTL sample, with different combinations - all producing no result at all (how ever scriptlets do)

    // scriptlets work fine - I just want to use JSTL for this
    <input type='text' value='${student.FirstName}' /> // without single quotes
    <input type='text' value='${student.FirstName}' /> // with single quotes

    <input type='text' value='' /> // using - with single quotes
    <input type='text' value= /> // using - without single quotes

    As you can see, I have tried different combinations but could not get and display value of request attribute using JSTL. What is wrong? Thanks for any input.

    This world is going to explode due to international politics, SOON.

    Java question java

  • Bitmap to BitmapImage Conversion Not Working - WPF
    A AmbiguousName

    I did google. I know it is some small mistake that I am not seeing. But I did google alot. Thanks again.

    This world is going to explode due to international politics, SOON.

    C# graphics csharp wpf performance question

  • Bitmap to BitmapImage Conversion Not Working - WPF
    A AmbiguousName

    Hello. I am using following code to convert bitmap to BitmapImage, in order to show on System.Windows.Control.Image control.

        public BitmapImage ConvertBitmapToBitmapImage(System.Drawing.Bitmap bitmap)
        {
            BitmapImage bitmapImage = null;
            using (var memory = new System.IO.MemoryStream())
            {
                bitmap.Save(memory, System.Drawing.Imaging.ImageFormat.Bmp);
                memory.Position = 0;
    
                bitmapImage = new BitmapImage();
                bitmapImage.BeginInit();
                bitmapImage.StreamSource = memory;
                bitmapImage.EndInit();
    
                return bitmapImage;
            }            
        }
    
      public void ShowPicture(Bitmap bmp)
      {
           pictureBox.Source = ConvertBitmapToBitmapImage(bmp);
           return;
      }
    

    It does not throw any exception but it does not show picture as well. When I try to view the picture, it opens up WPF visualizer and shows me some values (properties of BitmapImage), while the bitmap is fine. What is wrong with my code. Thanks for any input.

    This world is going to explode due to international politics, SOON.

    C# graphics csharp wpf performance question

  • WPF and Unmanaged Liberaries
    A AmbiguousName

    Hello. I was reading today that wherever possible, WPF use hardware-acceleration by taking advantage of Windows Display Driver Model (WDDM). Question is: I am using 3rd party unmanaged library which internally uses GDI+. If I am making my front end in WPF, how much better performance should I expect? Thanks for anything you share.

    This world is going to explode due to international politics, SOON.

    C# question csharp wpf winforms graphics

  • [SOLVED] VC++ 2013 Ultimate IDE is very slow
    A AmbiguousName

    Same software is installed on another machine but it is working fine there. It is just this machine where it is problematic (c++ only). Do I need to check some settings like graphics or something (though I dont see a reason for it) ?

    This world is going to explode due to international politics, SOON.

    C / C++ / MFC csharp visual-studio c++ database sql-server

  • [SOLVED] VC++ 2013 Ultimate IDE is very slow
    A AmbiguousName

    Hello there. VC++ part of the visual studio is very slow. Debugging is very slow, choosing and compiling a project is very slow, typing is very slow (sometimes it takes more than one second for a letter to show after its corresponding key was hit). Why is there so much delay in text editor and other things? (Rest of the visual studio i.e. C# and VB are fine). What could be wrong ?? ====================================== Solved - Solution Below ====================================== I just installed the Sql Server Compact Edition and this solved my problem. I don't know whether I should have disabled the related components ORR what I did was the right solution. Any way, thanks all the guys for your input.

    This world is going to explode due to international politics, SOON.

    C / C++ / MFC csharp visual-studio c++ database sql-server

  • Project compiles but VS IDE shows red error lines
    A AmbiguousName

    I am using VS Ultimate 2013.

    Stefan_Lang wrote:

    but it can still happen in code that requires multiple passes to interpret

    Did you mean compile ? If not, what do you mean by multiple passes to interpret ??

    This world is going to explode due to international politics, SOON.

    C / C++ / MFC visual-studio help question

  • Project compiles but VS IDE shows red error lines
    A AmbiguousName

    Hello there. I have this project which compiles fine but VS IDE shows that it can not find identifier. Under these identifiers are red lines. WHY is it so ??? Is there some setting I need to check??

    This world is going to explode due to international politics, SOON.

    C / C++ / MFC visual-studio help question

  • How do I add Thread in Dll
    A AmbiguousName

    Hello guys. I am trying to make a simple TSP using Julmar TSP SDK. I am able to make a skeleton TSP which gets detected by Windows and its added line can be seen from Phone.exe. I want to add a thread in this TSP, which generates fake call to Phone.exe How do I take it further? Should I add a main()and instantiating all the classes in it, in my .tsp project? Or will I be doing something in TSPUI project (so that I setup few things during manual installation of TSP)? Thanks for giving any pointer.

    This world is going to explode due to international politics, SOON.

    C / C++ / MFC question workspace

  • TCPView Showing alot of Process which I am not running
    A AmbiguousName

    because windows... ???

    This world is going to explode due to international politics, SOON.

    System Admin question

  • TCPView Showing alot of Process which I am not running
    A AmbiguousName

    Hello guys. I am running TCPView to show all the processes and their ports. It is showing alot of skype and other processes ( and their ports ), while I am running only one instance of it. Some processes are absolutely not running but still showing in TCPView. Why is it so?

    This world is going to explode due to international politics, SOON.

    System Admin question

  • Satellite Assembly Not Working Properly
    A AmbiguousName

    I change something in satellite assembly ( change in .resx --> generate .resources --> generate .dll using VS command line). No change in main assembly. Do I have to recompile the whole project again ORR just updating the satellite assembly should suffice ? In my case, I have to recompile whole project whereas I think I should just update the satellite assembly and application should run. What am I doing wrong here ??

    This world is going to explode due to international politics, SOON.

    C# tutorial visual-studio com hardware debugging

  • Satellite Assembly Not Working Properly
    A AmbiguousName

    Yes. Everything is working fine if I run it without satellite assemblies. Then I add the assemblies and run it again, it works again. Now I make a small change in the en-US.resx file. I generate xxxx.resources file from this .resx file and xxxx.resources.dll file (satellite assembly) from the resultant .resouces file. I simply replace the old satellite assembly with the new one. It gives the said exception. Unless I recompile the project, I won't work. What am I doing wrong here?

    This world is going to explode due to international politics, SOON.

    C# tutorial visual-studio com hardware debugging

  • Satellite Assembly Not Working Properly
    A AmbiguousName

    Hello guys. I used following tutorial as a guide for adding/modifying a satellite assembly. Creating Satellite Assemblies for Desktop Apps. I am able to create 1- new .resx file 2- create a .resource file from it 3- and create satellite assembly from the .resource file. I use following two commands for creating assemblies 1: resgen string.en-US.resx 2: al /target:lib /embed:string.en-US.resources /culture:PATH TO DEBUG\en-US\TestApp.resources.dll I create a new folder for culture I am interested in, in the Debug folder and place the newly created satellite assembly in it. When I run it, I get the exception Could not find any resources for the specified culture or the neutral culture. Make sure "TestApp.string.resources" was correctly embedded or linked into assembly "TestApp" at compile time or that all the satellite assemblies required are loadable and fully signed. One thing of interest here is: if I just recompile my project then changes made are picked up. But if I don't recompile my project then running the .EXE from debug folder gives this exception. WHAT COULD BE WRONG ??? (hopefully I described well) Thanks for any input.

    This world is going to explode due to international politics, SOON.

    C# tutorial visual-studio com hardware debugging

  • How to better perform at work??
    A AmbiguousName

    Hello guys. I am sure some gurus are out there, to help me understand the situation. I am thrown into this big surveillance software application. Its not that I don't like this field. It is just that I sometime want to run away. Some of my problems are + I dont know the work ethics (how things are done) + I dont know when to communicate (how much time should I take for a problem and then report if im stuck) + My seniors try to imply that I am behind schedule. Each time I ask something, first sentence that comes is: "If you can not do this then tell the management and I will take over the project". + Some politics at work which I am disastrous at. + And biggest of all, nobody is telling me how to approach a problem. What should I look for, in the code and nobody is telling me the application life cycle. Are all of these things normal?? Thanks for any input.

    This world is going to explode due to international politics, SOON.

    Work Issues help tutorial question

  • How to use GIT with .Net
    A AmbiguousName

    Hello. I have this small application in which I am using some open source dlls. Whenever I build my project, git notifies that I have new files ("git status" command in Git Bash). Now I tried to ignore these *.exe, *.dll, *.pdb and *.xml files in .gitignore but in vain (I don't know where to put it...so I placed mutiple copies of it, in different locations). How do use I git properly so that it recognize only the *.cs files and not all the EXEs and other stuff. Thanks for any pointer.

    This world is going to explode due to international politics, SOON.

    C# csharp linux collaboration xml tutorial

  • Add Forum For OpenSource Liberaries
    A AmbiguousName

    OriginalGriff wrote:

    Would you like it deleted?

    I don't see anything offending. Nor do I see an appropriate category for it. Why would one want to delete it ? Though I posted the question in "Quick Answers" as well.

    This world is going to explode due to international politics, SOON.

    Site Bugs / Suggestions discussion tools question

  • How to add time in video using Ffmpeg.
    A AmbiguousName

    Hello there. I have tried a number of options to convert a RAW mp4 file into mp4 file and showing the timestamp in it. These options are given as under

    //////////////////////// FIRST METHOD
    //
    // Option timestamp cannot be applied to input file. You are trying to apply input option to output file or vice versa.

    cmd>> ffmpeg.exe -timestamp now -copyts -i input_file_name.mp4 -f mp4 -vcodec copy ouput_file_name.mp4

    //////////////////////// SECOND METHOD
    //
    // A number of parameters were tried with the 'drawtext' argument. But in vein.
    // font file copied in the directry.
    // A number of variations applied to "TEXT" argument of "DRAWTEXT". Such as "timecode='09\:57\:00\:00': r=25", ORRR "text='\%T'"

    cmd>> ffmpeg.exe -i input_file_name.mp4 -f mp4 -vf "drawtext=fontfile=arial.ttf:text=%{localtime}" -vcodec copy ouput_file_name.mp4

    But I am unable to draw timestamp (local time of computer of video seek time) on the video. How could I do that??? Thanks for any pointer.

    This world is going to explode due to international politics, SOON.

    - Uncategorised posts - tutorial question

  • Add Forum For OpenSource Liberaries
    A AmbiguousName

    ooops..I just posted it in Uncategorized Posts

    This world is going to explode due to international politics, SOON.

    Site Bugs / Suggestions discussion tools question

  • Add Forum For OpenSource Liberaries
    A AmbiguousName

    Hello there. Today I noticed that CodeProject has no relevant forum for open source libraries. I was stuck on how to embed local time in video using Ffmpeg tools. So yes, I think a forum named OpenSource Products or similar could be added. Thanks for your thoughts.

    This world is going to explode due to international politics, SOON.

    Site Bugs / Suggestions tools help tutorial discussion
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups