20,284 Topics

Member Avatar for
Member Avatar for Sahil89

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 …

Member Avatar for Sahil89
0
3K
Member Avatar for kRod

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. …

Member Avatar for kRod
0
2K
Member Avatar for weeraa

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 …

Member Avatar for Reverend Jim
0
286
Member Avatar for yumyam09

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 …

Member Avatar for Reverend Jim
0
108
Member Avatar for millionub40

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.

Member Avatar for Denden17
0
123
Member Avatar for fRodzet

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 …

Member Avatar for abelingaw
0
242
Member Avatar for ayat abukhadra

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 …

Member Avatar for ayat abukhadra
0
97
Member Avatar for themaj

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 …

Member Avatar for kRod
0
734
Member Avatar for cmstoner

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 …

Member Avatar for kRod
0
279
Member Avatar for BluePaper

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 …

Member Avatar for Reverend Jim
0
5K
Member Avatar for gabrielino

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 …

Member Avatar for Reverend Jim
0
181
Member Avatar for Denden17

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 …

Member Avatar for Denden17
0
114
Member Avatar for fRodzet

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 …

Member Avatar for fRodzet
0
207
Member Avatar for adam321

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 …

Member Avatar for G_Waddell
0
138
Member Avatar for bprosic

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 …

Member Avatar for bprosic
0
2K
Member Avatar for kcorj2244

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 …

Member Avatar for AndreRet
0
79
Member Avatar for lulemurfan

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 …

Member Avatar for ireshagun
0
256
Member Avatar for hadi.alshabany

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

Member Avatar for TnTinMN
0
43
Member Avatar for Sevyt

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 …

Member Avatar for Sevyt
0
135
Member Avatar for saleem.mukhtiar

> 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

Member Avatar for ShahanDev
0
116
Member Avatar for vijaycare

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 …

Member Avatar for ShahanDev
0
150
Member Avatar for Shodow

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 …

Member Avatar for G_Waddell
0
221
Member Avatar for brylle
Member Avatar for azyyati.sharifuddin

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....

Member Avatar for azyyati.sharifuddin
0
77
Member Avatar for dearjoy

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..

Member Avatar for ome2012
0
161
Member Avatar for brylle

I have a textbox has a maxlength of 18, e.g Textbox=ABC123456789012345 i want that the first 3 input must be letters only.

Member Avatar for brylle
0
201
Member Avatar for ss123456

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 …

Member Avatar for ss123456
0
248
Member Avatar for mohana_61

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...

Member Avatar for Denden17
0
171
Member Avatar for jayrbete

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.

Member Avatar for brylle
0
273
Member Avatar for cloudynight

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 …

Member Avatar for TnTinMN
0
359

The End.