20,285 Topics
![]() | |
Hi guys, Am trying to print datagridview contents to pdf. I have tried to use the code below I learned from the net, bu it is giving an error message "Object reference not set to an instance of an object." Private Sub bntToPDF_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) … | |
I have a powershell script in that script i am using datagridview. My script is working fine. All looks ok to me. My issue is i want to get the first column value of selected row. To fulfill this i need to add event (cell click/cell content click/cell mouse click). … | |
I deployed a web service in a server for sending email and this is the code of it. <WebMethod()> _ Public Function SendEmailSMTPAtt(ByVal objMail As clsEmail) As String Dim strReturn As String = "" Dim mailMsg As New MailMessage With mailMsg .From = objMail.Mailfrom .To = objMail.MailTo If objMail.Mailcc <> … | |
Hi Guys, I am currently making a web browser, and it is all working except when i open links which are to open in a new window, they open in IE. I have got the code below which "should" force the link to open in my existing browser, but it … | |
I am new at vb .net and I want to know how to make website in it? like connect two papes or using header in different file and linking it together etc.. for some reason when I create a page than vb studio automatic adds a form tag and creates … | |
Group, I've got a complex If/Then statement that may require the use of "Select Case". However I'm not familiar with how "Select Case" actually works. Needless to say, I'm not sure if you can use it within an "If/Then" statement. Here's what I need to do: If row > 7 … | |
![]() | Hello Everyone, it seems that I cannot see the wood for the trees.... :-) I am having problems with this line of code... StateSQL = "select * from petrol_table where fueldate >= " & "'" & M12S & "'" & " and fueldate < " & "'" & M12F & … ![]() |
what is the deploy and how it is done | |
dears i want help to parse this XML in VB.NET <?xml version="1.0" encoding="UTF-8" ?> - <FOLDER> - <INFO> <REVISION>1.0</REVISION> <DATE>6/11/2015</DATE> <TIME>9:34:40 AM</TIME> </INFO> - <SHEET TYPE="GENERAL_DOCUMENTS" DOC_REF="1021961"> - <INFO_FN TYPE="FileNet-Indexes"> <F_ACCESSRIGHTS_AX /> <F_ACCESSRIGHTS_RD /> <F_ACCESSRIGHTS_WR /> <F_ARCHIVEDATE /> <F_CE_OS_ID /> <F_CLOSED>False</F_CLOSED> <F_DELETEDATE /> <F_DOCCLASSNAME>GENERAL_DOCUMENTS</F_DOCCLASSNAME> <F_DOCCLASSNUMBER>3</F_DOCCLASSNUMBER> <F_DOCFORMAT>image/jpeg;name="00400GF.pdf"</F_DOCFORMAT> <F_DOCLOCATION /> <F_DOCNUMBER>1021961</F_DOCNUMBER> <F_DOCTYPE>0</F_DOCTYPE> … | |
Imports System.Windows.Threading Imports System.Threading Imports System.Net Imports System.Drawing Imports System.IO Imports Microsoft.Win32 Class Window1 #Region "Fields" Private geoDoc As XDocument Private location As String Private zoom As Integer Private saveDialog As New SaveFileDialog Private mapType As String Private lat As Double Private lng As Double #End Region Private Sub GetGeocodeData() … | |
I have vb.net application and have a richtextbox.. I want set the lines limit to 12 and after 12 lines the user will not allow to enter text. How can i do this? | |
Hi, in VB8, I request your help to add the product field to a list box and when i start type a charactor of a sentence, the list box shows the relevant sentence to picked up from the list box. | |
how can i select a particular child node for example when i click on a node it is selected so that if selected node= TreeView1.Nodes(0).Nodes(1).Nodes(4) then messagebox.show("node selected") end if | |
Group, I need to insert an "If/Then" statement that will require the command to check the string for multiple variables. In other words it needs to say something like this: If Microsoft.VisualBasic.Mid(txtLine, 18, 1) = "C" or "T" or "G" or "W" Then Go do something End If After doing … | |
Group, In VB.net, I use the following to return the actual name of a folder where data is kept. Is there an equivalent in VBA? I sure hope so. It would solve some problems for me. foldernameGD = CStr(getFolderNameGD("O:\Revenue Management\Centralized Revenue Management Service\CRMS Hotels", propertyNo2 & "*")) In advance, thanks … | |
Hi i need assistance on how i can pass a value from a table to update the other table for example. VehicleDetailsTable with Fields ( Milage, Description, RegNumber etc) VehicleMilageTable with fields ( Regnumber StartingMilage, Endingmilage etc) EndingMilage is used to update Milage in VehiucleDetailsTable. | |
Hi, I've ran into a problem when publishing/updating the clickonce project. I publish project to network share and what hapenes is that app doesn't update on startup as it should. Just old version openes, no update hapenes, seems like it doesn't see the update waiting. I've done this update a … | |
dear members, i need help, i have one datagrid and two dataset with two diff. tables, what i want is to insert data into datagrid and save grid data to other tabel in sql server. | |
Hi, I have an access database and connected to vb.net through oledb. Am trying to filter the datagridview based on the combobox selection in the form. The combobox(emp id) is being loaded from the table called Employee. When the user selects an employee id from the combox i want the … | |
can we pack a programme made in VB.NET as a software , like other software which can be able to install | |
Hi all ! I'm using vs2008, sqlserver2008 and vb.net as language. I would like to ask, i got this line of error when i'm debugging my code **----Too many arguments to 'Public Function getDrawingNumber(PlcCode As String) As System.Data.DataSet'.----** below is my program code : Protected Sub Page_Load(ByVal sender As Object, … | |
hi everyone. how can I get a database consists of page of html images. | |
Good morning members. I am now in a small project on request of a friend for his school. This a WPF with VB.Net 2010 project with .accdb database. when I am trying to insert a blank data to the database only entering **Student Name** and **Roll No** and others are … | |
I know to save records from database into listview, but how to save listview to database instead.. this is the code for showing record into list view..but can any help me how to change the code to save listview into database? Imports System.Data.OleDb Public Class Form1 Dim con As New … | |
hello friends i want to use result of textbox1 of the form1 into my form2 , how to do this | |
Hello everybody I'am trying to execute JavaScript in GeckoWebBrowser my code is : Hide Copy Code GeckoWebBrowser1.Navigate("javascript:void(" + TextBox2.Text.Replace("""", """""") + ")")` my JavaScript is : Hide Copy Code var r = confirm("Press a button"); if (r == true) { x = "You pressed OK!"; } else { x = … | |
I need a bit help please. Im designing a new software and a game in the some time. Im not sure how many of plaid dota2 before or still play that. but it have a awesome game starter(not sure how to say that) where you can find lobies invite players … | |
Hi all, I have a webbrowser control on my VB.net form. When a URL naviagtes to another window, I want to do it in same window. i.e. WebBrowser contol should not open a new Window & navigate to the new url in same window. I have achieved preventing the it … | |
I am working with Visual Basic Studio 2013 and one of my forms requires the use of a web client component. I added Web Client to my toolbox and easily added it to my form. When VBStudio cooperates the form does everything as it should perfectly. However, when I loaded … | |
I have an error in crystal report select export formula in vb.net saying "A string is required here " My code : {databaseTable.databaseField} =({?DateFrom} to {?DateTo}) |
The End.