Internal Database Inside Finished Application?

Feb 21, 2010

I am currently using vb2008 express, I want to have a database inside the finished application. Not one that connects to an external database or any outside connections but one so all the data is readable, writable, deletable from within the application itself.

View 7 Replies


ADVERTISEMENT

Add Undo / Redo Feature To A Finished Database Application?

Mar 30, 2012

Just finished a database for stock management system in local terms and language. All according to their request and agreement. Now they need me to add undo/redo functionality to the application and I just dont know where to start. I am looking first for a general tip on where to begin:

I have one form, for e.g., that manages their stores. Then another for catagories...now they need the undo for all this things and am not sure if it is even possible cos datas are related.

View 4 Replies

Control Internal Margins Inside Of A Label?

Jan 14, 2010

I would like the size of a label to be identical to the space used by the text inside. The height and width of a label does indeed change depending on its content (text property and its font), but there is a wide margin that I would like to remove.

View 1 Replies

User Control - Adding Internal Labels Inside It

Mar 8, 2010

I've made a user control and have added some internal labels inside it. In the User control class I'm trying to handle the mouse events so that: When the mouse enters the User-Control the background of the User-Control turns white - using MouseEnter event. When the mouse leaves the User-Control the background of the User-Control turns grey - using MouseLeave event. However as soon as I move the mouse over the internal labels it triggers the MouseLeave event. I don't want it to do that, because the mouse hasn't left the bounds of the User-Control! So, how do I get it to not trigger the MouseLeave event when the mouse is still internal to the User-Control?

View 9 Replies

Call A Function From Inside Another And Suspend It Until The Called Function Is Finished

Jan 25, 2010

How can I call a function from inside another function and suspend the calling function until the called function is finished? I hope I can get some replies because I don't know how to ask the question and make sense:).

Anyway what I am trying to do in steps:

1. The user clicks button1 which triggers the click event.
2. From the click event I call a function
3. I then pop-up a form, that has instructions for the user to read.
4. After the user has read the form he will click the "Done" button and return to the calling function.

The problem is the the calling function continues to execute. I want to stop execution of the calling function until the users clicks the "Done" button on the instruction pop=up. I know I can use a msgbox but the instructions can be lengthly and does not look good in a msgbox.

I have tried the Call method with return in the "Done" button click but I can make that work. I also tried a goto statement but I can get that to work either. In the call statement I said call frmInstruction.show() and it got there but as I said the calling function continued to execute.

View 3 Replies

Compile VB 2010 Application With Access2007 Database Inside?

Oct 15, 2011

I am trying to compile my program, and each time i do the access database is outside the executable. I was wondering if it is possible to compile it and the database will be within the executable, or better still how do i make it an installer kind of application that sends all the files to the programes folder on the computer.

View 3 Replies

Asp.net - Convert Internal Web Application To Public Web Application

Aug 16, 2011

I have been tasked with setting up an internal web application to become public facing. The web site was written in ASP.Net and I am just looking for some advice about how I should go about this procedure. Apart from hosting the site on a public facing server I don't know what else I would need to take into consideration.

View 1 Replies

Pause Application Until Process Finished?

Sep 16, 2009

When a button is clicked,my program gets the list of all Drives on a current computer.Then I use String.Concat to merge the drive letter and the rest of the path.So I get something like: "C:" + "somefoldersomefile.some_extension"That creates a full path to a file I am looking for.Then I check if that file exists.If it doesn't exist,I use Process.Start to run the setup file(to install the program I need).It works well and installs the program I need.I want my application,after the installation is finished,to check again if the program is installed and ofcourse confirm that it is.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim DriveList As String() = Directory.GetLogicalDrives()
Dim Drive, FullPath, Path1 As String
Dim EmptyDrives As Integer

[code]....

View 3 Replies

Application Stalls Until Finished Running Code

Dec 17, 2009

i'm working on a internet cache cleaner.. i load the cache files in a listbox and send them to the recycle bin. in this process, the app stalls until completion and the stall depends on how many files are in the cache.how can i do this and keep my app active, not stall?

View 14 Replies

Stop Application Closing Until Backgroundworker Finished?

Jul 25, 2010

How can I stop my application quitting until a backgroundworker has finished? Its an updater, so basically I want the form to hide until the download is finished, and then exit.I've tried to make a setting to tell the app when it is still downloading, and on form closing check this variable, but it won't work. For some reason it still quits!The update window is in a separate form to the main form, so the user clicks 'Finish', the update form closes and the main form stays open.[code]

View 5 Replies

Include A Database In Your Finished Project?

Feb 2, 2010

I built a program in visual studio 2005 that access a Microsoft Access database. I need this program to be a standalone program on many machines. To do this, I need to install a copy of the database when the program installs. I tried including it in the application files part of the build, but the problem I am having is the connection strings dont update with the install. It still tries to point to the folder it is in on the comnputer i built the program.

View 11 Replies

Forms :: Internal Dataset Or Internal XML File?

May 3, 2009

Is it possible to have an internal XML dataset within a VB 08 program I ask because we at present have the program load an external XML on startup, but i would prefer this to be internal withing the program to stop other editing the XML file.

View 6 Replies

VS 2010 - Do/Until - Always Locks The Application So Can't Click On Anything Until The Loop Is Finished

Jul 19, 2011

I have a do until loop. But whenever my program get's to it, it always locks the application so I can't click on anything until the loop is finished. How do I fix this? I want to be able to stop the loop with a stop button.

View 11 Replies

Finished A Console Application And Deployed It To Several Computers On Our Network For Testing

Dec 17, 2011

I have recently finished a console application and deployed it to several computers on our network for testing. As it is just an EXE a copied to the hard drives of selected computers for now. When the app is launched it writes info to an sql DB so I always know which computers it is on.

During the past few weeks I have modified this app at least 6 times (improvements, adjustments, etc)

It is a paint to keep going back to the computers to update it with the new version, and getting mixed up which version i am on - LOL I am looking for advice on how I would go about doing this automatically, for example, it would be cool if I just had to put an updated file in a repositry and clients would use this to update.

In Visual Studio, when I view the properties of my application>assembly information - I can set a file version. Is it possible to extract this info and store it in a variable? I would like to dump the in my DB. Also I could then possibly compare the file version of the launched app against an updated file in a network share folder.

View 16 Replies

Display Internal Database In Listbox?

Apr 15, 2011

I want to be able to display information from my internal database into a list box. I want this to show in listbox when the button has been clicked.So once i have clicked the button it will display all the information that is stored in an internal database, i also need to loop it so it shows more than 1 information. I have to show 10 different houses in the information

View 14 Replies

Application Settings, Storing Type Internal To Your Assembly?

May 13, 2009

I am trying to store an enum in my application settings. This enum is defined within my main assembly in the same namespace. When I try to find the type under the application settings, it seems like I can't find any types within my namespace. I can see all the types of the assemblies I reference though.

View 2 Replies

Open And See Data Inside A .ISO Bin File From Inside An Application

Mar 30, 2010

im new to coding (started coding last month) so im a little stuck on how to do this, im making some emulation programs to learn coding with, and a part of it is to point the app to a .iso/.bin file and scan the data inside of the iso/bin to check if a file exists.[code]My issue is i cant find any class examples, or any information etc on how to code it so my application can see the data inside of the iso/bin instead of just see'ing the iso/bin file, so that i can then check the data inside the iso to see if the file exists etc.Im a novice still at coding so making a new class myself to look inside the iso/bin is to complex for me.

View 1 Replies

Optimal Use Of Realtime Application List(of T) Avoid Internal Redim Of When One Extra Element Is Added Or Removed?

May 30, 2012

I am working on a realtime application where the data is addded to a List(of T) all the time. MB per minute

Elements older than X minutes shall be removed from the beginning of the list to free memory.

As far as i can understand will there be an internal (slow) redim when i add each element after i have reach the number defined with the Capasity metod. (I set that quite big from the start, but the data speed is unpredictable so it can be exceed)

What happens each time i remove and element from the beginning of the list , seems like it takes a lot of time, ? new redim ?

What is the most CPU fficient way of removing 1 or many elements from the beginning of such a list?

View 7 Replies

Dataset Link To Database - Add One Field Inside The Database

Jul 2, 2009

I had a dataSet which link to a database. I need to add one field inside the database, After adding the field, how can I update and link it to the dataSet?

View 4 Replies

Mouse Inside The Application?

Aug 3, 2010

I have previously asked this question on this forum but I'm not sure how to do this so that's why I create a new thread! this won't be a problem.

I have a form (check the img) where I have 2 panels inside of it. I have 2 labels in the first panel and in the second panel I have a custom control.

What I want to do: Detect when the mouse enters and leaves the form.I currently try to detect with the Form1_Enter event but that doesn't work since the objects in the form are positioned in such a way that the mouse never reaches the "Form" and thus only passes over the objects.

I could do something like Sub DetectEntrance() Handles Form1.Enter, Label1.Enter, Label2.Enter and such...

But that wouldn't work when detecting the mouse leaving the form. Because then the leave-sub/function would be activated as fast as the mouse leaves one of the objects and not the form itself.

Then I thought of using the Bounds.IntersectsWith function to see if the mouse is outside of the bounds but I'm not sure how to use it.

[Code]...

View 4 Replies

Put Application Inside Form?

Dec 12, 2010

How i can Put any Application inside my form to run when i open my form

View 7 Replies

Run .net Application Inside Email?

Oct 27, 2009

I'm looking for a way to create 2 submit buttons in an email, using vb.net?

View 1 Replies

Run An Application From Inside Program?

Dec 13, 2009

How I can run an application from inside the vb ?

View 2 Replies

Console Inside Forms Application

Sep 10, 2011

i'm working on a Java app wich uses the CMD.i want to control the app completely though a forms application and so i created a invisible CMD console that starts and runs,the only problem i keep getting. is that after startup and further commands send to the CMD window doesnt work. not commands are received.heres my code

the basic functions
vb.net
Private WithEvents MyProcess As Process

Private Delegate Sub AppendOutputTextDelegate(ByVal text As String)


Private Sub MyProcess_ErrorDataReceived(ByVal sender As Object, ByVal e As System.Diagnostics.DataReceivedEventArgs) Handles MyProcess.ErrorDataReceived

AppendOutputText(vbCrLf & "Error: " & e.Data)

End Sub



Private Sub MyProcess_OutputDataReceived(ByVal sender As Object, ByVal e As System.Diagnostics.DataReceivedEventArgs) Handles MyProcess.OutputDataReceived

AppendOutputText(vbCrLf & e.Data)

End Sub
Private Sub AppendOutputText(ByVal text As String)

If outputtextbox.InvokeRequired Then

Dim myDelegate As New AppendOutputTextDelegate(AddressOf AppendOutputText)

Me.Invoke(myDelegate, text)

Else

outputtextbox.AppendText(text)

End If

End Sub

the startup that works.

VB.net
MyProcess = New Process
With MyProcess.StartInfo[code].......

i sometimes replace the textboxx2.text with a custom command like "exit".so when i press the button after entering exit for example nothing happens.but when the app starts it does gets the first 2 commands. so why is it failing at the buttons.

View 16 Replies

Run Console App Inside A Windows Application

Aug 17, 2009

I need to run my console program which is made in vb.net where I will use my windows forms to run the console app?I have done this but it doesn't work.[code]I've tried to add as Existing Item or Project but it doesn't work..

View 3 Replies

Access Folder Inside Application?

May 9, 2011

i am developing a vb.net application my question is how can i access a folder inside my application ?? for example i created a folder Myfold where i store some .doc files and i want to read them from my code.

View 1 Replies

Embed Chrome Inside NET Application?

Feb 11, 2012

Is there any way to embed chrome inside .NET application?

At the moment I am using Internet Explorer in my VB applications[code]...

View 4 Replies

Get Resource File Inside The Application

Mar 14, 2009

i was wondering if i could access a folder inside the Resources folder of the application?
i would make it to eliminate the use of the debug directory in storing files and to use the clickonce deployment.

View 1 Replies

Have A Quickwin Application Inside Of A Form

Nov 8, 2011

I have a program that when executed from a command prompt, opens a qwin window and in that window has a command like window that displays the status of my software as it runs its mathimatical equations.

If I use a GUI to act as my command window for the execution of my software, can I have another form that has the qwin in it?

View 2 Replies

How To Send Email From Inside Application

Nov 20, 2010

Trying to send email from inside my application. I have traced everything in the program and everything appears fine. Connection is made to my smtp server (shown in log files) but the message is never sent.

Private Sub sendAsEmailButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles sendAsEmailButton.Click
Dim form As New EmailData()
form.ShowDialog()
[Code] .....

View 2 Replies







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