Possible To Work With PCX Image Files?
Feb 28, 2005it's possible to work with PCX image files in VB.Net? I know it's possible with most other formats like bmp and jpg.
View 10 Repliesit's possible to work with PCX image files in VB.Net? I know it's possible with most other formats like bmp and jpg.
View 10 RepliesIn VB6 you could BITBLT things around before refreshing the screen. In .NET, I'm aware of DrawImage, but that can only be done on a paint event rather than before anything gets painted. The issue I have is, I need to open several files with image data in them and then build a bigger image with those smaller images. Before I could open them, BITBLT them to a Buffer. As far as I can tell .NET offers no way to do this as the only function I've been able to find (DrawImage) only works within the paint event. Is there still a way to do this in VS08 or no?
View 6 RepliesI know this is out there and probably illogical but I was wondering if it was possible to take multiple picture files and compact them into one file.... and then retrieve them from the program later? Way to combine any amount of image files into one file
Module Module1
Sub combine()
Dim img1 As New Bitmap("i1.jpg")
[CODE]...
how can i get a full code or full information how to work with image and pixels i want to work with image by pixels as integer number not as color?
View 5 RepliesI know .NET Framework 3.5 has a class which allows you to compress invidual files.But how can I add multiple files to a single output compressed file and extract them back later without using 3rd party assemblies just using .NET Framework in Visual Basic?
View 3 Repliespicturebox1.image = system.image.drawing.fromfile(x) x is the location where the webcam store the current image.if the code above would work what is x ?
View 14 RepliesI would like to upload files on Tinypic.com, but it does not work. Can someone help me? The URL is TinyPic - Free Image Hosting, Photo Sharing & Video Hosting.
View 1 RepliesI can't seem to find a way to get the Transparency of the character sprite to work. It always seems to take the background image of the form no matter how I tweak it.
View 15 RepliesBasically we ran into where, for whatever reason, we had to put some 3rd party dll in the GAC for it to work correctly. (The assemblies loaded, but had weird behavior and trouble finding types in the loaded assemblies. The app itself is a add in to another 3rd party program, so it must be something about how its being loaded.) So I tried to write some quick code to handle this without having to manually do this on each machine it was needed on. This is basically what the code boils down to:
Dim X As New System.EnterpriseServices.Internal.Publish
X.GacInstall(name)
Where name is the filename of the dll. This runs without error. It even add the assembly to the GAC. However, the application still experiences the same issue until you manually add the assembly in .Net Configuration window.
The following .bat file runs through only once when the argument contains a star (*), but if I write out all of the arguments I get an ECHO and PAUSE for each one.Doesn't the star work for batch files? [code]
View 2 RepliesI have a class that is a downloader (I didnt make it). You create an instance of it like so:
Dim _Down As New WebFileDownloader_Down.DownloadFileWithProgress(URL, Location)URL and Location are replaced by strings. This all works fine. But when I try to download multiple files, it doesn't work, I just add this bit for another file to be downloaded:
[Code]...
I did a function to one of my projects to a DLL file, and when the user starts the function a icon for that function grows (to show that the function is open).When the user closes the function the icon should shrink back again. But i have some problem whit that.The problem is: when i open a other form, the icon shrinks even if i haven't closed the function.What make it strange is that i have 2 function like that, the first one is the one that is behaving like this and the second one works the same way, but the second icon do not shrink when i open a new form. The second icon only shrinks when i close that function.
Here is the code for the opening of the first function:
Private Sub MedlemskortToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MedlemskortToolStripMenuItem.Click
frmm = New Medlemdskort.Form1
frmm.datap = Application.StartupPath & "\database2.mdb"
[code]....
I'm trying to get a progress bar to work while it copies all files in a folder to another. I've gotten the progress bar to show and display the progress, but during the copying process the app stops displaying anything if I click away and won't display anything until it finishes copying everything. It just freezes with a ghost image in the form while it's copying. How do I prevent the app from freezing during the copying process? I can't even minimize it or move the window around. I hope I made sense. Here's my code.
Dim Files = My.Computer.FileSystem.GetFiles(.SelectedPath, FileIO.SearchOption.SearchTopLevelOnly, "*.*")
Dim i As Integer
[Code].....
We have code in our former VB6 application, that ported fine to VB.NET, that plays a simple AVI file of the typical "flying folders" and "spinning maginfying glass" AVI. Under Windows XP, our application ran fine and everything was good.
Then we had customers start using Vista and Win7 and this stuff crashes. We were using the MS Common Controls (SP4) and then (SP6) - utilizing the Animation player. Now - these dont work and we get nasty errors.
I searched Microsoft and the web to answer the "what now?" question and though there are numerous suggestions, none of them work. We cant use Media Player because we dont want any menu - just the graphic. We dont know why, with the cool tools given in .NET, there is no animation player (seems a huge oversight...) But we need to get "unstuck" on this one, and we need that fast...
So, How does on play a simple AVI file using VB.NET code? What DLL or OCX does Microsoft recommend and is there a place we can find some sample code for it?
i had this code to update a twitter profile immage and suddenly it doesnt work anymore,, i have reacked my brains trying to change it and fix it and to no avail,, nada,, every google search you can think of,, im at the end of my wits,, a full week 24/7 no sleep and now i give up. this is the code that use to work:
[Code]...
i have a table layout panel with a background image. in the table there is some panels with transparent back colours. the image shows up in vb designer but when i execute it, it is invisible.
View 6 RepliesAbout what audio components are exposed by the .net framework?
Can I work with .wav files? What kind of things can I do with .wav files as far as vb .net is concerned? Can I record? What should I look for when looking for info for .net related audio at msdn. Where else can I find info on this?
My click-once app has english and spanish content. In development, it runs fine with the two resource files I have - named multilingual.en-US.resx & multilingual.es-MX.resx accordingly. When I publish it looses these resources for referencing.The files reside in the root directory for the app.
View 1 RepliesI am trying to write data to a binary file using the Print() method, but when I run it I get the System.IO exception Bad File Mode.
Here's the code for the FileOpen declaration, that might have something to do with it?
FileOpen(filenumber, "path to file", OpenMode.Binary, OpenAccess.Write, OpenShare.LockReadWrite)
Print(filenumber, expression(variable))
I have an image resized program and it works. The problem is when a user selects a non-image file in the file select dialog, it crashes. How can I check for image files?
View 4 RepliesI'm creating a program to generate PDF files in VB.Net.Everything is working fine except that the image is being displayed with a blue background while the image provided doesn't have any.Following are the lines of code being used:
sColor = IIf(mvarEncodeASCII85, ToASCII85(ImgColor),
(System.Text.Encoding.GetEncoding(1252).GetS
[code].....
I need to keep the original Ratio of the Width to Height of an image file within a picturebox, basically I will have to adjuest either the width or the Hidth of it. Does anyone have a suggestion on how I do this? I was thinking I would have to get the Width and Height attributes of the Picture file with an integer and use a little bit of math to determine the approprate size of the picturebox object.
View 1 Repliesi pulled some code off the internet for resizing images on the fly. it works great but only if i give an absolute address for the location of my files.
here is the portion of code:
Dim src As String = "c:downloadsff.jpg"
mage = System.Drawing.Image.FromFile(src)
[code].....
This code may be useful to someone. It's code I used to generate the code for this thread:How could i create an animated .gif file from several other .jpg files in c# express
Imports System.IO
Imports System.Drawing.Imaging
Public Class Form1
[code].....
So I have a button and an image. Is there a way that I can compile the image with the program, and when the person clicks the button 'Save', the save file dialog pops up and you can save that file to your computer?
View 2 RepliesI have a filesystemwatcher waiting for .jpg files to arrive from the camera.he file system watcher invokes a delegate (it works but is that the proper way to handle it?) sub that does a couple of things:1. Adds the just arrived file name to a table2. Attempts to display the image in a picturebox on the form. When it displays the image it imprints some information on the image that the user has entered on the screen. I use a file stream to retrieve the image.The problem is, I'm getting a file in use orror on the "Img = ystem.Drawing.Image.FromStream(fs)"statement. Not all the time. Sometimes I can add three or four files to the folder in rapid succession with no issue. But then out of the blue the error will occur. Sometimes it's there to stay but other times it will go away and allow me to add morefiles.
View 2 RepliesJust a doubt: if I have large amount of image files for my app, is it ok to store them in the resource file ?
Will those files be saved in a single resource file ? Will that cause any problem to the performance of my app ? When I try to access a image file from the resource using code, will it load that file only into the memory or the entire image contents from the resource file ?
I accomplished the task of creating a picture viewer that finds pictures in a directory,adds them to a listbox, and displays them in a picturebox at intervals using a timer. Now, I am trying to achieve a similar task using an array in a continuous timer-display fashion so that after the last image the process starts over from the first image again
Public Class Form1
im file(5) As System.IO.File
Dim num As Integer
[code].....
I have a set of files of various format like pdf,txt,tiff,jpg.I need to render it within the form and highlight the certain keywords.Initially i tried to convert all files to pdf and then render it( using itext for vb.net).Now my colleague advised me to render them as html or images, saying it might make the process easier.
View 3 RepliesI have a program that can view different images selected by the user off of their hard drive. How can I have it so they can then save that image to a different place on their hard drive using my program.? I don't know much about saving files in VB.
View 6 Replies