20,279 Topics

Member Avatar for
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
93
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
74
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
129
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
156
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
292
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
49
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
192
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
94
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
123
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
77
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
187
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
167
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
175
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
85
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
171
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
132
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
150
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
785
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
160
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
165
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
108
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
81
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
288
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
41
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
228
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
175
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
59
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
109

The End.