|
It's the exact same project ? It looks to me like you need to be more specific about which item you're trying to pass through.
Why did yo usay you had Office installed, when you're using SS ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Sir/madam,
There is a listview in my form. I added the checkbob option into it.Now the problem is , I don't know the event , Which should activate when i check/uncheck the checkbox into the listview.
Please help.
Thanks and regards
Pankaj
-- modified at 2:41 Monday 22nd January, 2007
|
|
|
|
|
Hi
I have a datetime picker and a textbox on my form.... Which ever date i select from the datetime picker,i want the date tobe incremented by one year on the next textbox.
For e.g: If the date selected in the dateTime picker is '10/11/2006' then in the other textbox i want the date to be '10/11/2007'.
How to go abt in doing this?
Thanks
Riz
|
|
|
|
|
Private Sub DateTimePicker1_ValueChanged _<br />
(ByVal sender As System.Object, ByVal e As System.EventArgs) _<br />
Handles DateTimePicker1.ValueChanged<br />
TextBox1.Text = DateTimePicker1.Value.AddYears(1).ToShortDateString<br />
End Sub
|
|
|
|
|
Hello all i want to create a project in VB.net so please help me for any topic regrding that
SP
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
Create a multithreaded file indexing service that is launched remotely.
|
|
|
|
|
hello tx
but i dont have any ide about that so can u please give me idea about it so i can impliment
SP
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
Dude, seriously?
Perhaps you should aim a little lower... A calculator perhaps?
|
|
|
|
|
yes seriously it my final presentation of project so please guide me
SP
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
You're going to fail. Seriously.
We're not here to tell you what your project should be, much less write it for you. Your failing will help maintain a high standard of graduates, people willing to work for themselves.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
hi
actually i want the concept description of that
multithreaded file indexing service that is launched remotely
not whole description
SP
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
He was making fun of you by suggesting a complex project, on the basis that you gave him no information to go on. Surely it would be best that you decide, based on where your strengths are, what your project should be ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
hi
tx
so plz giude me atlist for subject which i impliment in vb.net
SP
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
You didn't read what I said at all, did you ? I have no idea what you're studying, where, what fields you're familiar with. You need to decide on your project.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
HI
I am building a camera control app -
I am getting
Error 3 Value of type 'System.Windows.Forms.TextBox' cannot be converted to 'Decimal'. C:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\CameraControlV1\CameraControlV1\Form1.vb 288 25 CameraControlV1
I have a field defined on a form as a textbox (no mask)but I could change it to a masked box
Private Sub AltitudeAGL_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AltitudeAGL.TextChanged
AltitudeAGLIn = AltitudeAGL
End Sub
I want to move this into the following variable and use for calculations . . .
Dim AltitudeAGLIn As Decimal = 0
So I can use it in the following where all variables are dim'ed as Decimal
Private Sub CalculateAngularVelocity(ByVal GPSSpeedIn As Integer, ByVal AltitudeAGLIn As Integer)
'This uses a HP9100 encoder, 500 counts per motor revolution, 303.366 counts per degree
'Formula W (Rads per sec) = V (Ft Per sec) / R (Ft)
Dim CountsPerRad As Decimal = 17379.79D
GroundVelocity = GPSSpeedIn * FeetPerNauticalMile * SecondsPerHour
AngularVelocity = Decimal.Divide(GroundVelocity, AltitudeAGLIn)
CountRate = AngularVelocity * CountsPerRad
End Sub
As I said - this must be simple - but the Visual Studio help system is not helping !
|
|
|
|
|
What you have tried to do is to convert the entire control into a number, which is impossible. You have to take the value of the Text property and convert to a number, preferrably by using Decimal.Parse or Decimal.TryParse .
---
Year happy = new Year(2007);
|
|
|
|
|
What camera are you controlling ?
You should use Decimal.TryPArse, it returns false if the value can't be converted.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Well thanks !
It took me a while but I managed to suss out the following . . . and the values are correct - I wound up declaring\f every6thing as double
I am using a Canon EOS with a Canon SDK, and an Allmotion servo control and a Garmin GPS
Next is to scan the com ports to get the location of the serial usb devices
Any Ideas ??
Thanks Again !!
bob
Private Sub CalculateAngularVelocity(ByVal GPSSpeedIn As Double, ByVal AltitudeAGLIn As Double)
'This uses a HP9100 encoder, 500 counts per motor revolution, 303.366 counts per degree
'Formula W (Rads per sec) = V (Ft Per sec) / R (Ft)
ConvertSuccessful = Double.TryParse(AltitudeAGL.Text, AltitudeAGLIn)
If Not GPSPresent Then
ConvertSuccessful = Double.TryParse(GPS_GroundSpeed.Text, GPSSpeedIn)
End If
GroundVelocity = GPSSpeedIn * FeetPerNauticalMile / SecondsPerHour
AngularVelocity = GroundVelocity / AltitudeAGLIn
MsgBox("GS " & GroundVelocity)
MsgBox("alt " & AltitudeAGLIn)
Dim AngularVelocityDegrees As Double
AngularVelocityDegrees = Math.PI * 2 * AngularVelocity
MsgBox("Angular Velocity" & AngularVelocityDegrees)
CountRate = AngularVelocity * CountsPerRad
MsgBox("CountRate" & CountRate)
End Sub
|
|
|
|
|
i got this error when running an VB.Net application which developed in VS2003, in a pc which installed window server 2003.
Application has generated an exception that could not be handled.
Processid=0xb88(2952), Thread id=0x172c(5932)
This pc is installed with .Net Framework 1.1. I'm able to login to this application. When application is loading, i get this error message.
Anyone has any idea what's going on ?
Need you help! Thanks in advance!
|
|
|
|
|
Hi merlynml,
Have you used a third party control or DLL in your appllication???
|
|
|
|
|
Hi Nilesh Hapse,
yes, I did. Janus control dll is included in the project.
|
|
|
|
|
Okay!!!
Please make sure that the DLL is registered on the machine on which you are trying to run the application.
I was facing same problem when i was using GO Diagram DLLs in my application and installing it on a machine with no GO Diagram installed. I installed GO Diagram on my target machine and the problem was solved.
Hope this helps you out..
|
|
|
|
|
Thanks Nilesh Hapse!
Yeah, this application is using Go Diagram DLL also. But it's running fine at another pc with window server 2003 also.
You mean we need to install Go Diagram DLL at every pc which running this application? How can we know whether this DLL is registered on the machine or the reference path is correct ?
|
|
|
|
|
I think it needs GO Diagram.
They (Northwoods software ppl) say that you don't need Go Diagram installed on each and every machine. They have mentioned this in under Deployment section of GoWinIntro.doc document which will be in your samples folder of Go Diagram.
I am still working on that.
But i got rid of that error by installing GO Diagram temporarily on test machine.
But i hope that we don't need to install GO diagram on every machine.
You can also try installing GO Diagram on the machine where you aer getting this error message...
|
|
|
|
|
Hi
I have set width for each column in the Datagrid through Property Builder--AFormat--Columns--Setting the width for each column....
My problem is,though i have set width for the columns,the cell width increases if the data in any of the cell is lengthier...
How to retain the width and wrap the text within the cell? (i have checked 'Wrap textbox within the cell' textbox in the Property Builder--AFormat--Columns)
Please help me!
Thanks!
|
|
|
|