800 Posted Topics

Member Avatar for Begginnerdev

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 …

Member Avatar for Lolatorres
0
287
Member Avatar for razree

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.

Member Avatar for razree
0
207
Member Avatar for zebnoon

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!

Member Avatar for zebnoon
0
199
Member Avatar for Onismo

Are you interested in something like [this](http://www.codeproject.com/Articles/225747/NET-Network-Monitor)?

Member Avatar for Begginnerdev
0
67
Member Avatar for nel gomez

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 …

Member Avatar for Begginnerdev
0
591
Member Avatar for subani.prasad

[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)

Member Avatar for Begginnerdev
0
42
Member Avatar for bhagawat

> 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 …

Member Avatar for Begginnerdev
0
160
Member Avatar for elianeasmar

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)

Member Avatar for Begginnerdev
0
1K
Member Avatar for harisybsy

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 …

Member Avatar for deceptikon
0
451
Member Avatar for Mr.M

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 …

Member Avatar for Begginnerdev
0
295
Member Avatar for Mr.M

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 …

Member Avatar for Gé48
0
180
Member Avatar for jaasaria

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!

Member Avatar for Begginnerdev
0
963
Member Avatar for Deep Modi

[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.

Member Avatar for Deep Modi
0
687
Member Avatar for Geek1024

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.

Member Avatar for owenransen
0
152
Member Avatar for Gen_1

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)

Member Avatar for Begginnerdev
0
339
Member Avatar for bogdan.buduroiu

You might have to set your command for the update: da.UpdateCommand = New OleDBCommandBuilder(da).GetUpdateCommand() Then issue the update. See if this helps.

Member Avatar for Reverend Jim
0
198
Member Avatar for ciocolatadulce77

Have you verified the directory? Why are you installing Windows in code? -OR- Ați verificat directorul? De ce a instala Windows în cod?

Member Avatar for Dani
0
156
Member Avatar for Deep Modi

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 …

Member Avatar for Begginnerdev
0
310
Member Avatar for joester007

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 …

Member Avatar for JennyV143
0
256
Member Avatar for rbeach1955

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?

Member Avatar for Begginnerdev
0
195
Member Avatar for Vimal Bhatt
Member Avatar for Vimal Bhatt
0
177
Member Avatar for CJMW

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.

Member Avatar for CJMW
0
2K
Member Avatar for mike.perakis
Member Avatar for Deegirl

Have you declared Grades? Do you mean something like this: Dim Grades As Decimal = ClassAverage("TESTSTRING")

Member Avatar for Begginnerdev
0
168
Member Avatar for Start4me

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 …

Member Avatar for Begginnerdev
0
348
Member Avatar for best4earn

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?

Member Avatar for Begginnerdev
0
213
Member Avatar for wrathness

Is it possible that the message box breaks execution long enough for your buffer to catch up?

Member Avatar for wrathness
0
232
Member Avatar for mohammedfae

Would something like this help? [Click Here](http://www.lmgtfy.com/?q=JAVA+RSA+Code)

Member Avatar for mohammedfae
0
3K
Member Avatar for Kaone_1

This looks like homework. Homework that has been copy/pasted directly from the assignement description.

Member Avatar for rubberman
0
211
Member Avatar for lewashby

Check the configuration of the drives. Check master/slave status in bios and on the drive.

Member Avatar for rubberman
0
103
Member Avatar for ankit94679467

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.

Member Avatar for ankit94679467
0
148
Member Avatar for magneyolass
Re: ok

How are you certain that the vga output is working if you can't see anything? Can you see the bios post? Can you hear a bios post? If not, do you have an onboard gpu or dedicated gpu? If onboard, have you checked your ram? If dedicated, have you tried …

Member Avatar for Begginnerdev
0
60
Member Avatar for Vimal Bhatt

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.

Member Avatar for Begginnerdev
0
200
Member Avatar for faisal6621

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: ![a30819fe0887588372aaafb950b79cce](/attachments/small/2/a30819fe0887588372aaafb950b79cce.png "align-left")

Member Avatar for Begginnerdev
0
6K
Member Avatar for cwarn23

> I am hoping I don't get the odd person who says this isn't possible This isn't possible! Just kidding! :)

Member Avatar for Schol-R-LEA
0
382
Member Avatar for Nebil

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 …

Member Avatar for Nebil
0
370
Member Avatar for Begginnerdev

Is anyone else not freaked out about Fred's left hand? It looks like his thumb is on backwards.

Member Avatar for <M/>
0
197
Member Avatar for DM Galaxy

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)

Member Avatar for DM Galaxy
0
471
Member Avatar for saintrenz

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..***)

Member Avatar for Hazuan Nazri
0
1K
Member Avatar for Ancient Dragon

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 …

Member Avatar for Learner010
0
94
Member Avatar for castajiz_2

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 …

Member Avatar for castajiz_2
0
598
Member Avatar for tieties

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")

Member Avatar for Begginnerdev
0
245
Member Avatar for elie.karkafy

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.

Member Avatar for Begginnerdev
0
218
Member Avatar for elie.karkafy

[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?

Member Avatar for elie.karkafy
0
335
Member Avatar for Ahmed.C
Member Avatar for <M/>

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 …

Member Avatar for iamthwee
0
286
Member Avatar for Abhishek_12

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 …

Member Avatar for tinstaafl
0
193
Member Avatar for saintrenz

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 …

Member Avatar for saintrenz
0
198
Member Avatar for sashyn01

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?

Member Avatar for Begginnerdev
0
227
Member Avatar for Stealthbird97

Something as simple as: Dim sr As New StreamReader("PAthtofile") While sr.Peek <> -1 Console.Out.WriteLine(sr.ReadLine) End While

Member Avatar for Begginnerdev
0
141

The End.