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
J

jonny5

@jonny5
About
Posts
13
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Help requested event
    J jonny5

    There is a Handled property on the HelpEventArgs passed into your HelpRequested event handler - just set Handled = true to prevent the event from continuing down the chain. The behaviour you are seeing is by design.

    Jon Humphreys ActivePlanet Software

    C# help docker

  • How to run your application by double-clicking a file?
    J jonny5

    Its the pre-qualifier to "upon double-clicking on the file itself" and satisfies the "without going through setup and deployment actions" requirement. 1) Right-click the file, Open With -> Choose Program... 2) Browse for your program. 3) Check the "Always use the selected program..." and click OK The Shell Open registry entries are then done for you without using RegEdit.

    Jon Humphreys ActivePlanet Software

    C# question sysadmin help tutorial workspace

  • DLL size
    J jonny5

    Probably because you are statically linking to the C Runtime. There is an option there somewhere to not do that - so that it dynamically links.

    Jon Humphreys ActivePlanet Software

    C / C++ / MFC c++ json question

  • Windows services
    J jonny5

    ServiceBase.AutoLog = false;

    Jon Humphreys ActivePlanet Software

    C# tutorial question

  • How to run your application by double-clicking a file?
    J jonny5

    Right-click the file, Open With -> Choose Program...

    Jon Humphreys ActivePlanet Software

    C# question sysadmin help tutorial workspace

  • DataRow Problem
    J jonny5

    Looks like you are in an infinite loop - is this what you are trying to do? DataTable dt = new DataTable(); string[] arrEmpIDs = strEmpID.Split(','); DataRow dr = dt.NewRow(); for (int q=0; q < arrEmpIDs.Length; q++) { dr[q] = objDSPHContribRep.fgetEmpPhilHealthInfo(arrEmpIDs[q]); } dt.Rows.Add(dr); return dt; Jon Humphreys ActivePlanet Software Bangkok, Thailand

    C# help database data-structures

  • Bad programming ethics
    J jonny5

    You are not going to be able to block it in C# (well, maybe - but it would be a serious hack) If you can recompile the C++ library, there is a way to do away with that messagebox. If I remember correctly it is coming from the C libary, so do a search for the messagebox api in the C headers for the #define - then just copy/paste into your header to override, the recompile. I've done that before and it works nicely. However, on that note, the message you are getting is probably "pure virtual function call" - which indicates that the C++ code needs to be fixed anyway, as there is a bug. Search for "pure virtual function call" on MSDN and there is a full explanation of why you see that messagebox.

    C# csharp c++ json help question

  • C# Right and Left Methods
    J jonny5

    Substring is all you have, I believe.

    C# csharp help question

  • sql statement problem
    J jonny5

    I might have this wrong after a few beers, but: SELECT studentID FROM Table WHERE classID = '101' GROUP BY studentID, courseID ORDER BY Age Hope that helps Jon Humphreys ActivePlanet Software Bangkok, Thailand

    C# question database xml help

  • Creating forms on different threads
    J jonny5

    This being your worker thread: private static void ShowMyForm() { frmMyForm frmg = new frmMyForm(); Application.Run(frm); } If you want to make any calls that are thread dependant (on the window handle), like calling from one thread to another to set the focus of a control, that is when you use BeginInvoke. As the error points out, you can only call BeginInvoke when all handles are created. Jon Humphreys ActivePlanet Software Bangkok, Thailand

    C# help csharp debugging

  • Windows service using Com dll
    J jonny5

    Add a reference to the DLL, and Interop DLL's/Wrapper classes are automatically generated for you - then just make use of the objects in the namespace by the LIB name - class viewer will help you find the generated namespace and object names. Jon Humphreys ActivePlanet Software Bangkok, Thailand

    C# csharp c++ visual-studio com help

  • Check if a file is used by an other process
    J jonny5

    I would think that you could just try to open the file for exclusive read access - that should throw an exception. As for the ultimate, you would have to use interop and Win32 functions to delve into the finer details. The OpenFile() Win32 function might do a better job than .Net for what you want. This site really helps with the interop stuff.... http://pinvoke.net Jon Humphreys ActivePlanet Software Bangkok, Thailand

    C# csharp sysadmin question

  • IME and Language Bar
    J jonny5

    Anyone know how to programitically switch language when the focus hits a textbox? I am writing a dual-language application and want to switch to Thai from English when the user tabs into a textbox, rather than have the user goto the language bar to do so.... Thanx! Jon Humphreys ActivePlanet Software Bangkok, Thailand

    C# tutorial question
  • Login

  • Don't have an account? Register

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