Receiving Exceptions In .NET 2.0 Windows Forms Applications?

Sep 15, 2010

I'm running into some strange exceptions coming from a few workstations that are running one of our Windows Forms Applications. The application is written for .NET Framework 2.0 and coded in VB.NET. We've re-imaged the machines a couple of time but not matter what we do, the same problem occurs. We are not seeing this problem with any other machines besides these two. Below is the exception message and the Stack Trace. Can anyone provide any insight as to why this may be happening?

[Code]...

View 2 Replies


ADVERTISEMENT

Change Programmatically Cell Values Of Bound DataGridView Without Receiving Exceptions?

May 4, 2011

I have problems trying to change programmatically the content of a cell of a bound DataGridView.I implemented a minimal piece of code to show the problem.Do the following steps to replicate the problem:

Launch example
Write the title content to create a new row
CTRL+C on inserted title

[code].....

View 2 Replies

Using Message Boxes In Windows Forms Applications

Nov 2, 2009

I need to assign code to a button, that when clicked on, validates an ISBN code, and displays a message that it is either Valid or Invalid. I basically need help transforming code used in a console application that will now be used in a windows form application, so no more writeline stuff, now message boxes. [code]

View 2 Replies

Switch From ADO To ADO.NET - Regards To Data Access When It Comes To Windows Forms Applications

Jul 21, 2009

I have some friends who are 'old-school' VB6 database developers and I was telling them about .NET and its features, specifically ADO.NET. In our conversation, they brought up the following reasons why they would rather stick with ADO than move to ADO.NET: The Dataset is disconnected (What if power fails?)

The same amount of code still has to be written The new options of Dataset, BindingSource and TableAdapter seem confusing the same code is written programatically access the Database, all that changes is how that command is laid out. Why ADO.NET is 'better' than ADO with regards to data access when it comes to Windows Forms applications. What does ADO.NET provide that ADO does not? What does it do better than ADO? I'd like examples that do not involve LINQ.

View 8 Replies

Forms :: Collect All The Checked Child Nodes Name From A TreeView Control Using .NET Windows Applications?

Oct 1, 2009

How can I Collect all the Checked Child Nodes Name From a TreeView Control Using VB.NET Windows Applications.

View 4 Replies

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

Forms :: Get A Button To Enter The Applications Subfolder And Randomly Select 1 File To Be Played In The Windows Media Player

Oct 19, 2010

I need to get a button to enter the applications subfolder and randomly select 1 file to be played in the windows media player COM which i have put in the form. I have tried creating a shuffling playlist but i cant get it to stop after one file is played (it just goes on shuffeling to another file, and i really do not want a playlist). I manage to create a batch file to be started to randomly pick a file in that folder, but when i do this the file is being played in the systems default player..

View 2 Replies

Forms :: Throwing Exceptions From A DLL

Sep 13, 2011

I have a application in which dll of another project added,

In my dll's I have several exceptions defined, and when specific errors occur

I throw these exceptions with the assumption that the main application will catch and handle them if the DLL does not.

but when any specific error occurs in dll main application cant able to catch it and whole aplication get closed. i have added an snapshot which appears when any error appears in dll

how do i handle the exception raise in dll from main project

View 1 Replies

Receiving SMS Through .NET Windows Application?

Jul 8, 2009

i am working on a project. Part of the project requires me to receive SMSes through VB.net windows application, the following below are codes i have done up till now. I am using a modem to receive the SMS and i am able to connect to it through using of serial port, and also a textbox to display the received SMS but when a SMS is received through my modem but it is not displayed on the textbox, can anyone help me check what is wrong with my codes?

[Code]...

View 2 Replies

Registry Program - Moving Applications From Windows 2000 To New Server Windows 2003 ?

Feb 7, 2010

I am working on moving applications from Windows 2000 to new server Windows 2003 R2(64 Bit). I noticed that there are some VB programs and config files for those programs have been placed in Windows 2000 Registry. Some other applications are using them from different servers.Why do we use registry here? How can i move these to registry in windows 2003? Can I just move these or do I have to write VB programs to place them in 2003 registry?

View 1 Replies

Receiving Windows Shut Down Event

Feb 11, 2010

I am developing a software and i want to receive windows shuting down event so that i can save the current state of my software on disk.i dont want to make windows service. i want to directly receive the windows shuting down information into my application.

View 2 Replies

Receiving Windows Shut Down Event?

Jun 20, 2012

I am developing a software and i want to receive windows shuting down event so that i can save the current state of my software on disk.i dont want to make windows service. i want to directly receive the windows shuting down information into my application.

View 1 Replies

Forms :: Serial Port, Continuously Receiving Data?

May 11, 2011

I have serial port object which continuously receiving data from weighing device, which sends data in 0001450= format (8 Bytes). I read about datareceived event, and implement that, but i must use Thred.Sleep to get all data and read with serial.ReadExisting. Does the ReadBytesTreshold=8 raised DataReceived event after 8 bytes of data??

Is there any way to cancel, abort, stop DataReceived event?

View 4 Replies

Communication Beetwen Windows CE And Windows XP Applications?

Mar 1, 2012

I have a desktop (XP) application and a CE app (Motorola MC9090) and I want to Scan few Barcodes with Motorola and then send the text to the application on PC using WiFi. I have no idea how to do it - (VB.NET preferred)

View 1 Replies

Exceptions Must Be Exclusive - Exceptions Will Ever Occur Simultaneously ?

Dec 26, 2009

I've just skipped around a few inbuilt VB classes' methods which throws exception. of all that i've came across, methods may throw multiple exceptions but ALL of them are exclusive, meaning there is no way 2 exceptions will ever occur simultaneously, yea and i was trying to make my class throw 2 exceptions simultaneously, hence this question, must all exceptions be exclusive?

View 1 Replies

.net - Convert And Run The Windows Applications?

Apr 20, 2010

Which version of Mono do I need to convert and run the Windows applications that I developed using VB.NET that came along with .NET 3.5, in Ubuntu?

View 3 Replies

Animations For Windows Applications?

May 25, 2010

Animations For Windows Applications

View 1 Replies

C# - Animations For Windows Applications?

Jan 20, 2011

Where can I find standard (licence free) animations like "Copy" for self implemented windows applications (avi,animated gif)? Visual Studio has only few animations in its image library (unfortunately not the "Copy" animation).

View 3 Replies

MAC Like GUI For Windows .NET Desktop/Web Applications

Apr 13, 2012

how to give a mac like UI look to desktop apps

View 1 Replies

Passing Value Between 2 Windows Applications?

Oct 26, 2009

I have 2 windows apps: a.exe and b.exe. Both of them are running, if i click a button on b.exe, i want to pass a string to a.exe. Once a.exe receives this string, a.exe will do something. Is this possible between 2 windows apps?

View 2 Replies

VB Windows Form Applications?

Jun 18, 2012

ith the following windows form applications in VB, question is attached.

View 9 Replies

Accessing Items In Windows Applications?

Jun 21, 2010

how to access an item like a button in a windows application?For example, I would like to create an application that would be able to look at notepad's file menu and "know" that file, edit, etc on the file menu are clickable objects and identify (expose) these objects to my application.

View 3 Replies

C# - Store Db Passwords When Using Windows .NET Or ASP.NET Applications?

Mar 7, 2012

I have a scenario that has been troubling me for years. If you have to connect to a database or other service (like a web service) using a username and password, where would be the safest place to store this information if you are connecting through a .NET assembly? I understand that you would have to encrypt the password, but then you run into a kind of chicken-egg problem -- fine -- you can encrypt it, but then where do you put the key?In .NET, you can't hardcode the password because you can decompile .NET code.

I looked at using assembly based rights with Isolated Storage, but MS recommends against storing unencrypted secret items there because priveledged users can gain access, so again, we are moving the problem from point A to point B. So for examplem, a domain admin with no need to know about the information in a database would be able to get access because of the ability to be an admin on any workstation on the domain.You can encrypt App.Config and Web.Config, but I believe priveledges users can access the keys. I think you run into the same problem with DPAPI.

I had considered storing the passwords, encrypted in a remoted database and getting them through OS authentication, but our department prohibits the storage of passwords on database servers. I am pretty sure I am stuck and wanted confirmation.

View 3 Replies

Create Chart In C#.NET For Windows Applications?

Mar 26, 2009

I am working in Windows applications. I want to create a Chart for showing results as user friendly. How to create chart in VB.NET or C#.NET for Windows Applications.

View 3 Replies

Database - Create Windows Applications In ASP.Net?

May 11, 2009

which method is more efficient to use: DataAdapter and DataSet Or DataReader when importing data from a certain database table???

View 6 Replies

Deploying .Net Windows Applications That Depends On ODP.NET

Dec 10, 2009

I have an application (.net 3.5 app) that depends on odp.net (11g). I had installed the odp.net on the production machine, i deployed my binaries. The program works fine, however it displays an error like this:This application has failed to start because MSVCR71.dll was not found. Re-installing the application may fix the problem.The machine has Windows 2003 R2 as OS. This error occurs on the catch Oracle Exception block of my code. The program is supposed to display a message box indicating the error. It works as expected in my development machine..

View 2 Replies

Deploying Windows Applications With A Database

Feb 6, 2010

I'm a first time visitor and poster, but I'm definitly going to stick around. I'm running an old version of Visual Studio .Net Academic 2002 and the .Net framework 2.0. I'm stuck on an issue regarding the deployment of a few programs I've thrown together. They all work fine on my development machine, but the problem they all use SQL Server databases, and I can't find any specific help on deploying a windows application with a database on a machine that isn't set up basically just like my development machine.

I know that I need the .net runtime bootstrapper on the target machine, so I can run basic programs that dont use SQL databases. That's no problem. But what about programs that make heavy use of databases? How does one go about deploying it on target machines? Is there a SQL server bootstrapper?

[Code]...

View 3 Replies

Icons For Printing In Windows Applications

Feb 15, 2012

I am using winform for printing a receipt created in vs2008.I have buttons that is printing my receipt.I have used pagesetupdialog,printdialog etc in my form programatically.What I want is to have icons of these controls which I have used the way they are availale in msword.I have got print.bmp file for printing but not getting for pagsetup,printpreviewcontrols icons.I searched for .ico and .bmp file in my compand on net aswell.

View 2 Replies

Updating Windows Applications Over The Internet?

Sep 14, 2009

I have a windows application developed in VB.net 2005. The application is installed in several machines.Is there anyway when I do any modifications and publish the code it updates in all the machines.

PS: All the machines are connected to internet.

View 2 Replies

Use Javascript / Jquery In Windows Applications?

Dec 2, 2011

This might be a stupid question but is it possible to use javascript/jQuery in windows applications? Im making this application in vb.net, just for personal use and im just making it to practice and to learn more about vb.net programming. I know javascript is ment for web applications but maybe there are ways to use them in windows applications aswell.

[Code]...

View 4 Replies







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