.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Santhakumar Munuswamy
Asad Ali
Fauzul Azmi
Post New Web Links

Windows form application, Visual basic 9

Posted By:      Posted Date: September 11, 2010    Points: 0   Category :.NET Framework
 
please give me vb 9 ( visual studio 2008 ) language example, to create shortcut on the desktop, from file notepad.exe which stored in c:\windows\notepad.exe


View Complete Post


More Related Resource Links

all basic windows controls,wpf controls,silverlight application

  
here you will find all the information from basic.

Open a windows application form names in another

  
Hi, Now i am in a horrible situation. I want to create an application for open another application(exe) and display all the form names in newly opened application in a compobox.If we selected a compobox item,ie;a form name in new application opened,i want to display all the control names in that form... is it possible? we can do it in same application.but how can i do it in another application? thanks in advance   Anoop

Transfering Data from Windows form application to a website

  
Hello Friends I have a windows form application and i have to transfer the data from my forms that have been retrieved from SQL server database to a website. So that i can automate the data entry on the website. Can anybody please tell how should i go about doing this. Thanks & Regards, Syed

how do i create a windows form application login for to validate username and password from sql serv

  
 I would like to know how I can create a login form for my windows form application. The login form must be linked to a SQL server 2005 express edition database (in which the username and passwords are stored). The login form must validate the user using the database and allow them to access the program. 

Posting data to a website (HTTPS) from a Desktop Application in Visual Basic (.Net 3.5 or .Net 4.0)

  
Hello everyone, I'm trying to create a desktop application that will update my IPv4 address to an IPv6 Tunnel broker.  I have the app running up to the point where it sends the data to the website, and then I get exceptions.  I'd like someone to take a look at my code, and tell me what I've got wrong (if anything).  Here's the code that I have (the only portion that is filled in is for Hurricane Electric) Dim strUsername As String = txtUsername.Text.ToString 'User Id supplied by the User. Dim strPassword As String = txtPassword.Text.ToString 'Password supplied by the User. Dim strPasswordHash As String = "" ' this will be created from the hashing of the password supplied by the user. Dim strTunnelID As String = txtGlobalTunnelId.Text.ToString 'Global Tunnel ID (He.net and ) Dim strUrl As String = "" ' Place holder for the URL Which will be provided after the password is hashed and specified by the tunnel broker. Dim strTunnelBroker As String = cbxTunnelBroker.SelectedItem 'Sets the Tunnel Broker to the user specified one. Dim wc As New WebClient() 'Allows for posting data to the server 'holds the server response. Dim strData As String = "" 'Provides the data for the form. Dim result As String = "" Select Case strTunnelBroker Case

Windows 7 (64x), Visual Basic Xpress V10, Sql Server Xpress V8R2 -Deployment results in Attempt to a

  
Hi all, I'm at my wits trying to figure this out.  It's a new 64x computer running Windows 7.  I've installed Sql Server Express V8 R2. The connection string is user instance = true.  And the database is located in a directory off the main directory to which the connection string points to. The error I get when starting up my VB Express 10 app is "An attempt to attach an auto-named database for file ‘C:\datadirectory\data.mdf’ failed. A database with the same name exists, or specified file cannot be opened, or it is located in UNC share. I've attached the database using sql server manager v10, and can see the data. Googling his error, there seems to be a lot of web-aps seeing this as well. I did have a problem after I installed sql server version 8 r2, just trying to create a database.  That was resolved by going through the IIS -configuration. If I can provide any other information, please let me know.  Cheers        

Windows 7 (64x), Visual Basic Xpress V10, Sql Server Xpress V8R2 -Deployment results in Attempt to a

  
Hi all, I'm at my wits trying to figure this out.  It's a new 64x computer running Windows 7.  I've installed Sql Server Express V8 R2. The connection string is user instance = true.  And the database is located in a directory off the main directory to which the connection string points to. The error I get when starting up my VB Express 10 app is "An attempt to attach an auto-named database for file ‘C:\datadirectory\data.mdf’ failed. A database with the same name exists, or specified file cannot be opened, or it is located in UNC share. I've attached the database using sql server manager v10, and can see the data. Googling his error, there seems to be a lot of web-aps seeing this as well. I did have a problem after I installed sql server version 8 r2, just trying to create a database.  That was resolved by going through the IIS -configuration. If I can provide any other information, please let me know.  Cheers        

code to run visual basic application in between desktop icon and wallpaper

  
Plex can anyone of you tell me the visual basic net code to make the application run between desktop icon and background wallpaper . it mean if that application is running in background the icon in the desktop should be selectable...  pleax send you code to me ....    

how to change the web application Database connection form Windows authentication to SQL Server acco

  
Hi, I have a web application created and Database connection authentication was given as Windows authentication. how can i change it to a SQL server account in MOSS 2007. Thanks in advance.

SelfHosted WCF Service in a Windows Form Application

  
Hey,   I have a simple console app that is a self hosted service and a second console app that acts as the client.  I can pass a message between the client and service.  Obviously for this to work the service has to stay up and running, so I put a Console.ReadLine(); command as the last line in the service console app to prevent the service from closing until the user presses enter. My problem is, I would like to (self)host the service in a windows form.  If, for example, I put the ServiceHost decleration in the form load method, the service does not stay open once the form load method is complete. Does anyone have any tips on how I can self host the service in a windows form application and keep the service alive?   Thanks ;o)

How to add Sharepoint dll reference to Windows Forms application project in Visual Studio 2010?

  
Hi,I am using Windows Forms application template in Visual Studio 2010 Beta. I created this for some R & D work. Now I am using Sharepoint object model in application. When I am trying to add Sharepoint dll reference from .NET tab, I can not see Windows Sharepoint Services there Which was available in Visual Studio 2005.Also If I am add this sharepoint dll from ISAPI folder (14 Hive), it is added succesfully, but it is not taking actually in project and showing me an error during running mode that theError 12 The type or namespace name 'SharePoint' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) Please suggest me how to add Sharepoint dll reference in Windows forms application in Visual Studio 2010?

How to enable own shortcut within WebBrowser control in Windows form application

  

Hi, 

 

I am developing a windows form application with C#, where I have placed WebBrowser control... I load some web page in this webbrowser and I need to know, that after I press my own certain shortcut that it will allow me to call my handler...

It should work something like this => I have certain textbox on web page and after pressing my own shortcut, it will call my handler which will automatically type certain text (which will be prepared in that handler) into that textbox... 

Could you advice me, how to make this happen or if it is even possible?

 

Thanks a lot in advance


A possible bug with redirecting RedirectStandardInput to console application from windows form (Win7

  

More info can be found on this post:

http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/23527505-236f-4bba-99ae-f8bece281d44

 

Basically when I attempt to redirect the standard input of a console application from windows form the console application crashes immediately.

 

When I use the exact same code from a console application everything works fine (this is what leads me to believe it might be a bug).

 

Here's the shortest code you need to reproduce the problem:

 

Process myProcess = new
 Process();
myProcess.StartInfo.FileName = @"cmd.exe"
;
myProcess.StartInfo.UseShellExecute = false
;
myProcess.StartInfo.RedirectStandardInput = true
;
myProcess.Start();

 

Please note the following:

1. When I change "cmd.exe" to "sort.exe" it works find on both console and windows form applications.

2. When compiling to windows application for 64 bit platform (or AnyCPU) the "myProcess.MainModule" throws an exception: {"Only part of a ReadProcessMemory or

WriteProcessMemory request was completed"}

3. Whe

Adding a SQL Server Table to Windows Form Application (c#)

  

Hi,

I have created forms in the past that have connected to a SQL Server database and done a variety of manipulations.

This time I have a static table in SQL server that I want to add to the project and load into an array without having to connect to SQL Server i.e. the windows form application will have this datatable embedded within it so any user can use it. How do I add the table to the project in this way?

I know how to load the data into the array.

 

Thanks,

Coop


Problem hosting a WPF user control in a windows form application

  
I have a windows forms application and want to to use WPF inside this application. So I have add a WPF user control into my project. Then I take a ElementHost from the toolbox and put it on my windows forms. The problem is now, when I want to add the WPF control with "Edit Host Content" I get the message "This ElementHost is currently not hosting any editable content....." What's wrong? How can I embed my implemented WPF control into the ElementHost ?

Refresh datagridview in windows form application

  

I am having a main which will have 2 controls namely treeview and datagridview . I will have a form to be opened when user selects an option from treeview. My treeview will be as follows

Root

|->c:Some.txt

  |->Child

     |->Child          

If i click on the text file that was child to the root i will show the content of that file. But what i need is if right click on child i will have an option as NEW and i will get a new form. If i enter some values and click on save i will save them to the text file which was provided in the treeview at the same time i would like to show the user in the datagridview when the second form gets hide. Like that i can have multiple child forms what ever data i give there in the forms that should be shown to datagridview when the child form gets closed or hide


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend