Skip to content

Visual Basic

Visual Basic Questions

This category can be followed from the open social web via the handle visual-basic@forum.codeproject.com

34.4k Topics 120.1k Posts
  • SSL in ASP.NET

    csharp asp-net dotnet windows-admin security
    4
    0 Votes
    4 Posts
    0 Views
    H
    ASP.NET doesn't care (it's automatic) because the SSL handshaking is done before the HTTP connection is established, and any communication is both encrypted before being sent out and decrypted before being received by such things like ASP.NET. It still sees everything as it would had it been non-encrypted because, by the time ASP.NET gets it, it isn't encrypted anymore - just encrypted over the wire. -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----
  • Retrieve URL from Web Browser

    json tutorial question lounge
    3
    0 Votes
    3 Posts
    0 Views
    M
    What are you trying to accomplish? Are you writing vb code in an .aspx file and need to get the current URL (server end programming)? Are you writing (client end) vb script in a web page? This might be a simple answer depending on what you're trying to do. Can you be more specific?
  • ListView to XML File

    help csharp xml tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Creating forms dynamically in VB???

    database question
    4
    0 Votes
    4 Posts
    0 Views
    N
    Itanium and Edbert: Thanks for the speedy replies. I'll try this method today and let you know what happens. Mike
  • Serialization

    question csharp dotnet json help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Floatign Toolba & Lines Flickering

    tools help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Datagrid using VB.NET (web vs. windows)

    csharp visual-studio help tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Mobile Web Calendar Control

    database tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Need Help with ocx

    help csharp visual-studio question workspace
    2
    0 Votes
    2 Posts
    0 Views
    N
    Is your Application written in VB.Net? If it is, then your client's machine will need the Framework for apps written in .Net If this isn't the case, can you be more specific on how your app crashed? What was the error message, if any, etc. Sig Under Construction. Visit back later. Support Bone
  • Windows Shell API

    design linux sales json question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Help needed with SQL

    help database tutorial
    5
    0 Votes
    5 Posts
    0 Views
    M
    Here is what I do. I create a constant called QUOTES as below. Const QUOTES = """" I then create a function called SQLstring as below. Public Function SQLstring(StringIn as String)as String SQLstring = QUOTES & StringIn & QUOTES End Function So now if I want write an SQL statement that needs a string within a string, I do the following: Dim SQL as String Dim State as String State = "CA" SQL = "SELECT * FROM Table WHERE State = " & SQLstring(State) The resulting SQL will be as follows: SELECT * FROM Table WHERE State = "CA" Is this what you are looking for?
  • operator overloding in VB

    com question
    8
    0 Votes
    8 Posts
    2 Views
    A
    With .NET, the argument is no longer true since managed code is managed code - all .NET languages compile to IL and use the CLR - the only differences are any language-specific differences, which if the application is CLS compliant are not supposed to be used anyways.
  • using an ftp server?

    help csharp sysadmin question
    2
    0 Votes
    2 Posts
    0 Views
    A
    For the FTP portion - check out the article and code by Alex Kwok I reference his C# component in my VB app and use it regularly. I've had to make a few changes to account for odd directory listings but even though I'm not a C# programmer I had no problems with it.
  • NumericUpDown Control Question

    question csharp help
    3
    0 Votes
    3 Posts
    0 Views
    B
    I understand what you are saying, but it would be much "cleaner" to me if there was a standard control just like the numericupdown, but without the spinner. Why did they bother creating the numericupdown (I am being sarcastic)? It could have just as easily been a text box where someone had to write the code to validate it? Why isn't there a control just like the NumericUpDown, but without the spinner? That is all I am asking for. Seems it would have been so easy to make the Spinner a property (visible or not visible)! Oh well. Thanks
  • AS400

    database tutorial question
    2
    0 Votes
    2 Posts
    1 Views
    D
    http://www.codeproject.com/useritems/Accessing\_AS400.asp Trying to make bits uncopyable is like trying to make water not wet. -- Bruce Schneier
  • Server Explorer Error

    csharp database sysadmin help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Create a non-dithered gif

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Formatting test

    question game-dev tutorial
    2
    0 Votes
    2 Posts
    0 Views
    E
    If you're playing Utopia (http://games.swirve.com/utopia) there is a good calculator already (http://utopia.sourceforge.net/) :). Use the Clipboard object to get the text you just copied from the browser, and afterwards you can treat the text as string. I am assuming each line is separated by Char(13) and you can probably split them into an array using the Split() function and get the data you want from the array. Here's an example from MSDN on how to use clipboard (you need the namespace System.Windows.Forms): Private Sub button2_Click(sender As Object, e As System.EventArgs) ' Declares an IDataObject to hold the data returned from the clipboard. ' Retrieves the data from the clipboard. Dim iData As IDataObject = Clipboard.GetDataObject() ' Determines whether the data is in a format you can use. If iData.GetDataPresent(DataFormats.Text) Then ' Yes it is, so display it in a text box. textBox2.Text = CType(iData.GetData(DataFormats.Text), String) Else ' No it is not. textBox2.Text = "Could not retrieve data off the clipboard." End If End Sub 'button2_Click
  • using vb.net classes in vb 6.0?

    csharp com question
    3
    0 Votes
    3 Posts
    0 Views
    M
    And here's a link to a QuickStart that may help too - http://samples.gotdotnet.com/quickstart/aspplus/default.aspx?url=%2fquickstart%2fhowto%2fdoc%2fInterop%2fTestServer_1.aspx[^]
  • Help!

    question help
    2
    0 Votes
    2 Posts
    0 Views
    M
    Try just opening it in Excel. Excel's Text importer is pretty good at dealing with tab-delimited files.