Make A Program Using Resources?
Aug 6, 2011I want to make a program using WMP tool to play mp3 files which are in resources how to make it
View 1 RepliesI want to make a program using WMP tool to play mp3 files which are in resources how to make it
View 1 RepliesI'm developing a very simple program in VB2010 Express that will create folders based on entries in a remote database. I am fully aware that the minimum requirement to run the exe is the latest .net framework, however I have a few added resources to the file, and when I try to run the executable on another computer, it fails to run stating that the resources are missing.
How do i compile my VB code AND the resources together into a stand-alone executable that only requires the .net framework to be installed?I have already tried to google this issue, however every answer I find has nothing to do with my initial question..
How do i make an application where i can allow the admin to add resources and choose when they are used (like choose when music is played or when pictures are used)?
View 1 RepliesI made a program that has mp3 files in resources when I published it I found that it doesn't work in other pcs only mine now what should I do?
View 1 RepliesI want to add Add resources to vb.net programmatically . I want to add an image resource (a .jpg image file) .
View 2 RepliesI found this code to rotate a picture online somewhere and made some changes and it works beautifully. My only problem is how much memory it uses. Does anyone see a way for it to use less memory?
Code:
Private Sub RotatePicture(ByRef bm_in As Bitmap, ByVal angle As Integer)
' Copy the output bitmap from the source image.
[code].....
I am new here, i want to get few websites or books which provide me vb.net source code and examples.
View 1 RepliesI'm making a map creator that chooses images randomly from various sets. What I'm trying to do is set up subfolders in Resources and put the different images in each folder - e.g., a folder for streets, a folder for monuments, etc. Then I just make an array of images out of the files in the folder, and pick one.
For some reason, I can't find a simple way of getting at the subfolders. I've tried using IO.Path.GetFullPath(My.Resources.ResourceManager.BaseName) and appending the folder name to the end of it, but no luck.
Is there some other way of getting the path? Is it even possible to use subfolders of Resources? Is there a better way of doing what I'm trying to accomplish? I'd really like to avoid creating the image arrays by hand.
Is there a way to running program exe that i embeded into my exe program without need to extract it, and run it from shell ?
View 1 RepliesHow do I open this .REG file in Visual Basic 2010?
I'm trying to make a program that will launch this registry file that I've put already in the Resources folder of the program.
BTW if you're curious it's not a harmful program I'm making.
So all I've done so far is put the file in the resources folder of the program, but I don't know how to actually launch it.
I am trying to bootup other executeable file from my project's resources folder, and I can't figure out how
View 2 RepliesSo in VB.NET I created a resource file called "source.txt" (as its a text file). My program will take in the text in the file, and then compile it into an executable.
How do I access this file which is in my resources folder in my project?
1. Place a PDF file in the resources and open it in my program using 'AxAcroPDF1.src'
2. Place a txt file in the resources, open and change it.
i'm unable to debug my project that i made. i save it and everything, but it just won't playit says Warning 1 Could not find type 'WindowsApplication1.My.Resources.Resources, Time table'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built. C:SchoolIPTTime table, using 2 loopsTime table, using 2 loopsForm1.Designer.vb 123 0 now when i open it up and try to debug it , it comes up with an error, i even try referencing it but it does nothing ,
View 2 RepliesWith a button click event, how do I make a picture box image property switch to a random image from the resources folder?
View 1 RepliesI made a picture box and imported an image named Title.jpg. Later I made adjustments to the picture and imported it again without deleting the original(mistake). The new one had the name automatically changed to Title1.jpg. So I deleted the original image from resources and renamed Title1.jpg back to Title.jpg.
Now I got two problems. First, only Title.jpg is on the solution explorer, but Title1.jpg(along with Title.jpg) still pops up on the resource list when I click on Image property of the picture box. There's only the name and no picture, and I don't see a delete option. How do I get rid of it? Second, even though I changed the image to the new Title.jpg in the picture box, the old one is displayed when running the app. What's up with that?
I cannot find a way to make a program that I write make a shortcut in the start menu for all users.My final goal is to make an MSI and deploy it in group policy to all users on a computers OU. Is this possible?
View 5 RepliesHow do i make my button open a program and make it windows size?
View 6 RepliesThis sounds pretty stupid, and it's not challenging at all. There is a wave file, which is what I want to publish. Then I can't find it in Solution Explorer. And when I publish it in Clickonce, the wave file is gone, as with the Resource folder. Now I want to make the Pesource folder appear and enbedded in the excute file code, that is, there is also a "Resource" and in which there is the very wave file. This is my code. It means I want to click this button and play a wave in Resource folder.
[Code]...
If e.CommandLine.Count > 0 Then
Dim IncomingCommand As String = e.CommandLine.Item(0).ToString
If IncomingCommand.Substring(0, 2) = "-1" Then
form1.close()
End If
End If
I am trying to make the program close if the -1 string is sent with the program. See my installer allows for me to run certain programs before it actually installs, but it doesn't shut down copies of the program itself. So I have a next startup instance set to shut the program down if the -1 is received. But if the program is not running it starts up instead. This is not desired. form1.close doesn't work. e.cancel = true doesn't work, etc etc. What can I do to make the program not start during this instance.
I made vb.net program for 1440x900 resolution, if i run my program on 800x600 or 1024x768, my program's resolution is bigger then windows, so i have problem with resolution. Now i want to change my program's size and i am interested in, wich resolution is correct to make program, 800x600 such as minimum?
View 9 RepliesHow do I make a program that opens a file in the folder the program is stored?
View 6 RepliesI want to make a program that searches for a RGB color and clicks on it, WITHIN the program.
View 2 Replieswhat im trying to do= make a program that will make multiple accounts
[code]...
ok what i type in textbox(es) "1" i want it typed on a "3"{a website=www.justin.tv/signup} when i hit the "2"[button1]i really dont have any idea what im doing i know ill need to have a webrowser to load the justin.tv/signup but i have no clue what the name of the boxes are called on the webpage
Me and a friend are making an app which we need to play a sound when Form1 is started. How do we do this? I don't mind code.
View 2 RepliesHow to make a computerized examination program using vb.net...
View 1 RepliesI am new the Visual Basic and just downloaded 2008, and I am wanting to make a program with a button that will run a .exe that is in the same location as the program/
View 2 RepliesIm having kind of trouble looking for this info, but i created a POS program that when i install it, it install under Local SettingsApps2.0labla
So what i want to know if how can i make my system install like any other program, "Under Program Files/POSystem/" like so
I am making trial version of my vb .net project but it is not counting the days , date and time . Can u plz give me any suggestions to make it correct. [code]...
View 1 Replieserror: the item "objdebugassociateassist.frmdbsetup.resources" was specified more than once in the "resourceS" parameter. duplicate items are not support by the "resources" parameter.
View 1 Replies