473,544 Members | 1,912 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

1
1,932
thread by: jan princess | last post May 26 '11 by: MrMancunian
please help me i'm trying to update a data user using vb.net2008 and sql server management studio express for my backend. the error says "must declare the scalar variable "@username" here's the code . Private Sub btnupdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnupdate.Click Dim connstring =...
1
1,699
thread by: bdmir | last post Apr 21 '11 by: R MacDonald
Hi all, I have win7 pro, on my win form is a traffic light icon(when it starts it is red, when finished it is green), so that I know when job is finished. But when I run application icon isn't changing and form hangs it self, can not do nothing until job is finished. Only in the end, I see that icon is quickly changes to red and then back to...
1
9,657
thread by: dexter delleva | last post May 26 '11 by: MrMancunian
this is my line of codes. but it only compares to the equal match on the textbox. is there any way where i can match even just a keyword and will select all items with the same keyword that i type on textbox. For i = 0 To ListView1.Items.Count - 1 If ListView1.Items(i).SubItems(1).Text.ToLower = TextBox1.Text.ToLower Then...
1
1,545
thread by: v i shiva aro | last post May 26 '11 by: MrMancunian
what is the code to get total number of hits occured on web page?
1
5,458
!NoItAll
thread by: !NoItAll | last post May 2 '11 by: !NoItAll
I can't figure out the syntax for having an optional byte array in a .net sub Public Sub MyFunction(ByVal Filename as String, Optional FileData as Byte()) The optional keyword requires me to set a default value - which is understandable, but I cannot figure out the syntax to do that here... Public Sub MyFunction(ByVal Filename as...
1
757
thread by: chibbie23 | last post May 17 '11 by: Joseph Martell
i'm new in writing windows service. I have done a basic one, which basically just creates logs whenever the service has been started or stopped. Now, i was asked to create a service which will write something on the logs every 30 minutes. any suggestions? Thanks, and godbless
1
2,049
thread by: Josh Argent | last post May 16 '11 by: yarbrough40
Hi, I'm having a bit of trouble creating draggable panels that will stay on top of all the other panels and not 'hide' behind them. My code for dragging works fine, I just need to set the layer of a panel to the top of all the different controls :/ Can anyone help me here? Thanks in advance, Josh.
1
1,113
thread by: chibbie23 | last post May 16 '11 by: Banfa
Hi Im making a services that will log every time it gets started and stopped. I have accomplished that easily, using the onstop and onstart events. Now, im trying to call an exe file that writes something on the log. im calling the exe file every 30 minutes, so i used a do while loop and a thread.sleep code. Now, I've put the loop inside...
1
1,350
thread by: Microchip | last post May 26 '11 by: MrMancunian
Using Build ---> Publish is nice, but it installs (on the client's machine) into an esoterically-named directory. As you can imagine, this is a nightmare to backup. Does anyone know how I can direct this thing to install into a directory that I choose? Thanks in advance! Dave
1
990
thread by: Anamaria | last post May 22 '11 by: R MacDonald
Hello. I have 2 desktop programms..I will call them P1 and P2. So, P1 launches P2 as a process. However, at some point I want to be able to show a window in P2. My problem was that this window, when called, was showing correctly placed, in the middle of the screen, but in the back of P1. So, in order to show it as the top most window,...
1
1,890
thread by: Ulf Malmros | last post May 31 '11 by: Frinavale
I'm trying to get a small webpage to update an access database. There are no problems with the data the user enter but when I try to update the database with current date and time it fails. I'm using a FormView to enter data. If Not IsPostBack Then '==========>Update db with current date and time ...
1
1,098
thread by: dougancil | last post May 26 '11 by: MrMancunian
I have a form in an application that I'm building and in it I have a datagridview that when a user clicks a checkbox on a line in the datagridview and "submits" the data, then the form will insert all of the data on that line (along with the code "Holiday") into a database. Currently if I click in the checkbox on any line other than the first line...
1
2,764
thread by: Bob Staas | last post Jun 2 '11 by: David Gluth
I'm looking for a little help; I've tried everything. Here is a little section of code of a bigger project. What do I need to plug into the ? in the FillRectangleRectangle call to get this to work? I got the FillRect... example from MSDN, but I can't figure out how to call it correctly. Thanks for any help. -Bob Private Sub...
1
1,823
thread by: john20 | last post May 29 '11 by: Stewart Ross
Hi All, Is there any way so I can get event when moving cursor in excel sheet. What I meant by that if cursor is in cell A1 then I move to B1 at that time I want cell change event should fire. At the movement I am able to get event when you change the cell value and press enter then I can get the cell change event. Is there any way to...
1
2,455
thread by: ivan dan | last post Jun 14 '11 by: Joseph Martell
hi, my name is ivan,i am new to stored procedure and VB.Net, i am trying to insert a value to a column in a table in my database using VB.Net and Stored procedure Here's the procedure: 1. A user will input a value to a textbox, for example lastname. 2. When the user click the save button, the button will call the stored procedure. ...
1
4,333
thread by: samvb | last post Jun 7 '11 by: Frinavale
I am clueless on the whole thing and been reading a lot about it. So far, I saw some samples which are poorly documented and oritend to vb.net 2005. Is there any SDK oriented to vb.net 2010 and well-documented? After converting 2005->2010, it gives me errors and so I can't see the samples. Gruile SDK seems to work fine but it is very badly...
1
3,007
thread by: Veena Thakur | last post Jun 7 '11 by: Frinavale
Hi Please help me to define a sub for td of Datalist in VB.Net Here is my Design Code: <asp:DataList ID="subMenu" runat="server"> <ItemTemplate> <table border="0" runat="server" cellpadding="0" cellspacing="0" width="170px"> <tr runat="server"> <td runat="server" id="td_Menu"...
1
2,139
thread by: config | last post Jun 14 '11 by: !NoItAll
hi every one I have ListBox1 and it has some emails each email in a line so I want to copy each email INDIVIDUALLY (one by one) SEPARATED in 10 second to TextBox1 by only one click on Button1
1
1,448
thread by: Van Chamraeun | last post Jun 14 '11 by: !NoItAll
I have a problem with unicode character, as i create a database in SQL Server 2005. I want to query from a table that criteria fields are contain unicode character i.e NVARCHAR. e.g: SELECT * FROM tblMyTable WHERE MyField='ភាសាខ្មែរ'. But when i did like this all rows that contain Unicode Character always display. it doesn't fit to my criteria...
1
3,689
thread by: charie ty | last post Jun 25 '11 by: R MacDonald
I'm a newbie in vb. My first project is a grading system for a certain school. In my login form, there's a Forgot Password button. In the Forgot Password form, the user is asked to answer a secret question that he filled up upon registration, and if the answer is correct it will lead him to a Change Password form. My problem is, I don't know how...
1
4,877
thread by: Simon Davis | last post Jun 22 '11 by: Simon Davis
Hi I am attempting to write some data from my program to a word document using a template. This is simple enough as there are plenty of tutorials around. What I would like to know is how can I duplicate a page in the word document depending on data in the program. To be more specific the user enters product data into the program. Most...
1
1,017
thread by: Gary Morris | last post Jun 26 '11 by: Gary Morris
Instead of: NameValueCollection nvc=new NameValueCollection(); nvc.Add("A","Alpha"); I want to do:
1
1,540
thread by: vigneshwarie | last post Jun 29 '11 by: Frinavale
I have created a project in VS 2008. Now i want to install it on web server. I have copied the whole proj along with .sln file in inetpub/wwwroot folder and also created virtual directory by going in IIS and clicking in Create button. The project is working well in VS but When i am trying to access the project it is giving me the following error...
1
1,823
thread by: jimatqsi | last post Jul 14 '11 by: jimatqsi
Working on an VB/ASP website in Visual Studio 2008. Getting the error "You cannot add or change a record because a related record is required in table 'abc' It is true that table xyz (the target of the INSERT) is in a parent-child relationship with table abc. The PK in abc is a column RequestID_lng. The FK column in xyz is also named...
1
1,347
thread by: bluesathish | last post Jul 20 '11 by: Rabbit
Dear All, I've try to assign the new parameter to dataset, while i using the following code, i got the error like "Varchar is not a member of Devart.Data.Oracle.OracleType" But I'm sure this code was 100% correct, Please help me to rectify this error. Code:

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.