800 Posted Topics

Member Avatar for santunu23

The only problem that you will have to make double sure that you have solved would be static IP addressing. If you are currently running through DHCP method of addressing, every n (n being number chosen by your ISP - usually 24) hours your IP will change on your host …

Member Avatar for santunu23
0
167
Member Avatar for XEN0
Member Avatar for awesomelemonade
Member Avatar for Waldis_1

You can create a sub procedure in the destination form that will take the SQL statment as a string. Then fill the ListView from that sub procedure. For example: 'In DestinationForm Protected Friend Sub FillListView(ByVal sSQL As String) Dim da As New OleDbDataAdapter(sSQL, New OleDbConnection("YourStringHere")) Dim ds As New DataSet …

Member Avatar for Santanu.Das
0
458
Member Avatar for Programmer629

What you are doing is trying to manipulate hardware with software. You will have to contact the manufacturer of the LCD to see if the LCD allows that functionaly. Closest thing I know of would be to kill power to the GPU. (dangerous, would not reccommend doing this) I think …

Member Avatar for dternity
0
622
Member Avatar for Ashveen96

You can write a function to scale the parent panel. For example: Private Sub btnIn_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnIN.Click 'Increase the size of the picturebox, which increases the picture size. If Not IsNothing(Panel2) Then Panel2.Size = ScaleTenPercent(Panel2.Size, Zoom.zIn) If Not IsNothing(Panel2) Then Panel2.Refresh() End Sub …

Member Avatar for Begginnerdev
0
2K
Member Avatar for kks21199

Here is a VB.NET version of what gtcorwin had posted. Hopefully this will alleviate any problems you may have converting the code. Private Function TransferFile(ByVal sURLAddress As String) As Boolean Dim webClient As New WebClient() AddHandler webClient.DownloadFileCompleted, AddressOf DownloadComplete AddHandler webClient.DownloadProgressChanged, AddressOf ProgressChanged Dim URL As Uri = If(sURLAddress.StartsWith("https://", StringComparison.OrdinalIgnoreCase), …

Member Avatar for Begginnerdev
0
1K
Member Avatar for Hassan_9

Please post a snippet of the code that is throwing the exception. This will help us better understand the source of the exception. :)

Member Avatar for Hassan_9
0
401
Member Avatar for Mr.M

What kind of cell phone are you speaking of? Are you using a smartphone or a basic phone? If you have a smart phone, is it android,symbian,windows, or iOS? Who is your carrier? Some carriers place software on the phone (smart phones) that will launch when you connect the phone. …

Member Avatar for Mr.M
0
220
Member Avatar for yvrej17

Have you tried overloading the PrintDocument.PrintPage method and check to see if the report has more pages? 'Making use of PrintPageEventArgs While e.HasMorePages 'Do stuff End While

Member Avatar for Begginnerdev
0
72
Member Avatar for ignnniter

Do receive any update, or just completion without any status change on your progress bar?

Member Avatar for J.C. SolvoTerra
0
516
Member Avatar for oussama_1

First off, nice article. Second off, Bug report. If you do not purchase and damage upgrades, but die on the boss. You will still have the option to buy the damage upgrade before starting the next round. This will allow you to buy (in my case) up to 6 upgrades. …

Member Avatar for oussama_1
3
945
Member Avatar for Mark Anthony_2

Have you started developing the application? Have you created a database? If you could post what you have, we would be able to help you more.

Member Avatar for Reverend Jim
0
174
Member Avatar for nirmala lakshmi

The problem with the date object is that it defaults to 12:00:00 for the time portion of the date. Try using: bdate.ToShortDateString()

Member Avatar for Begginnerdev
0
304
Member Avatar for kdejan87

First you will need to connect to the database. (See [this](http://www.connectionstrings.com) for connection strings.) Note that for the following code I will be using OleDB. I, personally, like to wrap my connection code in clean class. 'This code uses integrated security. Public Class Connection Private con As New OleDb.OleDbConnection("Provider=SQLOLEDB;" & …

Member Avatar for Begginnerdev
0
344
Member Avatar for markdean1989

If the array is placed in the same codefile as the events, then public/shared modifiers are not needed. May I suggest a list? Dim array_shuffle As New List(Of Integer) Lists are a class that implements the IEnumerable interface. Therefore, you will have the ability to sort,search,add,remove and event use LINQ …

Member Avatar for markdean1989
0
198
Member Avatar for jared.geli

The report wizard will group the data for you, just set the datasource of the report as a list. [Here](https://www.packtpub.com/books/content/creating-simple-report-visual-studio-2008) is an example of report creation. As for setting the report source, name it dataset one and use the following code to set the source. (Be sure to have the …

Member Avatar for Begginnerdev
0
118
Member Avatar for swathi sajja

This will be a really ugly method of doing it, but this may do what you wish. Private Function ResetSerialPort() As IO.Ports.SerialPort Try For Each sPort As String In IO.Ports.SerialPort.GetPortNames() Dim spMyPort As New IO.Ports.SerialPort(sPort) If spMyPort.IsOpen Then spMyPort.Close() spMyPort.Open() Return spMyPort Next Return Nothing Catch ex As Exception MsgBox(ex.Message, …

Member Avatar for Begginnerdev
0
118
Member Avatar for vincentniga

You will have to post your code if you wish for us to help debug it. :) Please post the code that is generating the error, as well as a screen cap of the error. This will help us to better understand the situation.

Member Avatar for Begginnerdev
0
60
Member Avatar for sganandhsg

I am assuming you mean ASP.NET? From my undertanding JMetere deosn't support vb, because it is meant to test servers/scripts and any web based content.

Member Avatar for Dmitri_1
0
306
Member Avatar for dj4388
Member Avatar for Satyam_1

You can still use Access if you create a share on the host and then point your connection string to that share. I assume you are using an windows environment? If so, you can try [this](http://windows.microsoft.com/en-us/windows7/create-a-homegroup). You can use the [SQL data import/export wizard](http://msdn.microsoft.com/en-us/library/ms141209.aspx) to create the database in SQL …

Member Avatar for OtepTheThird
0
1K
Member Avatar for nizam27391

When removing the LCD from a laptop you will run into problems with any antennae that the manufacturer may have placed in the LCD enclosure. I would consult the laptop maintenance manual, which can moslty be found on the manufacturers website. As for power, if the desktop monitor has a …

Member Avatar for rubberman
0
393
Member Avatar for Nebil

You can condense your query a little by giving your select tables an alias. For example: "INSERT INTO patempTable SELECT pr.[Project Number],pr.[Employee Number],pr.[Current Month],pr.[Net Pay],al.[Net Allowance], pd.[Net] FROM [Pay_roll] pr, [Allowance] al, [Per_diem_accomodation]" Now for tieing the tables together, my question would be: Are there multiple 'P' codes or are …

Member Avatar for Eng.William
0
213
Member Avatar for OTOSystem

You could create the buttons in a method then add them to the form: For i = 0 To AANAME.Count - 1 Dim btn As New Button With btn .Name = "btn" & i .Size = New Drawing.Size(70, 20) .Text = "CLICK ME" End With MyForm.Controls.Add(btn) Next Then create a …

Member Avatar for Begginnerdev
0
220
Member Avatar for renzlo

A preliminary question would be: How is your application handling the multiple users? Just a simple string containing the query executed in a command? On the back end you can implement [row locking](http://blog.sqlauthority.com/2007/04/27/sql-server-2005-locking-hints-and-examples/), [but this can lead to problems if the users do not commit their changes](http://www.sqlteam.com/article/row-locking).

Member Avatar for Begginnerdev
0
400
Member Avatar for vbshad

You will first need to return the ID of the inserted row and store that in a variable. Next you will need to issue the update the row using that variable. For example: Private Sub InsertAndUpDate() Dim con As New OleDBConnection("MyConnectionStringHere") Try con.Open() Dim cmd As OleDBCommand("INSERT INTO tblTest(Col1,Col2) OUTPUT …

Member Avatar for Mr.M
0
2K
Member Avatar for riayas

Excel is formatting the number. Open excel and set the desired format for those columns. First select the column: ![2c3a3bd75a4df2f9283ee563f1501fb8](/attachments/small/2/2c3a3bd75a4df2f9283ee563f1501fb8.png "align-left") Next set the formatting: ![c536ebac45fe03bdcf1984565daa2667](/attachments/small/2/c536ebac45fe03bdcf1984565daa2667.png "align-left") Click okay and you are finished! ![791f2d76ccfad3d9ab0d7bd1870f9663](/attachments/small/2/791f2d76ccfad3d9ab0d7bd1870f9663.png "align-left")

Member Avatar for riayas
0
279
Member Avatar for docgrid

First thing would be to check the database permissions on the database to see if it allows other's to connect. With SQL you can use all domain authenticated users, or you can set them individually. [Here is an example](http://technet.microsoft.com/en-us/library/ms187965.aspx).

Member Avatar for cgeier
0
278
Member Avatar for tshukela.george

It seems as if you are storing prices in another form? May I suggest storing prices into a database? Something as simple as: tblItems ID | Int ID Not Null Item | VarChar(50) Not Null Price | Decimal(10,2) Not Null The example given above would be using SQL Server (You …

Member Avatar for Begginnerdev
0
430
Member Avatar for sashyn01

You will want to load the data into a datatable to get the corresponding information. If the Item_Stock field holds the quantity you just need to select it and get the value from the adapter. For example: Dim da As New OleDBDataAdapter(New OleDBCommand("SELECT Item_Stock FROM tbl_Products AS Qty WHERE Item_Name='" …

Member Avatar for Sulaiman_1
0
795
Member Avatar for Begginnerdev

If you are browsing this forum, it is a safe assumption to believe you know of the [Fibonacci Series](http://en.wikipedia.org/wiki/Fibonacci_number). After having a couple of minutes, and some random thoughts, I put together a little piece of code that will print this series out to a file. Private Sub FibWrite(ByVal iMax …

Member Avatar for Reverend Jim
0
282
Member Avatar for mangaeza

There are a few extra details that you have left out. 1) What kind of method are you using to store your data? 2) What kind of method are you using to display your data? 3) We need some code to help trouble shoot any problems that you may have. …

Member Avatar for Begginnerdev
0
131
Member Avatar for Subhashini.V

As cgeir has said, we can't see any code thusfar. As for the SQL I will give you a little bit of a hint. "SELECT tb1.Column1,tb2.Column1,tb3.Column1 FROM Table1 tb1, Table2 tb2, Table3 tbl3 WHERE tb1.Column1=MyValue,tb2.Column1=MyValue,tb3.Column1=MyValue""

Member Avatar for Begginnerdev
0
313
Member Avatar for b.boudj

The [Using](http://msdn.microsoft.com/en-us/library/htd05whh.aspx) statement will close and dispose the object when it reaches the end of the using block.

Member Avatar for Begginnerdev
0
127
Member Avatar for Begginnerdev

Hello everyone! I am posting this code for anyone who may be having issues with connecting to a database. Feel free to use this code as you wish. This will be using the OLEDB library. [CODE] 'Imports Imports System.Data.OleDb Public Class Form1 'Declarations Dim con As OleDbConnection Dim cmd As …

Member Avatar for Reverend Jim
2
899
Member Avatar for Noman_4

First and foremost, you might want to check Telrik's forums for assistance on the problem that you are having. From a 30,000 ft. view it sounds as if you are wanting to store Yes and No Flags into a database. If this is true you will want to know what …

Member Avatar for Begginnerdev
0
111
Member Avatar for ZIPB

Why not use a data adapter? For example: Try Dim da As New OleDbDataAdapter(New OleDbCommand("SELECT * FROM Rooms WHERE 1=2", _ New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source='C:\PATIENT_O\PATIENT_O\Patient-O.accdb'"))) 'The select gets the table structure. Dim ds As New DataSet da.Fill(ds, "Rooms") Dim dr As DataRow = ds.Tables("Rooms").Rows.Add() 'Replace these names with the exact names …

Member Avatar for babujibabuji
0
2K
Member Avatar for Steven_6

When handling usernames and passwords it is best to define your criteria for both the user and the administrator. You will have to determine if you want [trap-door encrypted](http://en.wikipedia.org/wiki/Trapdoor_function) passwords or simple text passwords. Such a method could be passing the user's input into a 256bit encryption function and checking …

Member Avatar for Begginnerdev
0
309
Member Avatar for XongErvin

My suggestion would be to join the tables from the backend then pass the joined row to your DataGridView. For example: "SELECT pt.Participant, cr.Chri_Percent FROM Participants pt, Chriteria cr WHERE pt.UniqueIDValue = cr.UniqueIDValue" This will bind the two data rows into one data row. This **WILL** require a one to …

Member Avatar for Begginnerdev
0
314
Member Avatar for mikidrip

Please post the code you are using to connect to the database. We can't help if we don't know. :)

Member Avatar for Papa_Don
0
190
Member Avatar for vinodvinu

As Anima had said. This sounds like a problem with drivers. You will need to check with the phone's manufacture to see if they have/support Windows 8 drivers.

Member Avatar for vinodvinu
0
270
Member Avatar for Howieb

If it is a video card, the computer would still power up. My thought is that it might be an overheated processor. It could have been a possible bad bearing in the fan, causing less airflow resulting in a frying pan for a processor. You had said that you have …

Member Avatar for Howieb
0
201
Member Avatar for bryann
Member Avatar for Begginnerdev
0
90
Member Avatar for johnhenry.smalley1

If the computer boots, there is a bios. A computer will boot using BIOS then bootstrap the operating system. Have you tried going into the bios setup and verify everything looks normal? (Check to see if it is finding all of your memory ect...) One thing would to do as …

Member Avatar for Begginnerdev
0
180
Member Avatar for marc.orocay

Think about it this way. You are drawing a square....yes a square. The square is devided from corner to corner. **HINT** You are drawing characters that the user can see and characters that the user can not see. **HINT** Next it is as simple as decing how wide/tall you want …

Member Avatar for tinstaafl
-2
183
Member Avatar for decoder.mira

I am not so sure that query is returning anything. You have to give a table.column on the select when two tables are being passed in on the FROM clause. Try adding an alias and prefixing your columns. For Example: str1 = "SELECT DISTINCT ts.[Sched_Code] As [No], ts.[Course], ts.[Year]........ FROM …

Member Avatar for jared.geli
0
373
Member Avatar for Iamateur

Will this build? It seems you are missing your End Sub on your first sub procedure.

Member Avatar for Minimalist
0
309
Member Avatar for nettripper

The ancor and dock methods might not always work. That's when I resort the the following method: [CODE] 'You will have to play with this to get everything right. 'This will automaticly move when the user resizes the window too. Button1.Location.Y = Me.Width - 30 'You can do the same …

Member Avatar for oussama_1
0
881
Member Avatar for joshl_1995

Are you using an interpreter on your Arduino? If not, then this should be posted in the C++ forum. Also, you will have to post your code the application if you wish for us to help find your problem! :)

Member Avatar for joshl_1995
0
186

The End.