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

jamesjk

@jamesjk
About
Posts
36
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to Scale an image to its real world size
    J jamesjk

    thanks stancrm, will this ensure that the image, say that of a knee will be exactly of the same size of the person's knee whose knee was pictured ?

    C# question help tutorial

  • How to Scale an image to its real world size
    J jamesjk

    Hi, I have images of human body parts. Is it possible to view the image at its actual real world size. How can I achieve this ? How do I confirm whether current size of the image is same as its real world size? Thanks in advance for all the help & suggestions.....

    C# question help tutorial

  • invoking events of a control under another control
    J jamesjk

    once again thanks eslam. i'm still fighting with this. pls see the log that i got ... msg=0x201 (WM_LBUTTONDOWN) hwnd=0xb046e wparam=0x0 lparam=0x4b0266 result=0x0 msg=0x7 (WM_SETFOCUS) hwnd=0xb046e wparam=0xd04a4 lparam=0x0 result=0x0 msg=0x8 (WM_KILLFOCUS) hwnd=0xb046e wparam=0x7a045c lparam=0x0 result=0x0 msg=0x111 (WM_COMMAND) hwnd=0xb046e wparam=0x100045c lparam=0x7a045c result=0x0 msg=0xc206 hwnd=0xb046e wparam=0x0 lparam=0x0 result=0x0 msg=0x200 (WM_MOUSEMOVE) hwnd=0xb046e wparam=0x1 lparam=0xffffffffff5d0230 result=0x0 msg=0x2a1 (WM_MOUSEHOVER) hwnd=0xb046e wparam=0x1 lparam=0xffffffffff5d0230 result=0x0 msg=0x202 (WM_LBUTTONUP) hwnd=0xb046e wparam=0x0 lparam=0xffffffffff5d0230 result=0x0 msg=0x215 (WM_CAPTURECHANGED) hwnd=0xb046e wparam=0x0 lparam=0x0 result=0x0 msg=0x2a3 (WM_MOUSELEAVE) hwnd=0xb046e wparam=0x0 lparam=0x0 result=0x0 msg=0x111 (WM_COMMAND) hwnd=0xb046e wparam=0x200045c lparam=0x7a045c result=0x0 but nothing special happened... no event in the message receiving control was fired.. am I missing anything ? pls help me on this thanks

    C# help

  • invoking events of a control under another control
    J jamesjk

    thanks for the reply.. i'll put the problem in another way i have 2 controls 1. a customized pictureedit 2. a custom picturebox which is transparent in the customized pictureedit i can measure the distance between 2 points by dragging the mouse from one point to another. in my form i place the second control exactly over the first one i load an image in the first control(in which i can take the measurements) that is underneath then i load different images in the upper transparent picturebox so that i can see both the images overlapping each other.. so far it works fine... now comes the tricky stuff i should be able to drag through the upper transparent control and take the difference in measurements between the 2 images. i can't keep the measurable pictureedit on the top as per the requirements. so what i need to do is drag on the upper transparent picturebox but get measurements as if i dragged on the lower pictureedit. i hope i have made it clearer this time once again thanks for the help

    C# help

  • invoking events of a control under another control
    J jamesjk

    thanks for the reply.. i'll put the problem in another way i have 2 controls 1. a customized pictureedit 2. a custom picturebox which is transparent in the customized pictureedit i can measure the distance between 2 points by dragging the mouse from one point to another. in my form i place the second control exactly over the first one i load an image in the first control(in which i can take the measurements) that is underneath then i load different images in the upper transparent picturebox so that i can see both the images overlapping each other.. so far it works fine... now comes the tricky stuff i should be able to drag through the upper transparent control and take the difference in measurements between the 2 images. i can't keep the measurable pictureedit on the top as per the requirements. so what i need to do is drag on the upper transparent picturebox but get measurements as if i dragged on the lower pictureedit. i hope i have made it clearer this time once again thanks for the help

    C# help

  • invoking events of a control under another control
    J jamesjk

    Thanks eslam... i tried using the sendmessage function.. but till now i've not been able to implement it successfully.. so can you help me in this... actually i make the measurement by dragging through the custom pictureedit(i dont have the source code) which is below the covering control i tried sending the WM_MOUSEMOVE alone & WM_LBUTTONDOWN & MOUSEMOVE together but nothing much happened...

    [DllImport("user32.dll")]
    static extern IntPtr SetParent(IntPtr hWndChild, IntPtr hWndNewParent);

        \[DllImport("user32.dll", CharSet = CharSet.Auto)\]
        private static extern int SendMessage(IntPtr hWnd, int wMsg, IntPtr wParam, IntPtr lParam);
    
        private const int WM\_MOUSEMOVE = 0x200;
        private const int WM\_LBUTTONDOWN = 0x201;
        private void button2\_Click(object sender, EventArgs e)
        {
            SendMessage(axe.Handle, WM\_LBUTTONDOWN, IntPtr.Zero, IntPtr.Zero);
            SendMessage(axe.Handle, WM\_MOUSEMOVE, IntPtr.Zero, IntPtr.Zero);
    

    }

    once again thanks for showing the light.. hope you woulld be able to lead me further thanks

    C# help

  • invoking events of a control under another control
    J jamesjk

    hi, need your help to solve this issue.. i have a custom pictureedit control in which i have many custom properties and events. i need to place an image OVER this in another ordinary picture edit and should be able to work on the events in the picture edit in the lower layer. i'll make it clearer... in my custom pictureedit i have added a feature to measure the distance between 2 points. now what i need to do is place another image over the main image and while comparing these images should be able to take the measurements from the lower image... hope you guys understood my issue clearly... tons of thanks in advance for any help

    C# help

  • Deploying multiple projects
    J jamesjk

    Thanks Mr.Thomas for the suggestion... But I think there should be some other better option to do this...

    C# question

  • Help Regarding panel.Hide
    J jamesjk

    Why dont you just dock the panels properly & then set the visible to true or false based on your parameter. If all the panels are docked properly setting the visibility will do the trick for you

    C# question graphics json help

  • Deploying multiple projects
    J jamesjk

    Hi, I am deploying 5 projects in a single msi file. I need to add a form so that at the time of installation the user can make a custom installation of the products (like we do while installing MS Office).. How can I achieve this....? THANKS in advance for any suggestions....

    C# question

  • How to share dlls in different applications ?
    J jamesjk

    I have 2 applications developed in .net. When I install both these applications in a single system a complete set of dlls are created each in corresponding application folders. Is it possible to put these dlls in a common folder and make the applications reference them from the same common folder ? Can this be done using any options in the .net msi project ? Thanks in advance for any replies & suggestions......

    C# csharp tutorial question

  • Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) -- Exception
    J jamesjk

    Thanks Graus... Even though you didn't mention anything specifically in your reply.. , it helped to track the actual problem... In fact I designed a usercontrol using some third party controls.. When I tried using my usercontrol (which was actually) designed in another system by myself) I miised to register the third party controls... Thanks Again...

    C# help question

  • Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) -- Exception
    J jamesjk

    Thanks Graus... but I really didn,t get you. Could you brief it... How do I register the component... Thanks Again..

    C# help question

  • Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) -- Exception
    J jamesjk

    When I try to drag one of my usercontrol onto the form, I get the following exception. But I could add the control onto the same project by opening it in mt friend's system. But coming back to my system it gives me the same error... what could be wrong in my system? Could somebody help me in solving this issue plssssss ????? Exception Message: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Hide at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid) at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid) at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid) at System.Windows.Forms.AxHost.CreateInstance() at System.Windows.Forms.AxHost.GetOcxCreate() at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state) at System.Windows.Forms.AxHost.CreateHandle() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.AxHost.EndInit() at Orders.Orders.InitializeComponent() at Orders.Orders..ctor() Thanks in Advance

    C# help question

  • Form Layout at Runtime ?
    J jamesjk

    Thanks Simon. The main problem I'm facing is that the xml will be variable. I'm providing a xml editor to the user so that he can add as many questions in it. With uncertain number of questions do you have any suggestions on how i'll be able to manage the layout ? Thanks Again for the reply.

    C# design xml question

  • Form Layout at Runtime ?
    J jamesjk

    Is it possible to control the layout of controls on a form at runtime. Actually I have a xml file which will contain some questions & the type of answer it expects. I need to design an interface with these questions on different labels & appropriate controls for accepting the answer to these questions (it might check box, radio button or textbox...) Thanks in Advance, Cheers

    C# design xml question

  • How to print exactly on a standard paper form ?
    J jamesjk

    I need to print some data onto a standard form. I tried different methods. But all of them need to set the margins for different printers by trial & error. Else the data will not fall into the space allocated for it. I have seen applications that dont have this restrictions. Can anybode please help me on this ? Thanks in advance for your help...

    C# help tutorial question

  • Coloring a Datagrid row
    J jamesjk

    Its Windows DataGrid

    C# help

  • Coloring a Datagrid row
    J jamesjk

    Hi Guys, Could somebody help me in the issue. I need to color the rows of a datagrid based on the value of a colum in the table which is bound to the datagrid. Thanks in advance

    C# help

  • OdbcDataAdapter query on update()..
    J jamesjk

    Hello friends, Could somebody help me to solve the below issue. I am using odbcdataadapter in my application the select query for the adapter is something like this.. select * from employees where wages <5000 I display the records in an interface & let the user to edit it. When the user increases the salary of the employee above 5000.., I call the update function of the adapter class to update the dataset. the databse is updated correctly & the value in the dataset is also updated for the row. But my prob is, on updating I want the row to be removed from the dataset, since the where condition fails. But it doesn't happen in my case . Am I missing some important link.. else what is going wrong .. the where condition works fine only on the initial loading .. Thanks for the help in Advance

    C# help database question announcement career
  • Login

  • Don't have an account? Register

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