dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: AndyK

Page 1 of 33 1 2 3 4

Search: Search took 0.12 seconds.

  1. Thread: ActiveX question

    by AndyK
    Replies
    3
    Views
    922

    Re: ActiveX question

    vinhie47: Thanks. Hmm, I still don't know what to declare the variables as.

    I'm trying to execute this code in a function

    ::OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid)
    ...
  2. Thread: ActiveX question

    by AndyK
    Replies
    3
    Views
    922

    ActiveX question

    Could somebody please help with ActiveX creation? Maybe someone has a simple example that has 1-2 methods, 1-2 events and code to draw with APIs. I'm fairly new to C++ and I'm trying to convert an...
  3. Thread: Fn keys

    by AndyK
    Replies
    5
    Views
    732

    Re: Fn keys

    Yes it is, any idea how to find out where it would post such a message?
  4. Thread: Fn keys

    by AndyK
    Replies
    5
    Views
    732

    Re: Fn keys

    OK thank you. What about dimming LCD panel....how do I detect when the panel is dimmed? I don't necessarily need to do it myself, but just need to show a box showing percentage it is dimmed. ...
  5. Thread: Fn keys

    by AndyK
    Replies
    5
    Views
    732

    Fn keys

    Does anyone know how to approach this kind of programs? I need to write a program to override Fn keys (laptops) and keyboard specific keys. For example pressing wireless key on the keyoard launches...
  6. Thread: MP3 info

    by AndyK
    Replies
    1
    Views
    977

    MP3 info

    2 questions. How to accurately read MP3 information (NOT tags, info like bitrate, frequency, etc). How to decode mp3s?

    Thanks
  7. Replies
    3
    Views
    2,968

    Thanks, it worked

    Thanks, it worked
  8. Replies
    3
    Views
    2,968

    Clearing a string

    How to clear char array? I tried running a loop and setting each character in the array to NULL but I'm not sure if that works. After using strcpy, I still have some characters in the string from...
  9. Thread: Struct and DLL

    by AndyK
    Replies
    1
    Views
    607

    Struct and DLL

    I have a __declspec(dllexport) VOID WINAPI ReadID3v1 (LPCSTR szMP3File, STRUCTURE add). ReadID3v1 assigns many variables in a standard structure (in header file) using add->varname = number; or...
  10. Thread: Functions....

    by AndyK
    Replies
    5
    Views
    969

    Thanks a lot, that helped very much. Few more...

    Thanks a lot, that helped very much. Few more questions. I can mix C and C++ functions together, right?

    Can you please give me an example on how to use std::string.
    I don't even know how the...
  11. Thread: Functions....

    by AndyK
    Replies
    5
    Views
    969

    Functions....

    I'm writing a standard Win32 DLL (no classes), which is a migration of a ActiveX DLL in VB to Win32 DLL. I have a list of VB functions that I would like to have an alternative in C or C++.

    1....
  12. Thread: DLL Test

    by AndyK
    Replies
    1
    Views
    595

    DLL Test

    I've written a DLL for my VB program, problem is my insufficient knowledge of C++ made me wonder if I did everything correctly. Below is the basic template of my DLL that I will pass a string to...
  13. Thread: VC++ and VB

    by AndyK
    Replies
    6
    Views
    992

    VC++ and VB

    I've created an ActiveX custom button for my vb projects, problem is I have about 100 buttons thruout my project. Takes up a lot of resources, and loading/unloading speed is also not something I was...
  14. Thread: Form Resizing

    by AndyK
    Replies
    3
    Views
    806

    This forum is pretty active mon-fri, usually it's...

    This forum is pretty active mon-fri, usually it's not as active on weekends.
  15. Thread: Form Resizing

    by AndyK
    Replies
    3
    Views
    806

    Form Resizing

    When I'm resizing the form, I want the controls to take appropriate size keeping the ratio. Problem is, if I place my function which does all the calculations in the Form_Resize, there's to much to...
  16. Replies
    1
    Views
    537

    Best way, i guess would be to create a public...

    Best way, i guess would be to create a public function, named "ClearVars" and do all the clean up there. Also, if I may suggest, next time, for each type of variable create an array instead of stand...
  17. Thread: Listview control

    by AndyK
    Replies
    1
    Views
    837

    Listview control

    I want to rename column headers in real time. What I do right now, is I move a textbox over the column where you can type in the name, problem is if the column is located in the invisible part of...
  18. Thread: File transfer

    by AndyK
    Replies
    8
    Views
    1,014

    Well when I try to share the folder on my laptop....

    Well when I try to share the folder on my laptop. I haven't done any copying yet, I need to share the folder first.


    tmp = StrConv(servername, vbUnicode)
    nerr = NetShareAddNT(tmp, 2, SI502,...
  19. Thread: File transfer

    by AndyK
    Replies
    8
    Views
    1,014

    OK, I was successful sharing a LOCAL folder, but...

    OK, I was successful sharing a LOCAL folder, but when I give a server name (\\VAIO), and path on the laptop (D:\Folder), I get an error '5'. What does that error mean? Either way, I am unsuccessful...
  20. Thread: MSDN question

    by AndyK
    Replies
    3
    Views
    818

    No, that's not what I need exactly. I need to...

    No, that's not what I need exactly. I need to find out the value that is returned and what it means. There are 8 possible values, that are returned and I have no idea what they mean because they...
  21. Thread: MSDN question

    by AndyK
    Replies
    3
    Views
    818

    MSDN question

    For example, on NetShareAdd API, there are 8 return values, 1 NERR_Success, and 7 are errors. Well, my code returns an integer error, so how can I convert that error code to the string error? I...
  22. Thread: Arguments

    by AndyK
    Replies
    1
    Views
    661

    You can send text directly to an external...

    You can send text directly to an external application using Sendmessage API with WM_SETTEXT constant.
  23. Replies
    2
    Views
    788

    ...or you can create a global boolean...

    ...or you can create a global boolean "KeyPressed" and set it to True on keydown, and on keydown check if KeyPressed = True then exit sub, on keyup set it to False



    KeyDown Event
    If KeyPressed...
  24. Thread: File transfer

    by AndyK
    Replies
    8
    Views
    1,014

    Thanks, I'll take a look at it although it's not...

    Thanks, I'll take a look at it although it's not exactly what I was planning on. My plan was to use only one program, and it'll just send stuff to \\Computername\Drive\folder, without any software...
  25. Thread: File transfer

    by AndyK
    Replies
    8
    Views
    1,014

    File transfer

    I have 2 computers on the same network, and I would like to transfer files from one to another, overwriting the target files. Problem is, in order to do it with windows, I need to enable sharing for...
Results 1 to 25 of 819
Page 1 of 33 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)