Search:

Type: Posts; User: daimous

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    7
    Views
    1,205

    Re: Create Object Reference Copy and destroy it

    Thank you jm for that great explanation :)
  2. Replies
    2
    Views
    781

    Invoking Method

    Hi Guys!

    Help please...Is it possible for a child to thread to invoke a function/method in the main thread?

    Basically this is what what i have. I have a class that has a public event and that...
  3. Replies
    16
    Views
    3,929

    Re: Create Bitmap/Image

    Sorry for the confusion Milk :(

    I encountered error (the one in bold) when I use the first snippent..not sure if i missed something...

    Error


    Code
  4. Replies
    16
    Views
    3,929

    Re: Create Bitmap/Image

    oh...i tried to play with entries property and got what i need. Thanks Milk
  5. Replies
    16
    Views
    3,929

    Re: Create Bitmap/Image

    I have a follow up question though, is it possible to replace or color white with something and and all color black to something else?
  6. Replies
    16
    Views
    3,929

    Re: Create Bitmap/Image

    Hi Milk.. It works i just modify it a bit becuase the image is not displayed properly..here is your code.


    scanline = (int)bmpData.Scan0;
    width = bmpData.Width;
    ...
  7. Replies
    16
    Views
    3,929

    Re: Create Bitmap/Image

    Oh thats great..looking forward to see the easier way. Thank you.
  8. Replies
    16
    Views
    3,929

    Re: Create Bitmap/Image

    I got it Milk. Thanks...Here is the code.



    Bitmap bmp = new Bitmap((int)img.Width, (int)img.Height, PixelFormat.Format8bppIndexed);
    ColorPalette pal;
    ...
  9. Replies
    16
    Views
    3,929

    Re: Create Bitmap/Image

    The width is always multiple of 4 (192)....From the your code where should i put the content of the ImageData? sorry Milk I have not encounter such need before..please bear with me. Thanks.
  10. Replies
    16
    Views
    3,929

    Re: Create Bitmap/Image

    Hi Mlik,

    Firstly, Thanks for the interest and to answer the clarifications


    - 8 bit colours



    - Yes, always the same.
  11. Replies
    16
    Views
    3,929

    [RESOLVED] Create Bitmap/Image

    Hi Everyone, help please.

    Given the following data how will I be able to create Bitmap/Image.

    1. Width - Width of the image in pixels.
    2. Height - Height of the image in pixels.
    3....
  12. Replies
    2
    Views
    580

    Accessing control from other application

    Hi Guys Help please...say i have Program 1 (can be manage/unmanage code) and it has label1 or textbox1 then I have program2 (manage code-written in C# .NET3.5) is it possible for program2 to access...
  13. Replies
    1
    Views
    929

    Deploying ActiveX Component

    Hi Guys Help Please.

    I have created ..NET assembly and i can run(via IE) it by registering it via regasm in my local machine but if I want to deploy in a client machine asking the client to issue...
  14. Replies
    2
    Views
    672

    Re: Register .Net Assembly

    HI JM..Yes Im aware. and the assemblies will be consumed by com components.. ANyway, Thank you for the link.
  15. Replies
    2
    Views
    672

    Register .Net Assembly

    Hi Guys!

    Help Please..Is it possible to programmatically register the .Net Assembly like what Regasm.exe is doing? Thanks in advance!
  16. Thread: Draw Image

    by daimous
    Replies
    12
    Views
    2,094

    Re: Draw Image

    Thanks LaVolpe..I will give it a try and inform you of the result. Thanks Again!
  17. Thread: Draw Image

    by daimous
    Replies
    12
    Views
    2,094

    Re: Draw Image

    Thank you for the interest LaVolpe..this is how i call the ABSGrab

    I use this

    Private Declare Function ABSGrab Lib "somedllname.dll" (ByVal hConnection As Long, ByRef pOperation As...
  18. Thread: Draw Image

    by daimous
    Replies
    12
    Views
    2,094

    Re: Draw Image

    Im using VB6 and i'm calling an API here is the definition


    ABS_STATUS ABSGrab(
    IN ABS_CONNECTION hConnection
    IN ABS_OPERATION *pOperation
    IN ABS_DWORD dwPurpose
    OUT ABS_IMAGE **ppImage
    IN...
  19. Thread: Draw Image

    by daimous
    Replies
    12
    Views
    2,094

    Re: Draw Image

    Sorry the Color Count is also given(known in advance).

    Sorry, im not so familiar with vb6 so i'm still do not have idea on how to create a bitmap from data. Some tips or link will be greatly...
  20. Thread: Draw Image

    by daimous
    Replies
    12
    Views
    2,094

    Re: Draw Image

    Thank you for the reply guys....

    LaVolpe, this is the description of the image data:

    Image Data
    Color values of all pixels.
    ImageData is an array of (Width * Height) bytes. Each pixel is...
  21. Thread: Draw Image

    by daimous
    Replies
    12
    Views
    2,094

    Draw Image

    Hi All,

    Given these values

    1. Width - width in pixels
    2. Height - height in pixels
    3. Horizontal DPI - horizontal resolution of the image
    4. Vertical DPI - vertical resolution of the image...
  22. Replies
    1
    Views
    858

    Control Parallel Port

    Hi Guys, i need to develop a program that communicates thru a device thru parallel port..is there a function in .NET 3.5 that i can use to send and recieve data from parallel port? Thanks in advance!
  23. Replies
    1
    Views
    624

    ActiveX in .NET

    Can we really create activex in .net? I know in VB6 and C++ we can but im not sure in .net or is .net has its own alternative to ActiveX? Thanks in advance!
  24. Replies
    5
    Views
    1,437

    TreeView with arrow

    Hi Guys! is there a control something like what i have in the screenshot? the one higlighted in red? I want an arrow instead of the line. Thanks in advance! by the way, im sung framework vesion 3.5
  25. Replies
    2
    Views
    8,878

    Re: Cut off USB power programmatically

    devcon does not work in windows 7.. :(
  26. Replies
    4
    Views
    2,775

    Re: Call method with timeout

    Hi JM..That one works for me!..Thank you so much!
  27. Replies
    4
    Views
    2,775

    Re: Call method with timeout

    Hi JM! thanks for sharing your code..I will give it a try..and give some feedback...Thanks again..
  28. Replies
    2
    Views
    8,878

    Cut off USB power programmatically

    Hi Guys help please..Is it possible to cut off the power supply of the USB port? I just need this to hard reset the device(smartcard reader) attached to that port. Thanks in advance!
  29. Replies
    4
    Views
    2,775

    Call method with timeout

    Hi Guys help please..Im calling a method from a library (DLL, unmanaged code) and there is a chance that that method will not return for a long time so what i want is to create a timeout everytime i...
  30. Thread: Windows login

    by daimous
    Replies
    4
    Views
    595

    Re: Windows login

    Thank Dee-u, but i already tried that it does not logged me in from my system..I added timer control in my winform and in the Tick event i call the LogonUser..but when i run the application and lock...
  31. Thread: Windows login

    by daimous
    Replies
    4
    Views
    595

    Windows login

    Hi Guys! Help please..

    Is it possible to create a desktop application where it can login the user in windows? of course the user must enroll first in the application for his username and password....
  32. Replies
    5
    Views
    814

    Re: Create a Database from code

    1. Add ADOX to your Project
    1.1 Select your Project from the solution explorer
    1.2 Right click reference
    1.3 Click Add Reference
    1.4 From COM Tab look for "Microsoft ADO Ext. 6.0 for...
  33. Replies
    7
    Views
    2,297

    Re: Call method from other class or winform

    why not just do something like this


    public string SetStatusMsg
    {
    set
    {
    toolStripStatusLabel1.Text = value;
    }
    }
  34. Replies
    1
    Views
    567

    Default Access Rights of IIS

    hi Guys!

    Im just wondering if the default access rights of IIS in the PC where it is running is administrator? and by default does IIS has access to computer resources e.g. Printer, Finger Print...
  35. Replies
    2
    Views
    990

    Call C# Library From Web Service

    Hi Guys Help please..

    I've created a library using C# (.net version 3.5) and that library is being called by a webservice. The library resides in the server where the service is running. (Im not...
  36. Replies
    2
    Views
    2,215

    Re: Disbale and Enable USB Port

    hi Hack, Thanks for that..but actually what i want is how to power it off/cut the power off(If possible) becuase i assume if i disable it i will cut the power off but when i try to disable it from...
  37. Replies
    2
    Views
    2,215

    Disbale and Enable USB Port

    Hi Guys help please..How can i enable/disbale the the usb port programmatically? any ideas? or links? Thanks in advanced!
  38. Replies
    1
    Views
    575

    Compile Libary as 64Bit

    Hi Guys i have a question..Im developing a library using visual studio 2008 that runs under windows 7 32 bit operating system but the library is meant to run under windows server 2003 64 bit...
  39. Replies
    2
    Views
    1,410

    Re: Disable and Enable Device

    smartcard reader which is connected thru USB
  40. Replies
    2
    Views
    1,410

    Disable and Enable Device

    Hi guys help please..! How can i disable and enable the device attached to my pc? well aside from disconnecting the device form my pc. :) Thanks in advance!
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width