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

Search:

Type: Posts; User: N Raja

Page 1 of 3 1 2 3

Search: Search took 0.08 seconds.

  1. Replies
    0
    Views
    607

    A Toolbar Question

    Hello,
    I am using the standard toolbar control and need to "center align" the text on the buttons. It seems that I can either set the TextAlignment to tbrTextAlignBottom, or to...
  2. Re: Determining the arguments of a function exported from a dll

    Like all progress in civilzation: Trial-and-error.
    Its working, its working!

    Find out what you like doing best and get someone to pay you for doing it.
  3. Determining the arguments of a function exported from a dll

    Quick and sweet: How can I figure out the arguments that a function exported from a dll, takes?
    The dll is vital and unfortunately, I do not have any documentation for it.
    Any pointers will be...
  4. Replies
    4
    Views
    952

    Re: continue; in a loop, like C++

    :: grins ::
    Yes it will. So there is no parallel for continue?
    :: shrugs ::
    Okay...thanks.

    -Nas.

    Find out what you like doing best and get someone to pay you for doing it.
  5. Replies
    4
    Views
    952

    continue; in a loop, like C++

    Hi,
    I am trying to figure out how to figure out how to skip some statements in a for loop and go back to the beginning..in a C++ for loop I can write:

    for( int i = 0; i < 20; i++)
    {

    //if...
  6. Replies
    4
    Views
    1,091

    Accessing individual characters in a String

    Hi,
    I need to access individual characters in a visual basic string. How can I do it?
    Thanks in advance,
    Nas.

    Find out what you like doing best and get someone to pay you for doing it.
  7. disabling a TextBox without disabling its scrollbars.

    Hello,
    I have a very simple objective. Disallowing the user input into a TextBox. Its a multi-line one who's text I fill from code. If I set .Enabled to False, that also disables the scrollbars,...
  8. Thread: Menu Question

    by N Raja
    Replies
    1
    Views
    684

    Menu Question

    Hi,
    I am having a very interesting problem. I have an MDI application with a menu bar. In one of the child MDI windows, I display a right click pop-up menu. Standard stuff right? Well guess what,...
  9. Replies
    1
    Views
    638

    Re: Determining a file name's extension!

    I got it...!
    ------------------------
    'returns the extension of a given file name.
    Public Function FindExtension(strFileName As String) As String
    Dim obj As New FileSystemObject
    ...
  10. Replies
    1
    Views
    638

    Determining a file name's extension!

    Alright. This should be easy. But I can't find the function to do it. And PathFindExtension doesn't work.
    Ever done it?

    Thanks in adv,
    Nas
  11. Replies
    4
    Views
    4,069

    Re: something similar to PathRemoveFileSpec

    My pleasure :)
    Here is how to use PathRemoveFileSpec()

    public Declare Function PathRemoveFileSpec Lib "SHLWAPI.DLL" _
    Alias "PathRemoveFileSpecA" _
    (byval pPath as string) as Long

    ...
  12. Replies
    0
    Views
    2,707

    MSHTML Question: Capturing OLECMDID_SAVE etc

    Hello,
    I am hoping some one can help me with this one. I know that in order to save a loaded document I can do something like:

    MyBrowser.ExecWB OLECMDID_SAVE, OLECMDEXECOPT_PROMPTUSER, 0, 0...
  13. Replies
    4
    Views
    4,069

    Re: something similar to PathRemoveFileSpec

    Hi,
    FileSystemObject works great. Except for one little quirk. For file paths with the protocol prefix (file://) GetFile() method fails. I have got the PathRemoveFileSpec() API working now which...
  14. Replies
    4
    Views
    4,069

    something similar to PathRemoveFileSpec

    Hello,
    Is there something in vb that provides similar functionality to the API PathRemoveFileSpec?
    Or do I have to call the API itself. Currently, the VB IDE just disappears when I call...
  15. Replies
    4
    Views
    840

    Re: Send a message to another program

    You MAY be able to search for the console window's class name using FindWindow(..) and send that window a WM_CLOSE message using SendMessage(...), thereby closing the program.
    Just a thought,...
  16. Re: How to Remove an Executable from the Taskbar and TaskManager when appln is running

    Well, first of all, it used to be easy with windows 9x. Just by calling RegisterServiceProcess() you could get your process to become invisible in the task list. I havent yet found a way to do this...
  17. UNICODE, Watch window and string variables.

    Hello,
    I am working in a VC project with UNICODE defined (first time) . When I debug the application, and try to see the value of any string var in the watch window, it shows-up some thing like...
  18. Replies
    4
    Views
    840

    Re: Send a message to another program

    Hello,
    I think the easiest way to do this would be to use the RegisterHotkey() API. Assuming you're using MFC, to register hotkey(s), and receive messages in your call back proc when that hotkey is...
  19. Replies
    2
    Views
    6,302

    Re: CIPAddressCtrl background and text color

    Hi,
    Your solutions works. However, there is one quirk with the ip address control that I have discovered, here is my ON_WM_CTLCOLOR() override:


    HBRUSH CIPAddressCtrlEx::OnCtlColor(CDC* pDC,...
  20. Replies
    2
    Views
    6,302

    CIPAddressCtrl background and text color

    Hello,
    Could some one guide me as to whats the proper way to give a different bg/text color to a CIPAddressCtrl control?
    MFC does not send a WM_CTLCOLOR message for CIPAddressCtrl.

    Regards,...
  21. Thread: MSHTML

    by N Raja
    Replies
    2
    Views
    631

    Re: MSHTML

    Thanks pj. Your solution works!
    Nas.

    Find out what you like doing best and get someone to pay you for doing it.
  22. Thread: MSHTML

    by N Raja
    Replies
    2
    Views
    631

    MSHTML

    Hi,
    I am using the MSHTML component to parse HTML pages. I am required to made certain changes to pages and write the updated pages back to disk. I have tried MSHTML.IHTMLElement's setAttribute and...
  23. Replies
    2
    Views
    849

    Re: loading a webpage from C sharp

    The server object in asp.net( and in asp) has a Transfer method that you can use to redirect the user to another page. You would need to call this from the asp.net page.
    hth,
    Nas.

    Find out what...
  24. Replies
    1
    Views
    629

    Hotkey support for a COM based VBE add-in

    Hi,
    I am new to VB and am writing a IDTExtensibility based add-in for the VB IDE. I can't figure out how I can provide hotkey support for my add-in. Adding toolbars etc is usual but I wish to go...
  25. Replies
    2
    Views
    799

    Looking for a hyper link control....

    Hello,
    The title says it all. I used to use a custom class I made for this in VC++, but I haven't the time (or the expertise) to just make a control out of it. Do you know any good ones around?...
Results 1 to 25 of 73
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured