|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic .NETmicrosoft.public.dotnet.languages.vb
Anthony P. -
6 Jun 2009 6:32 AM - 4 messages
For some reason, Me.Hide() and Me.Visible=False doesn't work! In my form_load method, the very fist statement is Me.Hide() but the form shows. So I tried Me.Visible = False and the form still shows. I've ...
Dale Atkin -
5 Jun 2009 10:25 PM - 4 messages
I'm coding in VB.net I've been periodically getting an 'odd' error message that I don't understand. Normally I can 'pseudo' fix the problem by doing something that seems entirely unrelated to the problem, but the error keeps popping up ...
Ty -
5 Jun 2009 2:33 PM - 3 messages
I am flashing the window of my form with a timer when the form loads. The window opens in a minimized state. I want to disable the timer when the window gets focus, but I have found that the GotFocus event ...
Allen -
5 Jun 2009 9:05 AM - 5 messages
Hello. I have a windows form which contains a RichTextBox control, rtNotes. At runtime this is filled with some data from a datatable using the following code: Dim sFont As New Font(rtNotes.Font, FontStyle.Regular) Dim bFont As New Font(rtNotes.Font, FontStyle.Bold) ...
Mike -
5 Jun 2009 5:48 AM - 32 messages
I just started using My.Settings in my VB.NET project. I think its really cool the way the IDE allows you create it, etc. I have an implementation question: I haved this: - general LoginForm in a class library (DLL) ...
Mike -
5 Jun 2009 5:14 AM - 3 messages
I am wondering if VB.NET GUI logic has this already built-in. I have two check boxes in a Login Windows Form: UserName: _________________________ Password: _________________________ [_] Remember Credentials [_] Auto Login ...
Mike -
5 Jun 2009 4:04 AM - 3 messages
I guess I can explore to see what happens, but if I have two projects in a solution: Application project Class Control Library The application project has a Windows FORM, i.e. frmLogin.vb, and I ...
John -
4 Jun 2009 6:39 PM - 3 messages
Hi I a new to MS Exchange programming. Is there a way to scan all emails arriving to all users on exchange and then extract the attachments of a specified type? If one of the .net languages can be used to achieve this ...
Mark -
4 Jun 2009 5:41 PM - 4 messages
Does anyone know where I can get some sample code on how to activate a HP scanner using VB.NET? I want to write a simple program to scan some blueprints into the computer. Thank you, ...
Dennis -
4 Jun 2009 5:18 PM - 10 messages
I would like to send a boatload of pre-formatted text to a string or stream. Is there a way to do this in VB.Net similar to the way heredoc works in other languages? ...
Michel Racicot -
4 Jun 2009 5:06 PM - 9 messages
When I do the following piece of code, it seems that it's illegal ton typecast a string into a generic result: Private Function GetTypeName(Of t)(ByVal FieldName As String) As t Dim MyResult As t ...
Watty -
4 Jun 2009 4:18 PM - 6 messages
Hi All I have a class with a number of methods like below which have attributes, now I would love to be able to do something like below, help would be really appreciated. Regards Paul Dim x As New Client ...
nak -
4 Jun 2009 2:03 PM - 17 messages
Hey there, I'm sending a file to the remote pc via web service call. I am doing this via the following code, HttpContext.Current.Response.ContentType = "application/mycustommimetype" HttpContext.Current.Response.AddHeader("Content-Disposition", ...
AGP -
4 Jun 2009 12:08 PM - 10 messages
VB.NET 2005 I've been looking at some articles on how to sorta list but so far have not got it to work properly. I have a List(of string) that I populate using the GetFiles() function. The documenation states that the list is not guaranteed ...
Young -
4 Jun 2009 8:52 AM - 5 messages
I create a sub that will add event handlers to text boxes. The sub declaration look like this: sub AddGotFocus(myTextBox as TextBox, GotFocusEvent as System.EventHandler) AddHandler myTextBox.GotFoucs, GotFocusEvent end sub I call this sub using AddGotFocus(text1,addressof Gotfocus). This works ...
John -
4 Jun 2009 6:38 AM - 2 messages
Hi How can I save settings of all controls on a form to an xml file using code? There may be some container controls containing child controls on the form too. Many Thanks Regards ...
Edward -
3 Jun 2009 11:25 PM - 20 messages
Hi, I want to write a program to search for a given word in a large text file ( it could have any format ) like a book and high light matchin words . Regular search will be so slow because it might be several hundreds of pages , I was ...
pregis -
3 Jun 2009 10:23 PM - 13 messages
Hi, Is there a way that I can scan for the total number of lines of code written thus far? I read in Help about a Code Metrics report but can't seem to locate it? Am I on the right track? ...
webmaster -
3 Jun 2009 1:18 PM - 13 messages
Hi everyone, is there a way of initialize a value of file1 with VB.NET ? <input name= "file1" id="file1"/> Thank you. ...
Sze -
3 Jun 2009 10:15 AM - 4 messages
I had set the maxlenght to 20, it is valid for me to input 20 chars However, it also allow me to input 20 chinese words . In fact, I only want to store 10 chinese words & 20 english chars. ...
Steve -
3 Jun 2009 9:53 AM - 4 messages
Hi All I am trying to force a colour laser printer to print images in a document in greyscale, in vb.net 2008 SP1 code...... Dim printDoc As New PrintDocument() printDoc.PrinterSettings.PrinterName = printername If flgblackandwhite AndAlso printDoc.PrinterSettings.SupportsColor Then ...
Samir Ibrahim -
3 Jun 2009 8:44 AM - 4 messages
vb2008, Vista Hi all I had posted this question in 2 forums and still could not find an answer. I am creating a project which will return (User Name, Domain, PC Name, IP) I noticed after doing some tests, that some vb command works fine if the exe ...
LN Mike -
3 Jun 2009 1:29 AM - 3 messages
I have a batch file that executes the same vb.net exe nine times. After the nine apps load I want windows to show all the apps in horizontal tile. Solution does not need to be in the batch file. What is the easiest and ...
Mike -
2 Jun 2009 10:37 PM - 3 messages
Folks, In many of my MFC projects, I use the OnCtlColor() message event to easily single source highlight/colorize/customize text labels and controls. As described by MSDN: The framework calls this member function when a child control ...
John -
2 Jun 2009 10:36 PM - 9 messages
Hi I am sending a number of emails (around 600) using the vb.net code below. The problem is that the emails end up in the OL2007 Outbox with a clock icon and do not go out. If I open one of the email items and click Send then that ...
John -
2 Jun 2009 10:21 PM - 9 messages
Hi Is there a sleep function in vb.net which when used gives time to other apps to maintain responsiveness of other apps which this app is on sleep? Thanks Regards ...
Tomas Mattsson -
2 Jun 2009 8:36 PM - 2 messages
I just want to show how I have shaped the corners of a form without any lines drawn: Imports System.Drawing.Drawing2D and first in the .Load event of the form Dim p As New GraphicsPath p.StartFigure() 'Upper left corner ...
Mike -
2 Jun 2009 7:47 PM - 3 messages
Folks, I think this ok and probably should not worry about it and look at it as some future point, but I am wondering if the following should be done another way. Background: In our SDK, it makes extensive use of the 8 byte FILETIME Win32 ...
Robert Miller -
2 Jun 2009 10:41 AM - 5 messages
Hi, I can connect from VB.NET 2008 a database with DMO, SMO... but all of these connections are linking up the app to one defined database structure. I would like to have more independence on that layer. Is there a way to ...
Co -
2 Jun 2009 6:21 AM - 2 messages
Hi All, I have this Treeview of which I want to save the window status when I'm doing some action with the nodes. After the action I want to restore the windowstate. I save the windowstate in a Dictionary. The code I have does work ...
John -
2 Jun 2009 2:41 AM - 4 messages
Hi Is there a way to save the following info about controls on a winform to a named file and then retrieve them back when needed? Control Name, Position on form, Control Binding Info The idea is to have different layouts of the controls on the form for ...
Luke -
1 Jun 2009 11:45 PM - 2 messages
It's happening because you have another listbox in the same window with the same datasource.
From [link]
Posted via DevelopmentNow.com Groups
[link] ...
Mike -
1 Jun 2009 7:30 PM - 8 messages
I'm not quite getting the security of .NET. Maybe someone can give the basic issue here so I can see the patten and better understand it with the written docs. For now, until I understand what is going on I would like to remove it ...
|
|||||||||||||||||||||||