o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

App Size / Resources -

I am working on a C++ project with about 36 icons. I have sample projects attached with icons as well. When I compile this project in VC++, I am in Release build minimized size and it still compiles to 84.0 kb!

I took the .res file from the Release folder and added it to a VB project, compiled that into an exe and it is only 60.0 kb. One problem with this though is using a resource editor or icon extractor all of the icons can be extracted from the exe in both the VC++ Release folder and the VB project exe.

I am using the icons for buttons, so I added the icons to buttons in another VB project. Then when I compile the exe, the icons cannot be extracted from it. It is only 56.0 kb. This may be confusing but look at the attached projects.

Questions:
1) How can I shrink the size of the VC++ exe without resorting to something as complicated as this http://www.hailstorm.net/papers/smal....htm#smallapps
(If you can attach a sample file maybe. I could not get it to compile.)

2) How can I compile a VC++ exe without exposing the icons used on buttons to an icon extractor?

 

Missing Manifest Resource Exception[HELP!] -
This is the code .NET produced automatically when i placed a picture on the form: Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form1)) Me.PictureBox1.Image = CType(resources.GetObject("PictureBox1.Image"),


This is Killing me! help plz -
i made a project Code: 'variables Dim x As Integer = 0 Dim cryption As String = cryptBox.Text Dim Count As Integer = 0 Dim ArrayStore(30) As String Dim Box() As Object = {b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, b10, b11, b12, b


Application Size Question -
Hey everyone! I have a few concerns in regards to application size. Basically, what i would like to know is: - What is the best way to keep application size down? - Will an applications startup performance be affected by its size? - What is the best way to store resources?


Modify the resources in app -
Does some body know how to modify the resources in app with API? I really need it. ThanX


resources question -
hi, i have a question about using resources in vb.net is it possible to use traditional resources (.rc or .res) as opposed to the new .resX resources? I have to store custom binary resource types, and i do not know how to do this in .resX. any help will be greatly appreciated.


[2005] Resources Problem Please Help -
Hey, I've just added a lot of existing forums and modules to my project, and i have managed to clear up most of the errors that have come up. There is one left, so if someone could give me some help it would be appreciated. The item "obj\Release\Project.Resources.resources"


[02/03] How can i spot the difference between normal resources and text resources -
Hello , i use reflection in order to get all the resources of an assembly. The problem is how can i spot the difference between simple text resources and resource files of window forms etc ? The only difference i found is in the resheader "version" attribute where in no


*ARGH* GDI-resources!!! -
I just restarted my computer and killed all unneccessary programs... well I had 94% system- and 95% GDI-resources left. Then I started 3DSMAX which brings them down to 30% and 85% which is quite normal . Then I created a simple box and a sphere and added the morph-modifier... know what


[2008] Unpacking Resources -
Well i have a file that i put in the Resources and i want that it unpacks the file from the Resources on the Harddrive at Runtime. So the file from the Resources should be put on the Harddrive when the Program Runs. Already tried a lot but didnt make it =( Hope you guys can help me


Changing size of array -
I am using an array in loop and I need to change it's size to make the program use less memory resources. Redim only works 1 time as I tried it.


Shortening code -
I'm making an lcd seven segment display but at the moment my code looks awful Code: Select Case pricehundred Case 0 ptphun1.Image = My.Resources.h_on ptphun2.Image = My.Resources.v_on ptphun3.Image = My.Res


Extracting Large Resources -
I have read that the LoadResData and similar functions can only extract relatively small resources (64K I think?). Can anyone tell me a way of extracting much bigger resources?


Editing File Resources -
Visual Basic Express I added a file resourse called myData.txt under the resource manager. How can I change the contents at runtime??? Dim myString As String = My.Resources.myData.ToString richtextbox1.text = myString How do I make the changes and SAVE it back to my.resources


Resource in GDI -
When I use the TransparentBlt API to blit pictures without the black background, it wastes excessive GDI resources. (I am making a newer GALAXIAN and after beating Level 1, my GDI+System resources dropped to 3%). How do I NOT waste the excessive resources and NOT USE zeromemory?


Recommended online resources for Visual Basic -
Hi guys. Could you share with me the online resources which you think are good for all users of Visual Basic? Actually, I'm specifically looking for online resources that explains all the codes used in Visual Basic. Apart from MSDN library, are there any other resources? Thanks f


[2005] How to solve Insufficient memory to continue the execution of the program. -
Hi I have problem with my project, everytime when I debug the application and when I click each of the selected items on combobox then at the end before I receive the error, I clicked combobox item called "Test", the project starting to receive the error message saying Out


[2005] Accessing Resources -
Hey all, I set up a satellite resources dll and can access the resources easily using statements such as - Me.Button1.Image = resource_manager.GetObject("ArrowRightYellow") What I was wondering was if you can access your satellite resources using the image property of


Low resources with VB 6.0 -
I'm creating a database frontend with 42 forms, 3 modules, and 9 Crystal reports on a Celeron 300 with 64Mb RAM with Win98. My problem is that once I start coding my system resources goes down to about 30%, vb is the only program running I've made sure of that. Is there any way of gett


[2008] Iterate Through My.Resources -
Hi everyone. I want to be able to show all the Icons / Images I have in My.Resources in a form to the user for selection... How would it be possible to implement a For each loop for my.resources, and also get the type of resource it is? for example I want to construct a list of som


UserControl... Is It A Dinosaur -
I have nested form which contains a lot of UserControls, and it eats up resources quickly, each form almost reduce the resources by 10 to 20 percent I also have forms which contain also a lot of control, but not UserControls, it only eats around 2 percent Is the UserControl rea


Any VB.NET Game Resources -
I am looking for some VB.NET game programming resources. Yes, i know .NET is a little new, but im sure there has to be some tutorials or resources for games. Any ideas? Thanks


using files in the resources[resolved] -
how do i use files in the resources? like i added to the resources song.wav how would i play it?


How do I play a .wav file from Resources -
Visual Basic 2005 Express Edition: This works, but, I need to get the .wav file from Resources: My.Computer.Audio.Play("C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\Projects\OrthoLabRx\OrthoLabRx\Resources\PodVwBy.wav") I placed the .wav file in Reso


Need some good resources on Printing -
I am in need of some good resources on using the printer object (I need to recreate some forms for printing). Reference books are preferred, but online resources are helpful as well. Any help in this area would be greatly appreciated.


Study Resources... help! -
I need some study resources for my upcoming Maths with Stats and Maths with Calculus exams. Does anyone know where I can find 7th form level resources? I don't know what other countries use as a grade, but it's the last year of high school. Can someone please help? Chemistry woul


resources problem -
hello.. i somethings on vb6 but know on net i'm a bit confused...i can't really understand how resources work. well here's the problem: i have a database with filenames(e.g ***.jpg) and in vb6 i used on cmdbutton_click loadpicture ..apppath + label.text -which was binded with the fiel


ITT: We annoy with vBull code -
I hope this threads annoys the **** out of anyone who reads it. If it doesn't, then.... well..... guess I need to try harder next time, ya bastards! Now everyone else make annoying stuff (yes I am bored out of my mind!)


Question on embedded resources -
Hey. I have several images in my project. I'm wondering which should be embeded resources, and what the differenced between having them as embedded or content is? So far the resources that I use to change into pictureboxes are embedded. What about once that are never changed... should


Execute My.Resources exe -
Hey, i just discovered VB and i'm liking it so far (i do objective-c and c++). I know how to write a My.Resources file to the disk, but want to know if there is a way to directly execute this file without writing it first. Example: I have notepad.exe in my resources and i wish to ex


Trouble Saving Resources -
I was playing around in Visual C++ 6.0, editing executables and checking out their resources. I was able to save back into them things such as icons and bitmaps. However, I must have done something to get the following error message the next time I opened the file (the file was NOT in


[2008] Editing resource files -
Hi! I've been searching in google for some time now and i've just found answers like "Resources are embedded in the exe so you can't retrieve the path" and other answers which are complicated and not even explained how to use the code. ~~However my problem is that i have a .


SQL Server 2005 mdf File Size -
A Couple question re: size of mdf files: A. When creating tables, is the size of the resulting db affected by the size specified for, say a field spec's as nVarChar(50) vs nVarChar(255)? Or is the size of the file affected by the CONTENT of the field? B. I recently "upsized&


Resources 'file1' and 'file2' have the same manifest resource name 'name' -
I keep getting this message>>Resources frmpicture and frmStatus have the same manifest resource name :WorkWithPicture.frmStatus.resources' and I am really stuck trying to figure this out. What needs to be done. I have tried renaming the files but error persists


VB2005:Resources Help -
hi i am using vb2005 i put about 20 pics used in my program by adding to the resources, but i just found out when i build the resources are "in" the .exe file no in a seperate file or anything that is a problem because my program will be requiring updates later to replace


Another rookie question ;o) -
Hello! I started with VC++ and I'd need some help (greatly appreciated). I use resources (dialogs) and I'd like to know how can I load another dialog through code 'cause I just can't figure it out. I've already looked in MSDN Library, but I found nothing useful. Are there any MFC


[2005] copy a file from resources -
i use this string: My.Computer.FileSystem.CopyFile(My.Resources.theme, IO.Path.Combine(FolderBrowserDialog1.SelectedPath, "theme.xml"), True) to copy a file .xml from my resources to a folder in my computer, but it's not right... I don't understand what have I to do t


[2005] Somehow must get executable in resources or something -
I want to compile my program with a simple command prompt .exe file, but I would like to have it in my program, such as in My.Resources, or anywhere I could launch it with a Process.Start(thefile). When adding to My.Resources, it fails to work, its not able to boot, it seems to be a &q


Greatest Program Ever -
Okay, I was really really bored and threw this together in like 2 minutes in VB, lol. It makes words random colors and sizes that works with vBull. Have fun


[2008] Display .jpgs, play sound .wavs -
Hi everybody! Nice forum you guys have set up here! I'm in need of some advice. The current assignment I am working on is Noughts & Crosses. I have that working just fine using pictureboxes. What I want to do with the project now is, when you click on warButton_Click, I want


Storing an Access database template in the resources of a program. -
I have been wondering, since it’s not possible to create a new database from code without referencing to ADO, can we store a fully created database and store it in the resources of our program? The above is probably possible but how do I get it from the resources and save it to d


Copyright OKQUESTIONS.COM 2010 All Rights Reserved.
RegisteredNames.Websites Value.Whoistool.ORG.Universal Whois