473,799 Members | 3,111 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

0
1,020
thread by: Siobhan Shum | last post Feb 11 '11 by: Siobhan Shum
To All, I have already coded a quantity form to show when a picture is clicked on. I have also created a dataset called 'Menudataset1' to retrieve information from my 'Menu' table and 'Dish Name' column. I am now trying to code the 'label1' of the quantity form to change to the name of each picturebox when it is clicked on. I have already...
4
1,646
thread by: techsam | last post Feb 11 '11 by: techsam
I've a vb.net web application where I'm referring to another vb.net dll by adding the reference of the dll and creating the object but after the call it waits for dll to finish operation and return a value before moving forward, is there a way I can do the same job asynchronously.
0
1,014
thread by: Vinayakshr | last post Feb 11 '11 by: Vinayakshr
here is the code I am using but it is givinge error of object does't support this property Dim Vsc As New MSScriptControl.ScriptControl Vsc.Language = "VBScript" Vsc.AddObject("MDIFrm", MDIFrm, True) Vsc.AllowUI = True Dim st As String
0
1,206
thread by: Siobhan Shum | last post Feb 11 '11 by: Siobhan Shum
To All, I have created a 'quantity' form to be displayed when an image of a dish (from my menu) is hovered over: quantity.Show() I am now trying to code the 'quantity' listbox function to store '1,2,3..' and program the prices from the database into each dish. When 'ok' is clicked on the 'quantity' form it should also automatically...
0
1,018
thread by: patiencer | last post Feb 10 '11 by: patiencer
Hi! Can you help me a effective source code of user login with ms access as your database i already set the data adopter, dataset, datasource and whatsoever. I just need to get how to call the MS Access table using SELECT * From ... coz i really don't know this >.< would you please help me :( Thanks ^_^ God Bless you always
1
13,529
thread by: corey farrar | last post Feb 10 '11 by: corey farrar
I'm having trouble understanding why i'm getting the error 'add is not a member of system.array' I'm using an arraylist and when I hover over my declaration of memberarray As ArrayList() the tooltip states 'Dim memberarray as System.Collections.ArrayList() but when I hover over the error it states the above error. What am I missing? ...
14
13,672
thread by: loudey | last post Feb 8 '11 by: loudey
I have a VBA program that automates an internet explorer process the whole code works except one piece. when I try using this code, Dim IEapp As Object Dim IEdoc As Object Set IEapp = New InternetExplorer IEdoc.all("ctl00$ContentPlaceHolder1$uxQuantity").Value = 4 I recieve an error that says "Run-time error '91': Object variable or...
1
2,491
thread by: lenniekuah | last post Feb 8 '11 by: pod
Hullo Awesome Friends, WINDOW Based Application using VBNET2008, DataReader and TreeView Control Nodes I need your help, Please help me. I am using TreeView controls and having problem writing the coding as I have not done it before. Listed beow are the SQL String and the result of it. And also the Proposed Desired display on...
0
1,125
thread by: Josh Argent | last post Feb 8 '11 by: Josh Argent
I'm getting some very strange errors with my code and I'm not sure what's causing it. :( Basically, I'm trying to make a program which will list all the running programs as well as getting the icon from it. I've got it working prety well but I need it to update when ever a program is closed. So I looked into it a bit and found the I could use...
0
1,331
thread by: anirudha d | last post Feb 8 '11 by: anirudha d
I am having user control multiple instances on same page. user control is embeded with javascript functionality. for eg. <script type="text/javascript" language="javascript"> var Global_variable1,Global_Variable2;
13
10,641
thread by: Silvia Mattarel | last post Feb 8 '11 by: Silvia Mattarel
I have two function: Public Sub AddData() Dim sSQL As String = "" Dim check As Boolean = Me.TestExistingRow("QUESTIONARIO1") If check = False Then sSQL = "INSERT INTO QUESTIONARIO1() VALUES ('" & Me.IdUser & "');" ExecuteNonQuery(Me.ConnString, CommandType.Text, sSQL) End If
3
5,621
thread by: dexter delleva | last post Feb 7 '11 by: Stewart Ross
here is my code. dont seem to know whats the problem. i have 12 data fields in access excluding the ID field. Dim strCon As String = "Provider=Microsoft.jet.oledb.4.0;data source=C:\Users\dexter\Documents\desktop\csci14\database\Museum-final.mdb" Dim dSet As New DataSet Dim M_I As String Dim Fname As String ...
2
7,269
thread by: GR M | last post Feb 7 '11 by: GR M
Hi, I was trying to add two quantities at different rows of same description i.e same product_name and same item_pack.1st I want to check the table if it contains the same description or not by comparing with the first record and so on. When found, I'll add up the quantities and then to delete that particular row (to avoid duplicate search). But...
9
5,380
thread by: dexter delleva | last post Feb 6 '11 by: dexter delleva
please can anyone help me? im currently working in a project and i already made a code for the login, the only thing is that i dont know how to update the records(Username/Password) in access using VB 2010. well i can update by manually changing the content of my table but i like to have it change using an interface in my vb named Manage...
1
2,154
thread by: Graham Wade | last post Feb 5 '11 by: !NoItAll
I am writing an application for a customer and one of the late requirements is for a (ideally) configurable key stroke to display a form. This should operate no matter which form/ dialog is currently displayed. Firstly is this possible and secondly how do I do it without adding the same code to every single form and dialog box which now number...
1
2,083
thread by: jay123 | last post Feb 5 '11 by: jay123
Hello, I am trying to add Page.Header.Controls.Add(New LiteralControl("<link href='../CSS/test.css' rel='stylesheet' type='text/css' />")) in vb code. Strangely the solution builds but when i run my code i get 'Object reference not set to an instance of an object.' error. i have searched extensively on internet but couldn't...
1
7,393
thread by: Enis CIFTCI | last post Feb 4 '11 by: Enis CIFTCI
Hi to All.. Dear members, i'm following to samples and your reviews. First thanks to be all members wrotes. My question : i can't find to another application controls handle and name. i searched to samples but i can't understand. How i write to API's for this. i'm working to API declare and the some API functions. And i've got a...
2
1,410
thread by: Siobhan Shum | last post Feb 4 '11 by: Siobhan Shum
Dear all, I am trying to program a dialogue box to appear when the exit button from my 'Login' form is clicked. The form has three options; yes, no, cancel. The code so far: ' Cancel button Private Sub Cancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox4.Click Dim mainForm As New...
0
2,061
thread by: timr30017 | last post Feb 4 '11 by: timr30017
For days now I've been trying to create a Distribution List in Outlook from my VB.net app. I can create one but I cannot put any members in it because there seems to be no way to define and create a recipient. This used to work in older versions of VB but now Microsoft seems to have changed something. Here is my code: ' Start...
0
1,030
thread by: dougancil | last post Feb 2 '11 by: dougancil
I have the following code: Imports System.Data.SqlClient Public Class Main Protected WithEvents DataGridView1 As DataGridView Dim instForm2 As New Exceptions Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles startpayrollButton.Click Dim ssql As String = "select...
2
2,924
thread by: Bobby Price | last post Feb 2 '11 by: Bobby Price
I tried to follow this advice, but I still run out of memory. http://bytes.com/topic/visual-basic-net/answers/363011-md5-large-files Basically, I am reading all the bytes of a 1 gb disk and I want to try and do a md5 hash on it. However, when following this example, my cryptostream gets too large a System out of memory exception. Is...
0
873
thread by: priyamtheone | last post Feb 2 '11 by: priyamtheone
Is it possible to make the tab (a text 'Main Report' appears in it) invisible that appears in a CrystalReportViewer just below the Toolbar? I know it shows which section of the report is opened currently but in certain scenario I need it not to be visible. Please help. Check the attached image. Regards.
4
2,023
thread by: cpanelxp | last post Jan 31 '11 by: Oralloy
hi, I have programmed a software that can send email to one recipient with this code In General Declaration I used this code Imports System.Net.Mail In Form Declaration I used this code
0
1,003
thread by: Talha Beg | last post Jan 31 '11 by: Talha Beg
Hey. I am trying to use SendKeys to load a file onto a device which is conncected to the computer. So basically the Open windown opens. If I press enter using sendkeys, the computer just freezes. Can anyone help me please? When the computer is frozen, I do open up task manager to check which program is taking up all the memory. But when I do...
0
1,118
thread by: peter gregory | last post Jan 30 '11 by: peter gregory
Getting incomplete sorting in datagridview whether clicking on the grid column header or using a sort method on an unbound grid sorts imcompletely. On some cols it appears to sort all rows except the last, on others it changes row order but the selected column is all over the place! I would appreciate any help! Unfortunately the code is 28...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.