Answer Questions
Grigory A. copy my.settings / app.config
hi there, its me again :) soo.. i have a question.. in an application i have to include the possibility, to save the settings (which is automatically done) manually, so if the user is doing something stupid, the external saved settings should able to be restored. is this possible using vb or should i tell them to save the app.config file manually i hope my explenation is clear enough.. my english is not the best. ...Show All
Gilles Outlet CANT DEPLOT APPLICATION
Ok this is my first time doing this click once deployment thingy But im trying to basiclly deploy my application so that others can download and use it the problem is i dont know where to deploy it to I need help i tried microsofts website but it wont let me get acess to it. " If you want people to be able to download it, then you need to provide server space." I've certainly deployed from my ...Show All
loydmoseby data grid question
I hav 2 questions. 1. How do I change the datagrid's Column headings the problem is when I load the gris it shows the tables's column names. e.g. If in database Table the column name is "EmployeeID", then I want to show it as "Purchased By" . How to do that 2. How do i export data from a datagrid to a Excel file Anyone help. Thnx in advance. Thnx. Hi, I guess you should cle ...Show All
Dlwilliams two dimensional array questions
Hello: I am working with a 2 dimensional array of strings. It seems that you cannot use redim preserve to change the left element of a 2 dimensional array. Does that mean I have to declare the array with the actual size, i.e. myarray(1000,1) If so, is there a way to trim off the unused elements at the end of my procedure If I do this declaration (with the total size of the array), what is the function to show the actual num ...Show All
AndersK Renamimg an object
Hi, I noticed that when you rename an object at design time that this is what the code looks like: Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdDecide.Click Now I renamed my command button cmdDecide. I'm used to VB6 (using VS2005) now. In VB6 the buttons name normally came after the private sub but here I see it still has the generic name that it was given b ...Show All
Kurt4949 Trapping the Tab key
Using VB.Net 2005, how do you trap the tab key in a textbox I've tried every key event (press, up, down), I've set the keypreview to true and false, and I've even tried a richtextbox. The events never fire for the tab key. Every other key gets fired except that one. Try the ContainerControl.ProcessTabKey method. ...Show All
Mirek Sztajno Adding 100 progress bars to a list view control
Hi, I have a process that spawns 100 sub-processes. I need to display the progress of each of them. I was thinking about doing this using 100 progressbar controls contained in some other control. I've looked at using the Listview control for doing this - but I'm not sure how this is done. Some other articles suggest adding to the controls collection of the Listview - but I've tried this and it does not produce scroll bars. Any ideas on ...Show All
Tim Attaway Problem with databind a control on an inactive tabpage
I have an application that you select a value from a listbox and multiple fields (textboxes, datagrids,etc.) get populated automatically in various tabs. The last tab will output all the values to a text file. When a value is selected from the list box, I query the databse and store the data in a dataset/datatables and using databinding, that is setup via code during the first selection, the multiple fields get populated. I noticed one of th ...Show All
ccsfiona Reference problem in Beta 2
We are developing a new VB .Net Beta 2 application. This application references some DLLs that were developed in VB .Net 2003. When I build the application, everything works fine. However, when someone else from the project team gets the latest version of the solution from SourceSafe and rebuilds, he gets an error that says "<The system cannot find the reference specified>". If he removes the reference and then ...Show All
Ally Best method for exporting a DataGridView to Excel
I have a datagridview(DGV) which contains data based on a user selections from a pre-defined dataset In point form: User starts program program builds datatable user opens file and program read all data from file into the dataset.datatable user defines the data they want to see program displays datagrid based on dataset.datatable and user choices. (basically it displays the whole dataset and removes unwanted columns\records) ...Show All
Uwe Keim How to find path of InstCDPath (Hkey_Local_Machine/Software)
I coded program in vb and this program must be installed to my another program's path beacause of that installer must be in the same path of my another program and installer must find the path of my another program but how can do this in installer or vb code Best Regards Erman Celik you can do it with wise installation program open target system-system search-and add new read registry value select root name, key ...Show All
Skip_Frog threading problems
Hi, I'm a total newbie at the forums I'm not even sure how to explain this but I'll give it a shot. I have created an app that launches an external program. Like so: global scrope Dim WithEvents proc As Process in a sub Dim si As New ProcessStartInfo(strProgram, strArgument) Before I launch the app I add a new handler AddHandler proc.Exited, AddressOf ProcessExited now comes the tricky part. I have this sub Public Sub P ...Show All
Siupo VB vs C#. How capable is VB compared to C#?
I need some clarification please. I am learning VB.NET right now and have a co-worker who has a very strong technical background and feels very strongly that learning VB is a "waste of time in all respects" compared to C#. I don't understand this point of view. Since VB is a .NET language does it not posses the same capabilities as C# Am I on the wrong track I really enjoy the VB.NET syntax and am picking it up quickly. ...Show All
casey2727 Record wmencoder streaming
Hi, with wmencoder I share in streaming a webcam, how can I record from a client the streaming of the webcam in a video avi or a photo jpeg Thanks I think thats something I want to do too, but I can't understand the first part of the question. So you want to record an .avi file or .jpg file from the output (Or streaming I think you were saying) of the webcam. I wanted to try th ...Show All
KrazyMGA Launching a Precess from Ram
Starting a process requires a file path to a disk location. I would prefer to not create temporary files on client computers for a number of reasons. Can love or money buy a way to start a process from memory with the data file represented as a byte array or a memorystream. Thanks, Fred Herring Theoretically speaking it is possible. All you really need to do is know the address of the executable and launch a threa ...Show All
