Vb.net

Advertisement

GetType Is Not Working

GetType Is Not Working

I'm converting some C# code to vb, and (having had some help from the community here already) have encountered another problem. [code] SurveyQ is a class I'm referring to. Converting the type doesn't seem to work. I've figured that I can't use "=&quo
Read AppKey Value From Web.config In Clientside Js?

Read AppKey Value From Web.config In Clientside Js?

I have created a appkey variable in the web.config file and i'm now trying to read it in an aspx page within a javascript variable. [code]...
2 Errors Converting C# To VB Code

2 Errors Converting C# To VB Code

I'm converting some C# code to VB.Net, as it's a language I know better, I've got some code that I can't figure out... Dim mybtn As New ImageButton() mybtn.ImageUrl = _imgUrl Select Case _buttonType Case ButtonType.Backpage [CODE]........... This is
How To Harvest Object Info From External App As Active Screen On Desktop

How To Harvest Object Info From External App As Active Screen On Desktop

I'm writing an app that I need to retrieve and order or invoice number from an external application whose screen is active on the desktop.
Populate Local Database Table With Remote Server Database Table ?

Populate Local Database Table With Remote Server Database Table ?

I am having a remote server it has INVENTORY DATABSE , and also iam having same databse in my local system. I want to populate by local database table with my Remote database table through Vb.net code by click a button. How to do this .
Operator '*' Is Not Defined For Types 'System.Web.UI.WebControls.TextBox' And 'System.Web.UI.WebControls.TextBox'?

Operator '*' Is Not Defined For Types 'System.Web.UI.WebControls.TextBox' And 'System.Web.UI.WebControls.TextBox'?

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="calctax.aspx.vb" Inherits="lab_week1_calctax" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" [code]..... What should i d
Select (highlight) Generated Thumbnails?

Select (highlight) Generated Thumbnails?

I am trying to create a photo kiosk software where the user loads images, then they are displayed as thumbnails, and then the user can select a thumbnail (or multiple thumbnails) to choose sizes. (imagine a photo kiosk you would see in walmart for ex
Populate An Simple Integer Array With Variable Of The Same Type?

Populate An Simple Integer Array With Variable Of The Same Type?

I know vb.net does not include pointers like C language. but I am trying do populate an simple integer array with variable of the same type for example : dim variable1 as integer = -1 dim variable2 as integer = -1 dim intArray() as integer = {variabl
Open Hyperlink In IE New Tab?

Open Hyperlink In IE New Tab?

How to open the on click of the hyperlink in new tab from IE.
Reading Dynamic Controls?

Reading Dynamic Controls?

I am creating a page with an area name and an input box next to it, code below: Dim SQLConnection As New Data.SqlClient.SqlConnection(System.Configuration.ConfigurationManager.AppSettings("sqlstr")) Dim cmd As New SqlCommand Dim LoadAreaReader A
Adding Business Days To Start Date Including Holidays

Adding Business Days To Start Date Including Holidays

I read that .Net has no function equivalent to Excel's "Workdays" function, which adds a specified number of workdays to a startdate, including an array of holidays. I managed to find a function that adds the number of workdays to the startdate,
Message Comes &quot;Mail Sending Failure&quot;

Message Comes &quot;Mail Sending Failure&quot;

I want to send email from vb.net 2008. All of my code is correct but i don't know why the message comes "Mail Sending Failure" here is my code Imports System.Net.Mail Public Class frmMailing Dim SmtpServer As New SmtpClient() [Code].....
Saving Custom Colours In A Colordialog Display?

Saving Custom Colours In A Colordialog Display?

If you are working on a project that requires non-standard colours for text, it is possible to choose your colour by specifying the RGB components in the boxes on the colorpicker or by moving the mouse around until the desired colour is obtained. Thi
Datatable Convert To Xml And Export To Excel?

Datatable Convert To Xml And Export To Excel?

May I know is there anyone did this before? I have the code below: Private Function FnReadWeeklyConsumption(ByVal pstrSheetName As String, [Code]...
Return Inside Of Using Statement, Will Dispose Be Called.

Return Inside Of Using Statement, Will Dispose Be Called.

I know that if i have a using block like using myresource return 0 end using myresource will be disposed . But if my using block is using myresource return myresource end using Will myresource be disposed? I am wondering if a similar using block is c
Print An Invoice Created Using A Datagridview?

Print An Invoice Created Using A Datagridview?

3107.DGV Print in VB2008.zip For some time I have looked ways of using a datagridview to create an invoice and print it on paper. I know that I am not the only one who wants to do this. I have seen many requests for help over the years but no solutio
Timeout Using SQLite - Create A Database And Several Tables - To Populate The Tables With Data From Arrays

Timeout Using SQLite - Create A Database And Several Tables - To Populate The Tables With Data From Arrays

I am using VS2008 and SQLite. I have created a database and several tables and am attempting to populate the tables with data from arrays. The following code (example) works fine but stops after it inserts 30 to 50 records. I am running the VB code i
Select DataRow With Latest Date Using LINQ/

Select DataRow With Latest Date Using LINQ/

I have a datatable where there are 3 columns ID | Name | Date and i have 4 columns 1 | ABC | 20/07/2012 [code].....
.NET Socket Networkstream.read Different Results?

.NET Socket Networkstream.read Different Results?

I am doing client/server socket based project and currently I am having some troubles with the recieved result.What I mean ... this is part of the client which is receiving tcpClient.Connect(address, Port) Dim bytes(tcpClient.ReceiveBufferSize) As By
Get X Variable From Textbox6 Into Equation And By Pushing Button 1

Get X Variable From Textbox6 Into Equation And By Pushing Button 1

I need to get the x variable from textbox6 into the equation and by pushing button 1, the finish product goes into label2, which is lets say 15min and 45 seconds. I need 15:45 to countdown to 0, and form1 pops up.
« Prev 1 2 3 4 5 6 ... 10 Next »