If i use custom images in my programs from my pc. After i publish this and give it to my friends they get errors due to them not having the images. How do i go about adding the images to the application or just generally how you resolve this?
I have a windows form app. project and when I start the debugger my form with datagridviews works fine, but when I publish the application the exe file does not work. When I double click the exe file, I get two small empty windows and the second one has a ok button on it, when I click it both windows disappear. I work with vista 64 bit and I have made another small editform which works fine.
I've been using a piece of code I found that reads in joystick movement into my VB application using DirectInput. Building an executable works great, the program operates as should be, however when I publish my program for final deployment, I get the following error:
"WindowsApplication has encountered a problem and needs to close. We are sorry for the inconvenience."
Can anyone tell me what is wrong with this code? It looks OK to me but the GetImage function returns the same image irrespective of the filename passed to it (the one corresponding with Id=2 which is the second one found) [code]
I add an image to the program where the image is listed in solution explorer, do I still have to include the file? Its not embeded in the program right?
I've written a simple program for viewing images. My issue is how someone would view these images If I deployed my project to a client. To display the images, I have an Access 2007 database with the full path written for each and the program reads the full path into the Picturebox.ImageLocation property. I've also stored the full, root, and relative paths in the database as separate fields. My issue is how to add these pictures to my project. and which project to add them to.
Do I add them to the main project with my forms?Do I add them to the installer/setup-wizard Project?Should I all the files individually or as a compressed .zip file? Additionally, I don't know how to point to these files once they're installed on a different machine/network. Do I write a different root path to the database when the program is installed somehow?
I am putting ico pictures or icon's into project which i would like to know the steps to do this as well as how do you make the ico/icons bigger. When i run the project the ico images are real small and i need them bigger !! I am using picture boxes to put the ico's in. i got them there but ain't sure how or if it is the right way to do it .
i'm in the need to add two images to an imagelist of a button. The problem is that when i try to use the code here below : Public ImageList1 As ImageList
How can I package some images with my project and be able to view them immediatly on ff any drive, i mean to say rather than them pointing to say C: ... etc for them to look at a location within the project? i remember once some1 told me the bin folder can be used for this by I havnt made it work yet
I'm using vb2008 with DB MSA2007 (save it to MSA2003) on Seven(7)System After I create my project I build it(make exe). then I took the file of project (application) and the DB from Debug Folder.
I tried to run this application with DB on another computer it's system is seven and MSA2007 and work very well. then I run it on pc it's system XP and MSA2003. it showed this error
Application Error THE APPLICATION FAILED TO INTIALIZE PROPERLY (0XC000135). Click on OK to terminate the application
Better Explaination of question: Is it possible to work on the same vb project at the same time?
I searched over google for help and I found a forum but it looked very complicated and I diden't feel like screw stuff p so can someone please give me a link or tell me how?
I use a Vb 2008. I make connection with DB Ms Access2007. it show me this error couldn't find....... DBthen I change the DB Ms Access2007 to MS Access2003, and it works very well
I followed the Quartz manual to the dot and still I'm not sure why it isn't picking up the GetDeal.vb (Quartz job) in Global.asax. It never went into the _scheduler.JobGroupNames and _scheduler.TriggerGroupNames loop as follows:
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Dim factory As ISchedulerFactory = New StdSchedulerFactory() _scheduler = factory.GetScheduler() _scheduler.Start()
[CODE]...
I've attached a link to download my Project here. how to make it work?- [URL]
i would like some help with how to start with my FINAL YEAR project work dubbed "SCHOOL TRACKING SYSTEM" . I am so much lost on how it shoud be like and what to actually do.
I'm using Microsoft Visual Studio 9... Which uses Visual Studio 2008.I would like to re-work a previous project without changing the original to which end I'd like to make a copy of the original, with a different name obviously.
i download subsonic 3 today (subsonic 3 preview 2) but this don't work in vb project.i think because .tt file (for generation) is C# template so this don't generate vb code.
I'm looking around and I "think" I'm reading conflicting statements about MonoDevelop's ability to support a VB.NET project. Some places say it's not possible yet, and other places say that you can with MonoDevelop V2.10... unfortunately I can't seem to find this elusive v2.10.
Do any of you know if this is currently possible (even if I have to install a beta)?
i am doing an internship for which i had to make a code in vb. i am using vb 2010 ultimate. the code is ready n bug free. it does what it is supposed to do on my system. how should i transfer it onto my mentor's system because he needs the code for day to day activities. his system has v1.something for .net framework. mine is v4.something.i have tried sending him exe file generated. didnt work due to the difference in versions of.net framework.then i read bout package and deployment wizard. vb 2010 ultimate doesnt have that wizard. i tried publishing it. gives me an error "WindowsApplication1 has stopped working." this is on my system and not my mentor's.
figuring out which multithreading approach to utilize in my current work project. Since I've never written a multithreaded app in my life, this is all confusing and very overwhelming.I've been assigned to take over work on a control application for a piece of test equipment in my companies R&D lab. The program has to be able to send and receive serial communications with three different devices semi-concurrently. The original program was written in VB 6 (no multithreading) and I did plan on just modding it to work with the newer products that need to be tested until it posed a safety hazard when the UI locked up due to excessive serial communications during a test. This resulted in part of the tester hardware blowing up, so I decided to try rewriting the app in VB.Net as I'm more comfortable with it to begin with and because I thought multithreading might help solve this problem.
My plan was to send commands to the other pieces of equipment from the main app thread and spin the receiving ends off into their own threads so that the main thread wouldn't lock up when timing is critical. However, I've yet to come to terms with my options. To add to my problems, I need to display the received communications in separate rich text boxes as they're received while the data from one particular device needs to be parsed by the main program, but only the text that results from the most current test (I need the text box to contain all received data though).
So far, I've investigated delegates, handling the threads myself, and just began looking into BackgroundWorkers. I tried to use delegates earlier today, but couldn't figure out a way to update the text boxes. Would I need to use a call back function to do this since I can't do it in the body of the delegate function itself? The problem I see with handling threads myself is figuring out how to pass data back and forth between the thread and the rest of the program. BackgroundWorkers, as I said, I just started investigating so I'm not sure what to think about them yet.
Each time I create a program, if I don't change the CPU type to x86 in the Project Properties, Compile, Advanced Compile options, it doesn't work. For example, if I hit the drop down button on a combo box, there will be no data, but after switching to x86, there is data. How does changing the CPU type affect how others (such as when its being graded) view the program? If the program is not run on an x86 system, would it appear to not work then?
I put database in bin->debug and i also call from that folder using DataDirectory Business_Card_Database.accdb when i publish the project database not found error is occur note I also tried
1. System.IO.Path.GetFullPath
2. Application.StartupPath
3. System.IO.Directory.GetDirectories
Above all are not working to find database after published I'm using
I have debugged and published. when i try to install the on ANOTHER system (with xp SP2) it pop up .NET framwork is not installed on that system. i want to know what is the solution for this. If my client does not have .net framwork, does it mean he have to struggle to install my application.
I've been using a piece of code I found that reads in joystick movement into my VB application using DirectInput. Building an executable works great, the program operates as should be, however when I publish my program for final deployment[code]...
I made an application in vb 2008 express i used few flash files when m running debug flash files are running when i published the application and installed all r running fine except flash help me where did i made mistake