20,285 Topics

Member Avatar for
Member Avatar for adamrpostjr

Alright so im creating a visual os in vb 2010 and im creating a resgistration form.. the problem is i only want the registration form to only show the first time that they start the program and not everysingle time they open the program.. and i also want the for …

Member Avatar for Reverend Jim
0
119
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
307
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
110
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
126
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
244
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
100
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
746
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
281
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
184
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
116
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
211
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
139
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
81
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
262
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
46
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
137
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
117
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
152
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
222
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
81
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
164
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
202
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
256
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
172
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
280
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
364
Member Avatar for kjk86

What I'm trying to do is take a source file and only pull specific lines out and display those lines to a label/textbox/etc. What's happening is I am able to pull the first line, however my loop is terminating and I do not receive the rest of the results. Here …

Member Avatar for TnTinMN
0
391
Member Avatar for bluehangook629

Hello again my friends, I am trying to figure out how to code a function which will pause the system until the user presses the key. I did some googling and I was able to find this function called getch() for c++ but no luck for vb.net. Is there a …

Member Avatar for Rango1239_2
0
1K
Member Avatar for testname123

Ok, this is a little hard to explain, i basically am making a miniature operating system and there is a notepad feature. I am allowing a save in this operating system. I have a hidden button on the mainscreen than shows itself when the save is clicked on the notepad …

Member Avatar for testname123
0
152
Member Avatar for hhm_pro992

Private Sub cmddelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmddelete.Click If Not acsconn.State = ConnectionState.Open Then acsconn.Open() End If 'sql statements strSQL = "DELECT * FROM Table1 ([Item Code], [Item], [Sale Price], [Purchase Price]) values ('" _ & txtid.Text & "','" _ & txtname.Text & "','" _ & …

Member Avatar for hhm_pro992
0
242
Member Avatar for Jayme65

I have an XML file structured this way: <Emulators> <Settings> <vol name="10"/> <Volume>10</Volume> <Keys name="key1" value="1" /> <Keys name="key2" value="2" /> <Keys name="key3" value="3" /> <Keys name="key4" value="4" /> </Settings> <System> <Name>name1</Name> <Icon>name1.png</Icon> <topplayed> <Top>top1</Top> <Top>top2</Top> <Top>top3</Top> </topplayed> </System> <System> <Name>name2</Name> <Icon>name2.png</Icon> <topplayed> <Top>top4</Top> <Top>top5</Top> <Top>top6</Top> </topplayed> </System> </Emulators> I …

0
76
Member Avatar for Stuugie

Hi all, can someone tell me where the path is for the images used in folders. I'm making an interface right now and I need access to the images like the "Open file" image (or an image of a file). I know that I can use the interwebs to find …

Member Avatar for Stuugie
0
107
Member Avatar for Codaholic

objCommand.Connection = objConnection objCommand.CommandText = "UPDATE tblEnrollment" & _ "SET dateOfHIVDx = @dateOfHIVDx, " & _ "CD4CountAtDx = @CD4CountAtDx, " & _ "WHOStgAtDx = @WHOStgAtDx, " & _ "ptInitiatedART = @ptInitiatedART, " & _ "ARVRegimen = @ARVRegimen, " & _ "recentWHOStg = @recentWHOStg, " & _ "dateOfRecWHOStg = @dateOfRecWHOStg, " …

Member Avatar for Codaholic
0
151
Member Avatar for Dili1234

I have placed a button controls in center the mdi. But when I an opening a child forms, the forms appears below the button Please help ? I Used this coding but it didn't work.............. Private Sub MDIFORM_MdiChildActivate(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.MdiChildActivate Dim cnt As …

Member Avatar for nmaillet
0
187
Member Avatar for waheeba

hi every body I made datagridviewcheckedbox in datagrid ,I want to know if all checkbox column is checked to sent messagebox to user .you must checked in datagrid checkedbox best regards

Member Avatar for G_Waddell
0
84
Member Avatar for dhameergovind
Member Avatar for Denden17

Hi guyz. have you work on on this project/app . i want to add this feature on my system but im lacking of knowledge on it. If only i have the reference for it. Or Example project. Hoping someone will share . TIA :) Like this output. http://www.codeproject.com/Articles/148500/Event-Calendar-for-an-ASP-NET-MVC-Application

Member Avatar for Denden17
0
65
Member Avatar for brylle

how can i trap my textbox that allows numbers and letters only, no space no special characters e.g (,./;'[]-=\`<>?:"{}_+|~!@#$%^&*())

Member Avatar for TnTinMN
0
103
Member Avatar for testname123

Can someone please tell me how to control a windows form from another form? I have one form (form2) which has a button. When this button is clicked, I need my other form (Form1) to hide a button. I know all the code except for how to make form2 access …

Member Avatar for testname123
0
1K
Member Avatar for bcd16

Hello, i need your help. Does anybody knows the code for automatically records who logged in and the other users cannot edit what they have inputed, only the datas they input can be edited? i have the log in form already, and the database as well. the only problem is …

Member Avatar for bcd16
0
281
Member Avatar for Gus_19

New to .net and programming in general. With help from a friend, I just finished my first program, but with one somewhat small issue. Currently, I have a Winform for the user to enter data into. The form is divided up into 4 tabs. When the user finishes entering data, …

Member Avatar for Reverend Jim
0
151
Member Avatar for HibaPro

"SqlDbType.Time overflow. Value '3.00:00:00' is out of range. Must be between 00:00:00.0000000 and 23:59:59.9999999." Does anyone know what is the problem.

Member Avatar for G_Waddell
0
188
Member Avatar for kipslem

Hi All, I have intermediate knowledge in VB.Net coding. I have searched the web to find help with my issue but to no avail. I mean I can't find one that is helpful though there are some in Web based applications. I have an urgent issue where I want to …

Member Avatar for G_Waddell
0
684
Member Avatar for carlos.barros.71

Well, i have a problem and i think you guys maybe can help me. Every time i try to create a form bordless with a image, the image border will always stay weird, something like a "No Anti-Aliasing" thinging. http://s10.postimage.org/n3uehx553/Capture.png To make this i only set the background image to …

Member Avatar for poojavb
0
200
Member Avatar for JohnKelly

Hi all I need to be able to drag and drop multiple files from Outlook into my vb.net application. Using e.data.GetData("FileGroupDescriptor") I can read using an IO.Stream the FileGroupDescriptor and detect the names of the files being dropped. If I then use e.data.GetData("FileContents") using a IO.MemoryStream I can detecty the …

Member Avatar for JohnKelly
0
1K

The End.