- Strength to Increase Rep
- +13
- Strength to Decrease Rep
- -3
- Upvotes Received
- 146
- Posts with Upvotes
- 130
- Upvoting Members
- 82
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
- PC Specs
- Intel Core i7 2600k Sandy Bridge Asus P8Z68-V Pro Gen3 Socket 1155 2 x EVGA GTX 760ti 2GB 16gb Corsair…
800 Posted Topics
Re: You are going to need a database backend for your application. You will need to do the following: 1)Compose a list of things you need to store and keep track of. a)Inventory b)Customers c)Ect... 2)Tear down the storage items to their most simple (atomic) state to create your tables. a)Lookup … | |
Re: You could try a different method and define a structure..... Dim stud(24) As Students Dim tmpStud As Students Structure Students Dim StudentName As String Dim CumulativeScores As Double End Structure For i = 0 To stud.Count - 2 If stud(i).CumulativeScores > stud(i + 1).CumulativeScores Then tmpStud = stud(i + 1) … | |
Re: Are you sure the path is correct? You can verify it by doing this: If File.Exists("C:\Users\Abdueie\Desktop\BMS\Bridge Asset Management\Bridge Asset Management\bin\Debug\Adigrat.accdb") Then MsgBox("It is there!") Else MsgBox("Path May Be Wrong!") | |
Re: You will need a seperate table for the customer. Something Like ::Table Name: Cust_info:: ::Column 1:cust_id:: ::Column 2:cust_name:: ::Column 3:cust_charges:: ::Column 4:cust_payed:: | |
Re: Below you will find a very brute force way or measuring this: Private Function CountChar(ByVal c As Char, ByVal sSource As String, ByVal bCaseSensitive As Boolean) As Integer Try If Not bCaseSensitive Then sSource = sSource.ToLower c = Char.ToLower(c) End If Dim istart As Integer = InStr(sSource, c) Dim istop … | |
Re: There a couple methods you can use: [PrintForm](http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.powerpacks.printing.printform(v=vs.80).aspx) and [PrintDocument](http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx) Printform sends an image of the active form to the printer. (Simple output) PrintDocument sends the output to the printer, but you have to specify the output. PrintDocument sounds like what you are wanting. | |
Hello Daniweb, and thank you for taking the time to read this post. I have a question of efficiency. I am wondering, what is the most efficient way to print from a listview. The listview's values are loaded from a database, and I would like to print from that listview. … | |
Re: You can use [Microsoft's Alternative](http://msdn.microsoft.com/en-us/library/ms252073.aspx) to Crystal Reports. You can also try [this](http://www.fyireporting.com/index.html), although it is one I have not tried personally. | |
Re: You can make use of the [PrintForm class](http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.powerpacks.printing.printform(v=vs.80).aspx) from the Power Packs. For example: Public Class Form2 Public WriteOnly Property _PrintForm As Boolean Set(value As Boolean) If value = True Then Dim pf As New PrintForm pf.Form = Me pf.PrintAction = PrintToPrinter pf.Print() End If End Set End Property End … | |
Here is a small extention of the Panel class that allows you to 'collapse' it. So far, the user can place a control on the parent form and perform a collapse/expantion by: 'Where cpNew is a Collapsible Panel If Not cpNew.PanelCollapsed Then cpNew.Collapse() 'or If cpNew.PanelCollapsed Then cpNew.Expand() I will … | |
Re: Please post the code that is throwing the given error. | |
Re: Have you tried making use of [IsNumeric](https://msdn.microsoft.com/en-us/library/6cd3f6w1%28v=vs.90%29.aspx)? For example: For Each row As DataRow In dts.Tables("[Sheet1$]").Rows If IsNumeric(row(0)) Then If row(0).ToString.StartsWith("98") Then Dim cell1, cell3 As String Dim col1, col2, col3, col4 As String col1 = String.Empty col2 = String.Empty col3 = String.Empty col4 = String.Empty cell1 = row(0).ToString cell3 … | |
Re: Without seeing your data we can not answer the question effectively. One method would be to write queriest to select the data you wish to receive based on a date field. For Example: 'For 2014-2015 "SELECT * FROM MyTable WHERE MyDateCol BETWEEN '01/01/2014 01:01:01' AND '12/31/2014 23:59:59'" 'For 2015-2016 "SELECT … | |
Re: Try wrapping your div in an [UpdatePanel](https://msdn.microsoft.com/en-us/library/system.web.ui.updatepanel%28v=vs.110%29.aspx). This will allow you to update only that part of the page without calling a full postback. | |
Re: This will be a simple File.Move: IO.File.Move("SourceFilePath", "DestinationFilePath") | |
Re: Your question is quite a bit incomplete. Please provide us with the following information so that we can help you find a solution! =) What control are you displaying your data in? Are you wanting to format this data a certain way? Have you attempted this thus far? Even with … | |
Re: This is a shell function called [SHFileOperation](https://msdn.microsoft.com/en-us/library/windows/desktop/bb762164%28v=vs.85%29.aspx). [Here](http://www.pinvoke.net/default.aspx/shell32.SHFileOperation) is an article that you might want to read over. | |
Re: A SELECT CASE would look something like: Select Case Mid(txtLine, 18, 1) Case "G", "T", "C", "W" 'Do this stuff only for those Case Else 'Do some stuff End Select [Here](http://www.dotnetperls.com/select-case-vbnet) is an article that might help you get a little better understanding. | |
Re: In the NewWindow event of the browser control, you can use the following code: e.Cancel = True WebBrowser1.Navigate(New URI(DirectCast(sender, WebBrowser).StatusText)) This will force the active web browser to navigate to the clicked item. | |
Re: Just an additional note: if using OleDB then your queries will need to have '?' instead of a paramter name. For example: cmd.CommandText="INSERT INTO tblMyTable (someString,someDate,someNumber) VALUES (?,?,?)" cmd.Parameters.AddWithValue("@someString",MyStringValue) cmd.Parameters.AddWithValue("@someDate",MyDateValue) cmd.Parameters.AddWithValue("@someNumber",MyNumberValue) cmd.ExecuteNonQuery() | |
Re: Q: What do you call a dog which has no legs? A: Anything you want; he's still not coming to you. | |
Re: [Here](http://www.vbforums.com/showthread.php?727399-VB-NET-Screen-Recorder-with-audio-Converts-to-MPEG-4-video-now-Update-29-Dec-13) is a project posted on VBForums that will complete that task. You can study it in detail to get an idea for creating your own. | |
Re: Way back when (about 7 years ago) I tried this for a friend. He had an old busted dvr he wanted fixed. I fixed it....so I thought. Turns out that some of the manufacturers key the hard drives to the recorders and once the drive is removed and replaced (same … | |
Re: What is most likely happening is that you are exiting the main thread when you use Alt+F4; thus no code will fire the code to 'jam' the keyboard. | |
Re: Other than upgrading the memory a little, I see no problem using xUbuntu. You may want to go up to 4gb if possible. | |
Re: Most mother boards have a crash free bios that has a backup of the OEM bios settings. I am assuming you have attempted to boot the pc in safe mode and scan it that way. I suggest booting into a linux live environment to disinfect the problem drive. Something like … | |
Re: Please post the code that you have in your fol_hide_load procedure. | |
Re: A few questions would be: What carrier? Do you want external storage? Do you prefer a certain OS? | |
Re: This is absolutely possible! It will all depend apon your coding skills! It would be just as simple as connecting to the multiple databases at once. Possibly even using threads for data manipulation. | |
Re: As you may already know. Most Printers support the TWAIN interface. Most printers also support WIA. This being said, you could use a TWAIN or WIA library to access your scanner (Pending drivers are installed). See attached file for code for a scanning library! (Courtesy of Mkasoft) Place the code … | |
Re: First thing is that when you formatted the hard drive you effectively 'removed' everything that was on the drive. This is why you are receiving the "no bootable device" error. There is not an operating system on the drive that can bootstrap it's self. As for why it is not … | |
Re: There are a lot of opinions when it comes to work stations. As far as your graphics card goes; any pci-x 2.0 (x16 for full usage) motherboard will work with it. The rest will be building the pieces. As far as chosing a processor for your workstation, [you might want … | |
Re: Have you tried replacing: Dim csCryptoStream As CryptoStream With Dim csCryptoStream As New CryptoStream What this warning is telling you is that the variable could throw a null reference exception if there is a dependant variable that requires instantiation. By not declaring the variable with the New modifier, you are … | |
Re: You can embed a form in another form by placing the child form on a panel! For example: Dim frmMain As New MainForm frmMain.FormBorderStyle = Windows.Forms.FormBorderStyle.None frmMain.WindowState = Windows.Forms.FormWindowState.Maximized frmMain.TopLevel = False pnlMyPanel.Controls.Add(frmMain) frmMain.Show() | |
Re: After reading over a few documents with HP; I have not discovered any solutions that stand out. You might want to give [this](http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01443317&tmp_task=solveCategory&cc=us&dlc=en&lc=en&product=4301444) a try to see if it finds something. | |
Re: I know it sounds extremely simple, but have to tried clearing temp files? Something as simple as CCleaner might help you do this. | |
Re: You could try pressing Control + F11 on boot to open the DELL recovery utility. | |
Re: You can absolutely run a 32bit os on a 64bit processor. (I assume you mean processor) The advantages of 64bit operating systems are large. For instance; a much larger memory bank is possible on 64bit operating systems. If a 32bit OS is the only thing available then I'd say go … | |
Re: Try declaring an integer value at the class level: Dim iCount as Integer = 0 Then increment on removal: If listItem.SubItems.Item(0).Text = " " Or listItem.SubItems.Item(0).Text = "" Then ListView1.Items.Remove(listItem) iCount += 1 End If Once finished print out the count: If iCount > 0 Then MsgBox("Clearing completed." & iCount … | |
Re: Will the server that you are connecting to have a static IP? Also, what database type are you connecting to? SQL Server, Oracle, MySQL, Access, ect... | |
Re: May I suggest a safer method of storing a password? You could create a database in something as simple as access and store the passwords in a table. To increase the security further, you can encrypt the passwords and store the encrypted string into the database. This method is called … | |
Re: One java book that was always a great resource when I had begun school was the Java Programmer's Bible. | |
Re: After a quick google session, I have discovered [this](http://www.codeproject.com/Articles/313143/VB-NET-Image-Filters) article. | |
Re: One question would be: Are you populating the listview from a database? If so, then just create a report with that dataset instead of trying to get the data from the listview. | |
Re: Quite a simple solution to your problem would be to write a query that does so! For example: Private Sub Button1_Click(ByVal sender as Object, ByVal e As EventArgs) Handles Button1.Click Dim con As New OleDBConnection("YourConnectionStringHere") Dim cmd As New OleDBCommand("UPDATE table1 SET col2=? WHERE col1=?",con) Try 'When using OleDB you … | |
Re: Please read the community rules [here](http://www.daniweb.com/community/rules). You will have to provide some form of proof that you have indeed attempted this assignment. We are not here to complete your work, but to possibly help troubleshoot code that might also lead to a better understanding. | |
Re: Can you please post your connection string to your database? Also, Have you given the correct permissions in Workbench? | |
Re: Yes, you can have multiple wireless routers in your home. The problem that may occur when doing this may be poor signal quality if the signals interfere with one another. But in short, yes, you can absolutely have multiple wireless routers in your home. |
The End.