VS 2008 Split A 1024x768 JPG Into 12 256x256 BMPs?
Jul 31, 2009
Is it possible to split a 1024x768 JPG(or any other format windows can read) into 12 256x256 BMPs and save them all with a filename like "original name - x" where x is the current BMP number?
It's for a puzzle style game I'm thinking about developing.
View 14 Replies
ADVERTISEMENT
Mar 25, 2011
I designed my form on my machine running 1282x1024. It works fine. I installed it on a client machine running 1024x768 and the form goes off the bottom edge of the screen. I set autoscale on the form to none, font, dpi, and inherited, changed my screen resolution and ran the program. It always looks the same, off the bottom os the screen. I tried Autoscroll on with no effect.
My reading of the documentation seems to indicate these two items are more for the system font size and the screen's dpi setting, not the screen resolution but I can't find anything else to work with. How do I make the form and everything on it change size based on the screen resolution?
View 4 Replies
Jun 8, 2010
I run a software development firm that develops application for Windows Vista or higher. Windows Vista has a new feature called large icons, that allows display of up to 256X256 icons.
However, if I make an image that contains this icon file, the image just assumes that it should use the 32X32 one in the ICO file, even if I scale the image up to like 500X500 (in that case, it just scales the 32X32 one up).
View 6 Replies
Feb 7, 2011
When I build my DLL in the same solution as my application, it works because the DLL can find the BMPs in the project directory. When I publish the application and install it on another machine, it won't run because it can't find the BMPs. How do I embed the BMPs in the DLL so they are available wherever the application is installed?
This worked a couple of VS releases ago. I am trying to update an application that has been working for years. The old executable still runs. If I use the old code, and publish it without changes, the new executable doesn't work. What do I need to do to carry the BMPs inside the DLL instead of having to create a new directory on the target machine to hold the BMPs?
View 2 Replies
Jun 23, 2011
Is there any way to make an avi file from many bmps?
I'm making a screen capturing/recording program and the avi function is the only one that is missing.
View 2 Replies
Mar 29, 2006
there are a number of sources (ONE, TWO and THREE) which show how to use VB6 to create a video file from BMPs?
View 6 Replies
Dec 30, 2010
I am trying to create a program that renames files to 1 - (however many files are in the folder) and also convert .pngs to .bmps, I had done this but I messed it up a little. I am not that experienced with VB.Net but I am looking to learn so any help would be great. I have tried this myself but as you can see in the code I've gone the wrong way about it.
[code]...
View 2 Replies
Mar 18, 2010
Here's the code that I use to extract the icon size that I want:
Dim i As Icon = My.Resources.Spectrum
Using i2 As New Icon(i, New Size(256, 256))
Me.PictureBox1.Image = i2.ToBitmap
End Using
This works from 16x16 up to 128x128 but for 256x256 it extracts the 128x128 icon. I tried 0x0, because I seem to remember that that is how the large size is stored in the meta data, but that didn't work either.
View 3 Replies
Jun 19, 2010
I have listbox which is populated from a text file with all the items fromt he 1st split, the text file looks like this:
Quote:
test l1c1 | test l1c2 | test l1c3
test l2c1 | test l2c2 | test l2c3
[code].....
View 4 Replies
Dec 15, 2010
I am trying to split a long string based on an array of words. For Example:Words: trying, long, array Sentence: "I am trying to split a long string based on an array of words."Resulting string array:Multiple instances of the same word is likely, so having two instances of trying cause a split, or of array, will probably happen.
View 5 Replies
Jun 13, 2010
How do I split something like ABC to A B C?Similar to "This is a Sentence" toThisisaSentence
View 5 Replies
Jun 7, 2010
How can i split a string with this (Braga Sul - Maia II) that i have (Braga sul) in the textbox 1 e (Maia II) in textbox2.
View 11 Replies
Aug 16, 2010
how can i split this text
user:mt(1-2)
into
mt 1 2
[code].....
View 13 Replies
Aug 12, 2010
I have a string: vb.net Dim strPath as string = "C:abcINV042.PDF" How do I cut the string so that I only have "INV042.PDF"?
View 1 Replies
Feb 2, 2011
I've got this code
Sub Main()
Dim fso As New IO.StreamReader("D:ACS DesktopAddsDeletesChangesMemberData_02022011.txt")
Dim fsn As New IO.StreamReader("D:ACS DesktopAddsDeletesChangesMemberData_08182010.txt")
[code].....
View 6 Replies
Jul 7, 2011
how to make a program to split the monitor into 4 unequal parts?
View 1 Replies
Aug 27, 2010
how can i split this text mt(15-11:14)into mt(15- & 11 & 14
View 5 Replies
Apr 4, 2009
I am using this bit of
If (proxyListView.Items.Count > 0) Then
Dim ProxyArray As Array = Split(proxyListView.Items.Item(proxyListView.SelectedIndices), ":")
Dim ProxyServer As String = ProxyArray(0)
[code]....
to split a bunch of proxies in a listView, but i'm not sure the proper syntaxt to use at: proxyListView.SelectedIndices, i thought it was SelectedIndex but that doesn't seem to be an option in VS2008?
View 3 Replies
Mar 1, 2012
I would like to create a split container with a three way split. The first split is a vertical split. The second is creating a horizontal split within panel2 of the first split container. panel1 will hold a treeview control the other two panels will hold listview controls
I think this question has been asked already in a couple different ways and I've reviewed those posts and I've tried to do what was suggested but it doesn't seem to work for me. I've tried to place a second split container inside panel2 of the first split containter. This gave me what appeared to be a three way vertical split.
View 3 Replies
Dec 16, 2010
If I have a string, like "FilesTwoFilesMoreFilesFile.txt". How can I split everything in front of the last to a string called 'firstPart' (That would be "FilesTwoFilesMoreFiles") and the 'secondPart' to be "File.txt"?
View 6 Replies
Nov 3, 2011
my problem is for example if
1,50
1,200
are loaded in listbox1 and i split the "," and its value to textbox1 when i select the index 1 in listbox i get the same value as first index here is my code for load the textfile to listbox
Dim linereader As New System.IO.StreamReader(OpenFileDialog.FileName)
While (linereader.Peek <> -1)
ListBox1.Items.Add(linereader.ReadLine.Split(",")(0))
End While
[Code]...
View 6 Replies
Nov 24, 2009
ok i've got an input code that the user enters in to the program but i need to split it in to 3 differnt sections but i cant figure out how to do it e.g. 122131 needs to be 12 21 31
View 2 Replies
Mar 15, 2012
I have a large text file which I want to split into many different items.
On the next file I have a time between each item it's like this
01:20 a.m.
01:44 p.m.
In between these items is information like you would see in a log file.
How can I split these items like this?
View 13 Replies
Apr 12, 2010
I wanted to split a string before the ",". For Example "ARIAL, 9PT" I just want the bolded part "ARIAL".
Dim family_name As String = ""
Dim sentence As String
If Not (FontTypeComboBox.SelectedItem Is Nothing) Then
[Code]....
View 4 Replies
Nov 24, 2009
I have an app that reads 2 colums of numbers from a .rtf textfile. The textfile is added to a textbox line by line in a counter. Now I want to split these values to 2 other textboxes. but I don't know how to proceed now. The .rtf textfile is 2 columns of data (imported from Excel), I need this format because it is a pointpair list for Zedgraph. If I use this code both number is added, theres no split:
[Code]...
View 3 Replies
Jun 7, 2010
i'm doing a program that reads a .csv file, and i want to split the 5th information to a array. But just the 5th information on every line.There is the code i have already done:
Public Class form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim ofd As New OpenFileDialog
[code]....
View 2 Replies
Feb 5, 2009
i would like to split a string not on a char but on the case I have string of the format:
thisIsTheString
I would like to get: this Is The String
PS: i know i could iterate through each char of the string and check for "isUpper" ... but maybe there are more efficient and smarter ways of doing it ?
View 6 Replies
May 23, 2009
I have this as code to run the program
Process.Start(ListBox1.SelectedItem.ToString.Split(New String() {" "},
StringSplitOptions.None)(1))
Which used to work but then I added a "Preview image" function like this :
(ListBox1.SelectedItem.ToString.Split(New String() {" Image:"}, StringSplitOptions.None)(1))
I now discovered that the first code is useless, because it selects everything after " " to run, including the "Image:"
This is how a listbox item is stored:
Tomb Raider Level Editor - Original C:Program FilesTomb Raider - Level Editor omb4.exe Image:C:Program FilesTomb Raider - Level Editorload.bmp
As you can see it'll use this
C:Program FilesTomb Raider - Level Editor
omb4.exe Image:C:Program FilesTomb Raider - Level Editorload.bmp
to run
Is there any way I can make it choose the path from " " and when it finds "image:" it stops?
View 4 Replies
May 15, 2010
I have a range of strings (Basically filenames) and I want to strip them down. Basically I load a list of files (path/clubs/) and it lists them into a list box as club1.adf club2.adf etc. I then select club1.adf for example from the list box, and hit a button. The button then loads path/club1 into my application. So basically I want to split the .adf from the club1. Something like the following, I imagine?
[Code]...
View 5 Replies
Feb 17, 2009
I have a string s
dim s as string="";" ; Form1.vb ; Form1 "
I want to split it and get
";"
Form1.vb
Form1
But if I use
Split(s,";")
I will get the wrong result because of the first string has a comma.
View 21 Replies