Click here to Skip to main content
Page 1 of 26
Page Size: 10 · 25 · 50


Tag filtered by:  VB8.0 [x]
Answer 13 May 2013   license: CPOL
This is an example of what you might do:Dim buttonList As New List(Of Button)()buttonList.Add("add your buttons from the page here or if you create them dynamically do it for each one");For i As Integer = 0 To buttonList.Capacity Then Dim btn As New Button ...
Answer 13 May 2013   license: CPOL
If I understand the question correctly I guess he already created the buttons in the designer. In this case you can change the text property of each button with the following code: Dim ButtonCount As Integer = 1 For Each c As Control In Me.Controls If TypeOf c...
Answer 12 May 2013   license: CPOL
Omkaara wrote:I'am using VS 2005, 2.0. Framework Linq is not available in VS 2005.If you cannot use .NET Framework of the versions above v.2.0, you will have to use other means of working with XML and develop the search by yourself. Please see my short overview:XML Read/Write:Use...
Answer 12 May 2013   license: CPOL
Please see:http://msdn.microsoft.com/en-us/library/bb387065.aspx[^],http://msdn.microsoft.com/en-us/library/bb387063.aspx[^],http://msdn.microsoft.com/en-us/library/system.xml.linq.xdocument.aspx[^].—SA
Question 12 May 2013   license: CPOL
how to search a particualr field in xml via vb.netplsss helpbelow is my xml file 1 dfgdfg dfgdfg ...
Catalog 12 May 2013   license: Commercial
Unsurpassed Documentation Comment generation and updating for C#, Visual Basic, C++/CLI, C++, C, Java and UnrealScript code. Keep your comments readable and in sync with the code with a minimum of effort. Plus other coding utilities.
Question 9 May 2013   license: CPOL
How do i print the text box and labels in a form to a doc or text file using codewithout writing 1000 lines of codeIN .NET LANGUAGENote:The solution 1 posted below is not for .Net u will have to make little changes. eg dim while declaration of variables
Answer 9 May 2013   license: CPOL
To text is very easy, use File.WriteAllText(). In VB, use & for concatenating or use a StringBuilder.
Answer 9 May 2013   license: CPOL
Hello!I'll say you for .txt files (text files). I brlive for .doc is the same.string fromLabel;string fromTB;string Path = @"C:\Users\Administrator\"; //Write the path herevoid FileWrite(string TextHere, string path){ string line = TextHere; System.IO.StreamWriter...
Answer 5 May 2013   license: CPOL
You can password protect the entire database, or you can do what you should and encrypt the passwords so that they aren't stored clear text. Its best to use a one-way encryption and compare the encrypted data to each other, that way you know that the data can't be decrypted. I don't believe you...
Answer 5 May 2013   license: CPOL
See this pattern:^*([A-Z]{2,3}\-[0-9]{4}).*Tested on Rad Software Regex Designer[^] and this set of records:MH-9940NH-1940AGV-9Az0FG-5940MZ-92X0AHV-9930with IgnorePatternWhiteSpace and Mulitline set to TRUE.Returns:MH-9940NH-1940FG-5940AHV-9930Is that what...
Question 5 May 2013   license: CPOL
i have 5 tables in my access database i wish to make my login table password protected since its goin to contain user name and passwordalso what should i do so no error happen when i am opening connection and inserting new datamy front end in vb.net 8
Answer 5 May 2013   license: CPOL
Try this: ^[A-Z]{2,3}-\d{4}$For testing an learning purposes I suggest you download Regex Coach[^].
Answer 5 May 2013   license: CPOL
Regular expressions can be extremely complicated to explain, the easiest by far is to use fome editor like:Expresso - A Tool for Building and Testing Regular Expressions[^]
Question 5 May 2013   license: CPOL
i wish to check for this format similar to this MH-9940 how do i customize regular expression to check if first 2-3 letters are capital from a-z then there should be hyphen followed by four digits from 0-9link to good explanation about regular expression will also be helpful here is by...
Catalog 2 May 2013   license: Commercial
Help authoring tool. Create CHM help files, manuals in PDF, Web help, RTF files, QtHelp, JavaHelp, EPUB and MOBI and even publish to WordPress. WYSIWYG editor with spellchecker and styles. Screenshot capture and image editor.
Question 1 May 2013   license: CPOL
hi there...how to set text in textbox automatically?for example:if textbox1.text = "shutdown" then textbox2.text = "ok shutting down"end ifbut even though shutdown is indicated in tectbox1.text, textbox2.text does'nt indicate the phrase "ok shutting down"here is my...
Answer 1 May 2013   license: CPOL
By setting it!In your sample, you do not set the text property, you just test it for a specific value:If receiveRT.Text = "Shutdown" Or "shutdown" Then If SendRT.Text = "Shutting Down" Then
Answer 1 May 2013   license: CPOL
Not really. I looked into this a long time ago (in a different context). You can't really get the signal strength with most blue tooth drivers or get the distance in an accurate enough fashion even if you could. I was experimenting with indoor navigation systems using WiFi RSSI signal strengths...
Question 1 May 2013   license: CPOL
I was wondering if there was a way to determine a wireless mouse's distance from the computer via its dongle?I feel there should be since the mouse and its dongle communicate and there would be a difference in the time {however small} it takes depending on where the mouse is. It should be...
Article 30 Apr 2013   license: CPOL
If you want to measure something on the screen, here is a utility.
Article 26 Apr 2013   license: MIT
Reflexil is an assembly editor and runs as a plug-in for Reflector or JustDecompile. Reflexil is able to manipulate IL code and save the modified assemblies to disk. Reflexil also supports "on-the-fly" C#/VB.NET code injection.
Answer 26 Apr 2013   license: CPOL
Thanks ThePhantomVoter. But why was such an old thread resurrected as new?
Answer 25 Apr 2013   license: CPOL
AJAX stands for (A)syncronous (J)avascript (a)nd (X)ml. Windows applications have other better ways to communicate. Of course they can make use of AJAX by using browser control but that would be like loading a web browser into the Windows Application.
Answer 22 Apr 2013   license: CPOL
This will show you how to query the database,http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/e4344a25-93e5-40d4-a97d-c5ee0b573577/[^]And this will show you how to bind the results to your combo box,http://vb.net-informations.com/dataset/bind-combobox.htm[^]
Question 22 Apr 2013   license: CPOL
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged Dim str As String str = "Select Datee From Schedules Where BusID = '" + ComboBox1.SelectedValue + "' " con.Open() End...
Answer 19 Apr 2013   license: CPOL
It's hard to give good advice when you don't post the code you are currently using to fill the text of the label. If your database stores first, middle, and last names seperately then when you put the text in the label, include a newline after the middle name. Then a tab and/or the number of...
Question 19 Apr 2013   license: CPOL
http://i.stack.imgur.com/YlIrR...
Question 18 Apr 2013   license: CPOL
Where am i going wrong everything looks finePrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click con.Open() Str = "insert into PassengerDetails(BusID,PName,RouteName,Age,Sex,Date,Time)values('" +...
Answer 18 Apr 2013   license: CPOL
the sex variable is set incorrectly... it makes a error, this happen to me before...try to define it : sex = ComboBox2.Text
Answer 18 Apr 2013   license: CPOL
You may view your pdf file with the aid of download pdf repair and recoveryhttp://www.pdf.repairtoolboxx.com
Answer 17 Apr 2013   license: CPOL
Adaption of pdoxtrader's codePublic Function BusIdExists(ByVal busid As String) As Boolean Dim thisSql As String = "SELECT Count(*) FROM [yourtable] WHERE busid=@busid" Dim rowCount As Integer ' Get the list of rows with that busid Using conn As New...
Answer 17 Apr 2013   license: CPOL
You could use this function:Public Function BusIdExists(ByVal busid As String) As Boolean Dim theTable As DataTable = New DataTable() Dim thisSql As String = "" ' Prepare our select statement thisSql = "SELECT [some_colume_name] FROM [" & yourdatabase...
Answer 17 Apr 2013   license: CPOL
I wouldn't do that at all if I wanted that functionality. I would use a toolstrip instead of a button. You can float them anywhere on your form, and make them transparent. You can set up a number of buttons, and hide the button with the image you want to remove, and show the button with the one...
Question 17 Apr 2013   license: CPOL
how do i change the color of the button by adding a different image from image listButton1.Image=ImageList1.Images[1] 'getting error value of type system.windows.form.imagelist1.imagecollection can not be converted in system.drawing.imagei need the button color(image) should change...
Question 16 Apr 2013   license: CPOL
eg i need to check if busid =5 already exist in the table or not how do i extract data of all the busid field from the database to compare it with the new input i just entered for busid (so that busid is not repeated in the db)
Question 15 Apr 2013   license: CPOL
How to update intelliSense in Visual Studio 2005 ?Can I update free intelliSense in Visual Studio 2005 like Visual Studio 2012 ?AndHow ?
Answer 15 Apr 2013   license: CPOL
You will not be able to update 2005 intellisense to 2012.This request does not even make sense. VS 2005 cannot compile 4.0 code and updating intellisense could be disastrous.
Answer 13 Apr 2013   license: CPOL
The very same way to did it the first time you populated the grid. Connect to the database, query for the data, and bind the grid to it!
Question 13 Apr 2013   license: CPOL
After inputting data to the database ,what coding should i use to see the changes in the datagridview at runtime .I am using Vb8 with access2003How do i refresh the data grid view to show the newly inserted record without exiting the program
Answer 12 Apr 2013   license: CPOL
Hello, looks like you could do a couple things. Restructure the user control to Inherit from TextBox and override the standard events... or add an Event for TxtN_LostFocus to your Number2 class and raise that event from the txtN_LostFocus1 method like you are with the TxtN_TextChanged event and...
Answer 11 Apr 2013   license: CPOL
Have a look at your function:Private Function FindItem(ByVal LV As ListView, ByVal TextToFind As String) As Integer ' Loop through LV’s ListViewItems. For i As Integer = 0 To LV.Items.Count - 1 If Trim(LV.Items(i).Text) = Trim(TextToFind) Then ' If found, return...
Question 11 Apr 2013   license: CPOL
for searching The data in listview I using : 2 Textbox, 1 button and 1 listview.I need search more than 1 item, because i have same name and same value in my listview Columns. This code just can search 1 item:Private Sub btnSearch_Click(ByVal sender As System.Object, ByVal e As...
Article 6 Apr 2013   license: CPOL
TrackBar with custom coloring, value display, label, and increment buttons.
Catalog 29 Mar 2013   license: Commercial
Develop Windows shell extensions including context menu, property sheet, infotip, thumbnail, icon, overlay icon, drag-drop extensions, etc with EZShellExtensions.Net. Also supported are Active Directory extensions and IE toolbands and horizontal/vertical explorer bars.
Article 26 Mar 2013   license: CPL
How to create an animating glass button using only GDI+ (and not using WPF)
Answer 26 Mar 2013   license: CPOL
You should never use PictureBox for anything dynamic, interactive, animated, etc. It's possible, but makes no sense at all. It's pretty apparent that to do instead. Please see my past answers:How do I clear a panel from old drawing[^],draw a rectangle in C#[^],Append a picture within...
Question 21 Mar 2013   license: CPOL
i created a user control to accept only Numerical Digits.I used this control on my form to calculate total of 2 numbersi entered some values in both controls. only values are showing in user controls (ex 10, 20)but iam not getting the total. and i put BreakPoint in LostFocus event.but it...
Answer 21 Mar 2013   license: CPOL
You got some right ideas, but heavily messed up things. You probably intended to introduce the property txtNtext, but you did not make it public or internal, and did not use. Instead, you use txtN1.Text. If txtN1 is of the type Number2, it's not clear where it the property Text, you don't show...
Question 21 Mar 2013   license: CPOL
i created a user control to accept only Numerical Digits.I used this control on my form to calculate total of 2 numbersi entered some values in both controls. digits are showing (ex 10, 20)but iam not getting the total. why & what to do.i had written the following code in my...

Page 1 of 26
1 2 3 4 5 6 7 8 9 10


Advertise | Privacy | Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid