20,278 Topics

Member Avatar for
Member Avatar for guente

I have two forms "Sales" and "PurCh". The datagridview in the Sales form is being populated by a stored procedure that is carried out when the form loads and it works perfectly. But the datagridview from the "PurCh" form has refused to populate when the form loads. I initially thought …

Member Avatar for guente
0
979
Member Avatar for pratik65

im trying to put an image in the background of my form so that it cptures full screen n i donno how to dp that. my code is follows: Me.BackgroundImage = System.Drawing.Image.FromFile("school.jpg")

Member Avatar for abhi159
0
24K
Member Avatar for Dili1234

When tried to update the data I got this error "incorrect syntax near '4' Unclosed quotation mark after the character string" Can someone fixed this error Public Sub Save() Dim indate As Date = DateTimePicker1.Value.Date If String.IsNullOrEmpty(TextBox1.Text) Or String.IsNullOrEmpty(TextBox2.Text) Then 'Show your message here MsgBox("Please fill all Data") Else 'Show …

Member Avatar for Dili1234
0
214
Member Avatar for dante adonai
Member Avatar for nerden

In the new versions of server 2008+ MS have added an "Application and Services" folder to Event Viewer, I dont seem to be able to programaticaly access any logs in here, My Code: Dim strValue As String Dim objLogs() As EventLog Dim Logname As String = "Microsoft-Windows-Backup" Dim objEntry As …

Member Avatar for nerden
0
2K
Member Avatar for kazekagerandy

hello! im working on a reservation system and im lacking in knowledge about how to use controls properly. the application aims to show reservations made in a month. to visualize everything, the application must look like this: http://www.planet-source-code.com/Upload_PSC/ScreenShots/PIC200661517432753.JPG all ive found from the internet are downloadable, customized components. my question …

Member Avatar for kazekagerandy
0
335
Member Avatar for ricardo.scheufele

Hi, I´m not posting any code - nothing extraordinary - because it is huge and I think a more general reply would be more helpfull for this kind of situation. I have an object binded to the "Text" property of a textbox and its default-constructor value is "9" . When …

Member Avatar for tinstaafl
0
858
Member Avatar for mleonard

I'm having trouble understanding how to update a PDF file in a FileTable using SqlFileStream and am hoping someone here can help. I think I just need an overview of how this is accomplished. In my forms application I'm retrieving the PDF with READ access and displaying it in a …

Member Avatar for Reverend Jim
0
211
Member Avatar for wesh09

The main issue is that vb net does not pass \ sign into my sql for saving so just trick it to replace the single "\" with double "\\" this will eliminate only one "\" while saving e.g the text box will display d:\\images\\image1.jpeg but mysql table will save it …

Member Avatar for Begginnerdev
0
198
Member Avatar for Neyney1975

Hello Everyone, I'm extremely new to programming in Visual Basic and I have a programming exercise which I need help with. I have a textbox and a label on a form. The objective of the program is for the label to update with any text typed into the textbox as …

Member Avatar for Neyney1975
0
2K
Member Avatar for guente

Please im having a syntax error in my code. Please Help When i click on the add button it give me syntax error in query expression "order Id" blah bla Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click Dim cmd As New OleDb.OleDbCommand If con.State = …

Member Avatar for Reverend Jim
0
254
Member Avatar for GeekPlease

Good day folks, I just wanna ask what event should I used to detect when a form is closed unexpectedly. I want to update the Log In status of a user in my database from 'Logged In' to 'Log Out' whenever a form closes the form unexpectedly or not. Example, …

Member Avatar for Rahul47
0
256
Member Avatar for carl3399

Hello, I would like to make a program which stores its settings in a file, which it then reads out back. I've already tried a code, but it crashed "No Premissions to Write" I tried on my Desktop, C:/ and on mine external HDD I tried this code:`My.Computer.FileSystem.WriteAllText("C:\TestFolder1\test.txt", "This is …

Member Avatar for DM Galaxy
0
174
Member Avatar for Ahmed.C

Hi. I'm actually making this very basic password manager and it has 2 listboxes and when i click the Add button it adds the name on the 1st listbox and all the rest on the 2nd listbox. The problem is that when i make more items in the first listbox …

Member Avatar for Ahmed.C
0
246
Member Avatar for Passoword!!

I have a text file which contains the data of an image (path, latitude and longitude). the textfile is place in a listview and the data in textfile is place in textboxes. if i click one item in listview then click save. it will create an image containing the data …

Member Avatar for Begginnerdev
0
726
Member Avatar for lexaeterna

good day everyone! i am currently working for an information kiosk, all the data needed to be displayed is in an existing database. to avoid data tamper, since the system is a network based one, data migration is needed. so my question is, is there any codes or sample projects …

Member Avatar for Begginnerdev
0
157
Member Avatar for nashy13

Ex. You have a file in excel. In excel file they have 3 Rectangles namely Rectangle 1, 2 and 3. Then in my program I open that file, then I want to add text inside the Rectangle. Thanks!

Member Avatar for nashy13
0
476
Member Avatar for Ahmed.C

So i've been working on this little program which is meant to detect internal or external harddrives and show file sizes etc. All that is fine but the problem is that if i take the program to another computer and run it it shows "E:\" in the combobox when it's …

Member Avatar for tinstaafl
0
203
Member Avatar for intes2010

My code works it does extract links, but these links are not what i expected to be extracted. My program would extract links inside the <a href tag which contains a specific word which i can set manually. Here is my complete code: Private Sub Button1_Click(sender As Object, e As …

Member Avatar for Begginnerdev
0
495
Member Avatar for xHubesekesx

Im trying to create a Log in system, Using VB.net 2010, im having a hard time creating a query for the username and password, and also how to make it case sensitive. please help me,...thanks.

Member Avatar for Begginnerdev
0
930
Member Avatar for shashikumar s g

hi guys , i am buliding the application using vb.net vs2010 ,mysql server workbench 5.2 . it works fine about the database connection and inserting and all sql operation with the mysql but now the problem is that unable to make the crystal report using that mysql it not supporting …

Member Avatar for Begginnerdev
0
885
Member Avatar for nosfa

I get error #91 at line 114 (Object reference not set to an instance of an object). What do I need to do to correct that. (I get the error either pre-declaring X or as it is now) Thanks Dim iterAAA As Single = 1 54: 55: Dim arraydciP(3) As …

Member Avatar for Begginnerdev
0
364
Member Avatar for guente

I have a project I currently working on. It's a management system that has forms for Sales, purchases and deaths(poultry birds). I place a menu strip on the main form and every thing seems to be right. But when try to load the purchase form, it doesn't load. I said …

Member Avatar for guente
0
2K
Member Avatar for lwin

Hello, I have one DateTimePicker and two textbox (txtHour and txtMinute) I want insert the value of datetimepicker (date) and textbox (hour and minute from two different textbox) to DateTime data type on my table, example: 2013-08-28 12:30:00 PM --> the value of 12 got from txtHour, the value of …

Member Avatar for Hazuan Nazri
0
1K
Member Avatar for razree

Hi all, I'm struggling with a simple little program which I would use for a test to (for example) sell footbal tickets. So I have a for on which user selects a game from combobox (combobox populates from text file) and number of tickets in a numericupdown field. On "Save" …

Member Avatar for razree
0
178
Member Avatar for Dili1234

Dim startdate1 As String = DateTimePicker1.Value.Date Dim enddate As String = DateTimePicker2.Value.Date myConnection = New SqlConnection(connectionstring) myConnection.Open() Dim insert As SqlCommand = New SqlCommand(" INSERT INTO Client_Details (Contract_Name ,Client_Name ,VAT_No ,Cilent_Address,Start_Date,End_Date ,Contract_Value,Telephone_No) VALUES('" & TextBox1.Text & "','" & TextBox2.Text & "','" & TextBox4.Text & "','" & TextBox5.Text & "','" & …

Member Avatar for khair.ullah
0
157
Member Avatar for melanie.braley

I know how to change the background color of a button or label in properties, but I need help figuring out how to get it to change when it is clicked.

Member Avatar for DM Galaxy
0
8K
Member Avatar for Ahmed.C

I'm creating a simple FTP client and i want this certain label to say "List refershed" after a certain action and then after 2 seconds i want the label to say "STATUS". How can i do this?

Member Avatar for deceptikon
0
179
Member Avatar for pc20912

I created tab pages with this, cmd.CommandText = "Select * from StuInfo where StuID ='" & SelectedID & "' order by PayDateDB desc" cmd.Parameters.AddWithValue("@StuID ", SelectedID) DA.SelectCommand = cmd DA.Fill(DS) DT = DS.Tables(0) RecCount = DT.Rows.Count TabControl1.TabPages.Clear() If RecCount > 0 Then For Each DR In DT.Rows newPage = New …

Member Avatar for Begginnerdev
0
176
Member Avatar for Kingcoder210

Hi! I am using crystal report to make my report. But problem is that I cant use same SQL Command there in report parameter because its different. I am going to show you my code so that you can understand it. I have a report & a form where I …

Member Avatar for sandybriones
0
2K

The End.