Answer Questions
DRDRAIN VNC or TS alike app
Hi, I'm creating an app that will be accessed by tech support personal via VNC to perform any support. How can I do that from the application it selft like the user choose for help and connects his machine with any support's machines opened and the tech perform his work on the remote machine. any documents on that any help appreciated. kerb VNC used to be Open Source but that appears to have gone extinct, the AT&T servers are off-line, much like it once famed R&D. www.realvnc.com looks completely proprietary. The new Open Source incarnation is TightVNC . That said, you should really think twice before incorporating code like this in your own program. VNC really ought to run a ...Show All
Don Yang is their any reflector like tool in VB6
i am having VB6 dll. i want's to get the source code, methods and whatever inside that dll. Is their any tool like reflector in .NET. Thanx in Advance. No, VB6 executables don't carry the same amount of metadata that managed executables do. You can view the exported types in the embedded typelib with a tool like OleView, but that's about it. ...Show All
ghostnguyen HOW TO: Close DOS window launching VB application
Hi all, I make use of a batch file to launch a VB .Net application. The app is supposed to run continuously and so the DOS window stays on screen. How can I configure, preferably within the batch file, to close automatically the DOS window with the app still running TIA Thanks very much. I wonder why the runas command would allow app control back to the DOS window to close it but no other DOS command can do Moreover, the app itself is an individual windows for monitoring purposes, is it possible to start several instances of this app with this runas command by typing the password once in the DOS prompt TIA You may want to checkout the runas com ...Show All
Andrew Sears - T4G VS - prompt before exit?
When I'm about to exit VS2005 (or VS2003) it doesn't prompt me if I'm sure. Is there any way to set this option I looked in VS options and searched registry keys, but didn't find anything. I'm probably missing something obvious. Can u help me, please Thx in advance Well, VS actually prompts me on exit when I'm in the middle of debugging session or I have some files unsaved, but otherwise this doesn't happen. It often happens that I click exit button by mistake, which is especially annyoing when I work on larger project. So ... any ideas I use tabbed document interface, but I really dont see how is this relevant here. I would just like that VS *always* asks me somethi ...Show All
tyaramis Program Execution Speed
How can i measure how long each part of my program takes to execute, so i can know where the slow parts are I am trying to find out what parts of my program are slow so i can make them faster. Do you need the entire table or can you simply retrieve a smaller subset of the data. Can you implement a solution whereby these adds or updates are implemented as stored procedures - so you are simply running and update or update query on the SQL Server Doing table actions on a client - involves a considerably amount of data being moved from the server to the client to be processed to be moved back to the server. If the tasks can be implemented in SQL stored procedures - you are simply running them on t ...Show All
Mateusz Rajca This works, just want someone who knows better to check it out.
Imports System Imports System.IO Public Class PassCreate Dim Passtxt As String = "C:\Pass.txt" Dim Passconfirm As String Dim swPass As IO.StreamWriter Dim Passtest As Boolean Private Sub PassCreate_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If File.Exists(Passtxt) Then Passtest = True btnPassCreate.Text = "Enter Password" Try ' Create an instance of StreamReader to read from a file. Using sr As StreamReader = New StreamReader(Passtxt) Passconfirm = sr.ReadLine() sr.Close() End Using Catch Ex As Exception 'handles any errors MessageBox.Show(Ex.Message, "PGS", _ MessageBoxButto ...Show All
Humba Baer Datagrid search
How do I search a set of string on a certain column of datagrid. I have populated the datagrid with unbounded data and I want to create a search for a specified columns. not that I can see, if you are binding to a dataset then the above code I posted should work for you which will find the text you want to find based on the expression filter/select statement. otherwise as stated, you may have to go through each row/column and check the cell value to what you want to find. re reading your original question, the datagridview is unbound so all you can do really is to get the column you want, and go through each row of that column and check the value you want. I'm using .net 2.0. I'm no ...Show All
g e o r g e How do I make listbox scroll to bottom?
I have a listbox in my program and what I want to do is have it scroll down once a new item is added to it. Try this: ListBox1.Items.Add(...) ListBox1.SelectedIndex = ListBox1.Items.Count-1 ListBox1.SelectedIndex = -1 '--- Optional ...Show All
Neil East envdte not found when installing project
I'm trying to do a click once installation of a VB2005 project. When I install, I get the following message: "Unable to install or run the application. The application requires that assembly EnvDTE Version 8.0.0.0 be installed in the Global Assembly Cache (GAC) first." I've tried changing the 'Publish Status' to 'Update', 'Delete' which does not remove the error or changes it to Version 7.0.0.3. Any ideas Thanks! To be honest, I've never actually needed to install anything into the GAC, so I don't know how . But before you try it, make sure you added both the DLLs as references in your app (even if one references the other you need to include BOTH), then VB should be clever enou ...Show All
xishan shigri Report viewer Ttools
Hello All i have an application in dotnet2005 aand it working fine but my probem is that i want to modify the crystal report at run time . for example i want to change the report logo from left to right or change the header text or change the postion of report title all this mdifactation at run time . because the every end user or customer can change or modify the report contents as he wants . so how to do this and is there any tools or component makes this. thanks kaled kaled2007, According to your question, I suggest you to read this articled titled How to Load and Display Crystal Reports in VB.NET. This article is about how to load and display Crystal Reports and handle the parameters and logon in ...Show All
Kennet beginer question -help
this is in VB CurBrowser = MainTabControl.SelectedTab.Controls(0) i need it in c# what is the echivalent because in c# i cant use ....Controls(0) no arguments thx. CurBrowser = MainTabControl.SelectedTab.Controls [ 0 ]; ...Show All
JVYY no .net framework?
I did a window application using vb.net and a setup project. But when i installing my system/programm to a new PC, it prompt out a error "Please install .NET Framwork"....... What should i do if the user PC dont have .NET Framework I cant require the user to install .NET Framework....so wat should i do to solve this Actually i dont really know wat is mean by .NET Framwork and why PC need .NET Framework to run the application programm, my application program is just a very simple program.......I am quite new to .NET .....pls help.... No framework !!! No VB.NET applications. All .NET applications require an appropriate version of the framework to be installed to work. Period - no getting around that. ...Show All
JeevesIndia referencing controls in a groupbox
The groupbox in VB.NET is very different from the option group in VBA. In the latter, you could get the value of the group (the index of the control in the group that was checked) by just referring to the container control itself: dim x as integer x = optGroup1 OR select case optGroup1 Case 0 debug.print "apples" Case 1 debug.print "oranges" Case 2 debug.print "lemons" Case else debug.print "other" End select How can you do this in VB.NET I'm answering my own question here. Apparently there is no event that is fired when the value of a contained control in a group box changes. This is odd considering that the group box has to be aware ...Show All
gmcbay Working text files without a binary mode
Hello I need some help for a troubleshot that I have in a VB.NET 2003 program that I develop at this time. I need to open a text file for "read mode" and, at the same time, 3 or more text file for "write mode". I tried already but I didn't any result. Can have anybody who help me Thanks a lot. I tried with the following code: Private Function Processa_Files () As Boolean Dim strErrorMessage As String Dim blnProcessaFiles As Boolean = False Dim blnBlocoDebito As Boolean = False Dim blnBlocoCredito As Boolean = False Me . grpboxProcessaFiles . Visible = True If File . Exists ( strNomeFichTempo331447 ) Then Dim fsreaderFi ...Show All
Lawrence 007 When to use New?
Not having any formal programming background I have always been confused as to when to use the New keyword. Dim x as Integer is simple enough. Dim x as New Integer is syntactically allowed but never done as far as I can see. The following code works nicely but why a New for the TableAdapter and not for the DataRow. Just curious. Thanks to anyone with an idle moment to help explain this. GS Dim tableAdapter2 As New VBNMDataProvidersTableAdapters.ProvidersTableAdapter Dim myRow2 As DataRow = tableAdapter2.GetData.FindByProviderID( Me .ComboBoxProviderID.SelectedValue) Thanks. GS The datarow doesn't need new because you're not creating a new ...Show All
