dcsimg

Search:

Type: Posts; User: chemicalNova

Page 1 of 13 1 2 3 4

Search: Search took 2.27 seconds.

  1. Re: VB6 code to VB.net .Selstart and .SelLength

    You realise this topic is 10 years old? You should start a new thread for any questions you have.

    In any case: GotFocus is an event that you subscribe to.. SetFocus is a method you call.

    chem
  2. Replies
    1
    Views
    538

    Re: new comer VC

    As stated in your quote from Wikipedia, Visual C++ 6 is only used these days to maintain legacy projects.

    You are looking for VC++.NET. Download an Express version of Visual Studio C++ and you'll...
  3. Replies
    10
    Views
    4,277

    Re: Calling a .NET DLL from a C++ DLL

    I once read an article that had around 37 steps to configure VC++2003/2005 for unmanaged code. You had to sift through around 30 build options and turn them off just so you could use standard headers...
  4. Replies
    1
    Views
    482

    Re: C++ and mysql problem

    a) You could "GROUP BY" those columns. There are tutorials out there that explain GROUP BY, but it basically treats rows that you group by a column name as one in your returned results.

    b) You...
  5. Re: Virtual Calls with Non-Virtual Methods

    As far as I am aware, it will always call the overridden methods unless explicitly called from within your overridden method.

    chem
  6. Replies
    1
    Views
    442

    Re: launching of a winxp folder

    You'll firstly need to escape those backslashes and quotation marks. You'll also need to have "Shell" define somewhere (which I assume is a lazy-man's version of ShellExecute), or use "system". Also,...
  7. Replies
    4
    Views
    1,516

    Re: Fast Grid Layout

    This is written in VB6..

    You will need to look at the GetDIBits and SetDIBits APIs. If you are unsure how to use APIs, then you won't get anything faster.

    chem
  8. Replies
    1
    Views
    486

    Re: avatar editor

    When the new Point is initialized, its X and Y values are 0.

    You're only updating the X value.. whereas the Y value will still be 0, therefore, the Y position of the PictureBox will be 0.. and...
  9. Replies
    1
    Views
    3,321

    Re: c++ Random questions..

    Firstly: There appears to be a few errors in your above "quiz". Its grammatically incorrect in a lot of places.

    Secondly.. you're writing a programming quiz application.. yet you aren't sure how...
  10. Replies
    14
    Views
    863

    Re: Drag&Collision

    Test to see if the two positions of the images intersect using a simple function, then, as long as they intersect (at all), you can stop it from moving:


    Type Rectangle
    X As Integer
    Y As...
  11. Replies
    2
    Views
    632

    Re: [VB 2005] Load an animation

    Separating the strip into frames will use more memory than you want.

    Most games will just reference a different area of the one bitmap when they want to change the frame, thereby using one bloated...
  12. Replies
    80
    Views
    2,782

    Re: can someone please help me

    Does your project reference the newer DirectX libraries? Or does it still reference the older ones from VB6-ish times.

    chem
  13. Re: Which version of VB is better for games?

    It will be a lot easier to use .NET classes for proper client-server communcations, whereas the same method in VB6 will be filled with horribly coded API versions.

    chem
  14. Re: Loading Container array with controls

    Or a call to the SetParent API, depending on your language of choice.

    chem
  15. Replies
    19
    Views
    1,361

    Re: Happy Birthday Penagate!

    Enjoy your 45°C heat on your birthday! SUCKER! (Although we're only 2°C lower..).

    chem
  16. Replies
    92
    Views
    3,335

    Re: Favorite quotes

    "If you don't succeed, redefine success!"

    chem
  17. Replies
    62
    Views
    4,513

    Re: Chuck Norris Programming Facts

    ...ahaha, this is fantastic..

    Thats my input into this thread.

    chem
  18. Replies
    21
    Views
    1,031

    Re: [2005] Keyboard input

    Well.. if its improperly documented.. :eek:

    chem
  19. Replies
    21
    Views
    1,031

    Re: [2005] Keyboard input

    The KeyDown event pops out the top message on the message queue that involves a key being pressed. Therefore, only one message can be read at a time, and in turn, only one key can be determined at a...
  20. Replies
    3
    Views
    588

    Re: Is it feasible using vb.net?

    In terms of sending data between client and server, 2D and 3D aren't all that different.

    You asked for how complex this needs to get? Extremely.

    A proper design document for an MMO would span...
  21. Replies
    21
    Views
    1,031

    Re: [2005] Keyboard input

    I dont understand what you mean by "surrender", as it sounds like it contradicts the meaning of Asynchronous.

    Also, GetKeyboardState requires you to check the hi and low order bits of a byte,...
  22. Re: Change Common Open/Save Dialog Directory After Creation

    No, however you could technically close the dialog, and open another one according to the link that is clicked.

    Or, how about setting the Filename that is selected? If you change the filename to a...
  23. Replies
    21
    Views
    1,031

    Re: [2005] Keyboard input

    Although, the GetAsyncKeyState API is the common standard..

    chem
  24. Replies
    1
    Views
    481

    Re: Linked List

    The basic idea is there however it could be cleaned up a bit. I will give you an example when I'm not on my phone on a train :P

    chem
  25. Replies
    6
    Views
    684

    Re: mmo question

    Your basic protocol consists of "queries" the client sends to the server, which translates this into proper query language being used, queries the DB, then sends the data back to the client.

    chem
  26. Replies
    3
    Views
    588

    Re: Is it feasible using vb.net?

    You are aware that not only are MMOs written by teams of 10+ people, but also require ALOT of server bandwidth?

    The basic layout for a basic design is simple, however MMOs are not simple.

    The...
  27. Replies
    11
    Views
    4,930

    Re: Scale method for form

    The above format was used a lot in pre-.NET VB. for example, drawing lines on device contexts:


    Me.Line (0, 0) - (50, 50)


    chem
  28. Re: Back buffer for BitBlt? [2005]

    Overriding OnPaint means you are replacing the default Windows painting routine with your own. Calling MyBase.OnPaint at the end will then call the default Windows painting routine (your Handles...
  29. Thread: Sdk

    by chemicalNova
    Replies
    2
    Views
    1,040

    Re: Sdk

    http://www.cplusplus.com/

    Dare I say this project of yours is WAY out of reach if you are not familiar with C++.

    chem
  30. Re: Change Common Open/Save Dialog Directory After Creation

    The InitialDir member of the OPENFILENAME struct does what you need.


    OPENFILENAME opfn;

    opfn.lpstrInitialDir = L"C:\StartingDirectoryHere\";
    GetOpenFileName(opfn);

    chem
  31. [2008] File Associations stopped working

    Hi all,

    During testing of my application (installing, uninstalling, constantly) the file associations appear to have just stopped.

    Is there a known issue here? What might cause this?
    ...
  32. Replies
    1
    Views
    526

    Re: (2008) Updating programs

    Modular design of your program is your friend :D

    If you want something like this, split your program up into various libraries. Have DLLs strung around to perform every task you need.

    Then, if...
  33. Replies
    11
    Views
    4,930

    Re: Scale method for form

    You need to set the forms ScaleMode property to vbUser, and setup your own scale. For example:


    Me.ScaleMode = vbUser
    Me.Scale (0, 0) - (100, 100)

    The above makes 1 unit equal to 1/100th of...
  34. Re: Back buffer for BitBlt? [2005]

    Set your forms DoubleBuffered property to True, and override the OnPaint method for your form, and draw straight to the graphics object. I'm a C# guy.. but your VB.NET equivalent would be along the...
  35. Replies
    2
    Views
    477

    Re: Road grapH

    I will leave the mathematics for your situation to you, however you may want to look into the Point and Line methods of both forms and pictureboxes, aswell as the MoveTo and LineTo APIs for drawing....
  36. Re: Back buffer for BitBlt? [2005]

    Set your forms "DoubleBuffered" property to true. This is the equivalent, although somewhat different.

    chem
  37. Replies
    7
    Views
    1,570

    Re: Load / Save Game Info

    Perhaps writing a game is beyond your grasp at the moment.

    I do not mean to offend, however if you are having troubles reading and writing files (which is around chapter 2 in any programming book...
  38. Replies
    1
    Views
    575

    Re: Icon Resources

    This has been resolved.

    Regards,

    chem
  39. Re: [RESOLVED] Setup and Deploy Web browser

    This is resolved. I managed to dig up some code from a random place on the internet.

    Thanks.

    chem
  40. Replies
    1
    Views
    575

    [RESOLVED] Icon Resources

    Hi all,

    I'm trying to pin my application to the Start Menu, making it the default Internet Browser for the system.

    This all works fine, however I'm having trouble setting the Icon.

    In the...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width