| |
thread by: namrata r |
last post Dec 15 '11 by: Rabbit
i want to create an exe in vb.net by packaging few perl files along with it.
when i am packaging those files i am able to hide those files by making the hide option true.
but if the 'show hidden files' is selected those files will be visible.
Need : I want to lock/prevent the user from opening the perl file/code. want to know if there is any...
|
thread by: Tim Wo |
last post Dec 14 '11 by: Tim Wo
I get the error code after I push down a key. I set an array of picture boxes. I'm trying to set an array of x coordinates and y coordinates for each of the picture boxes. It gives me the "Object reference not set to an instance of an object." Please help!
Dim picShip() As PictureBox = {Me.picShip0, Me.picShip1, Me.picShip2,...
|
thread by: lawson morton |
last post Dec 14 '11 by: pod
The user starts out by pasting text into a textbox:
1.Phototypesetting was superior to automated typesetting because it was
(A)Easier
(B)Faster
(C)More flexible
*(D)All of the above
What I want to do is to tag the sentence and format it as follows:
MC Phototypesetting was superior to automated typesetting because it was (A)Easier...
|
thread by: Prathap |
last post Dec 14 '11 by: Crusader2010
nullrefererence exception was unhandled. I'm getting this error. could someone pls help
here is my code
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
WebBrowser1.Document.GetElementById("Email").SetAttribute("value", TextBox1.Text)
...
|
thread by: revelpulle |
last post Dec 14 '11 by: Crusader2010
I have an event defined and firing in class B
Public myEvent()
In class A:
Private WithEvents _b as B
.
.
.
|
thread by: Rachaun |
last post Dec 14 '11 by: Crusader2010
Help,
I am using Visual Studio 10 and have run in to an issue that I cannot resolve on my own. When debugging one of my forms the app hangs on a text box control with no errors. But only if you change the text, or press the "Tab" key. The text box is in a group box with a range of other text boxes most with the same properties. All of...
|
thread by: Prathap |
last post Dec 14 '11 by: Prathap
I am getting this error,here is my code.thanks
Public Class Sample2
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim counter As Integer
counter = 1
While (counter <= 10)
MessageBox.Show("Counter Now is : counter")
counter =...
|
| |
thread by: bluesathish |
last post Dec 14 '11 by: sirasingh
Dear All,
I want to display the Progress bar control in my vb.net application until my procedure runs at the backend. Please anyone help me to do this.
Regards,
Bluesathish
|
thread by: SEhtesham |
last post Dec 13 '11 by: shrimant
Hi,
I have a DateTimePicker,whose
dateTimePicker1.Format = Time
dateTimePicker1.ShowUpDown = True
But now i want only the hour part from the Date Time Picker as i have to compare the hours with some logic in my Database.
Please Guide how cn i do this?
|
thread by: Lamont J |
last post Dec 13 '11 by: shrimant
I have configured Sql Server Express on a server, Enabling TCP/IP and Named Pipes to accept remote connections. However when i attempt to connect from VB.net on another PC on the same network I get the following Error: Failed to login user "ServerName\User".
Can anyone offer some server setting and a ADO.NET Connection string.
The attached...
|
thread by: priyamtheone |
last post Dec 13 '11 by: priyamtheone
I have inherited the standard panel control to create a panel having custom border color. The problem is, while the panel is on a form and any other form is moved across it, it paints hapazard lines of the same color as the panel custom border color, all throughout background of the panel. I tried to Refresh or Invalidate the panel in its paint...
|
thread by: priyamtheone |
last post Dec 13 '11 by: priyamtheone
I have a readonly datagridview that is bound to a datasource. It has two columns. Now I want the first column to have no cell borderstyle; and the second one to have 'All' (i.e. all sides of the cell shall have a border) as cell borderstyle. Before binding the datagridview to the datasource, I'm writing something like mentioned below but it's...
|
thread by: Chaim M |
last post Dec 13 '11 by: kadghar
Using VB2010, I would like to create an array of buttons and a sub procedure that when I send the index number, I will be able to change the text on the specific button.
Dim myBtn as button={button1, button2, button3}
private sub GetCaption (ByVal x as integer)
myBtn(x).text="OK" 'If x=2 I should execute button3.text="OK"
end sub...
|
thread by: yaacovsadeh |
last post Dec 13 '11 by: kadghar
How can I select the color of my pen using the color dialog box?
I tried:
If ColorDialog1.ShowDialog() = Windows.Forms.DialogResult.OK
Then
Dim MyPen As New Pen(Color.ColorDialog1.Color, 1)
end if
but I get error:colordialog1 is not member of system.drawing.color
|
thread by: Annie Doglas |
last post Dec 13 '11 by: kadghar
Hi
I am trying to use vb.net to create apell check add in to ArcMap 10. I have finished code, but do not know why it does not works. need urgent help
here is my code:
Public Sub SpellCheck()
Dim pDoc As IMxDocument
pDoc = My.ArcMap.Document
Dim pGC As IGraphicsContainerSelect
|
| |
thread by: Prathap |
last post Dec 10 '11 by: Prathap
I had used this code to validate email id in textbox,but it is not working properly pls help me. thanks in advance
Dim Expression As New System.Text.RegularExpressions.Regex("^*@*\.*$")
If Expression.IsMatch(Textbox1.Text) Then
MsgBox("The email address is valid.")
Else
MsgBox("The email address is NOT valid.", MsgBoxStyle.Critical,...
|
thread by: johnmar |
last post Dec 9 '11 by: Ammu
Imports MySql.Data.MySqlClient
Imports System.Data.SqlClient
Public Class Form2
Dim MysqlConn As MySqlConnection
Dim sqlconnection As MySqlConnection = New MySqlConnection
Dim serverstring As String = "server=localhost; user id=root; password=; database = project"
Private Sub Save_Click(ByVal sender As System.Object,...
|
thread by: Tejal Pathak |
last post Dec 8 '11 by: Tejal Pathak
i'm developing software for Production Planning i which i find some problems :
1. My datagridview contains data from different text boxes , textboxes are getting data from different tables (eg with help forms in my application ) . Now i want to save this filled grid in database. for which i tried this :
Private Sub btnSave_Click(ByVal sender...
|
thread by: Stephen Obi |
last post Dec 7 '11 by: johny10151981
I need help converting the fallowing code to vb.net, or if any one knows where i can download LISP Interpreter (VB.NET)
Thanks
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
var DEBUG = 1;
|
thread by: jamesd0142 |
last post Dec 7 '11 by: jamesd0142
Apologies if this is not clear, I'm not 100% sure how to ask the question to start with.
On a web page there is a line that reads:
<div id="attack_alert" style="visibility:hidden;">
Now, if I open the web page up in web browser within my vb.net application.
|
thread by: glam rose |
last post Dec 7 '11 by: jamesd0142
I KEEP GETTING THIS ERROR
ListBox1 clear undeclared
please kindly look through my coding.
Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
Dim X As Integer
Dim Y As Integer
Dim multiplication As Integer
|
thread by: Rameez Mulla |
last post Dec 6 '11 by: Rameez Mulla
How do i set customize for dtpicker which i used in my project to "dd/mm/yyyy hh:mi:ss"
|
thread by: parag doshi |
last post Dec 2 '11 by: parag doshi
Hi Guys,
I am trying to use the fadeout effect using VB.NET & silverlight however it is gives error "Comma Expected" between "+="
Private Sub x_click(sender As Object, e As RoutedEventArgs) Handles x.Click
AddHandler HidePopup.Completed += New Event(AddressOf HidePopup_Completed)
HidePopup.Begin()
End Sub
...
|
| |
thread by: josh wood |
last post Dec 1 '11 by: josh wood
I have a program that looks up words in a dictionary. The dictionary is in the form of a text file with one word per line. I have tried If TextBox.Text.Contains(Dictionary.ReadLine()) Then
MsgBox("This contains a word", MsgBoxStyle.Information, "Info")
end if
however it only looks at the first line of the dictionary, not every line. Any...
|
thread by: Prathap |
last post Nov 30 '11 by: pod
I am a beginner in vb.net, i dont know how to delete datas from datagridview in vb.net.
|