20,284 Topics
| |
Hi, How can I detect new line from string. I tried Environment.NewLine but its not working. Initially I tried to replace it directly but it was not working after I tried to detect new line. Then I came to know that its not detecting new line. As temporary solution I … | |
I am hoping this is not inappropriate to do on here if it is I apologize in advance and will let the thread die a slow agonizing death. Here goes: I have a little TextBox app that's supposed to only allow numeric’s positive and negative and allow 2 decimal places. … | |
This my code in button click event. I want to add dynamic text boxes. It is focused to line no 7 and show "Object reference not set to an instance of an object." Dim txtBx() As TextBox Static x As Integer Static i As Integer x = x + 20 … | |
anyone can help me please! i have a problem in coding... i want to restrict some buttons of my form if the user is not a admin i already tried this code.. sql = "SELECT Position FROM tbllogin WHERE username = "txtUsername.text"" NewDataSet(sql) if .ds.Tables("a").Rows.Count= "Administrator" Then employeeFile.btnDelete.Enabled = True … | |
please everyone i want to know the advanced setiings between two forms. i want by database like Encarta software or others.that means when i click the first form i want to appear the second form only. so please help me. thank you. | |
Greetings, If i as for example have this: This is my main window Class MainWindow Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles Button1.Click Dim Other As New Window1 Other.Show() End Sub End Class This is the window that opens when button is clicked Public Class Window1 … | |
Hey, I want help guys ! I'm trying to create some kind of user control to be used as mdi container, I'm trying to create something like access form where you can create a subform within a form and then load another form into this subform. can anyone guide me … | |
I have a DBF file with 1400+ rows and 32 columns and I need to write this to an Access DB table. The Access table was created by modifying the original structure of the DBF table in which I removed 12 unnecessary columns. I have been successful at loading the … | |
Hi all, In the program I'm working on, I am making a form that submits data to an Access 2007 database. I can connect to the database fine and run a select query, but when I try an insert query I get an error: "statement contains the following unknown field … | |
Through using Visual Studio to learn more about ASP.net and VB.net I would like to connect to a database. I create an .mdf database file but I've no idea how to connect to it (well, I have some code below...) that's not my only problem but I'll ask the next … | |
still on adding controls at run time mr admin, i want to write a code that will add textboxes(TBs) at run such that the user have to enter the number of textboxes needed in an already existing TB and when a button is clicked, TBs will be added to the … | |
Hello im planning to make Barcoded ID in my system. I just dont know where to start. im also planning to buy a GENERIC Barcode reader but i dont know where to start coding. Note: Im still a student this is not for profit or anything :) Just exploring new … | |
Greetings, Id like to know what the actual differences is between WPF and Windows Forms.. When i compare those two it just seems like WPF has way more functions, such as using xaml aswell as the standard functions from Windows Forms, also seems to have many more feutures ? So … | |
Option Strict On Public Class Form1 Private Sub btnCalculate_Click(sender As System.Object, e As System.EventArgs) Handles btnCalculate.Click Dim strType As String Dim intYellow As Integer Dim intBlue As Integer Dim Price As Double strType = txtType.Text Integer.TryParse(txtYellow.Text, intYellow) Integer.TryParse(txtBlue.Text, intBlue) If strType.ToUpper = "R" Then If intYellow >= 1 AndAlso intYellow … | |
Here is a picture of a form. http://postimage.org/image/a813nony5/ Please help: I have a form with: - 4 textboxes (textbox 11,21,311 & 41) - 4 buttons (add, delete, save, refresh) - 1 DataGridView (MS Access database connected) - 1 filter to filter the data through DatagridView Here is the story: When … | |
I have this : How do i make it so when i enter 20% or a number like that into rateTextBox for it to calculate properly? Thanks Private Sub calcButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles calcButton.Click 'Declare the variables Dim Sales As Decimal Dim commissionRate As Decimal … | |
Hello, I'm making a application to use in college to retrieve my calendar and other things in VB.NET. But my college uses a proxy so when I connect my laptop I need to change the internet settings in my web browser to view web pages. Can anyone help me by … | |
Hi,i'm new to vb.net and asking to help me please? I have some rtf.resources files and want to looping over them so as to pick one of them and loading it into a richtextbox.thanks in anticipation | |
Ok i am saving my picture localy, each picture gets a unqiue number. This number is also saved in my sql database together with some other data. The jpg is saved localy in my project. What i am having troubles with is. When i am on my overview form, and … | |
> Quoted Text Here Hello Guys ... HOw's are you .. kindly guide mein about format of DateTimePicker where user can select date from calnender as wel as time also .. Thanks in advacne waiting for your reply ... TC | |
Dear all, I have developed a small application to my users in my company. I have almost finished that. I have designed the crystal report for each delivery challan they have entered and saved the application will ask about printing the current record. But the user wants to take the … | |
i am making a booking system and i am thinking how am i suppose to know if there is a conflicting time.. i want to add an Error message if the time is conflicting in other event help me please Example: Date Time Start Time End DEBUT September 18 5:00 … | |
How can i specifically setfocus a textbox column in datagridview? | |
can someone help me solve this problem...i can't solve it..this is for my final project report & i really need help from the expert one.... | |
I have a project in vb.net which i would like to create a program that a textbox will only allow alphabet,space and dots and it is in uppercase only.. no special character and numbers allowed. Thank you and God bless.. Hope to help me.. | |
I have a textbox has a maxlength of 18, e.g Textbox=ABC123456789012345 i want that the first 3 input must be letters only. | |
i have made a database in sql+. it has a database. there is a table project. its columns are p_id,p_name,p_manager. i have inserted 5 rows in above table. in d front end in vb6 i have a form . please help me with the code such that my p_id is … | |
hey friends,i need ur help.i need to knw how to insert or add a row to datagridview(using oledb) where the values inserted must be automatically updated in access database. thanks in advance... | |
how can i view record from my mysql database in datagridview and update or delete it? can you guys help me? please share your codes. thanks in advance. | |
Hi Guys, I have this problem which I encountered a while back in Java, and I worked through that at the time, however, know I'm using VB.net and am not really sure how to tackle this. I am trying to read a text file line by line, using the following … |
The End.