No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
Hi i have some problem with the listview control i dont know how to use it here is what i wanna do [code] sub mysub() handles myEvent for i=0 to 3 Dim lv As ListViewItem = ListView1.Items.Add(x(i)) lv.SubItems.Add(x(i)) lv.subitems.add(x(i)) ... next end sub [/code] so when the next event occurs … | |
Hello I have write a simple code just to test about BeginInvoke and EndInvoke methods but i don't get anything. The form has 2 buttons and 2 labels .. if you press the button1 label1 gets increase and so on . here what i have do so far [CODE] Public … | |
Hello once again, i convert this class [CODE] public class Position { #region initialization // position stuff decimal latitude_fractional=0; string latitude_sexagesimal=""; decimal latitude_decimal=0; decimal latitude_decimal_mem=0; CardinalDirection latitude_direction=CardinalDirection.North; decimal longitude_fractional=0; string longitude_sexagesimal=""; decimal longitude_decimal=0; decimal longitude_decimal_mem=0; CardinalDirection longitude_direction=CardinalDirection.West; decimal altitudemax=0; decimal altitude=0; decimal geoidseparation=0; DateTime sattime=DateTime.MinValue; DateTime satdate=DateTime.MinValue; #endregion #region properties … | |
Hello guys i want get one value of my enum and then converted into hex but i got a warning Warning 1 Runtime errors might occur when converting 'String' to 'System.IFormatProvider' for example [CODE] Public enum myenum myvalue =0 end enum sub mysub() console.writeline( myenum.myvalue.tostring("X2")) end sub [/CODE] How can … | |
i get 1 error Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class. here is my code [CODE] Public Class test Private _course As String Public Shared Function function1(ByVal data As String) As Boolean … | |
Hi i am trying to write-read data from serial port but it don't work my code look like this [CODE] Private comPort As New SerialPort comPort.PortName = cboCom.Text comPort.Parity = Parity.None comPort.DataBits = 8 comPort.StopBits = StopBits.One comPort.BaudRate = CInt(cboSpeed.Text) comPort.Handshake = Handshake.None comPort.Open() 'Write GPS command comPort.WriteLine("$PSRF103,00,00,01,01*25") [/CODE] and … | |
Hi there i am new at OOP and i want learn about it. I start with the book how to think like a computer scientist but at the ending chapters i get lost .... Can some one advice me a good book that covers OOP ?with good examples,diagrams e.t.c. | |
Hello guys I want to convert an integer to a hexadecimal string examples lets say i have an integer value 1 i want to convert it to 0001 integer value of 16 => 0010 245 =>00F5 and so on the string must have a length of 4 digits my code … | |
Hi everybody i want write a checksum function using python but i cant .. #example #find the checksum of string_data string_data="0123456789abcdef" cksum=checksum(string_data) the checksum will be sum of 01+23+45+...+ef (adding each byte) then next result = ~result and finally result = result+1 def checksum(data): .......... return result my main problem … |
The End.