Search Results

Search found 4472 results on 179 pages for 'vb'.

Page 12/179 | < Previous Page | 8 9 10 11 12 13 14 15 16 17 18 19  | Next Page >

  • Shadows vs Overloads in VB.NET

    - by serhio
    When we have new in C#, that personally I see only as a workaround to override a property that does not have a virtual/overridable declaration, in VB.NET we have two "concepts" Shadows and Overloads. In which case prefer one to another?

    Read the article

  • VB.Net Sending byte array from client to server

    - by k80sg
    Hi guys, I am new to VB.net and struggling to get out of VB6's way of sending data, I am doing this to send a byte array from my client to server, please advice if this is the right way, thanks: The sending portion: Private Sub Button1_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click Dim arrNo(3) As Integer arrNo(0) = 1400 arrNo(1) = 1000 arrNo(2) = 1200 arrNo(3) = 1350 Dim i As Integer For i = 0 To arrNo.Length - 1 Dim outStream() As Byte = BitConverter.GetBytes(arrNo(i)) Debug.Print(arrNo(i)) serverStream.Write(outStream, 0, outStream.Length) serverStream.Flush() Next End Sub

    Read the article

  • DATE concept in VB.NET

    - by megala
    i have created VB.net project.In that i have two textbox,and two buttons button1--submit buttom2-Duedate textbox1 contain the current date My constraints is if i click button2(Duedate) than add 30 days to textbox1 date and assign that value into textbox2. How to achieve this? I want the result like as folloes If I give textbox1 = 12/12/2009 than I click Duedatetextbox2.text =11/1/2010 Is it possible. Thanks in advance.

    Read the article

  • VB script want to run .bat file from VB

    - by yael
    hi I am try to run the go.bat from VB but when I run the script I get: :cant find specific file but from the cmd window the file go.bat exsit what the problem? Dim MyShell Dim shell_cmd shell_cmd = "C:\Program Files\dir1\dir2\wizard\go.bat" set MyShell = CreateObject("WScript.Shell") MyShell.Run shell_cmd, 1, 1 from cmd window C:\Program Files\dir1\dir2\wizardgo.bat

    Read the article

  • hiding <div> from vb.net code side

    - by reffe
    i have this code for hiding a table and a cell in aspx, backend vb.net Code - For Each row As HtmlTableRow In tab_a1.Rows If row.ID = "a1" Then For Each cell As HtmlTableCell In row.Cells cell.Visible = (cell.ID = "a1") Next ElseIf row.ID = "b1" Then For Each cell As HtmlTableCell In row.Cells cell.Visible = (cell.ID = "b1") Next Else row.Visible = False End If Next now instead of tables I'm using tags. How can i use similar code and make div's visible and invisible?

    Read the article

  • how to manage smooth playback in vb.net

    - by testkhan
    i am developing a video player for a local tv channel, which is working well but the main problem is a 1-2 seconds pause between changing one video to second video how can i control that pause so that the video comming next should be played right after the currnet video finished with not any pause or stoping or blank screen effect...... i am using windows media player in my vb.net form for video playback...

    Read the article

  • Easy Facebook VB.NET library needed

    - by TuxMeister
    Hey guys and gals, Any one knows of an easy to use/well documented Facebook library for VB.NET? I have searched the Interwebs for it for a long time and even the official one has a very poor documentation for beginners. It looks like you have to be a Facebook developer to work with them. Any help is much appreciated. Thanks!

    Read the article

  • VB no install of .net

    - by Neb
    Hi, I have a vb app working now but many users have complained to me that it requires .net library installed. Is there a way to bundle it with my program without having a seperate exe?

    Read the article

  • Checkbox In Listview + vb.net

    - by Mark
    Can anyone help me on how to do this.. I have a ListView with Checkboxes in vb.net and what I want to do is when the user check the checkbox, the program ignore the response of the user in checking the checkbox, instead it leaves the checkbox uncheck.. This concern is uses for may validation.. Thanks for your positive response regarding this..

    Read the article

  • Need this VB code changed into Python.

    - by David
    I wrote this code in VB to label columns in a table but now im writting a python script to automate the process and i can't make it work. Any thoughts?? Static v1 as variant Static v2 as variant Dim Output as double Dim Start as double Start = 1 If v2 = [XMIN] Then Output = v1 Else Output = v1 + 1 End If v1 = Output v2 = [XMIN]

    Read the article

  • C# equivalent to VB.NET Catch ... When

    - by fung
    In VB.NET I often Catch ... When ... Try ' Some code' Catch e As ArgumentNullException When e.ParamName.ToUpper() = "SAMPLES" ' Handle the error' End Try Is there a C# equivalent to Catch ... When? I don't want to resort to using an if statement inside a catch if possible.

    Read the article

  • VB.NET Use unload and close

    - by aga-jilles
    Hi I want to know how to use the command close or would like some more info on because if you use this method Form2.Show frmMain.close () the program is terminated and does not load the form2. Then when I close the program appears the message "hello world" vb6 enough to exploit the function Form_Unload, but in vb.net?? Thanks

    Read the article

  • VB.NET Select...Case Statement Equivalent in C#

    - by Alex Essilfie
    I just started using C# and I've got a couple of issues. Is there any way to code the C# equivalent of the VB.NET Select statement like the following? Select Object.Name.ToString() Case "Name1" 'Do something Case "Name2" 'Do something else Case Else 'Do the default action End Select Any help would be greatly appreciated.

    Read the article

< Previous Page | 8 9 10 11 12 13 14 15 16 17 18 19  | Next Page >