20,284 Topics
| |
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 … | |
HV sm problm need help ion order to find the solution. | |
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 … | |
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 … | |
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 … | |
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. | |
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. | |
[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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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! | |
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"] … | |
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], … | |
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 … |
The End.