800 Posted Topics
This is a module that can be used to save tiff images pass in from a file dialog. This module was translated from C# to VB.net, and the original project can be found [URL="http://www.codeproject.com/Articles/16904/Save-images-into-a-multi-page-TIFF-file-or-add-ima"]here[/URL]. I do not claim rights to this code. You can copy this code straight down into … | |
Re: With the following prompt that you described - I assume that you are using click once deployment. [Here is an article on MSDN](http://social.msdn.microsoft.com/Forums/vstudio/en-US/bbbb43b2-16af-491d-a65e-0502b76ab0c4/clickonce-and-silent-mode-installation?forum=vsto) where some one asked a similar question. | |
Re: Hello! Please elaborate as to which programming language you are using. There are many ways to count the number of days between two dates, but we can not give any if we don't know your desired language! | |
Re: Are you interested in something like [this](http://www.codeproject.com/Articles/225747/NET-Network-Monitor)? | |
Re: I see a couple of problems that may occur. First, you need to change this code: For i = 0 To rsSearch.Tables.Count Step 1 To this: For i = 0 To rsSearch.Tables.Count - 1 Step 1 To safeguard from index out of range. Second, do you know that the stored … | |
Re: [Here](http://stackoverflow.com/questions/9893245/vb-net-oracle-connection-using-tns-name) is a link to an article with the same question. (A few seconds of google) | |
Re: > Resuse types in all referenced assemblies the reference is added but it throws conversion error string to Guid, i am troubling to find out the issues last whole day but doesn't come with any solution, If it throws this error in code, post that code that you are having … | |
Re: You are not updating the table, you are just deleting the local copy. To update the table, issue an update with a data adapter. da.UpdateCommand = New OleDBCommandBuilder(da).GetUpdateCommand da.Update(_DataSet) | |
Re: I wrote some software like this once. I used the width/height of the barcode bitmap and the size of the paper to determin the spacing to get the maximum amount per sheet printed. I don't have have any source code on hand, but the basic concept was: 1)Get Bitmap 'Call … | |
Re: You are talking about Operating System features here. To do something like this you will have to do some reasearch into the Windows API to see if this is possible(Most likely). If it did, I might even go as far to say that this may cause your application to be … | |
Re: I am unsure, but if I understand what you are asking - you may be implying that hardware and software are synonymous. If you wish for a program to run off the disk only, then create an autorun to install the software, but point to the disk for resources. As … | |
Re: You can emplement some form of [Data Paging](http://msdn.microsoft.com/en-us/library/tx1c9c2f(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1) to speed the process up. For exmaple: Query in 100 records at a time then post those out to your control. If the user starts scrolling the control, and is nearing the bottom - add another 100. Rinse and repeat! | |
Re: [Here](http://www.codeproject.com/Articles/12152/Numbering-lines-of-RichTextBox-in-NET-2-0) is a VERY OLD article that does this exact thing. | |
Re: Sounds like an assignment to me. [Here](http://libclaw.sourceforge.net/tweeners.html) is a library that might help. As for code, you might be on your own until you can prove you have code. | |
Re: You will have to store the audio file's raw binary in the database. [Here](http://www.aspsnippets.com/Articles/Save-MP3-Audio-Files-to-database-and-display-in-ASPNet-GridView-with-Play-and-Download-option.aspx) is a nice article that does this in ASP.NET (VB.NET code behind) | |
Re: You might have to set your command for the update: da.UpdateCommand = New OleDBCommandBuilder(da).GetUpdateCommand() Then issue the update. See if this helps. | |
Re: Have you verified the directory? Why are you installing Windows in code? -OR- Ați verificat directorul? De ce a instala Windows în cod? | |
Re: When you say that you are saving the data in the settings, are you referring to application settings? If so, then this will be an extremely inefficient method of storage. Why not store the history in a csv? (If the data is not confidential!) Then you could load your listview … | |
Re: You are so close that it is not even funny. You will have to devise a method of determining if the user is finished entering data. For example, maybe a next and finished button? After the user enters a VALID number in the text box, add it to a class … | |
Re: Have you contacted Siemens to see if an option exists? Without having any access to this application only a select few people will be able to help you. (possibly no one) Are you using an API to integrate the application into your own custom application? | |
Re: Have you checked to see if you are using any depricated features in your function? | |
Re: Would something like this: TabControl1.SelectedTab.Controls.Find("MyRichTextBox", [True]) Be the answer you are looking for? Just replace the "MyRichTextBox" with the tab title, et voila. | |
Re: You will have to post your code if you would like us to debug it, friend. | |
Re: Have you declared Grades? Do you mean something like this: Dim Grades As Decimal = ClassAverage("TESTSTRING") | |
Re: You will have to size the lables accordingly. One idea would be to get the size ratio of the label and using that ratio scale the label when the image is scaled. You will also have to move the label when the image is moved. One way you might be … | |
Re: Are you receiving a prompt saying that the system time is wrong? Something that may be saying, "Press F2 to enter setup" ? Have you checked your memory? | |
Re: Is it possible that the message box breaks execution long enough for your buffer to catch up? | |
Re: Would something like this help? [Click Here](http://www.lmgtfy.com/?q=JAVA+RSA+Code) | |
Re: This looks like homework. Homework that has been copy/pasted directly from the assignement description. | |
Re: Check the configuration of the drives. Check master/slave status in bios and on the drive. | |
Re: Are students not even trying anymore? This is a direct copy/paste from an assignment decription. We are a **Help** forum, not a **DO** forum. If you would like help, please attempt the project first and then seek assistance. | |
Re: The software you would be looking for would probably be found when googling print job management. The problem being is that most of the software is free for 30 days then licensed for a small phenomenal fee. You might want to scour sourceforge or other freeware/shareware sites. | |
Re: Sounds like an assignment, but hey - I'll give you the doubt. You can start by declaring your tables. Sounds like you need some lookup tables and a main table. Something like this:  | |
Re: > I am hoping I don't get the odd person who says this isn't possible This isn't possible! Just kidding! :) | |
Re: Sounds like your problem lies here: Dim s As String = "SELECT * FROM pay_item_description WHERE [pay item]='" & str & "'" If you change the code to : Dim s As String = "SELECT * FROM pay_item_description WHERE [pay item]=" & Cint(str) Or Dim s As String = "SELECT … | |
Is anyone else not freaked out about Fred's left hand? It looks like his thumb is on backwards. | |
Re: Just use the my.Resources._1 call to get the path: Dim sDest As String = My.Computer.FileSystem.SpecialDirectories.Desktop My.Resources._1.Save(sDest) | |
Re: To get the most accurate time used, you will have to read/write to the database every n seconds. This could be a performance hog but it can be done. What is you time stored as in database? A string? (***Text, NVarchar, Varchar, ect..***) | |
Re: I am not sure about funny ring tones, but android allows you to set full songs at a ring tone. Any purchased music that is downloaded to your SD card or phone can be set as a ring tone. There are various pieces of software out there for Android that … | |
Re: As shown [here](http://msdn.microsoft.com/en-us/library/system.drawing.graphics.translatetransform.aspx); the TranslateTransform sets the new zero point of the drawing. When you call this you are setting the new zero point to the center of the screen. (1/2 sz.Width, 1/2 sz.Height). Therefore, when you tell it to draw the string at 5,6 it will draw using the … | |
Re: As per Microsoft's documentaion found [here](http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage(v=vs.100).aspx) - that property is obsolete. ReplyTo Obsolete. Gets or sets the ReplyTo address for the mail message. [A quick google session](http://www.systemwebmail.com/faq/2.7.aspx) reveals you may be able to do this as follows: message1.Headers.Add("Reply-To","a@a.a") | |
Re: You could fill a dataset in code and pass it to crystal if you wanted to skip using a odbc. See [this](http://forums.codeguru.com/showthread.php?489668-RESOLVED-How-to-programmatically-set-data-source-for-Crystal-Reports-basic-for-VS-2008) article for programmaticly setting the datasource for crystal. See [this](http://msdn.microsoft.com/en-us/library/bh8kx08z.aspx) article for filling a DataSet. | |
Re: [Here](http://support.microsoft.com/kb/823179) is a lengthy article on Serial/Parallel port programming in vb.net. Have you contacted the equipment manufacturer to see if there is some API that you can use? | |
Re: Is the above image from a website or an existing application? | |
Re: My routine usually goes as follows: Average day: Cardio(Running) Compound Exercises(By Muscle Group) Schedule: Monday - Upper Tuesday - Lower Wednesday - Rest Thursday - Upper Friday: Lower Saturday - Touch Up Sunday - Rest Chest/Arms: Bench Press -Flat -Incline -Decline Curling -Preacher curls -Hammer -Modified Hammer (Twist dumbell when … ![]() | |
Re: You can try writing a custom fill function: Private Function Fill(ByVal lstIN As List(Of T)) As Boolean Try Dim lvi As New ListViewItem lvi.Text = lstIN(0) 'if index 0 is a unique - Column 1 lvi.SubItems.Add(lstIN(1)) 'Column 2 in listview lvi.SubItems.Add(lstIN(2)) 'Column 3 ListView1.Items.Add(lvi) Return True Catch ex As Exception … | |
Re: After reading this code, I hope that this system is not being implemented in a corporate environment. This is horribly insecure - using some one's last name as a password will almost guarantee an easy data breach. As for the code, why are you selected the contents of the entire … | |
Re: How are you connecting inside your application? Generally if you wrap your connect code in a try/catch a problem will be thrown. Have you check your connection string? | |
Re: Something as simple as: Dim sr As New StreamReader("PAthtofile") While sr.Peek <> -1 Console.Out.WriteLine(sr.ReadLine) End While |
The End.