Click here to Skip to main content
15,888,968 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: insert one data table to another Pin
Wendelius1-Sep-15 19:50
mentorWendelius1-Sep-15 19:50 
Questionmake report Pin
Joebpn131-Aug-15 18:11
Joebpn131-Aug-15 18:11 
AnswerRe: make report Pin
Richard MacCutchan31-Aug-15 20:57
mveRichard MacCutchan31-Aug-15 20:57 
AnswerRe: make report Pin
ZurdoDev2-Sep-15 5:25
professionalZurdoDev2-Sep-15 5:25 
QuestionSQL Linq, IQueryable, Join and multiple contains Pin
jkirkerx26-Aug-15 10:28
professionaljkirkerx26-Aug-15 10:28 
QuestionEasy to use VB.net code with Tesseract 3.02 Pin
ezio200024-Aug-15 23:54
ezio200024-Aug-15 23:54 
AnswerRe: Easy to use VB.net code with Tesseract 3.02 Pin
Eddy Vluggen31-Aug-15 7:09
professionalEddy Vluggen31-Aug-15 7:09 
GeneralConversion from C# to VB.Net Pin
James Frimpong24-Aug-15 11:42
James Frimpong24-Aug-15 11:42 
Please help me to convert the C# coding below to VB.Net.
Thank you


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                var XML = "XML=<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
                            "<SMS>\n" +
                            "<operations>\n" +
                            "<operation>SEND</operation>\n" +
                            "</operations>\n" +
                            "<authentification>\n" +
                            "<username></username>\n" +
                            "<password></password>\n" +
                            "</authentification>\n" +
                            "<message>\n" +
                            "<sender>SMS</sender>\n" +
                            "<text>Test message [UTF-8]</text>\n" +
                            "</message>\n" +
                            "<numbers>\n" +
                            "<number messageID=\"msg11\">380972920000</number>\n" +
                            "</numbers>\n" +
                            "</SMS>\n";
                HttpWebRequest request = WebRequest.Create("http://atompark.com/members/sms/xml.php") as HttpWebRequest;
                request.Method = "Post";
                request.ContentType = "application/x-www-form-urlencoded";
                ASCIIEncoding encoding = new ASCIIEncoding();
                byte[] data = encoding.GetBytes(XML);
                request.ContentLength = data.Length;
                Stream dataStream = request.GetRequestStream();
                dataStream.Write(data, 0, data.Length);
                using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)
                {
                    if (response.StatusCode != HttpStatusCode.OK)
                        throw new Exception(String.Format(
                        "Server error (HTTP {0}: {1}).",
                        response.StatusCode,
                        response.StatusDescription));
                    StreamReader reader = new StreamReader(response.GetResponseStream());
 
                    Console.WriteLine(reader.ReadToEnd());
                    Console.ReadKey();
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
                Console.ReadKey();
            }
        }
    }
}

GeneralRe: Conversion from C# to VB.Net Pin
Dave Kreskowiak24-Aug-15 13:13
mveDave Kreskowiak24-Aug-15 13:13 
QuestionExport Vb.net Datagridview to Microsoft Excel 2013 Pin
Benniiit24-Aug-15 5:09
Benniiit24-Aug-15 5:09 
AnswerRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
Eddy Vluggen24-Aug-15 5:23
professionalEddy Vluggen24-Aug-15 5:23 
GeneralRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
Benniiit24-Aug-15 7:54
Benniiit24-Aug-15 7:54 
GeneralRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
Eddy Vluggen24-Aug-15 8:06
professionalEddy Vluggen24-Aug-15 8:06 
AnswerRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
ChandraRam24-Aug-15 5:27
ChandraRam24-Aug-15 5:27 
GeneralRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
Benniiit24-Aug-15 7:55
Benniiit24-Aug-15 7:55 
GeneralRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
ChandraRam25-Aug-15 3:44
ChandraRam25-Aug-15 3:44 
GeneralRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
Benniiit25-Aug-15 7:14
Benniiit25-Aug-15 7:14 
GeneralRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
ChandraRam25-Aug-15 7:55
ChandraRam25-Aug-15 7:55 
AnswerRe: Export Vb.net Datagridview to Microsoft Excel 2013 Pin
GuyThiebaut28-Aug-15 4:39
professionalGuyThiebaut28-Aug-15 4:39 
QuestionGood freeware barcode reader library Pin
vincentvdm22-Aug-15 22:04
vincentvdm22-Aug-15 22:04 
AnswerRe: Good freeware barcode reader library Pin
Eddy Vluggen24-Aug-15 5:27
professionalEddy Vluggen24-Aug-15 5:27 
QuestionAdd a DTPicker in a Column of grid in vb6.0 Pin
Anand_@ndy21-Aug-15 19:08
Anand_@ndy21-Aug-15 19:08 
AnswerRe: Add a DTPicker in a Column of grid in vb6.0 Pin
Eddy Vluggen24-Aug-15 5:26
professionalEddy Vluggen24-Aug-15 5:26 
QuestionHow To Set H-Scrolling And V-Scrolling With AspxpivoteGrid Devexpress Pin
Member 1174163219-Aug-15 22:30
Member 1174163219-Aug-15 22:30 
AnswerRe: How To Set H-Scrolling And V-Scrolling With AspxpivoteGrid Devexpress Pin
Eddy Vluggen24-Aug-15 5:23
professionalEddy Vluggen24-Aug-15 5:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.