20,285 Topics

Member Avatar for
Member Avatar for maildummyabc

Hi, This is pankaj, I am currently working on the printing project. Here I have creating a custom paper(height = 1000mm and width = 800mm) on the printer via code and then trying to print the text on a specific location (for example. top = 1cm and left = 1cm). …

Member Avatar for maildummyabc
0
183
Member Avatar for SeniorAlexandro

So I'm making a Program to Start/Restart/Stop and running commands from the Console for my Server. Now when someone uses the console, I want to be alerted of it on my Mail. I am using Visual Studio 2010. This is my Code: Dim mail As New MailMessage Dim smtp As …

Member Avatar for poojavb
0
782
Member Avatar for randomkid73

**Synopsis:** I have a report generated from the report wizard in VB that works, but I only want to load data from the same department as the current user. **Details:** The application connects to MySQL using the MySQL Connector/Net. I have a users table in the database, one of the …

Member Avatar for poojavb
0
191
Member Avatar for VB 2012

Oky i have a big problem that needs help fixing Here's my code : Private Sub FullLoginTimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FullLoginTimer.Tick Try If MbFacebookBrowser.Document.Url.AbsoluteUri = "http://www.facebook.com/login.php" Then MbFacebookBrowser.Document.GetElementById("email").SetAttribute("value", Emailtxt.Text) MbFacebookBrowser.Document.GetElementById("pass").SetAttribute("value", Passwordtxt.Text) MbFacebookBrowser.Document.GetElementById("Login").InvokeMember("click") End If Catch skipErrors As Exception Try If MbFacebookBrowser.Document.Url.AbsoluteUri = "http://www.facebook.com/login.php" Then MbFacebookBrowser.Document.GetElementById("pass").SetAttribute("value", …

Member Avatar for SeniorAlexandro
0
1K
Member Avatar for Pricess

plsss I need help!! I have problem with my insert data into database this is my code Public Sub doSave() Dim con As New OleDb.OleDbConnection(My.Settings.SystemDataConnectionString) Dim cmd As New OleDb.OleDbCommand Dim adap As New OleDb.OleDbDataAdapter Dim ds As New DataSet Dim dr As OleDb.OleDbDataReader con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\D_S_S - …

Member Avatar for Reverend Jim
0
143
Member Avatar for angel392004

guys help me with the code for adding items in the combo box but without duplicates. i have an assignment which is a simple web browser. the combo box will be the address bar. and everytime i input an address, it will be added in combo box and should not …

Member Avatar for Reverend Jim
0
603
Member Avatar for Mikey12345

Hi All I have a unbound datagridview which i use to enter data. I would like to make calculations using individual cell data as follows:- Datagridview1.rows(0).cells(1).value = datagridview1.rows(1).cells(1).value + datagridview1.rows(1).cells(2).value This works fine but if im using lots of cells it can be quite confusing .I was wondering if there …

Member Avatar for Reverend Jim
0
168
Member Avatar for wenbnet

Hello, please help me. I want to maximize my form size when i maximize my window. means when i double click on window to maximize then my form also get maximize with window, i used dock property bt still not getting proper result.

Member Avatar for poojavb
1
476
Member Avatar for M.Waqas Aslam

hello ! well i dont have any idea about the socket programming ,i am developing an lan chatting application , i want to add the file transfer functionality in it , now you are thinking that why not i share my folder over network , well i dont want to …

0
100
Member Avatar for poojavb

Hello Friends, I have a doubt.... Can we set the windows form resolution according to pc screen resolution and even the control should be adjusted....is it possible??? eg. My screen resolution is 1366 X 768 and my form size is 1254, 709....but I want it so set according to the …

Member Avatar for poojavb
0
5K
Member Avatar for belenos46

So, I'm automating a payment import system, writing the whole thing from scratch. It has to pull data from excel files (including extraneous data that we need to discard), process it, and insert it into a database. Oddly, those aspects are going quite well. However, I'm running into a problem …

Member Avatar for belenos46
0
192
Member Avatar for poojavb

Hello Friends, One help needed.... I have a product database....in which I have productid,prodname,inventoryvalue,reordervalue I have to design a email system that as soon as the product reaches the reorder level it shud generate an email.... but the condition is there will be many products in the database....and on one …

Member Avatar for poojavb
0
166
Member Avatar for Sevyt

Never had this problem before, and i am not sure how this happened. I got a Mysql sql database for my project. The id field is set as auto increment, which seems to function correctly. But on the form in my text field and datagrid i see a negative number, …

Member Avatar for peter_budo
0
253
Member Avatar for M.Waqas Aslam

hello ! i am working on a c# project , but i had done all this is vb before , now i have all the code in vb.net and i want to use it in c# project , someone told me that if i make dll of my vb modules …

Member Avatar for M.Waqas Aslam
0
200
Member Avatar for VB 2012

Here's the html i want to understand i want the first div class to let the program no im dealing with only hel(helium) and then still in the hel(helium) section , is span class i want the production value so basicly i want only one at a time not the …

Member Avatar for KingGold171
0
163
Member Avatar for OblibSystems

I am working on creating a basic battleships game in .NET, I have got all the functionality working however i have never used .NET for any networking applications. All i need to do is send a co-ordinate to the other player when they click on a given square. the co-ordinates …

0
75
Member Avatar for 432

I want, create (+) like this two line a little big than +, but it's have to always topmost, i run a game it's again topmost. How can i, Thanks now

0
51
Member Avatar for VB 2012

Here's my code Dim allelementds As HtmlElementCollection = MbFacebookBrowser.Document.GetElementsByTagName("span") For Each DD As HtmlElement In allelementds If DD.OuterHtml.Contains("resource") Then TlsResourceComboBox.Items.Add(DD.GetAttribute("InnerText")) End If Next LblHel.Text = TlsResourceComboBox.Items.Item(0).ToString LblIro.Text = TlsResourceComboBox.Items.Item(1).ToString LblOxy.Text = TlsResourceComboBox.Items.Item(2).ToString LblWat.Text = TlsResourceComboBox.Items.Item(3).ToString As you can see im currently using a combobox as a type of a list …

Member Avatar for Reverend Jim
0
230
Member Avatar for Zorrro

Hi Daniwebers, As a personal interest I was thinking to develop some chat tool. But I havent done any network programming so was hoping for some guidance from you. How can I build simple login program for www.nimbuzz.com ? how can I start to work on this project? Any suggestions, …

0
74
Member Avatar for mie.ilani

Dim MaxVal As Integer For a = 0 To DataGridView1.RowCount - 1 If MaxVal < DataGridView1.Item(DataGridView1.ColumnCount - 1, a).Value Then MaxVal = CInt(DataGridView1.Item(DataGridView1.ColumnCount - 1, a).Value) End If Next MsgBox("The Optimum Value is " & MaxVal, 1, "Optimum Choice")

Member Avatar for mie.ilani
0
161
Member Avatar for shizzle08

what sql command i must use. this is my current command but it give me an error saying "The specified filed 'ClientNo' could refer to more than one table listed in the FROM clause of your sql statemate." Try dc.Connection = conn dc.CommandText = "SELECT * FROM tblClient, tblClientInfo WHERE …

Member Avatar for JorgeM
0
369
Member Avatar for steven467

Hello Folks, Im really newbie in VB.NET and i hope that someone could explain how may i do this successful, ok im explaining now.. I had two richtextboxes and one button First richtextbox contains the following text: <user_register.php: 2012-02-21 00:03:49 POST username=sexhunger15 email=ho_t**@hotmail.com email_confirm= password=vergota password_confirm=vergota country=CA msisdn= isyp=0 isPremiumChat= …

Member Avatar for Reverend Jim
0
186
Member Avatar for Om Alooi

I have an Attendence form the form is like this the employee should select there number then click on sign in button it should save the date of the day , the time in , the number of the employee and display tha data in the gridview and disable the …

Member Avatar for Om Alooi
0
162
Member Avatar for harsh01ajmera

Hello everyone.I am new to vb.net 2008 and i am in trouble.The problem for me is that i am making a windows form for a company and i am in a mess in getting my database connection to my datagridview by clicking a button and my data should been shown …

Member Avatar for poojavb
0
983
Member Avatar for SoftBa

Hi to all first to say I am beginner in programming so please dont mind for mistakes I could write here :) I have this problem, on the form I use one combobox with Data Bound items, Data source, Display member & Value member. Besides this combobox I have textbox …

Member Avatar for SoftBa
0
1K
Member Avatar for nivarshn

When I am scrolling datagrid after selecting one row I am getting error as "An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll" on line : MyBase.Edit(source, rowNum, bounds, [readOnly], instantText, cellIsVisible) Whole code is given below : ' Hosts a TextBox control in a cell of a DataGridColumnStyle for …

0
88
Member Avatar for steveh000

` connectionString="Data Source=########;Initial Catalog=DowntimeD51;Persist Security Info=True;User ID=#######;Password=########;Connection Timeout=120;Encrypt=False;TrustServerCertificate=False;Network Library=dbmssocn"` I have the above connection string in a vb windows application , This is part of my app config file. I then have a number of table adapters for connecting my business logic to the database , One of the queries …

Member Avatar for steveh000
0
872
Member Avatar for G_Waddell

Hi, Ever had an application that you want to store user specific settings on? e.g. login name or Form background colours, User specifc DSN connections etc. So the next time they run the app the information is there for them? This can be achieved in VB.net with just a few …

0
184
Member Avatar for shizzle08

can you help me how to select from multiple tables. so far this is my code how do i Dim dr As OleDbDataReader Dim dc As New OleDbCommand dc.Connection = conn dc.CommandText = "SELECT * FROM tblClient, tblLoan WHERE ClientNo = '" & ClientNo & "'" dr = dc.ExecuteReader If …

Member Avatar for poojavb
0
157
Member Avatar for poojavb

Hello Friends, One help is required.... I have a select query which is based on two criterias.... if the order is in process or if the order is received.... The datagridview will show all the records from the database,,,, I want to disable the rows in datagridview which will be …

Member Avatar for poojavb
0
5K

The End.