20,284 Topics

Member Avatar for
Member Avatar for achinthaadd

im junir for vb 2010, im tring to make small program, which when select picture in opendialog,( give path of image into text box(txtGrupAddNewArtWrokUploadImage.Text) ) copy to folder(ArtWork) which in application installed folder. i try to filecopy command using give target path like"c:\temp\image.jpg" command is working but when i chenge …

Member Avatar for achinthaadd
0
279
Member Avatar for XEN0

Just wondering here what is a efficent way to communicate between a Windows Form project and a console application. So far im using Visual Studio 2012 and the System.IO.Pipes namespace,to send bytes between the application. In the windows form(as client) Dim pipes As NamedPipeClientStream pipes = New NamedPipeClientStream("A Digital Whirlwind …

Member Avatar for XEN0
0
351
Member Avatar for slpefanis

Hi All I am currently using a Dataset in my program to load data from a SQL database. when i open my form, i am using a Me.Tbl_CustomersTableAdapter.FillBy(Me.MydatabaseDataSet.tbl_Customers, ID) to load the data, which i then bind into the textboxes on the form. I would like to know if there …

Member Avatar for XEN0
0
137
Member Avatar for OM PARWANI

I want to create antivirus in vb.net can any one tell me how to start creating antivirus as i am new one to .net it's an urjent please help

Member Avatar for XEN0
0
774
Member Avatar for raaif

Hi again, I am trying to read an XML file in this format; [ICODE] <?xml version="1.0" encoding="utf-8"?> <words> <word id="Apple" def="A fruit" /> <word id="Dinosaurs" def="Now Extinct Animal" /> <word id="Giant Panda" def="An Endangered Animal" /> <word id="Asia" def="The Largest Continent" /> ..... </words> [/ICODE] I have more than 3000 …

Member Avatar for softwareskill
0
224
Member Avatar for buffalo0

Hi I have what I think is a simple problem but after much searching cant seem to find a solution. I have an xml file stored on an web server and I need to read the data using vb.net for a smart device application. I also need the ability to …

Member Avatar for softwareskill
0
5K
Member Avatar for jkdil33

Hi, I have a problem I want to save the values in user controls(textboxes) to an XML file(If not to text file) I want this to be done when client clicks on save data button I want to read the values in XML file(If not to text file) to user …

Member Avatar for softwareskill
0
216
Member Avatar for Minko

Hello, In the form1 load event I am running this code Dim NewCalendar As New MonthCalendar NewCalendar.Name = "DateSelecter" NewCalendar.Size = New Size(80, 80) NewCalendar.Location = New Point(100, 100) NewCalendar.Visible = True AddHandler NewCalendar.DateSelected, AddressOf DateSelecter_DateSelected Me.Controls.Add(NewCalendar) However I can not work out how to get the value from the …

Member Avatar for Minko
0
256
Member Avatar for Rahul47

Hello guys, Here is an interesting problem to tackle with. Most of us are familier with SQL Injection. For those who are not Familier here is Short intro to it. When you enter your data into a Login Form, suppose ID and Password, Following code comes into action. "SELECT * …

Member Avatar for G_Waddell
0
206
Member Avatar for Begginnerdev

After seeing quite a few posts today asking about event handlers for dynamicly created controls, I have decided to give a little example for reference. **Note that you should check [Microsoft's Documentation](http://msdn.microsoft.com/en-us/library/system.windows.forms.control.aspx#inheritanceContinued) ( or research from web ) of any control if you are struggling**

0
511
Member Avatar for boher

Hi I need a code block to accomplish the following task : There is a flolayoutpanel in my form with 3 panels in it. I want my submit button to count the panels and create a stopwatch control named after each panel. Here is what I have so far : …

Member Avatar for Reverend Jim
0
196
Member Avatar for joel.hahn

How do i stop a running function using a button or menu. Do I use a try catch? for some reason its boggling me.

Member Avatar for Reverend Jim
0
1K
Member Avatar for IsaacMessi10

Private Sub Refresh_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Refresh.Click If (AddressBar.Text.Contains("")) Then WebBrowser.Refresh() ElseIf (AddressBar.Text.Contains(".com") Or AddressBar.Text.Contains(".info") Or AddressBar.Text.Contains(".asia") Or AddressBar.Text.Contains(".aero") Or AddressBar.Text.Contains(".biz") Or AddressBar.Text.Contains(".cat") Or AddressBar.Text.Contains(".coop") Or AddressBar.Text.Contains(".int") Or AddressBar.Text.Contains(".jobs") Or AddressBar.Text.Contains(".mobi") Or AddressBar.Text.Contains(".museum") Or AddressBar.Text.Contains(".name") Or AddressBar.Text.Contains(".net") Or AddressBar.Text.Contains(".org") Or AddressBar.Text.Contains(".post") Or AddressBar.Text.Contains(".pro") Or AddressBar.Text.Contains(".tel") …

Member Avatar for tinstaafl
0
193
Member Avatar for azareth

I'm having this kind of error: *Could not find a part of the path.* For Each subfolder As String In Directory.GetDirectories(sourceDir) Dim destDir As String = Path.Combine(destinationDir, Path.GetFileName(subfolder)) If destDir = destinationDir & "\peanutButter" Then 'do nothing Else Directory.Move(subfolder, destDir) End If Next I suppose i get this error because …

1
68
Member Avatar for archelle

Hello guys, im a newbie in vb programming. I just want to know how to compute total working hours. for EXAMPLE, i started 8:00 AM And goes out 13:00, the total time would be 4 hrs. because 12:00-1:30 is lunch break.

Member Avatar for Reverend Jim
-1
319
Member Avatar for yvrej17

Hi, I just need some help on how will I retrieve the last row ID(auto-increment) value of my database(ms acccess) and display into a textbox? thanx in advance

Member Avatar for yvrej17
0
152
Member Avatar for kindofsudden

I created a table, created a dataview, and sorted the dataview. I then populated the table with three rows of data and all was good. I then changed one of the fields (Hours) in one of the rows which SHOULD HAVE caused it to re-sort, but it did not re-sort. …

Member Avatar for TnTinMN
0
1K
Member Avatar for Rahul47

Hie people, How can I save the items Entered in Combo Box at runtime ? So that next time i use Drop Down the entered Item is Present in it. Thanks

Member Avatar for monching
0
113
Member Avatar for killer88

i making a list of names to be entered in 10 boxes. no i need to save this as document or text file. how do i use savefiledialog() in vb .

Member Avatar for Sahil89
0
319
Member Avatar for LD Company

Hello programmers! I have another easy problem. I want to write code that can find a word in the string, that contains another substring. Code needs to get or just copy specific word in string. To get that word, this word need to contain some specific string (ex: "Platypus"). If …

Member Avatar for Reverend Jim
0
170
Member Avatar for killer88

say im performing addition of two numbers. there are three textboxes . 2 for entering the numbers and 1 for displaying the result. im giving one value in first text box and no value in second textbox it says "conversion not possible". now wat shuld i do to make the …

Member Avatar for killer88
0
276
Member Avatar for Gus_19

Is it possible to have string in a richtextbox checked for pronouns and then make them all upper case? I'm a little familiar with the class method 'ToUpper' but don't know how to go from there. I have a richtextbox on my form and I want to check for any …

Member Avatar for azareth
0
92
Member Avatar for Lethugs

hi Im using chart to display data in VS 2010, its working properly with this code... Chart1.Series(0).Name = "Days Used" Chart1.Series(0).Color =Color.Red Chart1.Series(0).XValueMember ="Account Name" Chart1.Series(0).YValueMembers ="Days Used" Chart1.Series(0).IsValueShownAsLabel =True my x&yvaluemembers value came from sql server database. The "Account Name" And "Days Used" are alias of my database column …

Member Avatar for Lethugs
0
2K
Member Avatar for khair.ullah

hi all. I want to fill the Listview from a mssql database in vb.net but it not show all the data in Listview. I have the followning code. Dim sSQL As String Dim lvwItem As New ListViewItem() sSQL = "SELECT field1, field2, field3 FROM tablenam e " sSQL = sSQL …

Member Avatar for evadehawkeye07
0
6K
Member Avatar for boher

I need a solution for a small problem in my project and I'll make it as simple as possible: At one of the forms in my project, user should be able to add a panel to the form and that form should contain 2 controls ... a label and a …

Member Avatar for Reverend Jim
0
190
Member Avatar for joshl_1995
Member Avatar for joshl_1995
0
213
Member Avatar for t2nator

How can the following code be change so the children form move event is smoother? Dim isMouseDown As Integer Dim MyX, MyY As Integer Private Sub Form1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseDown isMouseDown = 1 MyX = e.X : MyY = e.Y 'Me.Cursor = Cursors.SizeAll End …

Member Avatar for t2nator
0
110
Member Avatar for RaoxFaello

Hi, I'm currently studying this language how do i connect VB.NET with a Database (MS Access) and let me input informations in it as well as retrieve informations from it? I'm not familiar with MS Access but i know how to enter the name and it's type so that i …

Member Avatar for Ancient Dragon
0
573
Member Avatar for xHellghostx

Okay I am wondering what is a syntax to create a new property with read-write proprties, I read the book but it is not clear. Your help is appreciated

Member Avatar for Ancient Dragon
0
209
Member Avatar for yvrej17

Hello, I ajust need a help here. I have 2 tables in my database (ms access) table1 = employees table2 = eID In employees table I have a column name "myimage" in "OLE Object" data type I just want to copy the cell value in table "employees" at column "myimage" …

Member Avatar for yvrej17
0
233

The End.