We have a question regarding VB.Net 2008.
We are used control array in vb.net and third party timer controls.
When handle received from external application to timer control event procedure,
after this form becomes blank and controls disappear.
What we have to do to persist the controls.
...
Is it possible to restrict renaming a exported file in vb.net?
...
I have a combo box setup with 4 items, with indexes ranging from 0 to 3.
Later in my code, I need to do a certain event depending on what is selected. To do this I thought about comparing what the index of the selected combo box item is, because integer comparison is faster than strings, right?
Can anyone let me know how I can grab the...
I've created a control class that inherits a Panel control. This control then contains two other panels, one of which I would like to be an IContainerControl.
I know how to turn the entire control into a IContainerControl but have been unable to do the same to a child control. I've tried in both C# and VB.Net and failed with both.
Do...
Using VB.net 2008, how can I click an element loaded from a website ?
say I want to click a flash form button on a web site...
...
Imports System.Windows.Forms.WebBrowser
Public Class Form1
Dim browser As WebBrowser
browser.navigate("http://www.google.com")
End Class
This code will not work....
I have web programming background and trying to learn windows programming....any guide or tutorial to make the transition smoother ?
...
Hello, how do I prevent my users for more than one simultaneous login per account. I am using Vb.Net SQL.
...
I have 6 members in my team in my office. Now I am working in a VB.NET project. Anybody can tell me how can I share this project within my team?
I want to have only one project folder in my server. I want all my other members will work from this server's project folder. This is possible in VB.NET?
...
How can I loop through a folder getting each file listed and when its date/time?
...
How can I get the absolute path of program I'm running?
...
Imports System
Imports System.Net
Imports System.IO
Imports System.Threading.Thread
Public Class Form1
Public errorz As String
Public votestatus As String
Public videoid As String
Public votetries As String
Public Sub Main()
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System....
Using VB.Net and SQL 2005
Table1
Name FromDate ToDate
Sched1 20091201 20091231
Sched2 20090515 20090613
...,
In table2 i want to add a time for a date between the FromDate and ToDate
Table2
Name Date StartTime EndTime
Sched1 20091201 080000 120000
...,
In my application am using "AddTime" Button. In the click event ...
Using VB.NET and SQL Server 2005
In DataGridView n number of rows was displaying. Suppose I edit some value in the datagridview cell then I click save means it should update in the table also. Suppose I click
add button means it should add a new row in datagridview.
How to write a code for this?
...
How can i make my app in a different language, so people can select another language,
I need to translate some buttons, textboxes and labels. Is there a easy way for this?
...
Using SQL Server 2005
When i insert the date it should compare the date in the table.
If it is equal with other date, it should display a error message and also it should allow only to insert the next date.
For Example
Table1
Date
20091201
20091202
Insert into table1 values('20091202')
The above query should not allow to insert...
I have several textboxes in a form, and have a button which inserts all the values in a Database and I have to clear the content of all the textboxes and focus to the first one right after pressing the button.
Now I can easily do that using the Clear method of each of the textboxes but it takes 10-12 lines of code just for that. Can I d...
I've tried -
DataGridView1.DataSource=Nothing
and
DataGridView1.DataSource=Nothing
DataGridView1.Refresh()
and
DataGridView1.RefreshEdit()
None of them works..
I've written a method that sets the DataSource of the DataGridView when executed. but each time i execute it, it replicates the data with new value and appends it to the...
How to convert a array <-> string?
I've a bi dimensional array and i need to save to database and retrieve.
Dim myarray(,) as string = {{"some","some"},{"some","some"}}
...
How can I do some code when the user changes what line the caret is on?
so something like:
sub textbox1_lineindexchanged (byval ....) Handles Textbox1.Lineindexchanged
'do code based on the current line
end sub
sorry, I am using a richtextbox, just I always used it so I just call it a textbox in my thoguhts.
...
Following the instructions in http://anoriginalidea.wordpress.com/2007/08/09/simple-inter-process-communication-in-vbnet/ word for word, I somehow keep stumbling across an error:
Exception has been thrown by the target of an invocation.
This error is thrown whenever my client program (a winforms app) tries to call the "SaySomething" me...