Answer Questions
Sher! High Memory Usage
In vb.net express 2005 all the applications made have at least 10mb of memory allocated to them. I have made just a blank windows application with nothing in it and it uses 10mb of memory! Is this normal for the program I turned of xp visual effects, and it did not effect the memory usage any... Would it have somthing to do with the .net framework and its beta status The memory usage ju ...Show All
viraj@etech Information on Threading
Does anyone know where I can find information on threading, multithreading, error handling within threads, thread states, etc. I'm looking for tutorials, books, online documents, anything that will teach me all about threads. This info needs to be in Visual Basic.NET format, though I guess I could port C# code over to VB.NET. The MSDN documents are OK, but I'm having problems with thread states. I can't seem to figure ou ...Show All
curious george2 Arraylist of structure problem
Modifying arraylist I have an arraylist of a certain class Private Structure DataStruct Dim name Dim val End Structure Dim list As New ArrayList And as my program go along I add items to my arraylist(list) of DataStruct type..] My problem when i want to search for a certain data(for example a name) in the list and after that i want to change the val member, how can I do this without having to use index method Pls help! Thanks guy ...Show All
General Gigilo Datagridview "HideSelection"
I'm using an unbound datagridview to display information, and I need to color-code certain cells to alert the user to status events. Is there a way to not have the selected row highlighted when the control does not have focus (similar to the VB6 .HideSelection property) There is still a HideSelection property, but now it is on the individual cell textbox controls - see http://msdn2.microsoft.com/en-us/libra ...Show All
gkb How can i set JIT Debugging in VB Express Edition?
According to documentation available, we can set JIT debugging in: Tools --> Option --> Debug But, in VB 2005 Express Edition Beta 2 this option is unavailable or, at least i can't find out where is it. Thanks ...Show All
Ben Taylor event associated to pressing the "Enter" key on the keyboard
Where do I put the code that I want to associate to pressing the "Enter" key on the keyboard. I tried both OnEnter event and Enter event as u see bellow, none of 'm s worked: Private Sub form1_Enter(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Enter Msgbox "Enter s been clicked" End Sub Protected Overrides Sub OnEnter(ByVal e As System.EventArgs) Msgbox "Enter s been cl ...Show All
Bob Mack change the ConnectionString in a built application
is it possible to change the Connection String when the application is built.By that i mean the connection string that was used in the database source window and is used to create everything in the GUI. i know u can change a connection later if you use System.Data.OleDb.OleDbConnection but the connectionstring that you work with using the gui development tools seems to be a read-only property (my.settings and so on) and i haven't found a way of ...Show All
anonymizer changing image inside a button
hi there, i would like to change my display image inside a button when the button is clicked..how can i do it programatically for example: a button with text "Log In" and image LogIn.ico, when clicked, it will change to text "Log Off" and LogOff.ico can anyone please help me this beginner thank you Private Sub Button1_Click( ByVal sender As System. Object , ByVal e As System.Event ...Show All
klavsm About Window focus
Good Morning, Are there someone who knows about an API from Windows that's set the focus in a window that's lost the focus I need this API to type in my code on Visual Basic. Thank's guys, Vivian You can use win32 api SetForegroundWindow Function Public Declare Function SetForegroundWindow Lib "user32" Alias "SetForegroundWindow" ( ByVal HWnd As IntPtr) As IntPtr http://msd ...Show All
bradgessler ByVal variable passing
didnt know where to post this, so i decided here was a suitable spot. anyways lets say i have an OCX that has variables defined. the OCX, we will call "HMM" example given: Private Sub HMM_NAMEHERE(ByVal Latency As Long) now "Latency" is already declaired in the OCX as a changing variable that depends on the user that is connceted to a server. so its not set. now im trying to pass that variable to a "Private Sub ListView_MouseMov ...Show All
caglar ozkul invalid parameter
Can anyone tell me why this throws a system.argumentexception:Invalid parameter Imports System.Drawing Public Class form1 Inherits System.Windows.Forms.Form # Region " Windows Form Designer generated code " Public Sub New () MyBase .New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose ...Show All
VarunSuri Reading files into textbox
I need help with this little piece of code..am trying to read a file into a textbox.It is working with only some files.It is unable to show the characters of files like .exe,.bmp,... I want to create a text editor.(which should atleast open these sort of files).The code am using right now is.. ' starts here... FILENAME is actually a filename as string with the whole path Dim sr as new streamreader(FIL ...Show All
Dickie Howarth MDI Forms versus Usercontrols
I am building a Windows Forms application. It will use several forms, all starting from a 'home' form that provides summary info on the data elsewhere in the app. Basically, I don't want to make the thing an MDI Form, but I want it to behave like Outlook, for instance - where it appears that the same main form is being re-filled with relevant data/controls depending on what you want to achieve. Is there a best practice way of going about that ...Show All
Aman B How can use WebRequestMethods.Http.Post?
Hi... How to use WebRequestMethods.Http.Post At google I founded only one file: http://dotnetjunkies.com/QuickStartv20/util/srcview.aspx path=~/howto/samples/net/WebRequests/clientPOST.src But in this code thers a commond named :HttpUtility that my vb(VB 2005 Express) says its not exist... ty for helpers! btw: sorry about my lame english. I've found that the vs20 ...Show All
MD11 Advice sought on storing data between sessions
What's the best way to store data between application sessions I'm using the built-in Settings to store user prefs, but that does not appear to be the way store other data. I could use a text file or binary; maybe even XML/SOAP. For exanple, I'd like to keep a list of searches or favorite folders, files or bookmarks. Suggestion would be appreciated. For persistance, use a file, binary or text depending on the ...Show All
