19,728 Topics

Member Avatar for
Member Avatar for iskivgs

Is it possible to store the value of a variable? For example the value of a string variable: [code]strImgFile[/code] containing a file destination, that is saved along with the program, so that the next time the user runs it, the value of the variable [code]strImgFile[/code] is restored.

Member Avatar for Emos
0
182
Member Avatar for michaelzip

Is it possible to retrieve a text from a URL or page content by using something like ImageUrl property on the Image Control? Ex in image: <asp:Image runat="server" id="Image1" **ImageUrl="getImage.aspx?id=2"** /> Let's say I have this code on getText.aspx Imports System.Data Imports System.Data.SqlClient Partial Class getText Inherits System.Web.UI.Page Protected Sub …

Member Avatar for michaelzip
0
250
Member Avatar for ashishrkala_1

Friends, I am making Consultantwise patient report application using VB.NET 2005/08, SQL Server 2005/08. this application i am making for reporting purpose only. I have taken 2 datetimepicker(from date & to date) and one listbox to select the consultant name on my .net form. but i am confused where i …

0
73
Member Avatar for Ncleaver45

I am trying to insert data into a batabase table (Microsoft Access 2010) But i keep getting a problem it sais"Could not find installable ISAM." the table names are all right. any help would be appreciated ![Declering](/attachments/large/3/Declering.png "Declering") ![proper_problem](/attachments/large/3/proper_problem.png "proper_problem")

Member Avatar for Reverend Jim
0
40
Member Avatar for situ.pati

i have vb 2005 express edition. so i dont have crystal report. now i want to print some data from the form to paper. so can anybody help me to print those data

Member Avatar for nmaillet
0
80
Member Avatar for androidz

HI i have this error null reference i don't know why Imports System.Data.SqlClient Imports System.Configuration Imports System.Configuration.ConfigurationSettings Public Class Form1 Private ConName As New DataAccess Private Sub cmdconnect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdconnect.Click Dim conn As String Dim m_server As String Dim m_db As String m_server …

Member Avatar for androidz
0
279
Member Avatar for Stuugie

Hi all, I have a form that is supposed to query a website. I have the following code that first looks at and uses data from an SQL Server db connection: ConnString = "Data Source=SQL2008T1;Initial Catalog=EconAnalysis;Integrated Security=True" SCqryStr = "" SQLConn.ConnectionString = ConnString SQLConn.Open() SQLStr = "SELECT vSeries_Number FROM tblVSeriesList" …

Member Avatar for Reverend Jim
0
290
Member Avatar for bLuEmEzzy

I have a rootnode and its value is (1) then it's childnode is (2,3) I add childnodes to (2) but on (3) I do not know. how can I add childnodes to 3?

Member Avatar for bLuEmEzzy
0
107
Member Avatar for joshl_1995

Hello Community, I was wondering if its possible to make an editor like [Notepad++](http://notepad-plus-plus.org) (I'm talking about the text area). So it will change the colour of the words (funtions and commands) also with the margin with the numbers and the code folding. Please help with what you can even …

Member Avatar for joshl_1995
0
536
Member Avatar for themaj

Can you Close or Exit an application from within a Sub or what would be the 'best practise' for Exiting when the app has failed a logic test? My app checks for the existance of various files in a Sub Routine off the Form_Load and writes to a log along …

Member Avatar for themaj
0
5K
Member Avatar for bohto

For thos who is nice enough to answer. I am buidling a web bot usig vb.net and learning is ok for now. But I have a question to ask. I made a bot that automaticly login in a webpage using one click. **Now how do I continue by putting a …

Member Avatar for ObSys
0
111
Member Avatar for eioj

hi! can anyone help me in creating an vb.net code.? i have an textbox, dropdownlist connected to the database and a submit button. my problem is , i don't know how to connect the 3 of them and the output will be seen on my database,.. thanks..

Member Avatar for Reverend Jim
0
42
Member Avatar for stevelk

I want to build a module to combine multiple text file in a .csv file by using vb.net. My text file data like this: (T1.txt) UnitCode|Qty 001|56 002|45 003|100 004|78 005|67 (T2.txt) UnitCode|Qty 001|78 002|166 003|10 005|12 I want the output like this: (Output.csv) UnitCode,T1,T2 001,56,78 002,45,166 003,100,10 004,78, 005,67,12 …

Member Avatar for Reverend Jim
0
399
Member Avatar for hassan980

Hello, Im new to VB and therefore i require some guidance in this tricky situation that im stuck in. Basically, what my program does is calculate the mach number of an aircraft when the speed of sound and value of temperature are added into the text box. The problem arises …

Member Avatar for Reverend Jim
0
269
Member Avatar for Stuugie

Hi all, I have a .NET form where I want to connect to a table and then pass each defined (by query) string from the table into a string within the code. I have created a connection to the database already via Data Sources but I'm unsure about the syntax …

Member Avatar for Stuugie
0
173
Member Avatar for MonsieurPointer

Hi DaniWebbers, I would like to map a string to a Property using the Dictionary class. For example, I want to map "port" to a textbox's Text property, e.g. myDict.Add(tbPort.Text, "port"). How would I go about defining the dictionary? I've tried the following: * Private myDict As Dictionary(Of Property, String) …

Member Avatar for Reverend Jim
0
255
Member Avatar for franzrivas

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Dim cmd As New OleDb.OleDbCommand If Not cnn.State = ConnectionState.Open Then 'open connection if it is not yet open cnn.Open() End If cmd.Connection = cnn 'check whether add new or update If Me.txtReg.Tag & "" = "" Then …

0
59
Member Avatar for mcgarry101

Hi, I am fairly new to VB.NET and i'm just wondering if anyone can help with a problem I am having. I am looking to pass some parameters to a vb.net application fwhen I call the app from another program (written in oracle forms). My question relates to how these …

Member Avatar for Carlosky5
0
916
Member Avatar for MonsieurPointer

Hello DaniWebbers, I have the following classes in their respective namespaces; so far so good. When I have received data from the server, the AsyncTcpClient's *DataReceived* event gets raised and the Client's *OnReceivedData* method gets called. Also so far so good. The one thing that does not work (and which …

0
139
Member Avatar for Khav

Hi Guys i need help on my school project.Currently i want to validate some important data in a textbox as soon as they are entered by the user Here is my coding........ Private Sub Textbox1_Leave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Textbox1_Leave Call ValidateTextbox(Textbox1.Text) - Set saved = …

Member Avatar for Khav
0
242
Member Avatar for HibaPro

i have a combobox that binding to table , what i need is wneh i retured the data i dont want to duplicate entries for example i have combobox with item BOQ Section and the item as the following "concrete , concrete, concrete , Utilities , utilities, concrete, AirCondiotioning ,utilities, …

Member Avatar for Reverend Jim
0
173
Member Avatar for PM312

i am trying to add values in two coloums of data grid view. Howeaver the result is values are concatenated instead of adding. i.e 10+25 result is 1025 and not 35. DgvLedger.Rows.Item(GRNO).Cells(6).Value = DgvLedger.Rows.Item(PRNO).Cells(6).Value + DgvLedger.Rows.Item(GRNO).Cells(3).Value howeaver multiplaying two coloums value result is correct.

Member Avatar for PM312
0
131
Member Avatar for malcomm

Hi I have an app that needs to read the file creation time from a jpg on a website. The jpg has a constant filename but is updated every 5 minutes or so. I want to read the creation time and compare with the previously downloaded image time to ascertain …

Member Avatar for Reverend Jim
0
94
Member Avatar for HibaPro

How i can hide or remove a column in DGV??? i use this code : DGVname.columns.remove(colindex) but the column didnt remove it jsut became the last column

Member Avatar for Reverend Jim
0
110
Member Avatar for khair.ullah

Dear All ! I have a table titled Customer_DETAIL I want to check and make sure That there are no other records in the table that have The same CustomerID . The CustomerID are FK's From customer table. How can I check for duplicates so they do not create duplicate …

Member Avatar for daniel955
0
503
Member Avatar for lebo.bytes

Hi, I would like to be helped with automating my application. I work in an environment where we receive a high number of files daily. I am given a task to read a file extract strings and compare them with data in mysql database. I use visual studio 2010. Here's …

Member Avatar for Reverend Jim
0
199
Member Avatar for PM312

I have combobox on child form. combobox get populated when form is loaded. Now the problem is when child form is closed and reloaded combobox get populed twice with same items. it appears that combobox dosen get cleared when for is closed. Below code dosen work CboScrip.Items.Clear() Below code is …

Member Avatar for PM312
0
112
Member Avatar for mahinder.yadav

hi friends i am new in vb coding. i have two tables in ms access table 1 containing location column and id and table 2 containing id, name and date1, date 2...date 30 i have made form design in visual basic with "name" label with combo1 that selecting data from …

0
139
Member Avatar for Dzulham

I'm new in Vb.net and try to make a simple program. I need one variable to be used in all subs. How can i do that with this: RTB As Richtextbox = CType(TabControl1.SelectedTab.Controls.Item(0), Richtextbox)

Member Avatar for Dzulham
0
94
Member Avatar for HibaPro

i have a datagridview , i need to change the col(6) to combobox and filling it with data , how i can do this ?? my DGV not bounded with data , its read from sqltable

Member Avatar for HibaPro
0
152

The End.