20,285 Topics
![]() | |
i m creating one project in vb.net i m taking database msaccess. i m able to insert update delete when i m taking single table.but i m facing problem with multiple tables which is related to each other how to define the relationship between tables in dataset and how to … | |
This is such a basic question, I'm almost embarassed to ask it. How do I loop through seleted rows in a DataGridView and remove the rows? I've tried this, but it doesn't work. After one row is removed, the index is all screwed up... [CODE] iIndex = dgvRecipe.Rows.GetNextRow(-1, DataGridViewElementStates.Selected) While … | |
Hello! I'm still on my long run of selfteaching... My current problem is this: I have a form and I have in it three textboxes, 1 button and 1 datagridview; I also have an access database. I can retrieve the data from the dtabase and add it to the datagridview. … | |
I'm using Datagridview in Windows application in C#. I've bound the datagridview with a table.Now on run time when the user inserts new row and presses up or down button,that row should automatically be inserted into database and if its not a new row then nothing should happen. Some1 suggested … | |
Hi, How the content of richtextbox set vertically align. I am displaying the Question and answer in Richtextbox in some question or option the content contain the math type equation or image in that case the equation showing in top align while the option showing below . I am attaching … | |
I am using this code to to generate a crystal report from aa sql string that i construct using a supplied table name and some column names in txtSQL.This code contains functionality to export to ms word.However when the save dialog comes up and the user enters the intended filename.and … | |
Hi, I am developing an windows application in vb.net. in this project i want to set the Richtextbox height according to the content in that richtextbox. For this i want to call the Richtextbox textchanged event on button click Here is my code but i got error on button click … | |
Hey, I'm trying to make it so when my program is started, a text box ("log") automatically says: "Placeholder1" *1 sec delay "Placeholder2" *1 sec delay "Placeholder3" I have set the text box to say "Placeholder1" using properties but I am having problems coding the rest. I know this may … | |
Hi, I'm making a simple utility for browsing an intra-net site using VB.net webbrowser and for reasons outside my control, everything requires a passcode to be accessed. So, for example, [CODE]Index.html[/CODE] is blocked by the company server but [CODE]Index.html?pass=123456[/CODE] is allowed. Is there a way to get the web browser … | |
I am new to Visual Basic I'm a student and im working on a payroll calculator program I got it to where it will display user input now i have to get it to calculate pay based on which radio button is selected im doing this one at a time … | |
[CODE]Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.Navigate("http://examplesite.com/") End Sub Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted getItems(WebBrowser1.Document.Body.InnerHtml.Split(vbCrLf),) End Sub Private Sub getItems(ByVal arLines() As String, ByVal selectedListBox As ListBox) selectedListBox.Items.Clear() '// Clear in case the webpage … | |
Hey, so I'm creating a program that creates a SHA512 hash. I have a problem though. I try to encrypt the word 'test' and I get this encrypted hash as: ?&??J??I???? ???a??w.G????? ?z???????O????{72??_???oW? Which isn't a SHA512 hash. Here is my code so far, maybe you can help me. [CODE=VB.Net] … ![]() | |
Hello everyone, My company uses control numbers to keep track of all of our inventory for every product that is entered into our warehouse. (ex. G123456789, T987654321) 1st Alphabet followed by 9 digits of numbers. Most of the time, these control numbers are scanned into the system by using a … | |
WHAT I WANT FROM THE FOLLOWING CODE IS THAT IF CONNECTION IS OPEN THEN SWITCH USER TO LOGIN FORM IF CONNECTION IS FAIL TO OPEN THEN SEND USER TO CONFIGURATION FORM WHERE THE NEW PATH FOR DATABASE CAN BE DEFINED. IN THE FOLLWING CODE IF I REMOVE THE DATABASE FROM … ![]() | |
Hi to any an d all that read this thread. I have a VB.NET App that creates forms from a template. I am having problems getting them to communicate with each other. Is it possible to send data from one textbox in the first instance to the same textbox in … | |
How to make the form size automatic setting the size equals to the screen. or Maximize the whole form including the form components. | |
Hi I Have a form that contains around 30 Labels and 30 Pictureboxes. I have a piece of code that on form load that steps through the labels and changes the text to a file name from a directory. This all works fairly well however: I need to be able … | |
Dear Freinds I want that when i save combobox value it take starting two characters only from textbox and save it | |
Hello all. I've had many problems solved for me by daniweb users without ever even joining. Now, though, I've run into a problem that I can't seem to solve. It feels like a very stupid problem that will probably have an easy answer, but alas I have not found it … | |
I'm working on a project in vb.net 2010 that has 3 RichTextBoxes. Two of the RichTextBoxes can be loaded with text from text files. How do I take the multiple lines of text from each RichTextBox and combine them into the 3rd RichTextBox. For example, if 2 of the RichTextBoxes … | |
This is the code I have to validate control number that we use to keep track of our inventory. However, I dont know much about Access so I have written and tested this function in VB.Net on Visual Studio. Now, I need to convert my code so it work in … | |
Ihave been working on database but Though iam able to create But Cannot Write in data base.. [CODE] Dim ADOXcatalog As New ADOX.Catalog Dim ADOXtable As New ADOX.Table Dim ADOXindex As New ADOX.Index On Error GoTo errhandler ADOXcatalog.Create("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & "c:\info.mdb") On Error Resume Next ADOXcatalog.ActiveConnection = _ "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" … | |
Hello! Is there Any way to Attach Files ... Like A button on form Which When Clicked open a dialog to select Word Files from computer then it Uploads to the Server or Attach it to Database so that It can be viewd after form fill up Is completed!... | |
I have a Crystal Report that shows images using a SQL Database with the image paths When viewing the images in a report everything is fine untill you get to a page in the report when the error pops up [B](Request could not be submitted for background processing)[/B]. The image … | |
Hi, in my project I need to allow the user (admin user) to have the ability to run custom queries on the database. Ive done this pretty simply whwer the user enters their query and the reults are set to a datagridview. It would also be great however to allow … | |
This filtering concerns of mine have been bothering me. I hope you guys will not get irritated because I have another one. My client wants that my table be filtered based on the values from a field regardless of its order. Example: I want to search for a student whose … | |
Hi I dont have a huge wealth of experince with SQL statements and im struggling; i have two tables table one holds employee data table two holds payent histroy for employee so essentially a 1 to many relationship I would like to list all of the job titles(for which there … | |
Hello. Sorry if you find this not interesting. My project is to create a cash register for a cafe. It has the features like in the pic. It also has a record sales staff can see in datagrid view. The table can be filtered to find specific item. It also … | |
Good day everyone! I have a problem with the filtering part of my application. I am already using this code; Tablebindingsource.filter = "Prereq Like '" & textbox.text & "%'" it searches for values from Table whose Prereq value = textbox.text. My concern is, how about if there are several items … | |
![]() | Hopefully someone searches this one day and it becomes useful. I never found anything. Below is the vb syntax for combining numbers in the same memory address. [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim LngWord As Long = LngMakeWord(Integer.MaxValue, 65489) Dim LoLng As … |
Hello! Yes, This is my first post. And it might seem a little selfish that i just joined to ask a question, so don't worry, i'm not gonna ask and run, i'll stick around. So my problem, what im trying to do is using regex i'm pulling information from a … | |
Hello All, I need to create a new DateTimePicker control supporting the Hijri and Hebrew calendars I tried the DateTimePicker on "windows server 2008" and it was working very fine without any code change for Hijri and Hebrew calendars but on "windows XP" it works only with Grgorian calendar so … | |
Hello! Anyone could tell me how to set the limit of a certain column to accept 10 the same inputs only. I have a table named Date and I want to limit its content for the same inputs to 10 only cause 10 person only can have the same date. … | |
Hello, I have just started using databases, but I am totally stuck. I made a database and table using MS Access. The table has three columns. ID, Code, and Letter. Basically, the Code column stores a number for each letter (eg. 1 = A, 2 = B, 3 = C, … | |
hi friends i m using datetimepicker for date, i want whenever the month in date is 3,4 etc. then combobox should add the month in words ie. march,april etc. automitically. for eg. if todays date is 16-1-2011 then combobox should add item jan only or if already added 12th month … | |
hav developed an application using vb.net 2005. i want to create an asp.net form which if i click a button on the asp.net form, i launch the login form for the vb.net application. i dont have any idea. please help. | |
i'm using checklistbox, i want to display data from sql database in checklistbox with check when particular id number inputted in textbox. Please Help...I'm new with visual basic... thanks.. | |
Hello members of CodeProject, I have a project, a database with employee information (name, town, birthday, HireDate, etc). I have add custom TextBox (on fly), and on that TextBox a code: [CODE]TexBox1.text = DateDiff("d", HireDateDateTimePicker.value, Now) [/CODE] which is calculating how many days worker is working in company from HireDate, … | |
hi friends... i want to link a buuton to an html page. i knx there is its control in the toolbox bt i don't know how to use it.. need help plzz | |
I have created one application which have one mdi parent foem and after that i have designed 3 more forms. now from solution wxplorer whenever i click in mdi parent form i doesont show its design pane.. how can i see the design view of mdi parent form. | |
I have a data in list at vb.net and i want export to Excell. I have tried the code from Jx_man in thread "Export Data from listbox to Excel" , but it can't worked. Dim MsExcel As Excel.Application ---> Error Statement is not valid in a namespace I use Microsoft … | |
Hi All First time I've posted but have done lots of reading on here as it's an amazing resource. I am busy writing a program that is going to read data from 2 serial devices. One being a scale and the other being a "load testing" machine. Currently im working … | |
Hi All, Hope evryone is well. I have a program I have created for booking out conference rooms, I want to code a print button so the user can print the booking they have created on the booking form. I have been stuck on this for about a week and … | |
I've noticed running in a PE environment and seeing the "Nerd Herd" MRI software, I was wondering if anyone can tell me now to recreate this using VB.NET. I want to show the system info over the background if possible. You can see an example at this address [URL="http://maddtechwf.com/gsmri.jpg"]here[/URL]. | |
i have a problem while updating specific records in datagridview.. i want to update specific records on my datagridview.. but only the first records are updating.. LVLStat name of column Sections name of table [code] Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Try ds.Tables(0).Rows(0).Item("LVLStat") = … | |
Hello Everyone, I'm still new at programming, and im having problems with the project i was assign, so im supposed to make like a retail store POS, where i look for the articule and add how much did they take and the price. [B]SORRY IF ITS IN SPANISH[/B] So this … | |
Dear Experts. I have a DLL , written in VB.Net. This DLL has a below Function: [code] [COLOR="red"]Public Shared Function CreateApplication(ByVal aobj As Object) As Object[/COLOR] [/code] When i Try to call this function by exe application with below routin i get "Parameters count mismach" Error. [code] Public Function loadDllAndRunMethod(ByVal … | |
Does anyone know how to send a message to another computer in my companys network using visual studio 2008...I would like to be able to list all the computer names on the network and select certain ones and send them a message that would pop up on their screen PLEASE … | |
Hi Everyone, I'm looking at using ews to move new emails to a sub folder and download attachments to a network drive. I was wondering if anyone had any experience with this particually using VB.net but all and any advice, tips and ideas would be gratefully recieved. Thanks in advance … | |
Hi guys, can you pls help me what is the vb code in retrieving my data in the database? my code is this. [CODE] Dim SandLine As String SandLine = txt1S.Text & "," & txt2S.Text & "," & txt3S.Text _ & "," & txt4S.Text & "," & txt5S.Text & "," … |
The End.