Change Subtitle Of Exe Release?
Apr 7, 2011When 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 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 RepliesI have a chart in Excel that I'd like to use a subtitle on. There is no SubTitle Property on the chart object, so I looked in the Excel User interface and found that you can only create a sub-title by using a text box. The text box looks like its associated with the chart, not the worksheet, so how would I access that text box from code?
View 1 RepliesWhat 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 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 RepliesI am confused about the folders that setup creates. What are Debug, Relese and Bin folders and what folder I need to give to my user while distributing the application.
View 2 RepliesI wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I've released the code as a Google Code project. It's easy for a developer to get the source but I'd like to make it easy to install too.
What I did was make a release build then zip up what it created, this included a setup.exe. There was also an option to "publish" my project which looks like it can enable update checks and other stuff.
when 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 want to create a .txt and then run a batch file which runs a .pyc which uses this file as a parameter. When I do this, I get a message that says the python program was unable to access the file. However, if I break after creating the .txt, then manually open, save, and close it (note: open close only doesn't work), and then continue running my code, it works fine. I think that my program still has control of the text file when the python program tries to access it, however I don't know how to release control.
'array input is system.arraylist of all words that I want to have in the grammar
Dim fso As FileSystemObject
fso = CType(CreateObject("Scripting.FileSystemObject"), FileSystemObject)
[Code]....
When in debug mode This code:[code]I would put out the whole source code but, just the extended browser alone is about 500 lines.
View 2 RepliesI'm working with datatable with a big amount of data. On the way of converting the data to the final form I need I would like to get rid of the datatables that I don't need anymore. This is mainly because I have three really big datatable that pumps up the programs memory usage close to the limit. (Out of Memory Exception).So is there any way for releasing this memory used by the datatable that I don't need anymore?
View 9 RepliesI have a system that scans in images to multi page tiff files and allows the user to preview before finalising. When the user previews,they click on the page number which should then use the TiffBitmapDecoder to read that particular frame in from the Tiff file and display the BitmapSource in an Image control...this works just fine. The problem comes in when they scan another page which is then inserted into the tiff file. The tiff file is returning that it cannot be accessed as another process is using it. How do I get the TiffBitmapDecoder to release the Tiff file?
[code]...
I am currently working on an application for use with scanning an printing devices. I use the ManagementObjectSearcher in order to retrieve device names and Id's:For example using (Don't forget to add the reference to System.Management.dll in the framework 2.** folder if you're trying the code)
Dim searcher As New ManagementObjectSearcher("Select * from Win32_PnPEntity")
Dim PnpDevice As ManagementObject
For Each PnpDevice In searcher.Get()
[code]....
There are various classes such as:
-CIM_LogicalDevice
-Win32_PnPEntity
Allow access to various properties-- most of which are read only.
Question: Is it possible through one of these classes to reset a scanning device that is already in use or check on its current status.
-CIM_LogicalDevice("Status")--Win32_PnPEntity("Status") return the value of "OK" when the scanner is in use by another application. So that property must not be what I'm looking for.
I just want to query the device and if it is in use (from a failed attempt or human error) reset the device. The object that calls the scanner/printer is waiting for an event handler(successful scan) that sometimes does not occur and I cannot dispose of the object locking the device up as "in use."
How do I free the device? Or would the solution be to create a timer which waits for the event handler which could contain a property flag set to true if it occurs. If the event doesn't occur in a given timeframe and the flag is false dispose the object?
Which is the toolbar with the dropdown for release or debug?
View 4 RepliesWhen an error occurs in any of my .NET assemblies the user just gets a generic error saying "MyApp has encountered a problem and needs to close. We are sorry for the inconvenience." I would like the user to to see the error message and line number if possible.From what I understand you need to deploy the pdb file along with your assembly. I did that, but it had no effect. This is a Windows application.
View 1 RepliesI've got ASP.NET intranet application written in VB. It gets a file from the user, and then depending on a few different cases it may create a few copies of the file as well as move the original.
Unfortunately I've come across a case where I get this error:
Exception Details: System.IO.IOException: The process cannot access the file
'\somedirD09_03_5_180_0.000-6.788.png' because it is being used by another process.
Which is thrown by My.Computer.FileSystem.CopyFile. And that's fine that it's being used by another process - it may still be saving/downloading from the user or trying to copy while another thread(?) is copying, I don't really care about that, what I want to know:
Is there any way that I can tell VB to wait to copy (also move) the file until the file is no longer in use?
I just updated to VS2010 SP1, but I cannot be certain this problem didn't exist prior to the update.When I build my project the version in /bin/debug builds, but nothing builds in /bin/release. I do not remember making any changes that would affect this, but nothing I do now will get the release version to build.
In the Application settings under "Compile" I have Configuration set to Release and the Build output path is "binRelease For Debug I also have Configuration set to Release.
There doesn't seem to be anything else left to change/adjust - but no matter what I seem to do nothing builds in the bin/release folder.
How can I combine all of the output Released files into just a single .exe file? Like for example I have these file extensions: .exe, .pdb, .vshost, vshost.exe, vshost.exe.manifest, and then 2 xml files that have to do with my program.
So once again I am trying to get all of these files into possibly one file. Do you know how when you go into your Windows Program Files folder, there are none of these files. I am basically trying to do the same thing.