CSS Be Used In A WinForms Application?

Mar 9, 2010

Can we use css formatting in a vb application to give some enhancement? Examples would be changing the font color and or background? Are there any other way to customize a (VB)desktop application?

View 4 Replies


ADVERTISEMENT

Deploying Winforms Application To Client Machines Application Failing On Start?

Jul 2, 2009

Deploying Winforms Application to Client Machines Application Failing on start

View 8 Replies

Winforms - Convert A Desktop Application To A Mobile Web Application?

Mar 9, 2011

I have an application that is written in VB.NET, using the System.Windows.Forms.Form as the front-end GUI. It runs perfectly on my Windows machine however recently there is a business requirement to convert this application to run as a web application so that people could view them in their blackberries when they go to the URL. Is there any quick way to perform such a conversion or I will have to translate the code line-by-line for such cases?

View 1 Replies

Detect If The Application Is A Console Or WinForms Application?

Sep 24, 2010

detect whether the current application is a console or a winforms application.The reason that I want to do this is that I am developing a library with a global error handler in it and I need to know what type of application it is in order to be able to subscribe to the appropriate exception event.Obviously I could get the user to pass in a parameter specifying what type of application it is, but I would rather deal with that automatically so its all encapsulated from the user of the class.

View 1 Replies

Porting Winforms Application To C#?

Jun 24, 2012

Possible Duplicate: Porting VB.NET Winforms Application to C# .Is there any way to convert a vb.net winforms application into c# ? In terms of both code and .vb (forms) files.

View 2 Replies

Migrating Winforms Application To ASP.NET?

Jun 10, 2009

I need to convert my winform VB.NET application to an ASP.NET application.My current application has 4 forms, it reads a remote XML file, and uses a datagrid to collect user input and to create a report.It is a very simple application, and I would like to know where to start to convert it to ASP.NET.

View 3 Replies

References Not Appering In Winforms Application?

Nov 25, 2009

I have a 3 tier applicaiton, winforms, business and data layers.I just pulled the projects out of souce control. My winforms application references business which references data.I added a reference to my business layer and my winforms project is not seeing the reference. "Names or type specified in the Imports . . . doesn't contain any public member or cannot be found . . .

View 1 Replies

C# - How To Get Path To File In Winforms Application

Oct 5, 2011

How can I get the path of a file on my computer or on the local area network.

I would to show a window that allows me to browse the file system when I click a button, and I want to select a file and get the path to the file. How can I do this?

P.S. I'm not looking to upload the file; I just want to get the path.

View 4 Replies

Secure Connection Of .net Winforms Application

Dec 1, 2011

I am developing an .net Winforms application and I need to secure the connection to the sql server 2008 database. I plan to create a webservice as a middle tier that will handle the authentication and that will provide data manipulation. Is there a better way to go with? Does .net have components or tools for that? What is the best technique?

View 2 Replies

Use GridView In A Winforms Application But It Does Not Appear In Toolbox?

Sep 26, 2009

I need to use GridView in a Winforms application but it does not appear in my Toolbox (see attached).

Attached Images VBToolBox.jpg (9.9 KB, 34 views)

View 4 Replies

Winforms - Launch External Application Using Hot Key?

Mar 7, 2011

I have a windows program which is launched after pressing certain key combination (if its already running). Now i want to do this triggering through vb.net code? How can it be done?

View 3 Replies

.net - Window Close Events In A Winforms Application?

Jan 31, 2011

I am looking to prompt the user to save data when they close a form window in a winforms application. I can't figure out how to trigger the prompt to the user, should they click the red box at the top right corner of the form.

My application currently has a boolean flag, that is set to True on textchanged event. So I will only need to check for the boolean value in whatever event is trigger by the red box.

View 3 Replies

Can't Distribute Winforms Application That Writes To Event Log

Feb 3, 2012

My application writes to the event log if there is an error or other status updates.

The application checks to see if there is an event source named "applicationName"and if not, it creates the source (see code below).

This works fine if the user is an administrator.

If the user is not an administrator, an error is thrown when SourceExists is called:

{"The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security."}

In my environment, the typical user is NOT an admin. Therefore, I cannot use the event log in my application.

Is there a way around this, or is the event log effectively useless for distributed applications?

View 9 Replies

Embed HTML Code Into A WinForms Application?

Jul 21, 2010

I've a somewhat unusual feature to implement and I don't know if it can be done without much effort.A WinForms application has a help file (well, not HTML help, but simply a HTML file with a reference sheet). When user presses F1 button a form with a web-browser control in it displays showing this file. The client wants this HTML file to contain buttons/checkboxes which a program should respond to.For example, if a user clicks a HTML button in the help file some value should appear in a textbox on the main form, etc. Is it altogether possible

View 1 Replies

Notified Of Date Change In .NET WinForms Application?

Dec 27, 2010

I would like to specify a function to be called in my VB.Net 2005 WinForms project at midnight when the system date changes. Is this possible?I know I could do this by setting a timer by setting the interval to midnight minus the current time, then after the first tick, setting the interval to 24 hours. I was wondering if there was a cleaner, simpler way.

View 3 Replies

Passing Data From WinForms Application To MVC3

Dec 14, 2011

I am working on an application that has a Winforms and MVC3 Web component. We need to be able upload large files from the desktop to the web. I have tried the various VB 2010 WebClient and FTP FileUpload alternatives but continue to run into permission issues, even though the User-ID and password I supply are the same as those used by an FTP application that successfully copies files to the same MVC3 site. In my efforts to find alternative solutions, I have looked into using WCF which also seems complicated and problematic for this particular application.

The closest I have come to a solution utilizes HttpWebRequest on the Winforms application. The following VB 2010 and C# code (MVC3) successfully passes the Filename and File data to MVC3 (the InputStream contains the references and UrlEncode data, but the class containing the fields for this data are null. (I have also passed just the file data without the filename, and the uploaded file is successfully created from the InputStream - but the method variable is still null). Although I could pick apart the InputStream, I would prefer a more elegant alternative.

VB 2010 Winforms method:
Public Shared Sub FileUpload(ByVal Filepath As String)
Try
Dim Host = System.Configuration.ConfigurationManager.AppSettings("Host")
Dim url As String = Path.Combine(Host, "UI/FileUpload")
Dim request As HttpWebRequest = HttpWebRequest.Create(url)
request.Method = "POST"
[Code] .....

View 2 Replies

WinForms - Clicking Button On 3rd Party Application

Oct 19, 2010

I am launching a 3rd party application from my windows form
System.Diagnostics.Process.Start("C:Program Filesabcabc.exe")
There is a "SAVE" button and a tool bar on the is application. Is it possible to click the button on this application as soon as it is launched or click (Alt + F) on the toolbar programmatically without clicking the mouse or keyboard.

View 2 Replies

Winforms - Deploying A VB 2010 Win Forms Application

Nov 16, 2010

I am deploying a VB.net 2010 winforms application, and when I install it on the client's machine, the install process also installs an instance of SQL Server 2005 Express. The application connects to a central SQL database on the server. To install, I am using the "Publish" option in VS 2010. Why does it do that? There should be no need for a local instance of SQL Express. Is there a way to avoid installing SQL 2005 Express (I know it is free, but I would rather not have it installed if possible).

View 1 Replies

WinForms - Screen Freezes On Closing Any Other Application

Feb 5, 2010

I have a vb.net 2.0 winforms application. When I open another application (like calculator) have the focus to it and try to close my application the screen freeze and I have to use ctrl + alt + del to get it to refresh.

View 1 Replies

.net - Use A WinForms Application To Access A Database On A Centralized Server?

Nov 28, 2010

I want to connect a database that is located on centralized server. How can I use a windows form VB.NET application to access it? Is this possible?

How can I maintain a single user entry (e.x== used of INSERT command)?

Are both of the above things possible? If so, how can I go about implementing them?

View 1 Replies

C# - Detect Ctrl+left Click In Winforms Application?

Sep 17, 2009

detect ctrl+left click (for button) in winforms application

View 1 Replies

Error Handling - Setup A Basic WinForms Application?

Jan 31, 2010

I'm want to write a professional application for resale. I need to know how do I setup a WinForms application with effective error handling?

View 2 Replies

Forms :: Create Separate Parts/winforms Of The Same Application?

Sep 19, 2011

is it a bad idea to create separate parts/winforms of the same application (using the same SQL Server DB) in different executable files. For example for a School IS: A Receptionist App, A Teacher App, A Principal App and so on.

View 2 Replies

Forms :: Run A Command Line Script From Within Winforms Application

Jul 19, 2010

I am writing an application in which a user is doing a file conversion. I have a set of tools that can perform the conversion on the fly via command line, but I'm not entirely sure of how to go about passing the parameters I need to the command line and running them. Can someone point me to the right direction?Would I just create a System.Diagnostics.Process and use that? If so how do I do the line by line command? For instance if I need to issue a cd command to change the directory and then execute a command after that how would I do that?

View 1 Replies

Launching URL Differences Between Internet Explorer And From A WinForms Application?

Jun 17, 2010

What is the difference between launching Internet Explorer and going to a web site with Flash and it runnig OK vs. launching a URL from a VB .NET WinForm application (using either Shell or Process.Start) and getting prompted to accept the use of the Flash Control? I don't understand why it is prompting for that and how do I get rid of it (by using the same Flash control already installed like going to a URL directly from Internet Explorer).

View 4 Replies

Making A NET WinForms Form A Child Of A Native Application

Nov 9, 2010

I have a NET (version 3.5) Class Library written in VBNET 2008 (on Windows 7 x64) that will at times display a WinForm. The class lib will be used in Excel, and I want to set the NET WinForm to be a child of the Excel Application window. If I weren't using NET, I would just call the SetParent API function, but I can't seem to get this to work since WinForms (I assume) don't have a HWnd suitable for SetParent. I'm sure this is possible, but I just can't find the right properties and methods. The WinForm will be shown modelessly so the user can switch back and forth between Excel and the displayed WinForm.

[Code]...

View 2 Replies

Password Protect A Single Form In A Winforms Application?

Nov 21, 2011

I've a winforms application that is using SQLite database. There is no encryption on the database (data has to be shared with other user). It is a stand alone application with a stand alone local database.

The difficulty I'm encountering is when people go to bring all the data together.The databases are attached, data imported, but records are differentiated by a database GUID.At any rate I am desiring to have a database selection screen that is protected by a password to prevent users mistakenly switching databases (and some level of protection against malicious use).

Thinking it's probably not a particularly good idea to store the password in an unecrypted database.Security is not a large issue as this is only distributed to users that need the software.

What would be the best method to have the user type a password when they attempt to access the database selection screen? ShowDialog? Pop open a new child form with a password TextBox, then on validation (via button?) close the password form and open the protected form?I see a fair bit about protecting a whole application, but not so much about a specific form.

View 1 Replies

Written A Winforms Application In Visual Studio 2010?

Sep 24, 2011

I have to run a thread create in the code.In the form1 i have a button that run the new separate thread for elaborate some data, so i need it for not freeze the form.I have inizialized thread:

dim th as thread = new thread (addressof elaborate)

And at the button.click event:

th.isbackground= true
th.start()

Now, at the form load i have iconized my program, but when i start new thread the tray icon is duplicated from it. I want to resolve that when start new thread it's not show new notifyicon.

(i don't have found anything online, only Multiple notification icons appear when using multithreading)

View 1 Replies

Deploying Winforms Application To Client Machines Failing On Start

May 5, 2012

This is a VB .NET 4.0 WinForms application. There is a mysql data-source involved with this project. The target CPU is set to any. Problem: When running this application on any computer that has VS 2010 installed along with the mysql connector it runs flawlessly. When installing on a virgin system(ie. No developer environment installed) but that machine does have .net framework 4.0 installed and a mysql server without the connector installed the application falls immediately. So to fix the issue I install the mysql connector MSI.

This immediately fixes the issue on the client system and it runs. The problems is that as you can see below from my Installer setup that the 2 needed DLL files for MYSQL are actually included in the installation package so should not need to be installed separately. So Why is it that using that installer from the images do I need to install the mysql connector? Any Ideas?

Below is a screen shot of the References the program uses and from what I believe I do not need to deploy any of those DLL files with my application other than the 2 MYSQL DLL files. So why is this failing? Below are images showing the project references as well as the Installer Files that are being installed in the application folder. As shown in the image the 2 mysql dll files are to be put in the application folder. There is also a screen shot showing each dll's properties for in application folder.

View 1 Replies

Exception Handling In Winforms Application Using A Global Error Handler?

Sep 9, 2009

I have a Windows Form application that has a global error handler to display unexpected errors.

Namespace My
Class MyApplication
Delegate Sub ProcessParametersDelegate(ByVal sender As Object, ByVal args() As String)

[code]....

1) for the same deployed code, I SOMETIMES get line number in the displayed StackTrace error message and sometimes do not, even when the error message includes source code that I have written rather than a referenced binary. The project is compiled with a DEBUG configuration.

2) The application strangely minimizes to the tray when the error occurs (I thin it is unlikely that anyone can diagnose this issue w/o my more code posted, but I'll mention it anyways)

3) When I try to intentionally raise an error by, for example, dividing by zero hoping to test by global error handler, I get a dialog error message from the interactive debugger rather than jumping into my global error handler (which i want to debug because there is more to it than I posted.) Do you have any idea how to triggerand force teh execution of the global event handler?

View 2 Replies







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