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
E

earlgraham

@earlgraham
About
Posts
85
Topics
47
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Enbedded Mobile device programming - C#
    E earlgraham

    Thanks you for you answer. I was planning on targeting laptops, Mini Computers, Smart Devices and iPads(and similar). Most of the new 4G dongles come with built-in GPS, so any device that can use them and other who are rich targets. Thanks Glenn

    Programmer Glenn Earl Graham Austin, TX

    Mobile question csharp sysadmin

  • Enbedded Mobile device programming - C#
    E earlgraham

    I work at a company that provides C# software solutions for GPS Tracking. They have recently asked me to write some software to use on a laptop that will read location information and report movement. The software will read the GPS information from a plug-in USB device and send the data through TCP to a server. So My Question. If you were targeting mobile platforms, and your company have invested heavily in C#. What platform would you use for development? Mono? Or would you move away from C# for another programming language. Thanks Glenn

    Programmer Glenn Earl Graham Austin, TX

    Mobile question csharp sysadmin

  • Visual Studio 2010 is coming out soon. Does anyone care?
    E earlgraham

    I'm doing a lot of silverlight and xaml. So YES!!! I'm excited. The IDE has greatly improved tools to make development for those technologies easier.

    Programmer Glenn Earl Graham Austin, TX

    The Lounge csharp asp-net visual-studio wcf css

  • How to send mail [Error: The SMTP server requires a secure connection or the client was not authenticated]
    E earlgraham

    Does you config file have that server? Silverlight email application[^]

    Programmer Glenn Earl Graham Austin, TX

    WPF csharp com sysadmin security help

  • TCP Cross Domain Access Policy
    E earlgraham

    If you are accessing through HTTP you need to provide a clientaccesspolicy.xml in the root of the site. My question is for the TCP access, it appears you must setup a TCP listener on the TCP address where Silverlight is accessing on port 943. Correct? It has nothing to do with the hosting web server. Right? Thanks

    Programmer Glenn Earl Graham Austin, TX

    WPF question sysadmin hosting xml workspace

  • RLE (Run Length Encoding) in C# [modified]
    E earlgraham

    They(Senior Developers at where I work) say its a "Traditional" form. They check to see if the previous character matches the current. If less than one or two they will attempt a sequence. If a sequence is found, they will write out the length and the sequence. If not the character and run length is attached to the buffer. PackBits they say

    Programmer Glenn Earl Graham Austin, TX

    modified on Monday, November 2, 2009 6:18 PM

    C# question csharp sysadmin

  • RLE (Run Length Encoding) in C# [modified]
    E earlgraham

    My client software gets an RLE encoded TCP message from a Server. I need to decode it so I can use the data. So my question. Does C# already have an RLE decoder? Or will I need to write my own stuff? It does not look hard, but I will feel silly if Someone say there is an extension that handles the work. Thanks PS They say its PackBits style

    Programmer Glenn Earl Graham Austin, TX

    modified on Monday, November 2, 2009 6:17 PM

    C# question csharp sysadmin

  • Parsing binary TCP messages
    E earlgraham

    It will not be listening. Only requesting data from a server that hosts the data. Sorry I miss understood. Yeah its a tough decision, there are several options for me. 1) I can edit the data server, but its an established C++(unmanaged) application. I will have several of the senior programmers grilling me on whether I screwed up anything. 2) I could write an app that uses a different port. Then all my silverlight traffic goes to that port. I convert the data and forward. (this is my preferred approach) 3) OR Convert in the silverlight app. What fun!!!

    Programmer Glenn Earl Graham Austin, TX

    WPF json

  • Parsing binary TCP messages
    E earlgraham

    There is much I don't know about silverlight but there seem to be support for TCP connectivity in silverlight. Here is a good post on it. http://weblogs.asp.net/mschwarz/archive/2008/03/07/silverlight-2-and-sockets.aspx[^] My only concern is working through a binary message byte by byte to convert it into my managed code. I know there are several libraries that are not supported by Silverlight, and I hope that I don't get stuck.

    Programmer Glenn Earl Graham Austin, TX

    WPF json

  • Parsing binary TCP messages
    E earlgraham

    Code is running on a client webpage. It streams data to a web user for live updates.

    Programmer Glenn Earl Graham Austin, TX

    WPF json

  • Parsing binary TCP messages
    E earlgraham

    I'm new to silverlight. My web application "Might" attach to a TCP port that outputs a binary compressed TCP message for my web data. I'm trying to decide if I should 1)parse it in silverlight or 2)write a middle-ware application that unpacks it and then sends it to my silverlight App. Thanks for any recommendations.

    Programmer Glenn Earl Graham Austin, TX

    WPF json

  • Communicating with a unmanged c++ TCP connection
    E earlgraham

    I have to write a client that gets its data through a TCP connection from a server written in unmanaged C++ (It does support managed c++ though). It sends a large structure. The Structure is unmanaged. It even has unmanaged structures in the structure. My client must be C#. I have two chooses (as I see it); 1) Modify the server to package the data into an managed type. The server does support c++ managed code. Making it easy on the client. 2) Or Parse the binary incoming TCP message, then place it into a managed structure on client. I'm leaning toward option 1. Since I think it will allow more versatility, however the programmers that wrote the original server think the parsing is a simple method. I hope someone can help me Decide. Thanks Glenn

    Programmer Glenn Earl Graham Austin, TX

    WCF and WF csharp c++ sysadmin json help

  • How to place Assemblies or DLL's in a subfolder
    E earlgraham

    After research I also found that you can give the X.exe an X.exe.config file that defines other sub-folders to search. This works for me. Thanks Glenn

    Programmer Glenn Earl Graham Austin, TX

    C# tutorial

  • How to place Assemblies or DLL's in a subfolder
    E earlgraham

    I would like our project DLL’s placed into a sub-folder(\plugins). But when I try to run the application, it can’t find them. In the reference paths, I added a relative search path (.\plugins) and tried a micro path ($(TargetPath\plugins)). Neither seems to work. Unless the dll is in the same directory, I get an exception. The exceptions are the same. Can’t find file. Thanks :((

    Programmer Glenn Earl Graham Austin, TX

    C# tutorial

  • Compiler Optimization - size, speed, full, or none of the above.
    E earlgraham

    Is there any guidelines out there for which compiler option is best for Optimization? I have heard the minimizing size is important to reduce page faults but I'm not sure. Opinions? links? Thanks Glenn

    Programmer Glenn Earl Graham Austin, TX

    Managed C++/CLI performance algorithms question discussion

  • Should I Upgrade from VS2005 to VS2008
    E earlgraham

    We are currently developing using VS2005 without any major issues. However we are two months from starting our test phase. So it’s not a bad time to upgrade. My company has VS2008 (part of our developers support package). We don't currently need any advanced features in VS2008. Typically I would wait. Let the new software at least get to its first SP. However I have not heard any really negatives about VS2008. Its making me wonder if it might be solid release from MS. Is VS2008 as stable as VS2005? Your Opinion? :confused:

    Programmer Glenn Earl Graham Austin, TX

    Visual Studio sharepoint architecture question announcement

  • DateTimePicker UpDown default to change seconds
    E earlgraham

    I am using the DateTimePicker to get a time from my users. It has a custom format of mm:ss. I have my ShowUpDown set to true. However, most of the time changes my users will be making will be in the seconds field. The upDown defaults to changing minutes. Is there a way to make the default be seconds?

    Programmer Glenn Earl Graham Austin, TX

    Windows Forms question

  • Finding the menu item the mouse is over for help request
    E earlgraham

    Got worked out. Here is my final code.

    for each ( ToolStripMenuItem ^tmpMS in this->menuMainForm->Items )
    {
    for each ( ToolStripItem ^tmpCntl in tmpMS->DropDownItems )
    {
    if (tmpCntl)
    {
    if ( tmpCntl->Selected )
    String ^tmpCntlName = tmpCntl->Name;
    OpenHelpForMenuItem(tmpCntlName);
    }
    }
    }

    Programmer Glenn Earl Graham Austin, TX

    Windows Forms c++ html winforms help

  • Can you tell what menu item the mouse is pointing at? [modified]
    E earlgraham

    Thank You very much. It works like a champ! Here is my final code (c++/CLI).

    for each ( ToolStripMenuItem ^tmpMS in this->menuMainForm->Items )
    {
    for each ( ToolStripItem ^tmpCntl in tmpMS->DropDownItems )
    {
    if (tmpCntl)
    {
    if ( tmpCntl->Selected )
    String ^tmpCntlName = tmpCntl->Name;
    OpenHelpForMenuItem(tmpCntlName);
    }
    }
    }

    Programmer Glenn Earl Graham Austin, TX

    C# csharp c++ html winforms help

  • Can you tell what menu item the mouse is pointing at? [modified]
    E earlgraham

    For the menu dropdown items there is no event for the helpprovider. There is for the file menu itself but it does not tell you which menu item you are currently looking at.

    Luc Pattyn wrote:

    I have not used it myself, but the way I understand MSDN on Control.HelpRequested event you should add an event to every Control for which you want to provide help; then in the HelpRequested event handler the sender parameter points to the Control that currently needs to show help.

    Programmer Glenn Earl Graham Austin, TX

    C# csharp c++ html winforms help
  • Login

  • Don't have an account? Register

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