Answer Questions
SlyM How to hide app in system tray on startup?
Hi all, I have a vb.net application where I want to be in the system tray when it starts up. I included the controls NotifyIcon and ContextMenuStrip in my form and everything works fine. But I do not want my app to be visible on startup, only when the user clicks on my system tray icon then it will launch the form. How can I hide my app on startup Where should I put me.hide() in my form I cannot put me.hide() on form load because then my app w ...Show All
Nurlan Manasbaev Processing Serial Data
I need the reduce the processing time in a uMicrocontroller to allow faster sampling times. This has creates a problem in the data collection routine in VB. The old system collected the analog data a converted it to a decimal format before sending it to the serial port. This data is collected and saved using Hyperterminal. The VB program would, when run, would open this file and process the decimal data by graphing it. What I need ...Show All
blettner Find out if a given type inherits from another type
Hello, the typeOf Operator is true if the type of the tested variable is of or inherits from the tested type. If i have a given type, is there a Operator or function to test if that given type is or inherits from another type or must i use an own function like the following to test this. Markus ... Debug.Assert(clsProc_Service.Type1_Is_Type2_Or_IsBaseType_Of_Type2 _   ...Show All
1mac setup - custom dialog
I have a setup project that I put a check box dialog before the installation 'progress'. With 2 check boxes that are: Desktop Icon, and Quick Launch Icon. So how do I check if a check box is selected so then I can place an icon-shortcut on the Desktop and/or Quick Launch The Express products do not include the Setup and Deployment projects, so it won't work. The Setup and Deployment projects are in St ...Show All
Duder3555 Filling text box with KeyUp strokes
I'm trying to get the keyboard letter values to appear in a textbox as the user types, but I get some other values that don't make sense. Here's my code: Private Sub txtRootPath_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtRootPath.KeyUp Dim newKey As String Dim sPath As String = txtRootPath.Text & e.KeyCode.ToString lblPath.Text = Path.Combine(sPath, txtHTM ...Show All
Tom Isaacson How to update a row(s) content in a datagrid
Hi everyone, I am using vs 2005 vb/asp .net and I have a datagrid that I need to allow the users the ability to update rows. I have the grid at the point where you click edit on a row and it gives you the text boxes. Once they click update I don't know how to get that value and save it to the DB. Any help would be greatly appreciated... thanks rich Once you have data in your Dataset, why do ...Show All
PatrickGemmell Call another program with command line arguments
I have a program, lets say stuff.exe and I want to call it from VB. I want command line arguments though. With a dos prompt I normally do somthing like, c:\stuff.exe -1 -1234 How would I duplicate that in VB, (it dosent need to be at c:\) Process Class ProcessStartInfo Class System.Diagnostics.Process.Start which can be shortened to Process.Start as it is included in your default project imports. I think you will find ...Show All
Benjamin Bradley MSFT Windows Media Player
Where can I find a tutorial/information on using Windows Media Player in VB 2005 My particular question is with the URL - How do I code a "navigate" to an internet address and how do I "navigate" to an mp3 file that I want to include with the compiled application I can easily do this in VB6 but am lost with 2005. Thanks There is a very powerful and flexible interface to the multi-media API, supporting the WMP called SendMCIStr ...Show All
AFM Microsoft Visual Basic 2005 Express - New Project dialog is empty!?
Look at this screenshot: http://hjem.get2net.dk/dondata/Empty.gif I have allready tried to Repair the installation, and allso completely uninstalled VB and the installed it again, but the dialog is still empty. What is happening here By any chance do you also have VS Professional (or any of the other higher-end SKUs) installed I have a vague memory of somebody having problems with the two -- in Pro an ...Show All
tetranz Flat File Handling
My basic application has been designed with cute drop down menus - now it is time for it to actually do something besides display a message box when you click a menu option. The basic facility data is contained in a flat text file. Opening and reading the file is no problem - I am using the following code: strFileName = "C:\PPM\pi.txt" DIM objReader as StreamReader = New StreamReader(strFileName) & ...Show All
Raghuraja repeat delay in Keydown event
Is there any way to keep the keydown event from having a repeat delay when the key is held I know you can go into Control Panel and adjust the keyboard settings, but is there a way to get around that in VB In case it is useful, my code is: Sub Form1_KeyDown( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me .KeyDown Select Case e.KeyCode Case Keys.Left The_moving_object.Left -= ...Show All
raflui VB2005 Book
Could anyone tell me what would be a good book to start I used vb6 in my last project. Is it ok to skip vb.net Please advice... Ah, yes, got both of those - the best things in life are free . Hi, These are great books. Here are a few more recommendations that are also *free* to download :) Our best resources for developers with a VB6 background live on http://msdn.com/vbrun/ &nbs ...Show All
Michael Dvoishes VB6 program running on Citrix
I'm creating a program that will be ran over Citrix but I can't get the data from SQL Server to display in the program. It works fine just running it but not over Citrix. Which is the best way to bind data in the program to run over Citrix ADO, ODBC There are other third party programs that also run on the Citrix Server but I don't think that they use windows authentication. ...Show All
jasmeet wadhwa using data grid as flex grid
I need to use flex grid in my app. but because of the project I can not use flex grid. but I have data grid. can I use data grid without data source. can I send data to cells like flex grid ...Show All
tutu21 Convert byte to ASCII
hi, How to convert byte array to ASCII in VB.NET System.Text.Encoding.ASCII.Getstring(y) it gives the data like 52414D41 . but i need "RAMA" instead of 52414D41. How Any help Thank U! Based on your result "53414D41", I assume that your array contains this hexadecimal bytes (&H52, &H41, &H4D, &H41). If this is the case, then you can convert it to string with ...Show All
