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
A

Archer282

@Archer282
About
Posts
142
Topics
59
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Icons/Images
    A Archer282

    I'm sorry, this isn't what i was looking for... this converts images to icons... i'm trying to convert an icon to an image.... however it did solve a problem i was having with fixed length strings... so your effort was not completely in vain... thanks

    Visual Basic performance

  • Icons/Images
    A Archer282

    Is there someway to convert an Icon to an Image (in memory, i don't mean by saving it to a file) i've managed to do it using Image.FromHbitmap and Icon.ToBitmap.GetHbitmap but that seems to cause it to lose transparency...

    Visual Basic performance

  • DOS Commands
    A Archer282

    I always use Process, you can actually redirect the input/output... short example to ping google... Dim ping As New Process ping.StartInfo.Arguments = "www.google.com" ping.StartInfo.CreateNoWindow = True 'this will prevent a window from being created, so the user won't see a flash of a console window opening/closing ping.StartInfo.FileName = "ping" 'whatever program you want to run ping.StartInfo.RedirectStandardOutput = True ' must be set to true if you want to get output ping.StartInfo.UseShellExecute = False ' must be set to false if any of RedirectStandard* members are true ping.Start() 'starts the application MsgBox(ping.StandardOutput.ReadToEnd) 'will msgbox the output of ping

    Visual Basic tutorial linux help

  • Project Ideas [modifed]
    A Archer282

    I thought someone might misinterpret that.... no i meant i compiled languages such as VB5/VB6, C/C++, and in addition some non-compiled (mostly server side scripting languages) such as PHP, ASP, etc.

    Visual Basic csharp c++ game-dev question

  • Project Ideas [modifed]
    A Archer282

    Well actually i didn't know until Thursday, the teacher never said anything...

    Visual Basic csharp c++ game-dev question

  • Project Ideas [modifed]
    A Archer282

    Hey, I've been taking an independant study in Computer Programming, i've been doing VB.Net, and i've had prior experience with VB6/VB5 and C/C++ and a few other non-compiled languages, so i'm not a complete idiot... but i have to come up with some sort of project for my final. which will be due on thursday... anybody have any ideas for something interesting i could do? my friend who is also in the same class is going to do something with TrueVision3D, his will be something like a game where you can construct things...

    Visual Basic csharp c++ game-dev question

  • virtual listview/treeview
    A Archer282

    I have a two part question here... Question #1 When i have a virtual listview control, and try to set the "ShowCheckboxes" property i get an error saying that it can't use checkboxes when in virtual mode... so other using some tricks with images, and over complicating things by doing an owner drawn listview as well is there anyway i can get these checkboxes to show up? Question #2 I was wondering if there is any possible way to make a virtual treeview control, there doesn't to be any "virtual*" properties on treeview controls like there are for Listview controls...

    Visual Basic question help

  • Virtual Listview
    A Archer282

    I'm relatively new to VB.Net and im working on an application that will be using a Virtual Listview control. I've used them before in C/C++. But never in VB.Net, i've searched around for Articles on using them with VB.Net, but i didn't find anything. Can someone get me started? (please note that my listview control uses columns). Thank you.

    Visual Basic csharp c++ question

  • services in xp
    A Archer282

    thank you!!, that's exactly what i was looking for..

    C / C++ / MFC question

  • services in xp
    A Archer282

    i dont think you understand what i'm asking.. i wan't to know how to programmatically add an application that i made as a service...

    C / C++ / MFC question

  • services in xp
    A Archer282

    how do you install your app as a service one windows xp?

    C / C++ / MFC question

  • toolbar
    A Archer282

    i have a toolbar made with the Win32 API /* create the toolbar */ hwndTB = CreateWindowEx( 0, TOOLBARCLASSNAME, NULL, WS_CHILD | TBSTYLE_TOOLTIPS| WS_VISIBLE, 0, 0, 0, 0, hWnd, (HMENU)IDC_TOOLBAR, GetModuleHandle(NULL), NULL ); SendMessage( hwndTB, TB_BUTTONSTRUCTSIZE, (WPARAM)sizeof(TBBUTTON), 0 ); /* load bitmap */ HBITMAP hBMP = LoadBitmap( GetModuleHandle(NULL), (LPCTSTR)IDB_TBBUTTONS ); TBADDBITMAP tbab = {NULL,(int)hBMP}; SendMessage( hwndTB, TB_SETBITMAPSIZE, 0, (LPARAM)MAKELONG(16,16) ); SendMessage( hwndTB, TB_ADDBITMAP, 8, (LPARAM)&tbab ); /* add buttons */ TBBUTTON tbb[] = { {0,IDM_FILE_ADD,TBSTATE_ENABLED,TBSTYLE_BUTTON,0,0,0}, {1,IDM_FILE_EDIT,TBSTATE_ENABLED,TBSTYLE_BUTTON,1,1,1}, {2,IDM_FILE_DELETE,TBSTATE_ENABLED,TBSTYLE_BUTTON,0,2,2}, {0,0,TBSTATE_ENABLED,TBSTYLE_SEP,0,0,0}, {3,IDM_STUB_EDIT,TBSTATE_ENABLED,TBSTYLE_BUTTON,0,0,3}, {5,IDM_FILE_BUILD,TBSTATE_ENABLED,TBSTYLE_BUTTON,0,0,4}, {0,0,TBSTATE_ENABLED,TBSTYLE_SEP,0,0,0}, {4,IDM_HELP_README,TBSTATE_ENABLED,TBSTYLE_BUTTON,0,0,5} }; SendMessage( hwndTB, TB_ADDBUTTONS, 8, (LPARAM)&tbb ); ShowWindow( hwndTB, SW_SHOW ); the bitmap(IDB_TBBUTTONS) looks like this http://img422.imageshack.us/my.php?image=toolbarbuttons6gj.png[^] so far it's working perfect, except i can't figure out how to set the mask, so the pink areas, are transparent.. can anyone help me out here?

    C / C++ / MFC php graphics json help tutorial

  • Create Directory
    A Archer282

    I really hate to be mean, but perhaps you should read more carefully "none of the headers i have for Visual C++" that would include "shlobj.h"

    C / C++ / MFC question

  • Create Directory
    A Archer282

    hmm, none of the headers i have for Visual C++ seem to have this function, nor do any of the headers for Dev-C++ (MinGW),

    C / C++ / MFC question

  • Create Directory
    A Archer282

    is there a way to create a directory like this "C:\somedir\subdir1\subdir2\subdir3" when the directory "C:\somedir" does not already exist? i have tried using CreateDirectory() but it seems to be only able to handle one directory at a time,

    C / C++ / MFC question

  • add menu
    A Archer282

    I think i understand what you are talking about, if you have ever seen the program Edit in MS-DOS you would see a menu, but honestly i dont know how to make one,

    C / C++ / MFC c++ tutorial

  • dynamic struct arrays
    A Archer282

    actually it seems to work just fine the way i was doing it, and no offense, but i would like a second opinion, before doing this the way you have suggested

    C / C++ / MFC data-structures tutorial question

  • Dialog Position
    A Archer282

    tried this, it positions the window off screen

    C / C++ / MFC c++ tutorial learning

  • Dialog Position
    A Archer282

    Okay, I have a dialog, made with the resource editor, im using it as my main window, and im using Pure Win32, no MFC!, and i want this dialog to be positioned by the system like a normal window would be if you had created the window with CreateWindow() and specified CW_USEDEFUALT for the X paramater, but i dont know how to get my window to do this. and please, if you dont know exactly what i am asking then dont bother trying to answer

    C / C++ / MFC c++ tutorial learning

  • Getting the menu of a different window
    A Archer282

    GetMenu();

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

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