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
S

s o v a n n

@s o v a n n
About
Posts
40
Topics
27
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • marshalling mechanism
    S s o v a n n

    Hello ! When an object is marshalled by ref (through .net remote client call), all references it hold also get marshalled too--except those new inside itself. Is this the correct statement? Technically, class MyService : MarshalByRefObject { MyObject myObj = new MyObject(); // stay native MyObject hisObj = someOneElse.Object; // become TransparentProxy ... } Thanks, sovann

    C# csharp c++ question

  • .net remoting proxy
    S s o v a n n

    Hello! I am having a problem with .net remoting. I have searched Microsoft documents, but got no hints. When the server is accessed by remote client, it turns to be proxy : OK All instances new inside the server class stay native--direct call : OK All references passed to the server class turns to be TransparentProxy : Why ? Is it because the reference is outside the server object memory segment ? But they are in the same app domain--real object out there. Technically, class Server : MarshalByRefObject { ListBox myList = new ListBox(); // stay native--direct call ListBox hisList; // turns to TransparentProxy public Server(ListBox list) { hisList=list; ... // open port, listen to client request } } class MyForm : System.Windows.Form { public MyForm() { ... new Server(listBox); // start the server } } Your comments would be very helpful. Thanks. Sovann

    C# csharp c++ sysadmin performance help

  • Do we need to call dbCommand.Dispose() ?
    S s o v a n n

    Thank you. Your comment has been very helpful :)

    C# question database help

  • Do we need to call dbCommand.Dispose() ?
    S s o v a n n

    Thank you. Anyway, do we have to call IDbCommand.Dispose ?

    C# question database help

  • Do we need to call dbCommand.Dispose() ?
    S s o v a n n

    Hello ! I have a question about DB specifications : Do we have to call IDbCommand.Dispose ? What does IDbCommand.Dispose mean? We have problem doing this : IDbConnction pipe = new OleDbConnection(connString); IDbCommand command = pipe.CreateCommand(); command.QueryString = "select ..."; IDataReader reader = command.ExecuteReader(); **command.Dispose();** reader.Close(); pipe.Close(); The problem get solved if we don't do IDbCommand.Dispose Your comments would be very helpful. Thanks. Sovann

    C# question database help

  • GraphicsState and hardware
    S s o v a n n

    Hello! How many GraphicsState can we save. Does it depend on hardware capability? If so, how to get that stack size? GraphicsState state1 = g.Save(); GraphicsState state2 = g.Save(); GraphicsState state3 = g.Save(); ... g.Restore(state3); g.Restore(state2); g.Restore(state1); ] Thank you. Sovann

    C# hardware data-structures tutorial question

  • top most modeless dialog
    S s o v a n n

    Hello, Thank you for your advice. I have tried them all but 1. BringToFront() didn't solve the problem 2. set_Parent always complain 'cannot add top level control to this control' I tried : Dialog dialog = new Dialog(); // TopMost=false dialog.Parent = mainForm; // set parent to main form dialog.Show(); // run modeless Sovann

    C# question

  • top most modeless dialog
    S s o v a n n

    Hello ! Is there a way to make modeless dialog top most/always visible without using TopMost=true ? Because if we click button to show modal from this modeless dialog, they always stay at back. Thank you. Sovann

    C# question

  • are we 'printing' or 'previewing' ?
    S s o v a n n

    Hello! To my knowledge, .NET call the same code for print and preview. Is there a way to distinguish between 'printing' and 'previewing' ? Thank you. Sovann

    C# csharp question

  • CTreeCtrl end label edit howto
    S s o v a n n

    Hello ! I tried the following in CTreeCtrl to force label edit to end when we press VK_RETURN : GetEditControl()->ShowWindow(SW_HIDE); but I got AssertValid failed. Is there a nother way to do so? Thanks. Sovann

    C / C++ / MFC question

  • desktop dpi
    S s o v a n n

    Hello! Is there a way to get the desktop dpi in c# ? I have searched the web, but got no significant informations. Thanks, Sovann

    C# csharp question

  • Get printer DC given printer name & paper size
    S s o v a n n

    Thank you very much for your comments. It really works :) Sovann.

    C / C++ / MFC

  • Get printer DC given printer name & paper size
    S s o v a n n

    Hello! Suppose that we have a list of printer names and papers in CComboBox. Is there a way to get the printer DC from these info or technically : CDC* getPrinter(LPCTSTR printerName, LPCTSTR paper, int landscape=1); Your comments & ideas are really helpful. Thanks :)

    C / C++ / MFC

  • how to resolve overlapped region
    S s o v a n n

    My appology for posting to two forums. The problems is: overlapped label inside a densed polygon on map. Each polygon has a label (ex. town name). The label should be placed to ensure readability while still reside in that polygon. Your comments woulds be very helpful.

    C# data-structures help tutorial question

  • how to resolve overlapped-region
    S s o v a n n

    Hello! On the graph display we have many overlapped text. Is there any good algorithms to resolve this problem, so that we have a readable layout ? Thanks :)

    C / C++ / MFC data-structures help tutorial question

  • how to resolve overlapped region
    S s o v a n n

    Hello! On the graph display we have many overlapped text. Is there any good algorithms to resolve this problem, so that we have a readable layout ? Thanks :)

    C# data-structures help tutorial question

  • resolve crossed-bounds text
    S s o v a n n

    Hello! I am searching for a way to rearrange crossed-bounds text so that they don't appear on eachother. Your informations would be very helpful. :)

    C / C++ / MFC algorithms

  • crossing bounds rearrangement
    S s o v a n n

    Hello! I am searching for a way to rearrange crossed-bounds text so that they don't appear on eachother. Your informations would be very helpful. :)

    C# algorithms

  • STL or <afxtempl.h>
    S s o v a n n

    Thank you very much for your comments. I have read them all. My problem was direct access to STL object in other module. Now I am working on it. Thanks again. Have a nice day! :)

    C / C++ / MFC c++ help question

  • STL or <afxtempl.h>
    S s o v a n n

    Thank you for your comments. I would reconsider the memory management. Sovann.

    C / C++ / MFC c++ help 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