Block Ability To Open Same Project Twice?

Mar 5, 2009

I would like to block the ability to open the same project twice.Like in VB6... you could not open the same vbp again.

View 2 Replies


ADVERTISEMENT

Making A Virtual Os With The Ability To Open Up A Calendar And Add Appointments

Sep 23, 2009

i am making a virtual os with the ability to open up a calendar and add appointments on it i created to setting as strings to save the text put into the text boxes it saves them and opens them up but it will open the form and show the appointment but it shows the same appointment on whatever date you click on. also i need help on deleting a appointment here is the code:

[Code]...

View 1 Replies

In-project Components Fail If Project Is Opened With In-project Component Used On Initially Open Form?

Dec 20, 2010

Public Class ExtendedDateTimePicker Inherits DateTimePicker

View 5 Replies

VS 2008 - Timer - Project A References Project B So Can Open A Large Form In Project B

May 5, 2010

For reasons that are beyond my control, I have three Projects. Projects A and B reference project C. Project A references project B so that it can open a large form in project B. I now need to open that large form from project C, but VB won't allow me to add a reference from C to B because that would create a circular dependency. I found a way around it, though. I created a Timer in A, and when I opened C from A, I passed in that timer. When the user performs a certain action, I enable the Timer from A, and this causes C to open B for me.

View 2 Replies

Block User To Open An Ini File

Jan 8, 2011

I have a application which reads from ini at startup, What i want is a vb code that will block the user from opening the ini file manually, program could be running as service eg: C:config.ini. program should block the user from opening the file.

View 1 Replies

Unable To Open A Connection Inside TransactionScope Block?

Dec 1, 2009

I'm trying to incorporate TransactionScope into my code and am failing at the first hurdle. I am unable to open a connection inside TransactionScope block. I get exception Connection Not Open.

Public Sub PerformDBWork()
Dim cnA As New OleDbConnection(My.Settings.DB_CONN_BUSINESS)
Try
cnA.Open()

[code].....

My cnA.Open() fires as expected but my call to cnBusinessDB.Open() fails.

View 5 Replies

Close Project And Open Another In Multi-Project Solutions?

Apr 11, 2012

I am developing a Multi-Project solution (A, B) in Visual Studio 2008.

I need to run a second project from the start up one and then the first project should be closed.

The matter is that I want to Exit the A.exe and kill the process and the dll that are depending on it. And then Run the B.exe.

View 4 Replies

Open A Project Using A Command Button From Another Project?

Mar 27, 2012

I have a number of independent visual basic applications. Now I want to develop a window that will have command buttons to open each of the applications. How do I write the code in these buttons?

View 2 Replies

Open Another Project From Within An Existing Project?

Jul 25, 2011

If there already is a thread for this, then appologies.I have a VB project which displays a message to the User and has a button they can click on to continiue.What i would like is for when the user clicks this continue button another VB app opens up All straight forward so far.The problem is that in the second app id like to open, i have a few different tab pages and id like to be able to open the second app on a specific tab page (Which is not the default when the app opens). Is this possible?

View 3 Replies

Need To Add .bin And .iso Ability's Into App

Mar 31, 2010

I need to add .bin and .iso ability's into my app, i need to be able to open a .bin or .iso and list the files contained inside of it, ive found a small source code/class and example for the .iso one, but i need .bin adding to it to.

View 2 Replies

Disable Ability To Close Tab?

Jun 6, 2011

So i have several tabs, and i close them all using a button with:

TabControl1.Controls.Remove(TabControl1.SelectedTab)

But I have been trying to figure out how to make sure the main tab doesnt close.What can i do to make sure the main tab can't shut down, when closing tabs with the above code?

View 2 Replies

Streaming MP3 With Seek-ability

Nov 26, 2011

I want to make a program that can play MP3-files from my FTP-server.I know how to play, pause and stop music from stream, but i don't know how to add seek-ability.You know, like in Spotify or Grooveshark, they play streamed audio with seek.so, i would like to be able to seek, and the trackbar would show where in the song you currently are.So, my questions are:

1.What codec should i use? I have NAudio, will that work?

2.Is there any examples or tutorials on how to do this, any at all? (i couldn't find any)

View 3 Replies

Add The Ability To Receive SNMP Traps?

Jun 3, 2010

I have a need to add the ability to receive SNMP traps into one of my server apps (written in VB 2005). I have setup a UDP listener on port 162 (SNMP trap port) and can successfully get the trap message in a byte array no probs.

The problem is that I have no idea how to make a meaningfull message from this byte array. Does anyone have any pointers / code to either translate into a meaningfull message stream or a better way of adding this type of functionality (without adding 3rd party dll's etc).

View 2 Replies

Backgroundworker Ability To Update Controls

Aug 7, 2011

When it comes to Backgroundworker's, I just make a total mess, even after reading over and over again the Backgroundworker component info on the msdn site... I have a code I would like to run on the form but if I do it with a simple "Public Sub" it will make the form lag, freeze, until the operation is done. So I try to paste the same code into a backgroundworker, and use Runworkerasync, but I get errors stating that the backgroundworker can't access controls on the form.

[Code]...

View 7 Replies

Search Engine Save Ability?

Feb 23, 2009

I have a system on my webbrowser that allows the user to choose their Search Engine out of a selection I organized. the down point is that I have it set so when they click save it will just hide, because if it closes the settings will be reset and not saved. However I want them to save. Here are my codes to the search button:

Private Sub Search_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Search.Click
If SearchEngines.RadioButton1.Checked Then
CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate("http:www.google.com/search?hl=en&q=" & SearchBar.Text & "&btnG=Google+Search&meta=")

[code]....

This is the code of save:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.Hide()
End Sub

I would like it so it saves when the whole program is closed, so when they start up it's automatically set so they can search on their favourite search engine.

View 12 Replies

Can Not Open Project

Jul 11, 2009

When i open new project a error message show [code]...

View 2 Replies

Can't Open A Project ?

Oct 4, 2009

This is the code.

[code]..........

View 6 Replies

Open VB Project Again?

Dec 5, 2010

have put a ton of effort into my new project, and I have saved the coding and designer part. I never did publish it, and when I came back to open it later to work on it, I can't seem to get to the screen that allows you to move items, and edit the looks of the project. I have to files that say RSEB.Designer.vb and RSEB.Vb - So how do I open the screen that allows me to edit the **** project?

View 5 Replies

.net - Limiting The Mouse To A Form Without The Ability To Override?

Dec 29, 2009

So I am trying to make a program where the user is limited in moving the mouse to a form. I still want the user to see whats going on behind the form but not be able to click on anything but my form.

I tried using this

Cursor.Clip = Me.RectangleToScreen(Me.ClientRectangle)

The problem is that if the user clicks in certain spots on the titlebar...the mouse is unlocked. The machines this is going on has a ball type of mouse so if you scroll fast and click fast enough...it can also unlock.

View 3 Replies

Ability For A User To Drag An Area On Screen

Mar 14, 2012

i want to give the ability for a user to drag an area on the screen that they want and a that area to be print screened. or alternativly they click anywhere and that location is the top left of the box and then when they next click that location is the bottom right of the box and that box is print screened. [code]

View 1 Replies

Emulate The Application.settings File's Ability?

May 9, 2011

if there was a way to emulate the application.settings file's ability to do something like the following:

If I add an item to the settings file editor say Variable1 with a a value of "foo"

I can then go to my.settings.default. (and at this point) Variable1 is item that is an option after I type the '.'

Is there a way to do this for a collection? To where I have

Collection1. (and when I press '.' the name of an item would show up?)

View 2 Replies

Streaming Video With Fast-forward Ability?

Dec 10, 2011

I want to make a server app, that can stream a movie (within my LAN)I've searched google, but can't find anything that will allow me to stream a .avi file and fast-forward (seek in the stream?) ability.

View 14 Replies

After Compiling A Project Can't Open The .EXE?

Aug 20, 2010

when i compile the project and run it get the error Project Project has encountered a problem and needs to close. If you were in the middle of somthing, the information you were working on might be lost[ Close ]

View 4 Replies

Can Open A Project In A New Window

Mar 20, 2012

I'm running Visual Studio 2008. Often, when I'm in one project, I want to open another project that is related in some way, either to fix a bug that affects both or implement a feature that will benefit both.If I'm currently editing project A, how can I open project B in a new window?

View 4 Replies

Can't Open Files In VB Project

Nov 6, 2009

I am using Visual Studio 2008 Professional Edition, and I have a large windows forms project I have been working on. My computer froze up and I had to reboot. After reboot I opened my project, all the files loaded although I got a message telling me that the document load was skipped because of the way the project opened the last time. I am able to debug and run the program so the app is ok. but when I double click on a form to open it nothing happens. Even if i right click it and select "View Designer" or "View Code" nothing happens. No errors just nothing. I was able to open other projects with no problem but not this one, and this project is the only one that matters.

View 6 Replies

Can't Open Project Files

Sep 2, 2009

There was an error about VB 2008 not being able to open vb files, i fixed that by re-installing but now when i try and make a project or open one i get this error:Warning1Extensibility DTE object unavailable.00

View 6 Replies

IDE :: 2010 Cannot Open A New Project

Mar 22, 2010

Having just downloaded the Visual Studio 2010 Ultimate Beta, I decided to put together a little application I coded under 2008 VB.Net.when I click on "New Project", select new Windows Form Application project and try to open it, I get the following error dialog box & msg:"Unable to cast COM object of type'System.__ComObject' to interface type 'Microsoft.VisualStudio.Editor.Implementation. IVsGlobalUndoCapableUndoManager'. This operation failed because the QueryInterface call on the COM component for the interface with IID'{305E8709-55B7-4732-B872-1C073AB58047}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))."

View 3 Replies

IDE :: Avoid Open A Project Twice?

Dec 1, 2009

it happened to me a lot - i double click a solution file and open it - change it and find out that its openned twice on my computer. IN VB6 - you could not open the same vbp twice - how can I do that in vb.net 2005/2008

View 3 Replies

IDE :: Cannot Open The Vs03 Project

Jul 26, 2011

I have a VS 03 solution which I am trying to open but it gives following error:- System could read example.vb.System could not find the path specified.

View 6 Replies

Open And Convert VBP (vb6) Project To .net?

Feb 1, 2012

Which version of Visual studio Do I need to try to pen and conert an old VB6 project (vbp) to a .net ?

My I use Visual Studio 2008 ? (di I need an earlier version?)

View 3 Replies







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