Using TextBox Of Windows Application In Vs 2008
Jun 12, 2011I am using TextBox of windows application in vs 2008 and using textbox1.scrolltocaret() method but not getting the clear idea that how it works.
View 1 RepliesI am using TextBox of windows application in vs 2008 and using textbox1.scrolltocaret() method but not getting the clear idea that how it works.
View 1 RepliesI am trying to use the System.Diagnostics.Process class.I have the following Windows Forms application. It consists of 1 Button and 1 TextBox. The only code is for the button click event as follows.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim myProcess As New Process()
[code]....
how to hide exe into taskmanager in windows 7 using vb.net windows application?
I want exe is hide into task-manager in windows 7 & windows vista machine using vb.net(windows application)
I am trying to create a accept User Name in textbox and as additional feature i want to show suggestion to user automatically. For example if user press "J" he names starting with "J" (present in name table ) should be displayed as drop-down.
Can i do it with TEXTBOX or is there any other simple way?
I want to fill the textboxes with datagrid value ie the row that is selected. i am working on vb.net windows application
View 1 RepliesI'm trying to do a windows application. I have a combobox with this
Dim sql As String = "Select EMPLID from PS_EMPLOYEES Order by EMPLID"
Dim da As New Data.SqlClient.SqlDataAdapter(sql, "data source = DATASERVERR;initial catalog = HRSYS83;user id=sa; password=sa")
Dim ds As New DataSet
[CODE]...
This works fine, but i want to load a textbox with the name of the employee that i selected in the combobox.
I want to learn programming techniques so can make both windows and web applications more user-friendly, faster, safer, reliable and easier to deploy.
View 4 RepliesI have a windows application written in VB.Net 2008, framework 3.5. This app is running on 2 remote desktop servers. I have one user who receives error, This operation has been canceled due to restrictions in effect on this computer. when entering in a text box. When he uses the application on Server 1 he does not receive the error. It only happens to this 1 user on one server.
View 10 RepliesWithin my application we store objects i.e images,word docs, etc etc. These are stored in a listview and when the user double clicks the item it launches the default application assigned to the file type i.e a bmp will launch paint, doc will launch word etc etc.
Everything works great in all versions of windows except the new Windows 7 where i am getting this error message:
Im guessing this is something to do with permissions etc, but can anybody shed more light on this and where to look?
I created new windows service with timer inside it for scheduler purpose and it can run successfully but it can't run other application (ex: notepad) when the timer elapsed. I can see the process running in Task Manager but the notepad windows is not open. I used this code in timer_elapsed event.
AppLauncher oAppLauncher = new AppLauncher(@"C:WindowsRegedit.exe");
new Thread(new ThreadStart(oAppLauncher.StartProcess)).Start();
where applauncher is a Class
Class AppLauncher {
string myAppPath = string.Empty;
[Code] .....
When I build windows App I can see Notepad open using the same code.
I have an existing apllication that run on XP. What do I need to do to make my application to run on Windows 7.
View 10 RepliesIs there any other way to create a shortcut of an application programmatically or just make the application run every time windows loads up..I got this code of google but I am not too happy with it because it requires some assembly that other users might not have and I get an error when launching this feature on other computer could not load file or assembly interop.IWSHruntimelibrary..[code]
View 11 RepliesI have developed an application in VB.net 2008 having SQL Server 2000 as back end. I am running the application with MSDE 2000 on Windows XP. Now I have switched to Windows 7 from XP. I am unable to run the application on Windows 7 as it is not connecting to database.Can somebody help me to to run the application through MSDE 2000 without upgrading it to SQL EXPRESS 2008 on Windows 7. What I feel is that it could be caused by the Authentication Mode of MSDE 2000 in Windows 7.
View 3 RepliesWe have an application that works well on XP/Pro, Vista, Windows 7, Windows 2003 Server, Windows 2008 Server (32 bit) but is problematic on Windows 2008 Server (64 bit). The application uses an unsigned activeX control which may or may not be related to the problem. To install we need to add the program name and regsvr32 as DEP exceptions. Once that is done the application installs correctly and operates normally except when the application closes.
If a user clicks the 'exit' button our code basically says 'unload me' (where me = the main form of the application) and there is no code in the form_unload section of the program.
Everything works well on every Windows platform except Win 2008 64 bit where we get
APPCRASH
Application Name: PDFPrint.exe
Application Version: 10.10.0.18
Application Timestamp: 4d238253
[Code].....
After we continue to close the program we see a message box with run time error 216 at 00002B24 message.
I want to create a setup for windows application using 2008 including crystal report libraries (DLL files)and should create a icon on desktop
View 2 Repliesthe project contains access database file i want to make a setup of my windows application .
View 6 RepliesHow to Add an Application to Windows Startup visual basic 2008?
View 7 RepliesI want to use the Windows built-in OSK in a touch application I am creating. I found this link to a class that allows one to manage the size & location of the OSK. However, when I run it in my project all I get is a big blue bar at the bottom of the screen, with no keys being displayed. Here is the code from that link:
Imports System.Runtime.InteropServices
Public Class ClKeyboard
#Region "Constants"
[code]....
how to code a button to open a windows console application with it's usage eg. 'Sample.exe -d file.txt' where sample.exe is the console app '-d' is an option of it's usage and file.txt is just a file which sample.exe runs like it has to run from the given commanding option(-d)..
View 3 Repliesi want to load customerID and customerName in a combo bom. ID will be invisible and name will be visible in column using visual basic 2008 for windows application.
View 5 RepliesI packaged a VB 6.0 application using the Package and Deployment Wizard. After that I executed setup.exe in the package to setup the application. On Windows Server 2008 (32 bits), however, I received the following error when processing the setup:
[Code]...
I need to stop services on three different servers then reboot them, then check if services are up and running.
View 2 RepliesI'm a relatively seasoned VB (COM) vet but this is my first VB.Net application and as is my luck a web services application feeding off a site that I can't publicly mention nor can I post any code that may expose the site.
So, here's the problem. I have written a simple form and have 2 buttons. 1 button simply asks the webservice for it's version. This works no problem. I was able to load the web reference using their supplied WSDL file for this "version" class. Now that I have that working I think "GREAT, that was straight forward. I have my credentials, urls, etc working, the rest of this should be just as straight forward." (See where I jinxed myself here?)
Anyway, I move onto the next WSDL and set of classes and get that reference added no problem. (Man that took a LONG time, like 20 minutes.) I then build my "Get my order data" code syntaxes on the prescribed exposed classes and run my project just to see what errors I get. The "run" process takes almost 45 minutes to an hour..... It's as if the app is getting the WSDL set all over again but doing it over and over..... I have no clue what's going on.
I've tried to disable all the Windows 7 "potential" issues, UAC, firewall, etc, but these changes don't help. Anti virus, spyware, etc all these are off and no difference. I'm running VS2008 as an Admin, right click "run as admin", and have complete control over this machine. Any ideas, suggestions, etc are VERY welcome and I am happy to expose as much of this application as I can providing I can stay with in the rules of the confidentiality contract.
how to make an application look like windows office 2007?
View 16 RepliesI'm trying to make my application compatibile with Vista/7 UAC so I created a manifest file that gives me adminstrator rights which works great but the only problem that when my application tries to run with windows (via registry key I added) the application just won't run, and ideas how to run my application with admin rights when it loads up with windows?
View 7 RepliesWhat is the best way to return a exit code from a windows forms application?
View 3 Replieshow can any windows xp program delete folder application in visual basic .net 2008?
View 1 RepliesI have been developing windows and web application using Visual Basic 2005 for a long time. Now i want to change from Visual Basic 2005 to Visual Basic 2008. I would like to know what ever projects i have done in visual basic 2005 will works in Visual Basic 2008. Will the existing code in visual basic 2005 supports Visual Basic 2008 or do i need lot of modification. I haven't used VB 2008 but i hear that most of the code which written in visual basic 2005 supports visual basic 2008. What are the things i need to take care when working the existing projects in visual basic 2008.
View 3 RepliesI'm using SQL 2008 Express with a multi user VB.NET Windows application. Do I have to add each user to the SQL user account? Does NT AuthoritySYSTEM work? I do not know how this works. So far I have NT AuthoritySYSTEM in the Security-Logins of the Server. But do I have to add it also in the database? In the databse Security-User, I have the following:
[Code]...
I have a program that reads data from a scanner via the serial port.This program works fine on Windows XP.We have a terminal server set up running Windows Server 2008.I run HyperTerminal on our test terminal, it connects and reads the scanner data fine through COM1.I run my app on that same test terminal and get nothing when I scan.My app connects to COM1 without errors and disconnects without errors.BUT, the DataRecieved event is NEVER getting fired.Neither is the ErrorReceived event.I have played with the Handshaking, with the RecievedBytesThreshhold and pretty much every setup setting I found.Set it up exactly like the settings on Hyperterminal.I have even tried starting a timer on a different thread to call ReadByte every second to try to KICK this thing into doing SOMETHING.Nothing has worked.
I have been trying to fix this for an entire day now.Added events to my class trying to see EVERYTHING that is going on. All I know is, it connects to the port and it disconnects from the port correctly but nothing happens in between.No data when I scan.No event fired at all between connecting to and disconnecting from the port.I have also downloaded other's simple serial communications applications.Nothing in .NET works.[code]