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
User Profile
Collapse
-
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;...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:
-
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?
thnxLeave a comment:
-
-
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 -
yes you are very analytical.than ks very much. i am sorry about the version thing.
thanks a lot...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... -
-
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")
...Leave a comment:
-
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... -
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... -
-
-
i can close the form which have the button but i cant close the form which is outside.Leave a comment:
-
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...Leave a comment:
-
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 -
-
-
can you write some code because i am a beginner in VB?
thanks...Leave a comment:
-
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
No activity results to display
Show More
Leave a comment: