20,285 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 & "','" _ & … | |
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 … | |
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 … | |
objCommand.Connection = objConnection objCommand.CommandText = "UPDATE tblEnrollment" & _ "SET dateOfHIVDx = @dateOfHIVDx, " & _ "CD4CountAtDx = @CD4CountAtDx, " & _ "WHOStgAtDx = @WHOStgAtDx, " & _ "ptInitiatedART = @ptInitiatedART, " & _ "ARVRegimen = @ARVRegimen, " & _ "recentWHOStg = @recentWHOStg, " & _ "dateOfRecWHOStg = @dateOfRecWHOStg, " … | |
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 … | |
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 | |
how do you display information dynamically? | |
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 | |
how can i trap my textbox that allows numbers and letters only, no space no special characters e.g (,./;'[]-=\`<>?:"{}_+|~!@#$%^&*()) | |
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 … | |
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 … | |
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, … | |
"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. | |
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 … | |
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 … | |
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 … |
The End.