Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Red TransparencyKey Not Working on Non Development Computer
Gregory A Greenman - 3 Apr 2010 10:22 PM - 5 messages
I created a simple program that does little more than display a bitmap on the screen so that I could try out the TransparancyKey property. Any color in the window that matches the TransparencyKey should be transparent, so that users see whatever is behind the ...
Score Add timer.tick event handler.
Mr. X. - 3 Apr 2010 5:16 AM - 12 messages
Hello. I see on some components that I can do I.e: addHandler myButton.click, eventHandlerSub But for Timer (is it on System.Timers ?) I cannot handle the tick event. How can I by some code handle the tick event of the timer ? ...
Score Create a template.
Mr. X. - 3 Apr 2010 3:47 AM - 8 messages
In VB.NET (VS 2008), I want easily create my new class or win-form, and make it as a template, so I can easily use and create new forms / classes based on that template. Thanks :) ...
Score Creating array for three items
Saga - 2 Apr 2010 9:57 PM - 5 messages
Hello all, I am reading 3 strings from a DB table. I need to apply the same process to all three strings, so I figured that I would use a for loop. To make the loop easier to handle I am going to ...
Score forms control in a class
kpg - 2 Apr 2010 7:41 PM - 3 messages
Hi all, I have a vb.net class with this in it: Public Sub SetValues(ByVal obj As Object)     DirectCast(obj, ComboBox).Items.Add("Value1")     DirectCast(obj, ComboBox).Items.Add("Value2") End Sub Problem:  ComboBox is unrecognized becuase this is a class library, not a ...
Score Setting registry value
John - 2 Apr 2010 3:35 AM - 2 messages
Hi How can I check for this registry value; [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\MyApp Log] "Retention"=dword:00000000 and if it does not exist to create it and if it exists make sure the value of "Retention"key is 00000000? ...
Score Attaching to a DLL
Stephen7405 - 1 Apr 2010 10:48 PM - 2 messages
In VB6 I used the syntax: Set MyObj = CreateObject("MyDLL.MyClass") to expose the procedures in a DLL to an EXE. VB6 objects to this, so what is the equivalent code in VB2008? ...
Score Re: Application crashes at start-up
johnny_jorgensen - 1 Apr 2010 9:37 PM - 3 messages
I agree with Mike. I have had the same cryptic error message in an app where it turned out that it was MS SQL Server CE objects that were no properly closed and disposed after use. I have ONLY had it in conjunction with SQL Server CE 3.0 and 3.5 - Not ...
Score Dates
Apollo - 1 Apr 2010 8:40 PM - 2 messages
Hi All ... I'm a newbeee using vb2008 express, vs2008, & sql 2008 express. I have created a column in my sql table with the DATE data type as I only want to store/display the date portion in my winform control field which ...
Score Deploy my solution.
Mr. X. - 1 Apr 2010 3:18 PM - 2 messages
What are the steps for deployment my solution (VB.NET, VS. 2008. win-form) ? Thanks :) ...
Score create main configuration file for solution.
Mr. X. - 1 Apr 2010 3:13 PM - 5 messages
Hello. How can I create main configuration file for my solution (Win-Form : VS 2008. VB.NET), like a general ini-file. Thanks :) ...
Score Displaying Panel After Timer Loop
J Snaith - 1 Apr 2010 12:53 PM - 2 messages
Good day.  I have asp.net page in vb.net that gets set of photos records from a database table (paths to photos).  Loads that data into session datatable, divide into parts and display each part at timer interval.  For ...
Score .NET 3.5 - System.Reflection.Assembly does not release object (DLL) after use
Wolfixx - 1 Apr 2010 1:20 AM - 3 messages
Hello, Does anyone of you know how I can force vb.net to remove the handle of a local DLL which I used beforehand with Reflection. Here is a fragment of the code. I have a base class and a derived class. This app only knows the base class ...
Score Dynamic Label Control Property in 2008
Rick - 31 Mar 2010 11:07 PM - 4 messages
I am dynamically creating a label control of width=100 and adding text (sTextVar) to it dynamically whose string length is unknown: Dim myLabel As Label = New Label() myLabel.Width = 100 myLabel.Text = sTextVar Me.Controls.Add(myLabel) 1.  How do I set myLabel so the font size of sTextVar is shrunk to smaller ...
Score creating activeX on VB.NET 2008
Mr. X. - 31 Mar 2010 7:51 AM - 6 messages
Hello. How can I make new activeX for the solution. Is it : add -> new project -> windows form control library ? For that - are all the activeXs should be on the same windows form control library. Is the ActiveX private to my solution? ...
Score Executable program while debugging.
Mr. X. - 30 Mar 2010 9:41 PM - 10 messages
In VB.NET 2008 (VS 2008) Where is the executable path while debugging my code? (Can I control where should be the executable file while debugging). Thanks :) ...
Score .net Versions
Trouble - 30 Mar 2010 9:21 PM - 6 messages
I have been maintaining VB 6 apps and at your suggestion added Virtual XP to my new Win 7 machine. Thank you all for that advice. I have some time on my hands and decided to look again at VB.Net for a new ...
Score project and solution.
Mr. X. - 30 Mar 2010 7:26 AM - 16 messages
Hello. I want to create a system : 1. There is a main menu, and many programs. 2. Each program is a stand alone executable. 3. I want to control the whole system - one compile for the whole system, and separated compilation, that can be to each program. ...
Score .config files are getting corrupted
Raja - 30 Mar 2010 5:26 AM - 4 messages
In VB.Net, .config files are getting corrupted, when the system goes down due to some powere failure or some other reason. what could be solution to prevent those files ? Thanks, Rajan ...
Score Weird application exit
Anthony - 30 Mar 2010 5:04 AM - 3 messages
So I've got my application starting by calling Sub Main() which checks for the existence of files and will load one of two screens depending on if the files are present or not. The problem is that when it loads the screen, the ...
Score How might one serialize a sorted dictionary?
mp - 29 Mar 2010 11:57 PM - 3 messages
given a sorted dictionary of sorted dictionaries Private m_profilesDict As Dictionary(Of String, Object) = New Dictionary(Of String, Object) If m_profilesDict.ContainsKey(ProfileName) Then   ProfileDict = m_profilesDict.Item(ProfileName) Else   ProfileDict = New SortedDictionary(Of Double, String)   m_profilesDict.Add(ProfileName, ProfileDict) ...
Score A solution!
Stan Steliga - 29 Mar 2010 9:03 PM - 4 messages
This problem was driving me crazy for a few hours.  What I found was that I had version 8.0.1 of the Dymo Software installed.  I downloaded the 8.2 version of the Dymo software and all is good now! ...
Score container for tables & queries in VB.NET 2008
Mr. X. - 29 Mar 2010 2:48 PM - 13 messages
Hello. Is there any container on VB.NET 2008, so I can drop queries & tables objects on it? Thanks :) ...
Score DateTimePicker Minimum and Maximum Values
Connull - 29 Mar 2010 1:45 PM - 2 messages
I have set the minimum and maximum dates allowed in a datetimepicker. If I type a date in the datetimepicker that is before the minimum value I have set it reverts back to today's date which is fine, however, if I 'drop down' the ...
Score Ocx : how to read MajorVer, MinorVer and RevisionVer ?
Patrice Dargenton - 29 Mar 2010 10:22 AM - 3 messages
Hello, I am looking for a trick to read the file version of an ocx in dotnet, the file version that is showed in the file explorer : I want to be sure that the version of the registered ocx is correct before continuing to ...
Score needs double value in string format
Valli - 29 Mar 2010 8:16 AM - 7 messages
I have a double variable Dim d as double. d gets values stored as 2010031266671939.0 I need this value in string. If I use d.tostring(), it provides in E+ format. I need this double value in string without E+ format. ...
Score help about initialize
shadow-monster via DotNetMonster.com - 29 Mar 2010 3:02 AM - 2 messages
Good Day, Just want to know the difference of Dim p as string Private p as string I'm a little confuse :) Thanks much ...
Score Drawing Curved Text
mickey - 29 Mar 2010 12:39 AM - 3 messages
Hi All Does anyone know of a simple example of drawing along a simple curve using vb.net. Mickey ...
Next » 2 3 4 5 6 7 8 9 10