Include The .dll In The .exe When Releasing?

Jun 20, 2011

I made a program that depends on mysql.data.dll, do I have to distribute the DLL along with my .exe file? or is there a way to make it to where I dont need to include it so the user only needs the .exe

View 5 Replies


ADVERTISEMENT

Forms :: Releasing Resource From Being Used?

Jan 26, 2010

im currently developing a program, and i have run into some trouble: you see i have 24 pictures shown in 6 pictureforms (timer) the problem is i wanna delete the pictures in an undo function (after taking them from a webcam), but the system tells me that the pictures is currently in use. i have tried disposing them and everything but i cant seem to get them released and then deleted?

View 2 Replies

Releasing Ctrl + Alt Programmatically?

Dec 11, 2009

Im using a keyboard hook in an application to capture 'hotkeys' pressed.The idéa is that if the user of the computer presses ctrl + alt + 1 then Sendkeys.Send("string of text") should execute and the string is sent to the focused window.

However - the user still is physically pressing ctrl + alt which disturbs the string being sent in sendkeys.

Is there a way to programatically release/disable ctrl and alt keys in the code just before sendkeys, and enable it again after sendkeys.Or - is there a better way of sending the string of text without having to disturb the keyboard?

View 2 Replies

Releasing The Software On The Net With My Settigns ?

Jan 31, 2012

The complexity of the newer express editions. when i debug it seems to output to another filder not debug. but now i build a final release. I run the program and want to find it as though a new user woudl find it. i.e with all original settings etc...but when i run it it has all the prvious settings. how do i know im not releasing the software on the net with my settigns?

View 2 Replies

VS 2008 With Releasing The Program?

Jul 15, 2009

I've been trying to send a test-version of my program to the person who has instructed me to create it.Now, the problem is, every method I try seems to fail, either by crashing on start-up or saying it requires Visual Studio to be installed.I've tried giving him the '.exe' from Debug, Release and it just crashed the moment you start it up. (And Windows automatically starts looking for a solution but of course finds none.)

And if I use the "Publish" function and put it in an install, that's when it says it requires Visual Studio to be installed.Is it so difficult to distribute something made in Visual Studio? :< I'm probably overlooking the obvious here..

View 5 Replies

Releasing Excel COM Object Method?

Sep 23, 2011

Well, I've searched numerous threads and I'm stumped. Though my VB.net experience is newb status.I'm interacting with Excel Workbooks/worksheets with:

Imports Excel = Microsoft.Office.Interop.Excel

Now I'm fairly adept with getting data from the excel sheet with no problem.But each and every time I quit my widows form, or execute a new command_button click to repeat an operation, in the task manager, excel.exe then opens up a new instance.Releasing the the Excel COM object seems to offer a bit of head scratching.I realize that you can get your form to activate and retrieve data from whatever spreadsheet has been directed to be opened, but I can't seem to put it back and close it correctly.I have read about the Marshal. release object methods and garbage collection with no luck so far.Do I need to import another liberary that completes this operation? I would asssume this would be taken care of as apart of the:

Imports Excel = Microsoft.Office.Interop.Excel

close excel instances opened up by my windows form? Somethig like this:

Dim xlApp As Excel.Application
Dim xlWorkBook As Excel.Workbook
Dim xlWorkSheet As Excel.Worksheet

[code]....

(so that it is no longer looked at as "read only" when the spread sheet is opened up from directly from excel)As A minor work around, I've teminated it from the task Bar with proc.kill() but this does not help because my ultimate goal is to just simply realease the excel sheet when my windows form is finished getting its data.This following code does not seem to work.

releaseObject(xlApp)
releaseObject(xlWorkBook)
releaseObject(xlWorkSheet)

View 1 Replies

Releasing The Source Code Of Application?

Mar 11, 2009

I wrote an application in my free time that helps people create certain files when they want to create a custom level for some game. The application of course is completely free, I made it for fun and to help the community. That community has now requested that I also release the source code of my application, in case I stop being interested and they ever want to fix some bugs (this has happened loads of times in the past in the same community, there are loads of good applications out there with some small annoying bugs where the creator has gone missing and the source is unavailable).

Therefore I would like to release my full source code, but not before consulting here how exactly I should do it..I could of course just zip up the entire Project folder and upload it, but I feel that is probably not the best way to go about it..

[Code]...

View 4 Replies

Releasing Excel - Does Not Remain As A Running Process

Aug 12, 2011

Im opening an excel document with vb.net and i dont want vb.net to close it but to release excel so that when the user closes excel it does not remain as a running process... which it currently is doing here is the code i was using

[Code]....

View 5 Replies

Visual Basic Program Not Releasing Resource?

Dec 22, 2009

I have a program written in VB.NET which stops a service that uses file x, modifies x, and restarts the service.

I have modified my code for testing so that it just reads in the file as a string and immediately writes it back out.

Shell("net stop " & SERVICE_NAME, , True)
Dim myReader As System.IO.StreamReader
myReader = My.Computer.FileSystem.OpenTextFileReader(x)
fileString = myReader.ReadToEnd()

[Code]....

The stopping of the service is no problem, and modifying the file is no problem, but when the service starts it stops immediately because, as best I can guess, the file is in use. Even when I try to start the service manually, it stops immediately. However, I found that I can open file x, click save without modifying anything, close the file, and start the service and everything works correctly.

If I comment out the writing part, everything works fine.

Also, the file I'm modifying has a .conf file extension. I don't know if this is relevant.

View 4 Replies

VS 2010 Capturing Keydown And Releasing Programatically?

Oct 31, 2010

I need to capture when a user keydowns the ALT key and then by code, releasing the key.

I have sent keys before with the help of keybd_event but I need to know if there is another (easier) way of releasing a key by code...

View 4 Replies

Threading Monitor.Wait() - Releasing Locks On A Thread

Apr 9, 2011

I have a problem with releasing locks on a thread. [Code] If Me.IsStarted Then 'checks if my service is started and ready of service requests 'code here to enqueue my job and objRxResult with the service so it can populate it with the result before Pulsing back 'the service has its own thread that it dequeues jobs off of and processes them on it own time 'during this key enqueue phase we block attempts to stop the service, thus the _objIsStarted lock [Code].

View 4 Replies

VS 2008 - Releasing File To Allow More Editing In String Replace

Jun 1, 2010

Trying to use a str = Replace, but having issue. Seems that after it does the first string replace it will not let go of the file or the Dim or something???

'Make first file
Private Sub MakePwdFile()
Dim fso, inputFile, outputFile
Dim str As String
fso = CreateObject("Scripting.FileSystemObject")
'1 means for reading
[Code] .....

View 10 Replies

VS 2005 - Make Mysql Connection For A Test Before Releasing The Project?

May 28, 2010

I have some questions about mysql database; I have set up columns and rows on mysql database and I would like to make mysql connection for a test before I would release the project in the near future, but my doubts is that how would I be able to keep mysql admin username and password details secure in the project without anyone could find out??Secondly, I don't want anyone to crack my project to get the details, which it will put me and other clients at risks.

View 22 Replies

Releasing A Child From A Parent Control Without Knowing The Parent(WPF)

Apr 10, 2010

I would like to know if there is some simple code to release a child control from it's parent control, without having to name the parent control. In pseudocode, I'm looking for something like this:

[Code]...

View 2 Replies

Include C# In .net?

May 14, 2009

i have a c# script the validates emailadresses. I want to access the script in my vb project. I imported the .cs file but i have no clue to access it.

So far i added:imports microsoft.csharp

There seems no way to reach it, system does not seems to know it is there..

View 21 Replies

Include SWF In EXE?

Feb 1, 2009

Is it possible to include an SWf in an EXE? (So that there is no separate file?)

View 8 Replies

.net - What To Include For JavaScriptConverter

Dec 21, 2011

what I should include to write custom JavaScriptConverter class? I currently get a not defined error when inheriting it.

Imports System
Imports System.Collections.Generic
Imports System.Collections.ObjectModel
Imports System.Web

[code]....

View 1 Replies

Cannot Include A Reference

Jul 4, 2010

I've tried clicking on my_app --> New Reference --> Pick the DLL from my folder, then add Imports mydll.xxxx. Doesn't seem to work, keeps saying i need to fix the import xxx.xxxxx. I've checked in my References tab and see the reference name in there. I am looking at an example of how in the modules docs, and they have an vb app that uses it, and they use import xxx.xxxx when i try to do that, it doesn't work. Any ideas?

View 8 Replies

How To Include Files

Aug 7, 2011

I want to deploy the application in which some excell file are included.I deploy ten times and now i am stuck.In the code i give the file path as [code] When i publish and see the application files there is no excell files. And on the target computer the message shows no file found. How i add these files when i publish it?

View 1 Replies

Include The Image/s In The .exe?

May 6, 2011

How do i have my VB app look for an image in the folder where the app itself is store, or better yet, have it include the image/s in the .exe? what i mean by this is that i have a problem where if i try to test my app on another pc, it trys to look for the image in a location that cant be changed, so at the moment i have it looking in the C:, meaning that it will always have to be installed to the C:. In short, is there any wild card that i can use to say "Look in the folder that your in" to the .exe

View 4 Replies

.net - How To Include " In A String

Jul 14, 2011

How do I include " in a string

e.g. said = "John said "Hi""

how to include the character " in a string ?!

View 3 Replies

Asp.net - `include` Statement For Aspx?

Jul 7, 2011

I'm trying to include an external aspx page on my aspx (VB) page. If it were php i would have done it with a line of code like <? include "http://www.google.com"; ?> what would be the equivalent of include statement for aspx? Isn't there a VERY SIMPLE way of doing this?

View 3 Replies

Count How Many Rows Include In DGV?

Dec 7, 2011

How to count how many rows include in DGV ?

View 3 Replies

Getting Screenshot Include Text?

Mar 10, 2012

I have this code i have obtaned on the forums. And it seems to only take a picture of picture boxes. I have text over it that is not caught in the picture.

s = InputBox("Enter picture name.", "Name", "Name")
Dim r As Rectangle = New Rectangle(109, 22, 228, 305)
Dim img As New Bitmap(r.Width, r.Height)

[code]....

View 1 Replies

How To Include .cs File Into .net Project

Aug 10, 2011

im using vb.net 2008 not vs, i try to include a cs file but there a no include in project explorer, so i use add existing item.but this cs file should generate a component in toolbar, but it wont, is there any other way to load it to my vb.net project?

code in *.cs file
using System;
using System.Text;
using System.Drawing;
using System.Drawing.Text;
using System.Drawing.Drawing2D;

[Code]...

View 6 Replies

How To Include WAV File In Installation

Aug 15, 2009

I have a call to the mediaPlayer in my project (to play a wav file). While publishing the project, vb.net does not include this wav file to the applications file and while intalling this wav file is missing. Hence I need to copy it manually. How can I make vb.net include this wav file in the installation?

View 13 Replies

Include .js File In Webusercontrol?

Jul 7, 2009

Using VB.NET 2003 Asp.Net 1.1

I need to Include a .js in my webusercontrol,I don't know if I am doing it right.

I've been looking and found some things but not agood solid example that I can use as a test against what I havein my app.

What I actually need is code to put in my app to test against,I don't have anything to make sure that my path is right, if Ihad code and .js file that I code put in the same directory I am usingthat would be best.

View 1 Replies

Include A Calendar In My Application?

Dec 29, 2010

I need to include a calendar in my application

the best thing would be to include an outlook like calendar with its functionality

i have no idea how where to begin.

View 7 Replies

Include A File In Published App?

Jun 24, 2010

I have an application that uses some external files. When a button is clicked, it opens 2 excel files and writes to one text file. When I publish this, it does not include those files. How can I make it include those files in the final solution. I have added them into my solution explorer under different folder names but they are not there.

View 6 Replies

Include A Friends List?

Sep 9, 2011

I am making a application and want to include a friends list. I have made most of the application but I'm stuck on this.

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved