Release Folder Not Working?
Jun 24, 2010when i build my application there is no files in the release folder. I have set the application to compile into the release folder.
View 13 Replieswhen i build my application there is no files in the release folder. I have set the application to compile into the release folder.
View 13 RepliesI have developed a vb.net application which creates a csv file from database. When I run it from my system it works perfectly but when I copy the files from release folder to a folder on the server and runs the .exe file it give me IO Exception error. "The device is not readyť
[Code]...
Im new to VB 08 and i made a project that runs fine when i debug from inside the VB solution explorer. When i go to my BIN folder and try to run my project, the project runs but the button event seems to be none exsisten, also my message box does not appear on load, it should give an ERROR message if it does not detect the process writen in the module.
View 3 RepliesHow can i stop it creating these 2 files i have turned off the option to generate the XML doc file under compile options and have None as the general debugging info and they keep reappearing in the release folder!
View 5 RepliesWhen I reference a DLL in my VB.net 2005 project, is there any way to prevent it from being copied to the projects release folder? I would just like it to use the dll were it is registered on the server.
View 2 RepliesHow can I stop the ProjectFile.xml file appearing every time I build my project file in the release folder?
View 3 RepliesI've searched the VS settings and haven't discovered why the bin.Release folder is empty after a build. The bin.Debug folder output is normal. The same occurs with the obj.* folder.
View 4 Repliesif you are debugging or releasing a projet , vs writes exe or bin files to the bin and obj folder in a release and debug version, are ther differences bewteen these files with the same name in 4 folders ?, eg myproject.exe
View 3 RepliesI developed a project is vb.net express 2008. Published it and the whole clickonce didn't work. Now I have Visual Studio 2008. I opened my project and have been working on it for weeks now. when I build it today it said biuld successful but the new .exe file etc have not been written to my Release folder.
View 20 RepliesI just want to know do i need other files than exe from my "Release" folder to run app on another computer?they are (its very basic app) config, pdb, xml.
View 8 RepliesIf System.IO.Directory.Exists(HttpContext.Current.Server.MapPath("images/TravelogueGallery/" & getMaxID())) Then
System.IO.Directory.Delete(HttpContext.Current.Server.MapPath("images/TravelogueGallery/" & getMaxID()), True)
End If
I am using the above code snippet to delete a directory but I get this error:
'G:ProjectsLatestLTCIndia 05-04-12 1415imagesTravelogueGallery19' is not a valid virtual path.
UPDATE: I have updated the question with the correct answer. The above code snippet works just fine.
I'm retrieveing the current path with:
Dim paths As String = HttpContext.Current.Request.FilePath
Which returns something like /VHP/hmo.aspx. What I need to narrow down is the FOLDER (VHP). How do I remove the / before it and the /filename after it?
[Code]...
I am trying to open a folder using the above code. But the folder is not getting opened when the button is clicked. ie after description part, the execution is not going ahead
I'm trying to copy a file (pdftk.exe) from the Current Working Directory the VB.NET program is in.The file is to be copied to the Selected Path from the Folder Dialog Browser.I tried this code, but it seems it's not working
Imports System
Imports System.IO
Public Partial Class MainForm
[code].....
What is the 'proper way' of giving my application to people?
Ideally I just want to zip up the minimal amount of files and for people to put this in a folder of their choice and just run it.
I've noticed from playing with a "Publish" I end up with a "setup.exe" and also a "Application Files" folder.
Within that folder are the necessary files (a DLL and a .EXE) to run my application. Can I just supply those two files out to people?
I'm trying to save rtf files in this manner to bin (rtb9 is the rtf control and there is button when clicked opens it):
Private Sub tempSave()
f My.Settings.rtbx = "rtb01" Then
[code].....
Currently we are using the Microsoft data access library Writen with a Oracle data provider for the framework 1.1. My customer has mandated that we upgrade from Oracle 10G to 11G release 2. 11G requires the .net framework 2.0 Is there a way to use the new Oracle data provider 11g release 2 with the older frame work. I have looked at/attempted changing the policy for oracle in the Windows assembly but my understanding is because its a third party DLL, I cannot.
View 4 Repliesin main form, when a button is clicked, it opens a new form which has a webbrowser. users can use it to browser some sites. if the user closed this form, it goes back to the main form. and they can click button to open the browser form again.
I noticed that one thing. if the browser form is opened, it uses much memory (which is normal because of the site it browses). however, after the browser form is closed, the memory is not released.
In the browser form, when it is closing, the webbrowser is disposed and dereferenced. and no other part uses much memory in the form. GC is called too. what else should I do to release all memory the browser form uses?
now, it is like once the browser form is opened once, the memory usage never goes down even the form is closed.
i am developing digital album software. using Photoshop.i have an doubt...
Class
Private Appref as Photoshop.Application
Private Sub DocInfo()
[code].....
On the back of a Windows Form, I get a window DC, create a Graphics object with Graphics.FromHdc, and then dispose the Graphics object before releasing the DC.
Private Declare Function GetWindowDC Lib "user32.dll" (ByVal hwnd As IntPtr) As IntPtr
Private Declare Function ReleaseDC Lib "user32.dll" (ByVal hwnd As IntPtr, ByVal hdc As IntPtr) As Integer
Dim hdc As IntPtr = GetWindowDC(Me.Handle)
[code]....
Why did they do it this way?Should the DC be released before or after Graphics.Dispose?It is possible that the wrong order can cause resource leaks or memory corruption?
I have a 3rd party DLL which converts my file(ex: text file) their intermediate format.
this function convert the file to their intermediate format and stores the result in targetdirectory.
Dim result As Result = test.Convert(file, targetdirectory)
If Not result = result.Success Then
MsgBox("Convertion failed")
[Code].....
This is just a test app I'm using as a training tool.It connects to a MS Access 2007 db.It gives me no error when I run it from the IDE but when I run the exe from the in elease it gives me this error,Failed to enable constraints.One or more rows contain values violating non-null, unique, or foreign-key constraints.I've found the relation thats causing this but, the data in the tables seems to be fine.No missing Primary keys, no duplicate primary keys, there no extra foreign keys.
View 2 RepliesI have a main window in my project, and numerous other child widows inside the main.I have noticed that. When I open the main window occupies 1500K of memory, when open one child window then adds in occupied memory 6000K.When I open the second window doing the same. When I close the two child windows the occupied memory is not released.So What I want is to release the occupied memory when ever I close child windows.How I can do that? with some code example in vb.net if it is possible.This problem often sawing in the computers on the Local NET not in my computer (developer computer which has the SQL server on it).
View 7 RepliesI made a .exe file of my project (in vb2008 express ed.) and it was all working and then I copied the release file out of my project and an error came up (something about UNC share) and i realized the path was wrong, so when I tried to delete the Release file (currently on my desktop) a pop up message says you need to be administrator to delete this file so I press continue (as I am the administrator) and another message comes up saying "You need permission to do this" "Try Again?", when I click "Try Again" the same message comes up. I know this isn't directly involved with VB, which leads me to my second issue:
How can I create a file that is external from VB yet it still works? In my code there is a path that connects it to SQL is it perhaps something to do with that?
I have one global generic exception handler(catch ex as Exception) for all unhandled exceptions from application.But in debug mode(app runs from VS) I don`t want that exceptions go to this global handler.Better for me is when VS stops app on place when exception occurs.
View 2 RepliesWhen you build the .exe file there is a grey title underneath it that's says windowsapplication1 (something like that).
View 5 Replieswhen you build the .exe file there is a grey title underneath it that's sayswindowsapplication1 (something like that). How can you change
View 1 RepliesHow can I get in my application at runtime in which mode it has compiled? The compiler is VB.net (VS 2005). Something like in C++ #if defined(_DEBUG).
View 1 RepliesI am writing my first vb.net program that displays a .pdf file in a webbrowser control. I have setup a routine that moves the file to a different folder. The problem is I get the following error: "The process cannot access the file because it is being used by another process." Is there a way to release the file from the webbrowser so that I can move the file.
View 4 RepliesI'm opening a file called tempImage.jpg and showing it on a form in a PictureBox. I then click a button called Clear and the file is removed from the PictureBox using PictureBox2.Image = Nothing, however I'm unable to delete the file as it is locked open. How can I release it so I can delete it? I'm using VB.NET and a forms app.
View 5 Replies