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

Search:

Type: Posts; User: Mark2

Page 1 of 3 1 2 3

Search: Search took 0.06 seconds.

  1. Replies
    2
    Views
    1,140

    "Cannot open include file" Error...

    Hi all,

    I am continually getting a "Cannot open include file d3dx9.h': No such file or directory" error message all the time I try to compile my program?

    Any ideas what might be causing this...
  2. Replies
    2
    Views
    664

    2 string manipulation questions....

    Hi, :)

    Question 1:

    OK, I have a string called MyString as follows:

    MyString = "[Letters]ABCDE[Numbers]1234"

    I want to click a button and for it to search the string for [Letters] then...
  3. Replies
    5
    Views
    749

    Hi, thanks for the reply. I am not using...

    Hi, thanks for the reply.

    I am not using database though, this code is for a game i am making :-)

    Also, how would I include the InputBox bit to say which list I want?

    Thanks

    Mark
  4. Replies
    5
    Views
    749

    Hi, Thanks for the reply. But how do i get...

    Hi,

    Thanks for the reply. But how do i get the data in from the text file, for the list which is selected in input box?

    Mark
  5. Replies
    5
    Views
    749

    Writing data from txt file..Help!

    Hi,

    I have a text file with data similar to this:

    [List1]
    Item1
    Item2
    Item3

    [List2]
  6. Replies
    1
    Views
    642

    BitBlt Question!!

    Hi,

    I have a main pic on my form called MainPic. I also have a number of images that I have BitBlt onto the picture box.

    There is a label also.

    What I want is when the mouse is moved over...
  7. Replies
    5
    Views
    803

    Writing to a certain line in text file?

    Hi all,

    I was just wondering, is there a way you can write data to a specific line in a text file rather than from the top.

    E.g.

    In my VB Prog I got 3 text boxes:

    TxtQNum
    TxtQuestion
  8. Replies
    1
    Views
    636

    Removing spaces...

    Hi all,

    I have tried to use Trim to remove spaces but they dont seem to remove spaces within words/characters?

    If I have a string such as: "Word1 Word2" etc. how can I remove the space IN...
  9. Replies
    2
    Views
    664

    Thanks! It works gr8 now.... I jus got a bit...

    Thanks! It works gr8 now....

    I jus got a bit confused with the record numbers.

    Mark
  10. Replies
    2
    Views
    664

    File Reading/Writing Probs...

    Hi all,

    I have to write and read data to a text file for student info, using the RANDOM command. But if I have a number of entries, i cant seem to get the data for the other entries only the 1st...
  11. Replies
    2
    Views
    754

    Code works fine... Thanks. Mark

    Code works fine... Thanks.

    Mark
  12. Replies
    2
    Views
    754

    How can I read this text file?

    Hi all,

    I have a text file (.txt) with data in for a game. There is different data on each line a bit like this:

    Level 1
    Data A
    Data B
    Data C

    Level 2
  13. Replies
    1
    Views
    622

    Automation Error???

    Hi all,

    Just trying out a DX8 tutorial and get an automation error message. The following line of code is highlighted:

    D3DDevice.Present ByVal 0, ByVal 0, 0, ByVal 0

    Any info on how I can...
  14. Replies
    11
    Views
    1,090

    Hello again, 10 Replies!!! Got it working...

    Hello again,

    10 Replies!!!

    Got it working now, I just used:

    Unload Me
    End

    Thanks for the Info.
  15. Replies
    11
    Views
    1,090

    My program is still running when I exit???

    Hi,

    I have a VB program (with a form called "Form1"), and when I exit and I press CTRL-ALT-DELETE to bring up the applications and processes it says that it is still running.

    In my exit button...
  16. Replies
    5
    Views
    4,333

    Thanks! Code works fine. Mark

    Thanks! Code works fine.

    Mark
  17. Replies
    5
    Views
    4,333

    Any code for using ResetContent, Rand or Srand in...

    Any code for using ResetContent, Rand or Srand in this way...?

    Thanks,

    Mark.
  18. Replies
    5
    Views
    4,333

    How can I shuffle this listbox?

    Hi,

    I have a list box on my form which has 4 items in. I also have a buton (CmdShuffle). When I press the button I want the contents of the list box to shuffle around (i.e. change their position...
  19. Replies
    1
    Views
    781

    How can I write to a text file...

    Hi,

    I have 4 text boxes on my form:

    A question box called "txtQuestion"

    4 Answer boxes called "Ans1", "Ans2", "Ans3, and "Ans4".

    I also have a 'Save' button. I want to be able to press...
  20. Replies
    5
    Views
    925

    Thanks, got it working fine now. Mark

    Thanks, got it working fine now.

    Mark
  21. Replies
    5
    Views
    925

    I tried this but you can still enter letters such...

    I tried this but you can still enter letters such as a,b,c an it will accept it.

    I want it to produce the error message when non-numerical characters are entered.

    Thanks anyway. Any more...
  22. Replies
    5
    Views
    925

    Problem using "On Error" Statement...

    Hi all,

    On my form I have a text box(Text1) and a button(Command1), here is the code at the moment:

    Private Sub Command1_Click()
    On Error GoTo Err1

    If Int(Text1) < 0 Then
    MsgBox ("Only...
  23. Replies
    1
    Views
    1,682

    How can I generate numbers w/out duplicates...

    Hi all,

    I want to be able to generate 6 random numbers from 1 to 20 and place each of those numbers into a label(of which there are 6).

    But each number must be unique, i.e. no duplicates.
    ...
  24. Replies
    1
    Views
    603

    Problem with ComboBox...

    Hi all,

    I have a Combo Box on my form called Combo1. I have added a number of items to the box using "AddItem". I want to be able to let the user only select an option from the box and not type...
  25. Replies
    1
    Views
    582

    Can't get Bitmap to show up...

    Hi all,

    On my form I have a picture box called "Picture1" and a button called "Command1", here is the code that is in the button:

    If Picture1.Picture = LoadPicture(App.Path & "\Folder1\" &...
Results 1 to 25 of 60
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured