Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score .NET Logging Library
John - 9 Jul 2009 11:23 PM - 2 messages
Hi I am looking for a net logging library that writes to file and/or sends log via email. Any recommendation would be appreciated. Many Thanks Regards ...
Score Capture events for a control array
John Wright - 9 Jul 2009 10:22 PM - 2 messages
I have 80 textboxes on my form that I want to capture the focus event and the validating event.  When someone enters any textbox, I want to capture the current value of textbox in a variable then on the validate event check the ...
Score Get average of a row
Totti - 9 Jul 2009 8:19 AM - 3 messages
Hi everyone, I am wondering how can i get the average of each row of grades from a database (M$ACCESS) and display it in a TextBox i Have Data such as ---Student----Pro1--Pro2--Pro3--Pro4--Pro5--Ex1--Ex2--Fin--Avg--Let ...
Score Running progress indicator in different thread to UI thread
Steve - 9 Jul 2009 6:56 AM - 3 messages
Hi All I have a vb.net 2008 app and I want to display a circular marquee progress control on top of the main controls whilst the app is connecting to an SQL server database remotely via a vpn The circular control needs a value (integer) sent to it every 200ms from a ...
Score How Do I Find MyApplication Events?
Stewart Berman - 9 Jul 2009 4:49 AM - 3 messages
I have a Visual Studio 2005 Windows Forms project.  I open the ApplicationEvents.vb file and the General drop down menu is empty. What option will populate it? ...
Score Seperating Debug and Trace Output
Stewart Berman - 8 Jul 2009 11:13 PM - 3 messages
I want to write trace out to a file instead of the default.  If I define a trace listener and add it to the tracelisteners collection the debug output goes there as well. I tried: Private myTextWriterTraceListener As TextWriterTraceListener ...
Score Mult-Threading and TraceListeners
Stewart Berman - 8 Jul 2009 10:00 PM - 4 messages
I have a simple test application that uses a BackgroundWorker class.  In looking at the trace.listeners collection I noticed that by default there is only one and it is not thread safe. Does that mean there could be a problem if I have Trace.WriteLine statements in both the GUI ...
Score Using Special Folders in App.Config
Stewart Berman - 8 Jul 2009 9:06 PM - 7 messages
How do you define one of the special folders in an App.Config file?  For example, if one wanted to refer to the user's temp directory in code it would be: My.Computer.FileSystem.SpecialDirectories.Temp.ToString() I want to define a trace output file in the user's temp directory using the application's ...
Score Connection limit
cj2 - 8 Jul 2009 7:19 PM - 5 messages
I still think I'm hitting some limit on connections from a windows app on Windows XP to a web service on Windows Server 2008.  I have read XP has a 10 connection limit of some kind.  I need to know more about this. ...
Score Have thread end if not finished in X seconds
cj2 - 8 Jul 2009 6:13 PM - 3 messages
How can I force a thread to end withing X seconds if it is not done? I think this will have to be done by the thread itself.  The main program starts threads to process incoming requests and the thread ...
Score serialport1.writebuffersize problem
friend - 8 Jul 2009 11:49 AM - 2 messages
Hello all, How to increase the writebuffersize of a serial port the default value is 2048 bytes. if i try to send more than 2048 bytes the application is getting blocked. I need to send 2.5mb of data and i tried to increase the ...
Score inputbox
friend - 8 Jul 2009 6:41 AM - 20 messages
Hello all, Is it possible to change the names of OK and Cancel in input box ??? Thanks to all ...
Score How To :App.Config
Sincere - 8 Jul 2009 2:52 AM - 4 messages
Hello, I am having probelms reading the app.config file. I have stored my connectionstring as follows. <add name ="ReqCon" connectionString =          "Data Source= {local};Initial Catalog=Tasks_Sch;          Integrated Security=SSPI" providerName ="System.Data.SqlClient"/> ...
Score Floating Point Math Problem
Joe - 8 Jul 2009 12:51 AM - 3 messages
I am attempting to solve a simple floating point math problem and I am not getting the results that I think I should be getting. Here is what I am doing: Dim iMinutes As Integer Dim dHours, dMinutes, dUnits As Double ...
Score is this possible?
karim - 7 Jul 2009 9:37 PM - 3 messages
Hello All,         lets say that I made a form with bottons that open shortcuts on the local computer. is it possible to make it so that the user can choose what shortcut a certain botton on the form would open? and can he change that ...
Score VB.NET Charting Solution
Mr. Taco - 7 Jul 2009 7:53 PM - 8 messages
What the best solution for creating charts in vb.net for winforms apps? I'd rather not spend money unless I have to and I already know about Dundas. -Taco ...
Score Launch .NET application through notification or windows messaging Option
Andy - 7 Jul 2009 7:18 PM - 2 messages
Is there any way to launch a .NET application by issuing a windows message? I have two VB.NET applications, A and B. A writes records to a database, and then issues a message that its finished. The message somehow causes application B to launch which then ...
Score Can I Unpublish an application?
dgk - 7 Jul 2009 3:03 PM - 3 messages
I've didn't mean to use the ClickOnce stuff but it's been a while since I worked on this and I ended up Publishing it. Now the thing is giving me all sorts of security errors when I try debugging it. Can I ...
Score Serialize a Dictionary(Of TKey, Of TValue)
Art - 7 Jul 2009 2:24 PM - 2 messages
I'd like to serialize, to an XML file, a dictionary.  I've not done much with VB.net for a year or so, and never did much with serialization or XML.  I've got version VS 2008.  Can anyone give me an example -- I seem to be missing ...
Score HTML, CSS and JavaScript in a Gridview
Mike - 7 Jul 2009 1:47 PM - 3 messages
Hi All, I'm trying to create a datatable that contains <img> tags that have a class and javascript for the onmouseover and onmouseout. I can get the thumbnail image to show up in the Gridview but the CSS class doesn't ...
Score How do I create new app with data access?
Eric - 7 Jul 2009 1:14 PM - 11 messages
I've written a lot of programs and a lot of VB but I'm new to VB.NET so it may be something obvious I'm missing. I created a new project in the .NET Express 2008 IDE. I created a new data with definition (.mdf) with one table. ...
Score Duplicated data - how to understand it please?
Edward - 7 Jul 2009 7:47 AM - 2 messages
I've recently taken over support and maintenance of a system that was developed and delivered by another company.  It's a VS2005 Windows application written in VB sitting on a SQL Server 2000 database.  I imagine (though I haven't seen any documentation) that it underwent ...
Score Network Share Names in Registry
Mike H - 7 Jul 2009 2:02 AM - 2 messages
I have searched the internet attempting to find the registry locations for the network share names, used on a computer under different versions of windows, without success.  For example, under XP, the location of these names are HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES\LANMANSERVER\SHARES, ...
Score Pass a structure to a C++ dll
roidy - 6 Jul 2009 7:59 PM - 3 messages
Hi, Does anyone have a code example of how to pass a structure from VB to a C++ dll, modify it and return it to VB. I`ve searched the internet for hours and can find loads of info on passing variables but nothing on passing ...
Score Concurrency error on update
John - 6 Jul 2009 5:47 PM - 7 messages
Hi vs 2003. vb.net winform db app with ms access backend. I have created the data access layer from the code created by the data adapter wizard. Problem is when MyDataAdapter.Update(MyDataset.MyTable) is executed I get a ...
Score Viewing InnerExceptions
John - 6 Jul 2009 2:52 PM - 2 messages
Hi When an exception occurs how can I view InnerExceptions to get to the bottom of the problem? Is it possible to view all InnerExceptions? Thanks Regards ...
Score Listview scroll direction
roidy - 6 Jul 2009 12:17 PM - 3 messages
Hi, I`m using a listview in large icon mode how can I make it scroll horizontally instead of the default vertical scrolling? Thanks Rob ...
Score System.OutOfMemory exception error
Valli - 6 Jul 2009 7:06 AM - 4 messages
Hi, I have created a socket application which is connected at both the end. It receives messages from Server and sends it to its connected clients. I receive System.OutOfMemory exception error in the statement "Thread.Start(Args())". Whenever a messages comes in to this process, a thread is created to send ...
Score Excel interop. Choose version of Excel to launch
Tim Marsden - 5 Jul 2009 7:13 PM - 3 messages
Hi, I am developing and application which automates Excel. I have both Excel 2003 and 2007 install on my development machine along with the PIAs. I have 2 versions of my app, one referencing the 2003 PIAs and one the 2007 PIAs.  ...
Score Application Help (i.e. Help Class)
eBob.com - 5 Jul 2009 4:44 PM - 3 messages
I am having great difficulty finding information and resources for creating Help for an application.  I find nothing of a tutorial nature anywhere. (Probably because I get a lot of worthless hits as soon as I use "help" as a ...
Next » 2 3 4 5 6 7 8 9 10