Printing Photos using VB6 and/or .NET
Does anyone have any code suggestions or samples for printing photos (BMP or TIFF or JPEG), using Visual Basic or .NET framework? ...
Does anyone have any code suggestions or samples for printing photos (BMP or TIFF or JPEG), using Visual Basic or .NET framework? ...
I am writing a desktop app in VB.Net, and I'd like to include a web browser control to automate certain functions the user might have to perform in the browser. I have to render the page so I do not want to use the webrequest to make direct calls. When I publish the app, do I have to be concerned with which version of Internet Explorer t...
I have just downloaded SQL Server 2005 express edition from here: To be used as a database for a vb.net program. But I'm confused in using sql server. I do not know where to start from here: http://screencast.com/t/ZTdiMDU5 Do I have to create the database in vb.net?--> http://screencast.com/t/ZjRlYjkx If not, where could I create...
hello friends, I am facing one strange but typical problem. In one my form I have DataSet filled up with so much of data which I need to use throughout the form. & I have 1 "print report" button also. When user click on that a report gets displayed. But after I click on that my DataSet gets cleared & so after that bug comes...
I imported a website made in visual studio express 2008 to visual studio express 2010. When I run the home page I get the following error: "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an applicatio...
hai, I'm using vb.net, in which i have a date time picker. I need to get a message when i change to date. I had done it with TextChanged event,But when i click the selection button of datetime picker the message is asking two times. How can i over come this. The code that i write in text changed events is as follows: Private Sub dtpUpto...
Hi! I recently found out about n-grams and the cool possibility to compare frequency of phrases in a text body with it. Now I'm trying to make an vb.net app that simply gets an text body and returns a list of the most frequently used phrases (where n >= 2). I found an C# example of how to generate a n-gram from a text body so I started ...
Hi there, Can anyone help. I have the following in vb.net and need to convert it to c#. Seemed rather simple at first but I need to pass in the NamedObject variable as welll which is supported in vb.net but not in c#.. What are my options. Here is the vb.net - notice the NamedObject Public Property Datos(ByVal NamedObject As Str...
Hi, I want to let TextBox control TextChanged event fire only when there are more than one character in the TextBox. Thank you. ...
Hi I am working on a Vb.Net application . I have a compose message web form where users will compose a message , but after the users click the send button I am inserting in the message table. All is working fine , infact great . Now I am thinking of adding a undo button where I will show this button if the user will click the send button...
Do you know of any beginner tutorial on how to manipulate(Add, Edit, Delete, Search, List) sql Server database in vb.net? ...
Could someone please help me in here, I'm just a beginner who want to learn on manipulating SQL Server data using vb.net. I have already experienced manipulating data in ms access. So I just recycled the code that I used in here. But unfortunately I got this error: Object reference not set to an instance of an object. And another prob...
I'm writing some code that takes a report from the mainframe and converts it to a spreadsheet. They can't edit the code on the MF to give me a delimited file, so I'm stuck dealing with it as fixed width. It's working okay now, but I need to get it more stable before I release it for testing. My problem is that in any given line of dat...
Basically, I wish to fetch a filtered set of objects from the database (Oracle 9.2) based on the id property of the object PsalertsEvent. The code being executed is: Public Overloads Function GetAll(ByVal laterThan As Long, ByVal filteredPsalertsEvents As IList) As IList Implements IPsalertsEventRepo.GetAll 'Get all psalert...
Hi, vb.net windows forms question. I've got 3 forms that have exactly the same functions, so I decided to create an interface. public Interface IExample public sub Add() Public sub Edit() Public sub View() End Interface Then I created the 3 forms, and added the 'implements interface IExample' to each. public class...
Hi, Im trying to use LINQ to query Objets. I'm doing the following: Dim myList As Generic.List(Of MyItem) = (From ThisItem In LinqToSqlObject.Items _ Join Folder In LinqToSqlObject.Folders _ On Folder.Id Equals Item.Id _ ...
I have a form which has a Combo Box Control. I have selected the drop down style property to DropDown. I have also set the DropDown Width to 250. I have set the auto complete mode to suggest and the auto complete source to listitems. it works absolutely fine when i click on the drop down. but when i type in somethin, the auto complete m...
The obvious doesn't catch the LF characters foo.Replace(Environment.NewLine, String.Empty) Nor does... foo.Replace("\r\n", "").Replace("\n", "").Replace("\r", "") The file itself is a multi line XML file. Line feed characters before the XML declaration invalidate the string. ...
I am loading an html page into a WebBrowser object in a VB.NET Windows Forms application. The user may make changes to textboxes, dropdowns, etc. on the HTML page displayed in the browser. I want the ability to save the current context to a .pdf file on the local HD. I am able to print using WebBrowser.Print(), which shows the current...
I have some software written in VB.NET that performs a lot of calculations, mostly extracting jpegs to bitmaps and computing calculations on the pixels like convolutions and matrix multiplication. Different computers are giving me different results despite having identical inputs. What might be the reason? Edit: I can't provide the al...