VS 2010 Easiest Way To Interact With Applications?

Feb 26, 2011

So I'm creating an application that will notify a person of something when I send a command. I've been thinking of just using a TCP connection to do it but there must be an easier way.

View 1 Replies


ADVERTISEMENT

Closing A Windows Forms Applications And Excel.exe Processes Interact (potentially Through The Garbage Collector)?

Mar 2, 2012

I may be the only person still automating excel this way and I am looking at doing it in ways that better handle COM objects and such, but for now I just importMicrosoft.Office.Interop.Excel and go for it. Something that gave me a lot of grief at first was hanging excel.exe processes, but there are tons of resources online for fixing that. At this point I am pretty confident in my abilities to handle it.One thing I did notice and was wondering about is how does closing a windows forms application interact with excel.exe running in the background and likely more specifically the garbage collector. I have written quite a few excel automation projects and noticed that after I run my program .exe and it has completed there is an excel.exe process that hangs on until I close the pop up window from the windows forms application. Why is that happening?

View 1 Replies

VS 2010 - Easiest Way To Save Settings To Config File?

Mar 23, 2011

Is there a really simple way to save the app.config file to a location then load it again? I'm making a multiclient app. I was planning on having each user have a folder, and in that folder would be their personalized app.config file that would load when they log in. I don't really know any XML.

View 13 Replies

VS 2010 Use Reflection To Interact With Java Game?

Jan 11, 2011

How can I use reflection to interact with Java game?

View 4 Replies

VS 2010 Chat Server That Can Interact With Mobile Platform

Mar 1, 2011

I've recently created my first serious Windows Service. It is a chat Server that can interact with a mobile Platform.Now If a Exception occurs in OnStart Sub you have no way of knowing there was an exception other than the misleading messagebox.I've Pinpointed the Exception to my fairly Simple log Class that Writes to a log file. Please look if you can see any obvious places where exceptions could occur. [code]

View 3 Replies

Easiest Way For Printing Form

Jun 6, 2011

I need the best and easist way for printing the form ,nested of PrintForm tool. com it is very bad :angry:,it prints the form like screen shot :angry: ,what I want print entire form on A4 .

View 2 Replies

Easiest Way To Publish Project To Wep?

Nov 9, 2011

how if it possible to publish program straight to wep. I asked before another question about publishing and making setup files, that worked well. But now I have finished other of my programs and I want to know can I somehow add it straight to wep site? I have now used suntuubi.com as own wep site, it's not the best but its free :) And I have usually posted a link to download setup from mediafire (or some other) but can I run that program from my page without any downloads? I made that program with windows forms application, do I need to use wbf broswer application? ( if so, can I somehow fastly switch it without making everything again?) And one more, if it is possible in some other wep site than suntuubi.com can you recommend it?

View 1 Replies

Easiest Way To Store Data

Mar 31, 2011

I've just finished an application which does everything I want within the Visual Studio environment now I need a way to store the data the user creates but I've never had to do it before and am a bit lost. I've spent days trying to use XML to do this but to no avail mainly cos my classes use ArrayLists as properties and it gets a bit beyond me. I've been told that ArrayLists were not the best choice for this and would be prepared to change my design if need be if I thought the end to this problem was in sight.

View 11 Replies

Easiest Way To Verify If A Number Is Odd Or Even?

Jan 10, 2011

What is the easiest way to verify if a number is odd or even?I'm setting up a program, and it is checking if a user input number is even or odd, if its odd, it runs this, if even, it runs this.Its a simple if/then, else statement.

View 2 Replies

Easiest Way To Send Emails In 2005

Jun 21, 2010

I was wondering how is the easiest way to send a email thru VB .NET 2005. I want to send a email every 5 minutes a certain text (that I have no problem the only problem is how to send the email with the address, server address, user name, password, etc).

View 1 Replies

VS 2010 - Applications Made Using VB 2010 Express Expire After Some Time?

Nov 3, 2011

Here are my questions concerning VB 2010 Express:

1. I've registered my VB 2010 Express, will it still expire?

2. Will the applications I made using VB 2010 Express expire after some time?

3. Is it OK to write my code in the designer.vb file? I don't know why, but when I started writing my application it took me to the designer.vb instead of form1.vb code.

4. I've been working on an application for a week now, but suddenly I can no longer access my Design View(Shift-F7). All my codes are written on the [form name].Designer.vb. I can still view my codes but I cant access my form layout. On the solution explorer, my forms no longer have the 'form icon'. When i press Shift-F7 nothing happens. Right-clicking the form on the solution explorer doesn't show 'View Designer' option. How can I fix this?

View 5 Replies

Easiest Way To Validate Specific Date Format?

Apr 24, 2010

I would like to easily validate dates in this format, e.g., 31-JUL-2010 and only this format. Any other format should be considered invalid.

View 3 Replies

Easiest Way To Write And Engine For Importing Files Of Common Formats?

Dec 1, 2009

I am writing an application where data can be gathered from many different places and graphed against other data. However the data from all the different places is coming in different formats such as .csv, .txt and some others i can't recall right now.So i am wondering what is the easiest way to allow my program to import the data supplied in these different formats?

View 4 Replies

Controlling Outside Applications - Resize Multiple Applications And Send Keystrokes To Each One

Sep 12, 2011

I am working on a project that is used for key broadcasting. Don't worry nothing illegal, I'm making a multibox application for world of warcraft. However I am having trouble when it comes to launching and manipulating other applications from another.

[Code]...

View 2 Replies

VS 2010 - Return To Applications Path?

Mar 21, 2012

I have one small problem on my app, here's the deal, when I run my app that have a button for "load playlist" and when I click on file>options my app is looking for settings.xml (created before by the same app) on the same folder from where I loaded my playlist. Load playlist button is on my Form1 and Form4, and settings is on my Form6, and this happend every time I load anything, open anything, so my app remembers last opened folder. Is there any way that I can return my path to apps path? I need to mention that this applies only to Windows XP, idk why, because on my win7 it works just fine.

View 13 Replies

VS 2010 Creating N-tier Applications?

Feb 19, 2011

I'm trying to learn this and had gone through some tutorials (found on googling).But most of them are a bit harder to understand. An easy to understand version was not found Do you know any links to a good tutorial ?

Also, where can I get a good example program written using 3-tier architecture in VB ?

View 10 Replies

VS 2010 Different Applications Share Same Sessions?

Oct 19, 2010

just wanted to ask if it is possible to have different applications sharing the same session (i.e. database session)... i'm planning on creating a web-based application and a form-based application using asp.net for web and vb.net for forms but i need to have them share sessions since some global variables will be session based and also authentication to one application should also authenticate on the other.

View 2 Replies

VS 2010 Minimizing External Applications?

Nov 2, 2009

I am using VS 2010 to create a Mac OSX like dock application.Everything has worked great apart from one of the key features of the dock! So what I want is:When the user clicks the minimize but on any (including external application) it minimize to the dock I have created rather than the windows Task-bar.

View 5 Replies

VS 2010 Saving Applications Settings?

Dec 4, 2011

I have made a dock bar program

So when I drag programs in I get this

But when I restart my program all the dragged in applications are gone.

save my settings,

View 7 Replies

VS 2010 Exception When Two Applications Accessing Same Txt File?

Jul 5, 2011

Im am trying to get two separate applications to communicate with one another via a txt file. The first application writes to a txt file every even second and the second application reads the text file every odd second. The problem is Im getting an exception saying The process cannot access the file FILE_PATH.txt' because it is being used by another process. Not sure if my code is correct or not? Or if there is a better way to do this?

[Code]...

View 7 Replies

VS 2010 Running Applications Using Local Admin?

May 12, 2012

I am wondering if it is possible to run an application from a domain account that has restrictions on running .exe files by coding in the local administrator details (username / password).

View 3 Replies

VS 2010: Import Windows Applications Into A New MDI Project?

Oct 28, 2011

I could not find a clear cut answer to this question when searching MSDN (too many references come up about Microsoft Document Imaging) so thought it better to ask.

Is it possible in VS2010 to create a new MDI application and import stand alone Windows forms applications into it?

The reason I ask, is we have a number of tools that have been created as single apps but there are quite a number of them and it would be nice to combine the lot into an MDI app.

However I don't really want to re-write any of the apps, so is there a way to import them instead?

View 3 Replies

(Vs 2010) Applications Stop Using Windows Server 2008

Jul 22, 2010

I migrated some applications from Visual Studio 2005 to Visual Studio 2010. I develope using VB.NET in VISUAL STUDIO 2010 on a Windows 7 PC (32 bit). The applications writed in VB.NET - VS2005 run correctly in PC having XP, VISTA, WINDOWS 7 and Windows Server 2008. After the migration, the exe of these applications work correctly in PC having XP, Vista, Windows 7 but work stop immediatly on Windows Server 2008. The error returned is 'System.InvalidOperationException'. Seems that the application stop when attempt to evaluate the first global variable that meets. If i change the framework from 2.0 to 3.5, things don't change.

[Code]...

View 3 Replies

Build 64-bit Applications With Silverlight And WPF Using Visual Studio 2010?

May 13, 2010

I would like to convert a VB.NET 64-bit desktop application to a desktop WPF application and also to web-based Silverlight application. Can you write 64-bit applications using WPF or Silverlight using
VS 2010?

If not, can you write 32-bit WPF and Silverlight programs that act as the presentation managers that interface with the user and have them use 64-bit class libraries? Or do all modules have to be either 32-bit or 64-bit?

View 3 Replies

VS 2010 Error With Applications Reference Required To Assembly

Oct 27, 2009

im building an application i started it in VB 2008 and i upgraded to VB 2010

then i made some mods and tryed to run the application and then

i get this error

Error2Reference required to assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the type 'System.Windows.Forms.Form'. Add one to your project.C:UsersAdminDesktop

[Code].....

View 1 Replies

VS 2010 Sentinel HASP Keys To Protect Applications?

Jul 30, 2011

if anyone here has ever worked with Sentinal HASP keys to protect applications.I understand how to make features in the keys but i do not understand what i need to include in my project to have it authenticate against the HASP at runtime.

View 3 Replies

Get Permission From Microsoft To Develop Applications For Small Local Firms Using Visual Studio 2010?

May 13, 2010

I would like to know if I need to get permission from Microsoft to develop applications for Small local firms using Visual Studio 2010.

View 6 Replies

Forms :: Interact With Cmd.exe?

Mar 12, 2010

Have a Windows app that needs to interact with a stand alone program that is accessed using cmd.exe. From Windows app, I can execute cmd.exe but cannot interact with it. Tried SendKeys, but this only sends one key at a time (sometimes more, but inconsistent) with multiple cmd.exe windows opening. Need to be able to send a whole command (string) to only one cmd.exe window.

View 1 Replies

Interact With Another Program?

Feb 18, 2009

[URL]

I am trying to send keys to another program but i dont know how to write the code to do it and would i have to add a path to the other programs .exe?

View 5 Replies

Interact With API To Pro/Engineering?

Nov 10, 2011

I am trying to Interact with VB API to Pro/Engineering.I got some information that we can add Reference Pro/E dll using Add Reference -> COM then we can use it.But I have issuse that how to get current session which is already runing in my machine? how it will find object of Pro/E (like one shape already created)?

View 7 Replies







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