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

Search:

Type: Posts; User: ScapinVS

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    2,690
    Views
    1,012,355

    Right now listening to these ones:...

    Right now listening to these ones:
    http://youtube.com/watch?v=rzuhNprZt_Y
    http://youtube.com/watch?v=4QbceKlrszM
  2. MS SQL Server 2000/2005 removing logins and roles

    Hi there,

    I try to remove logins and users and finally drop a database using the following script:


    use master /* database in use cannot be dropped */
    go

    if convert(int, convert(char(1),...
  3. Replies
    2
    Views
    579

    Re: Directory Access denied

    Well, Yes. That works. But unfortunatelt for our product we have a requirement called out-of-the-box-experience which should allow to run the program without logging off or rebooting. Isnt there any...
  4. Replies
    2
    Views
    579

    Directory Access denied

    Hi there,

    I have a little problem... I use the NetGroupAddUser() to add a user to an existing group. After thet, i give the group access to a directory using the .NET C# class...
  5. Replies
    13
    Views
    1,713

    Re: C++ programmer doing C# - question

    Hello,

    Your answers cleared out my question perfectly!

    Thanks a lot. That was useful! :wave:

    Greetings
    Scapin
  6. Replies
    13
    Views
    1,713

    C++ programmer doing C# - question

    Hi!

    I come from C++ development and now I have to write a new project in C#. Of course, there are some minor changes like not having pointers anymore ;)

    OK, lets assume I do the following in...
  7. Replies
    4
    Views
    878

    Re: C# beginner question on collections

    Thank you! Both helped me out!

    Bye,
    Scapin
  8. Replies
    4
    Views
    878

    C# beginner question on collections

    Hi there,

    I am a Visual C++ developer and I now have to write something in C# for a project.

    My question is about objects and object arrays. In C++ i used CObject and CObArrays for this. My...
  9. Replies
    1
    Views
    712

    Duplicate Project in VS 2005

    Hi there,

    I need to duplicate a VS 2005 project. I need the same project again, but with a different name and using different resource files. For our build factory ist not possible to just use a...
  10. Replies
    2,690
    Views
    1,012,355

    Re: What Song Are You Listening To Now¿

    Led Zeppelin - Since I've been lovin' you
  11. Replies
    0
    Views
    591

    Error using COM object

    Hi,

    I get an error message, when I call a method of a COM object.

    This is my code:



    #include <atlbase.h>
    #include <iads.h>
  12. Replies
    2
    Views
    2,476

    Re: COM beginner question

    Thanks. Works fine now by adding the following lines to my source code (definition of the CLSIDs):


    const IID IID_IADs = {0xFD8256D0, 0xFD15, 0x11CE, {0xAB,0xC4,0x02,0x60,0x8C,0x9E,0x75,0x53}};...
  13. Replies
    2
    Views
    2,476

    COM beginner question

    Hi there,

    i have a COM newbie question...

    I want to use the following COM object in my code:

    hr = ADsGetObject( L"WinNT://myMachine", IID_IADsContainer, (void**)&pCont);

    OK...
  14. Replies
    1
    Views
    651

    Create user with more than 20 characters

    Hi,

    I have to create an domain user account programatically which name has more than 20 characters.

    When I use NetUserAdd(), the length of the name is restricted to 20 characters.

    When I...
  15. Replies
    4
    Views
    2,117

    Re: Grab stdout from MFC application

    Yeah, thats cool :D

    I found the solution here: http://msdn2.microsoft.com/en-us/library/ms682499.aspx and now eveything works fine.

    Thanks,
    scapin
  16. Replies
    4
    Views
    2,117

    Re: Grab stdout from MFC application

    Good idea, but have you seen the "Note" section? :D

    However, it points me something else to try.

    Thanks for your help!
  17. Replies
    4
    Views
    2,117

    Grab stdout from MFC application

    Hi,

    I want to get the output an application writes to stdout to my window.

    I raise a VBScript in my MFC dialog based application using the following code:



    ::ShellExecute(NULL,...
  18. Replies
    1
    Views
    1,024

    Starting VBS from mfc application

    Hi There,

    I need to start a VBS script from my MFC application. The output of the script should be written into a file.

    So this is how I start the script from cmd
    > cscript myscript.vbs >...
  19. Replies
    7
    Views
    7,182

    Re: Get module path in console application

    Ok, thanks for the hint. I use the "::" to mark API calls... Legacy ;-)

    Cheers,
    Scapin
  20. Replies
    7
    Views
    7,182

    Re: Get module path in console application

    Hehe, Thanks. I considered that before, but I assumed this is an MFC function. I used it in MFC apps before and didn't remember thi is Win32 API.. One look into the MSDN clearified this :-)

    ...
  21. Replies
    7
    Views
    7,182

    Get module path in console application

    Hi There,

    I need the path in which my console application is running. Here is what I am doing now:



    int main(int argc, char*argv[])
    {
    TCHAR tchIniFile[_MAX_PATH] = { 0 };
    ...
  22. Replies
    1
    Views
    890

    Proper font scaling

    Hi there,

    I have a problem scaling fonts properly.

    I have an application that zooms into a drawing that contains text. Now the problem is that i create a font using CreateFont() using the...
  23. Thread: foo foo

    by ScapinVS
    Replies
    9
    Views
    2,394

    Re: foo foo

    Hi, i'm from germany. I read about "Foo" in every book and on the internet. What the Heck is foo??? :D
  24. Replies
    14
    Views
    4,539

    Re: text at any angle

    Hi,

    i have the problem that i need a font that has to be fully scalable (vector font) and rotateable... Can anyone help me with this...?

    Thank you!! :-)
  25. Replies
    2
    Views
    663

    Hm, Thanks but unfortunately the link does not...

    Hm, Thanks but unfortunately the link does not work... :(
Results 1 to 25 of 26
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured