User Profile

Collapse

Profile Sidebar

Collapse
Stroumfs
Stroumfs
Last Activity: Jun 9 '07, 12:17 PM
Joined: Mar 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Stroumfs
    replied to String Streams
    in C
    I am sorry but i don't understand you. I think that i have done what you suggest in my code. and still i don't understand why my code doesn't work.it seems ok to me.

    Can you be more specific please...

    thx
    See more | Go to post

    Leave a comment:


  • Stroumfs
    replied to String Streams
    in C
    Hello everyone!

    thank you for your replies..i tried by myself and i wrote the following piece of code. But i can't compile it. Can anyone tell me what is wrong with my code?
    thnx

    [code=cpp]#include <iostream>

    using namespace std;
    int main()
    {

    int counter,i,y;
    char text[30];
    cout << "Please enter a string : ";
    int couter =0;...
    See more | Go to post
    Last edited by AdrianH; Jun 9 '07, 10:49 AM. Reason: Please use [code=cpp][/code] tags to improve readability. Also INDENT YOUR CODE!

    Leave a comment:


  • Stroumfs
    replied to String Streams
    in C
    I am trying to find the tutorial that you are talking but i can't can you give me some info or the link please?


    thnx
    See more | Go to post

    Leave a comment:


  • Stroumfs
    replied to String Streams
    in C
    I am using C++ and compiler DevC++.



    thanks...
    See more | Go to post

    Leave a comment:


  • Stroumfs
    started a topic String Streams
    in C

    String Streams

    Hello everyone...

    I have the following problem and i have no idea how to do it.
    Can anyone help?

    Write a procedure that takes a string as its parameter and which prints out a pattern made out of the string. For example, given the string "XMAS", it would output the following:

    X
    MM
    AAA
    SSSS
    See more | Go to post

  • yes you are very analytical.than ks very much. i am sorry about the version thing.
    thanks a lot...
    See more | Go to post

    Leave a comment:


  • How to increase and decrease the value of a Progress Bar

    Hello guys!

    In my form i have a progress bar and two buttons , one plus(+) and one minus(-).
    I want when i press the plus button to increase the progress bar and when i press the minus button to decrease the value of the progress bar.
    I have a timer and i use the mouse_down event. and i want when i press the button the progress bar to perform steps back and forth . how to do this?

    Please help me with some...
    See more | Go to post

  • Stroumfs
    replied to Progressbar
    can you tell how can i update the value?...
    See more | Go to post

    Leave a comment:


  • Stroumfs
    replied to Print of Current Time continuously
    I found the solution is
    Public Class Form1

    Private Sub Form1_Load(ByVa l sender As System.Object, ByVal e As System.EventArg s) Handles MyBase.Load

    lblTime.Text = Format(Now, "hh.mm.ss tt")

    End Sub

    Private Sub Timer1_Tick(ByV al sender As System.Object, ByVal e As System.EventArg s) Handles Timer1.Tick

    lblTime.Text = Format(Now, "hh.mm.ss tt")
    ...
    See more | Go to post
    Last edited by Killer42; May 22 '07, 10:55 AM. Reason: Add [/QUOTE] tag

    Leave a comment:


  • Stroumfs
    started a topic Print of Current Time continuously

    Print of Current Time continuously

    Hello Guys!!!


    My form has a label which i print the current time.
    I want to make a counter which will give me the time each minute.

    So, whatever i see on my computer the same think to see and in my label.

    I used the following command for printing the time
    lblTime.Text = TimeString()

    I use VB2005.

    Can anyone help with some vbcode because i am despe...
    See more | Go to post

  • Stroumfs
    started a topic Resizing Groupbox and closing forms

    Resizing Groupbox and closing forms

    Hello everyone!

    My problem is the following.
    i have a form called frmmain and two group boxes1 and grpbox2

    I want my form to have dimension300 x 400.

    and each time that i make visible one of the group boxes to resize them and to print them in a specific position.
    also i want when i press one button cancel which is in the grbox2 to close the grbox2 and to display the main form.
    Please...
    See more | Go to post

  • Stroumfs
    replied to how to close forms
    case close .thanks.
    See more | Go to post

    Leave a comment:


  • Stroumfs
    replied to how to close forms
    i reversed it but still is not working...
    See more | Go to post

    Leave a comment:


  • Stroumfs
    replied to how to close forms
    i can close the form which have the button but i cant close the form which is outside.
    See more | Go to post

    Leave a comment:


  • Stroumfs
    replied to how to close forms
    this code is in the same form. it closes with the me.close the form but i have the problem with the other form frmtest...
    See more | Go to post

    Leave a comment:


  • Stroumfs
    started a topic how to close forms

    how to close forms

    I created a form and i inserted a close button.

    I want to close this form and another form of the project when i clicked the button close.
    I typed the following but the outside form doesn't close.
    Private Sub btnClose_Click( ByVal sender As Object, ByVal e As System.EventArg s) Handles btnClose.Click
    Me.Close()
    frmTest.Close()
    End Sub

    can anyone help
    See more | Go to post

  • Stroumfs
    replied to Print Current Time and Date
    thanks a lot.case close
    See more | Go to post

    Leave a comment:


  • Stroumfs
    replied to Print Current Time and Date
    this is fine thanks.
    if want to print the time also?...
    See more | Go to post

    Leave a comment:


  • Stroumfs
    replied to Print Current Time and Date
    can you write some code because i am a beginner in VB?
    thanks...
    See more | Go to post

    Leave a comment:


  • Stroumfs
    started a topic Print Current Time and Date

    Print Current Time and Date

    Hi!

    I would like some help. I want to print the current date and time in a form . Can anyone help?
    I am using VB2005

    thnks
    See more | Go to post
No activity results to display
Show More
Working...