20,285 Topics

Member Avatar for
Member Avatar for vbprogrammer1

Hi, Can anyone tell me how to remove spaces in a line which contains more spaces in vb.net. Eg 12 25.53 35 It should be read as 12 25.53 35 Thanks VRP

Member Avatar for vbprogrammer1
0
139
Member Avatar for CallumP93

Hi All, I am currently making a server monitoring application that pings the server to check its uplink, so far it creates all the picture boxes and labels for each server, and then pings the server, although I have a picture that I want to change dependant on the result. …

Member Avatar for CallumP93
0
229
Member Avatar for piratesocrates

Hello, I'm still pretty new at this so all suggestions are much appreciated. When I set the button background image in properties, it looks great. When the button is clicked, the image needs to change. I tried to use an image list like this: [CODE]btnSample.BackgroundImage = ImlStimuli.Images.Item(0)[/CODE] and I tried …

Member Avatar for piratesocrates
0
10K
Member Avatar for Trebron

ok I have some code below as an example but I can`t seem to sort this one out, I want to pass the fullpath to the directory so that when I click the node it adds the subfolder to that node at runtime Here is my sub below I know …

Member Avatar for Luc001
0
84
Member Avatar for raaif

[ATTACH]18346[/ATTACH] In the Above attached pic i want to prevent the user from drawing controls in the background pannel (the one fading from dark navyblue to lighter blue) and if posibble i wanto it to act as the form border. please help me is this and thanx in advance

0
54
Member Avatar for unika010690

i have a project my next task is to display the item selected from my listview to the textbox in the other form heres my code on the listview Public Class listemployee Private Sub listemployee_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' Create the column headers. ListView2.Columns.Add("EmployeeID", …

Member Avatar for codeorder
0
6K
Member Avatar for jimJohnson

I am starting ahead of schedule for my next VB program and just have a quick question to start as Ive never done multiple forms. I am providing the instructions that I have been given but I just want to make sure to start this the instructions are asking me …

0
60
Member Avatar for dimmslider

Hi all, I'm working on a script which uses POST to configure various bits on my printer. Everything works fine, except the fact that when I set the printer to use HTTPS the webBrowser control I have on the form shows the "There is a problem with the security certificate" …

0
47
Member Avatar for navachaitanya

hi every one i need help i want make a form in vb.net and using web cam to save picture in ms access or in a folder please please can any tell the complete code thanks in advance please please help me....

0
151
Member Avatar for Xcelled194

My curse seems to be SendInput... I have tried many sites and code variations and it never works right... it always returns an error. So can someone just whip together a quick class that has 3 public methods, one for keyboard (that takes a Keys data type) one for mouse, …

Member Avatar for Unhnd_Exception
0
5K
Member Avatar for navachaitanya

hi every one i need help i want make a form in vb.net and using web cam to save picture in ms access or in a folder please please can any tell the complete code thanks in advance please please help me....

0
137
Member Avatar for mkumar12345

Hi experts, I am trying to find the current level of zoom in a webbrowser control. I know how to zoom but the same doesn't work for retrieving the current level of zoom. I am trying the following: [CODE] Dim currentZoom As Integer DirectCast(Me.ActiveXInstance, SHDocVw.WebBrowser).ExecWB(Exec.OLECMDID_OPTICAL_ZOOM, ExecOpt.OLECMDEXECOPT_PROMPTUSER, IntPtr.Zero, currentZoom) [/CODE] But …

0
180
Member Avatar for Anonymous22562
Member Avatar for jimJohnson

I am new to VB and usually work in C but was wanting to see if someone can take a look at this program and give me any advice I would really appreciate it and also let me know if I am close... I am going to first give instructions …

Member Avatar for jimJohnson
0
164
Member Avatar for SeekingYourHalp

I think you all know of the Vista UAC dialog prompt that pops up on a new desktop to make you confirm things so my question relates to that. At The Code Project, a clever little cookie wrote what i'm after and it's called VDialog and its description reads "Vista-like …

Member Avatar for Greezly
0
114
Member Avatar for allen2663

I have made a program that loads all the songs on my computer into a listview and plays them at random (at least that is what I want) right now I have them moveing to another list and removeing them from the current list so that none are played twice …

Member Avatar for allen2663
0
458
Member Avatar for adrianSigamoney

My customer requires text files to be written in the following format: "adrian","sigamoney","01","1","B" No matter what I do I get in file adrian,sigamoney,01,1,B I have tried split, replace, adding extra hyphens to string. Please help urgently.

Member Avatar for Unhnd_Exception
0
95
Member Avatar for Brianbc

I have been searching for a single line of code all evening, and I think it's only prudent that I seek help. What line of code does the opposite if this? [CODE]WebBrowser1.Document.GetElementById("username").SetAttribute("Value", "username")[/CODE] I want to read some data from a php form and assign it to a string.

0
77
Member Avatar for Brianbc

[CODE]'<form action="" method="post"> '<fieldset> ' <ul> ' <li> ' <input type="text" name="username" id="user"/> ' </li> ' <li> ' <input type="password" name="pass" id="pass"/> ' </li> ' <li> ' <input type="submit" name="submit" value="submit"/> ' </li> ' </ul> '</fieldset> '</form>[/CODE] Above is a php form that has refused to be submitted by my …

Member Avatar for Brianbc
0
131
Member Avatar for Mike Bishop

I want to search through an sql table called hardware for a partial serial numbers. I have the following code but there is something wrong with the way i am doing my sql query. hope someone out there can help me. [CODE] Public Function GetDatabysn() As DataView Dim SelectQry = …

Member Avatar for Mike Bishop
0
4K
Member Avatar for didi00

Hi everyone, So OK basically I need to create animated button with three pictures (optional) which will represent the button as active, passive and activated. So the task wasn't very hard until my teacher added another thing: The user to be able to choose which picture to use. So my …

Member Avatar for eikal
0
158
Member Avatar for Bardan Jusik

Hello! I need to write a program to find whether a word is a palindrome or not. What differentiates this from the other palindrome threads in this forum is that I can only use certain functions. They are: If statements, string functions (to upper, to lower, indoxof, length, substrings), for …

Member Avatar for Bardan Jusik
0
308
Member Avatar for hennel

I want to use a form in vb.net 2010, so when I click on a button ,it must show me the info of a specific row in Exel and display info of that row in a text box. eg. Name Surname phone Koos Leeds 08212122392 How do I start with …

Member Avatar for kvprajapati
0
51
Member Avatar for phoenix32

Good day! Im a new programmer in vb.net and it seems that i cant update my table in access 2007 here is my code. [code] Try con = new oledb.oledbConnection("Provider = Microsof.ACE.OLEDB.12.0"; data source = |DAtaDirectory|\Attendance.accdb; Persist Security Info = False;") con.Open() sql = "INSERT INTO tblProf VALUES('"&txtEmpNo.Text&"', '"&txtProfName.text&"','"&txtProfLname.Text&"')" cmd …

Member Avatar for kvprajapati
0
195
Member Avatar for RenanLazarotto

I've found a lot of programs over the internet that have custom buttons. I mean... normal behaving buttons but using images, or shapes, as the button itself. I've searched a bit on Google and I've reached a project in VB.net, but it didn't work. Maybe was because VS2010 converted it …

Member Avatar for RenanLazarotto
0
98
Member Avatar for rairai979

Hello, I'm using SQLBulkCopy to import data from a text file. There is a lot of data involved and I would really rather not import it row by row. There seems to be a problem with fields containing both numbers and text. (for example, a phone number '555-1212'). All fields …

Member Avatar for buddylee17
0
127
Member Avatar for rairai979

Hello, I'm using SQLBulkCopy to import data from a text file. There is a lot of data involved and I would really rather not import it row by row. There seems to be a problem with fields containing both numbers and text. (for example, a phone number '555-1212'). All fields …

Member Avatar for rairai979
0
79
Member Avatar for jlego

Im not familiar with the correct terminology to use with this. I have a form that i need to use in two different projects, and the form can remain identical for each project. I have read that there are code bases in other ides, where i could make a shared …

Member Avatar for jlego
0
191
Member Avatar for Mike Bishop

I have an sql table called Stock with two fields called StockID and StockCode. I want the user to select the stockcode from a combo which in turn populates the stockid for that item into a lable on my form. I have already populated the stockcode into the combo but …

Member Avatar for crapulency
0
171
Member Avatar for hassan_wah

Hi, I am working on a project in VB.net 2008. I have a problem arising while opening a form as modal from a modeless form. I have attached a project to demonstrate the problem. This demonstration contains three forms with following characteristics. - “Form1” is main form of the demo …

Member Avatar for Luc001
0
178
Member Avatar for SindujaArun

Hi all i have a listview with few records im able to delete the records from the listview but after deleting the record the listview is not getting refreshed pls me to solve this.... Here is the code: [code] If frmName = "frmcust" Then If del_CustCode.Count >= 1 Then If …

Member Avatar for SindujaArun
0
87
Member Avatar for Mike Bishop

I have the following code that will update one field called RCon in sql, does anyone know how i can update a few at the same time? i would like to update the sql field (called stockdesc) [CODE] Dim con As New SqlConnection Dim cmd As New SqlCommand Try con.ConnectionString …

Member Avatar for Mike Bishop
0
5K
Member Avatar for Sara Tech

I work with Visual basic 2010 express and Sql server 2008 Express I established Person and Specialist tables data base .I want to make Insert /update/ delete Here object declarations in a module : [CODE] Public str As String 'string sqlcommand Public con As New SqlConnection("Data source =Sara\SQLEXPRESS ; initial …

Member Avatar for pavankumard2079
0
174
Member Avatar for erum

[CODE] <asp:Repeater ID="Repeater1" runat="server"> <HeaderTemplate> <table border="1" width="100%"> <tr> <th>id</th> <th align=left>Room Categories</th> <th>single</th> <th>Double</th> </tr> </HeaderTemplate> <ItemTemplate> <tr> <td width="5%"> <asp:Label ID="Label3" runat="server" Text= '<%# Container.DataItem("packageid")%>' /></td> <td> <asp:CheckBox ID="chk_packages" AutoPostBack=true runat="server" Text = <%#Container.DataItem("package_name")%> /> </td> <td><%#Container.DataItem("single_rate")%><asp:CheckBox AutoPostBack=true ID="single" Enabled=false runat="server" /></td> <td><%#Container.DataItem("double_rate")%><asp:CheckBox AutoPostBack=true ID="Double" runat="server" /></td> <td><asp:Label …

0
139
Member Avatar for Jagfarrell

HI all, Normally I've been lucky to find someone who has had the same problem and applied their solution but after hours of searching I'm not able to find a solution to this one. I've got a FormView which is default mode set to Insert. When the page is loading …

Member Avatar for Jagfarrell
0
154
Member Avatar for di.miller

Hi, I am using VB 2008 Express to connect to an Access 2007 database. I have a combo box called SelectYearMonth that is populated by the database. When I used the Access report VBA, I used the AfterUpdate() event to calculate a sum. I need to know how to do …

Member Avatar for di.miller
0
792
Member Avatar for JPeacock

Hi, I've been using VB.NET for quite a while now, and would definitely consider myself beyond a beginner. However, I have never attempted to use Data binding before, and have read [I]lots[/I] of stuff online about it, but I [I]still[/I] don't understand quite how it works. I have a form …

Member Avatar for JPeacock
0
164
Member Avatar for bhagawatshinde

Hi I am displayed a HTML file in web browser. Now i want to edit the matter which are displayed in web browser. e.g. font style ,color etc. I am used vb.net 2008 Can anybody help me!

Member Avatar for bhagawatshinde
0
167
Member Avatar for dre-logics

I use visual baisc 2008 if i use "mouse click" or "use arrow keys " in the datagridview1 then i want that [COLOR="Red"]always the focus [/COLOR]in on the textfield => [COLOR="Green"]Number_Pieces.text[/COLOR] Is use this code : [CODE] Private Sub Datagridview1_CellMouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellMouseEventArgs) Handles Datagridview1.CellMouseClick [COLOR="green"] …

Member Avatar for dre-logics
0
110
Member Avatar for swathys

hi, I would like to load data from sql to datagrid. But there is a problem at highlighted place. [CODE] Sql = "Select [KioskID] As [KioskID], " _ & "[KioskLocation] As [KioskLocation], " _ & "[TransactionNo] As [TransactionNo], " _ & "[SerialNo] As [SerialNo], " _ & "[TransactionDateTime] As [TransactionDateTime], …

Member Avatar for Netcode
0
84
Member Avatar for allen2663

Hi, I have am building an uninstall program and can't get the process to stop so that the files can be deleted. I am using code that I copied from a sample and it works fine with any process as long as there is no space in the name. works …

Member Avatar for allen2663
0
301
Member Avatar for marellow

Hi everyone, I would like to transpose the data from queries in access database, the current data extracted from the table look like this : From table: ID Year Value AA 1 100 AA 2 101 AA 3 200 BB 1 125 BB 2 150 I would like to transpose …

0
43
Member Avatar for laks_samy

I am working vb.net application vs 2005,I am using culture ("ja-JP") japan in my application but i need to display date in this format("dd-MMM-yyyy") how to change it? Thanks

Member Avatar for Luc001
0
230
Member Avatar for krusnik08

[B]label10 displays which is the highest number label12 displays which is the lowest number label14 displays which is the number that is duplicated pls help my codes don't run 100% correct.:'([/B] [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label6.Text = Val(TextBox1.Text) Label7.Text = Val(TextBox2.Text) …

Member Avatar for GeekByChoiCe
0
177
Member Avatar for srm_2010

Hi everybody, I am using TextBox of windows application in vs 2008 and using textbox1.scrolltocaret() method but not getting the clear idea that how it works. thans in advance

Member Avatar for Luc001
0
60
Member Avatar for krusnik08

[B]When the textboxes are 49 below or 100 above the message should be "Invalid Grade Input". When the textboxes are blank the message should be " No Grade Input". When the textboxes are 49 below or 100 above and there are some textboxes that are blank it should be " …

Member Avatar for krusnik08
0
111
Member Avatar for azucena_fs

Hi! How can I print XML files on a printer that's XMLReady? When an XMLCompatible application (like SAP) sends a xml file, the printer automatically gives it format (previously charged in the printer). I cannot use PrintDocument class because I don't need to give text a format. Also, the printer …

0
42
Member Avatar for bettybarnes

pls check my database design and give comments. i'm a newbie database designer i dont have any experience, i've researched on the net but i think it's not enough. here's my ERD: [IMG]http://i43.photobucket.com/albums/e355/bettybarnes/asas.jpg[/IMG]

Member Avatar for lolafuertes
1
146
Member Avatar for MooGeek

Hi Guys, I just want to ask you if you have any GOOD and EASY to understand Ms Access Tutorial. Since I am new in VB.Net, I would really want to know how to do that. I wish to have a tutorial how to ADD,EDIT,DELETE,VIEW I hope you can give …

Member Avatar for MooGeek
0
284
Member Avatar for jingo1126

btw any tutorials out there on how to create database with vb.net with mssql just to let me get started, i was hoping for a simple db to practice on like id,name. ive made db with php and mysql but vb.net is a bit far from php and mysql though …

Member Avatar for Luc001
0
115

The End.