Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Round(0.5) returns 0.
Valli - 27 Mar 2010 9:57 AM - 8 messages
Hi, Dim d as double d= 0.5 Round(d) returns 0 d= 1.5 Round(d) returns 2 I need Round(0.5) = 1. Is it possible in .net? ...
Score RE: Downloading file without knowing the corrent filename
arjun koirala - 26 Mar 2010 2:47 PM - 2 messages
downloading file without knowing From [link] Posted via DevelopmentNow.com Groups [link] ...
Score External functions
Tim Jacob - 26 Mar 2010 1:14 PM - 3 messages
Is it possible to create a function library (as opposed to a class library)?  And how to you access the functions in the library? For example, I would like to be able to call an external function that does some sort of conversion process such as below: ...
Score auto sizing data grid view
sajit - 26 Mar 2010 11:34 AM - 7 messages
hi folks, i am bit new to vb.net. My issue is, I have placed a datagridview control on my win form. I am loading data into it as per user selection from combo box. but issue is only few records are visible on ...
Score Execute an executable program.
Mr. X. - 26 Mar 2010 9:21 AM - 14 messages
How can I in code (VB.NET 2008) execute another executable program ? Thanks :) ...
Score common ways creating projects.
Mr. X. - 26 Mar 2010 9:18 AM - 2 messages
Hello. I want to create a project, with many programs (100). There is a main menu that is running, which can call many programs. What is the common way doing so, in VB.NET 2008. 1. Each program is executable, and the main menu program send each program ...
Score SQLDataAdapter Fill with startRecord parameter
merco - 26 Mar 2010 7:23 AM - 2 messages
Hi. I can't unserstand how startRecord works; i think there is a problem. I'm using maxrecord=5. If i put zero 0, the dataset is filled with all values in table (rows.count is = @@rowcount) If i put 1 the dataset is filled only with 5 values, but row is not ...
Score Can You Save the DataGridView Sort Order / Update the Underlying DB?
Patrick A - 26 Mar 2010 3:01 AM - 9 messages
All, When I save datagridview record changes, should the current sort column and order save? I have a datagridview I placed onto a form, and it is "fed" without any sorting from a DB (bound datasource). Changes to any cell in the datagridview save just fine, but if the ...
Score How to navigate through dataset
Jay - 25 Mar 2010 10:49 PM - 3 messages
I am working with this code for over 2 weeks and I can get this to work with vb.net. this code works perfectly in vb 6.0. My problem is on how to convert movefirst and find method from vb6 to vb.net. ...
Score Acessing DLL members which differ only in Case from VB.net
Bob S - 25 Mar 2010 8:41 PM - 3 messages
I am accessing the MoveableGraphicsLibrary which was suggested in a different post.  The base code is written in C# and is contained in a DLL. In reproducing one of the small sample programs, I ran into the following difficulty. ...
Score Minimise button on title bar and resize
Alain Dekker - 25 Mar 2010 2:56 PM - 4 messages
I'm trying to create a dialog which cannot be resized and when the user double-clicks the title bar, it should NOT become full-screen size. Also, I'd like a minimise button only. I can't seem to get this right. What am I missing? ...
Score Reference to a DLL on the network
BlackSun - 25 Mar 2010 1:48 PM - 3 messages
Hi, I would like to know if is possible to reference a DLL placing on a network but without to copy the DLL into the bin folder? Thank you very much! Cheers, BlackSun ...
Score Insert Record in DataContext without upgrading the database
Paul - 25 Mar 2010 8:13 AM - 2 messages
Hi, I have a DataContext with two classes, customers and orders. In the DataContext i insert a new customer, but not execute a SubmitChanges (). How can i do to loop thought the Class "Customers" and find the new customer inserted? (I can't update a Database) ...
Score Context Menus
Nikos - 25 Mar 2010 8:11 AM - 2 messages
Is it possible to show different context menus by right clicking on different areas of a picturebox f.e. ? An option is to build all the menus as subitems of the the main context menu and hide/unhide them with the visible method. ...
Score combobox
shadow-monster via DotNetMonster.com - 25 Mar 2010 5:39 AM - 3 messages
Good Day, I need help with my combox and textbox. I want my combobox and my textbox to remember what the user had input to them. Unfortunately i don't have a knowledge on how i would code my button to save it. ...
Score compiled on visual studio 2003 on windows XP, want to install on windows 7, error
steven - 24 Mar 2010 10:46 PM - 3 messages
Hello, I have a VB.Net program, which I wrote on my windows XP pc (all recent updates installed), and I created a setup project for installing the program. Now I want to install that program on windows 7, but there I get a ...
Score Can anyone recommend a print contol library please?
Alan - 24 Mar 2010 7:02 PM - 11 messages
Hello, Can anyone recommend print control libraries for VB .Net please? I'm writing an app to print the attachments of mail messages and it's difficult to handle PDF, Office and any possible graphic file format via the standard printprocess. Ideally, I'd just like to save the ...
Score Configure Properties of Windows User (Terminal Server Eviroment)
Tatiana - 24 Mar 2010 4:16 PM - 4 messages
Hi All, I created a windows user with vbnet, with  the instructions of the code: [link] ...
Score issue of assigning a double variable in .net.
Valli - 24 Mar 2010 1:55 PM - 6 messages
Hi, I have an issue of displaying a double variable in .net. I receive a double data through socket from C project into .net.  The value entering is 2010030550004850. But it gets stored as 2.01003055000485E+15. I need the original value. ...
Score Can be done?
Brian - 24 Mar 2010 1:06 PM - 2 messages
Hello all, ok i am a newbie yadda yadda and I have 4 tables that I want to be loaded into one datagrid depending on the users selection in a combobox.  I have set AutoGenerateColumns="True" so that the datagrid ...
Score How to read commandtext after added parameters?
Eric - 24 Mar 2010 11:52 AM - 8 messages
Hi, If I construct a new Select command I use parameters to fill in the data i want to query for. Sometimes I make mistakes and I would then like to check the text directly on the sql server. Before I started using parameters I could just copy the ...
Score Grid component.
Mr. X. - 23 Mar 2010 9:49 PM - 3 messages
What is the common grid component called, which I can use in VB (VS 2008) ? Thanks : ...
Score Localization in Crystal Reports
Sheir Ali - 23 Mar 2010 7:08 PM - 2 messages
Found a way to for localization of values such as DateTimes in Crystal Reports.  For instance if date is Aug-2009 and culture is French then would display as ao?t-2009.  All this WITHOUT switching the current Thread culture to French. ...
Score Re: Hi Larry, Hi Jeff,
Mike Williams - 23 Mar 2010 12:01 PM - 12 messages
Just cut the crap, Ligthert. Microsoft.public.vb.general.discussion is a Classic VB newsgroup for VB6 and earlier versions. If you want to talk about VB.Nxt then do so on the VB.Nxt newsgroup, which you'll find at ...
Score Finding name of exception method
John - 23 Mar 2010 9:46 AM - 3 messages
Hi Is it possible to collect name of method, line, file etc in which exception occurred? I have heard its possible using System.Diagnostics.StackTrace but not sure how. Many Thanks Regards ...
Score Problem using '=' with System.Type
John - 23 Mar 2010 1:27 AM - 7 messages
Hi I have the following code; ByVal MyType As Type Dim frame As StackFrame If frame.GetMethod().DeclaringType = MyType Then Problem is I am getting the "Operator '=' is not defined for types 'System.Type' and 'System.Type'." error on the last line. How can I fix ...
Score MIME Messages
Samuel - 22 Mar 2010 9:46 PM - 3 messages
Hi I am able to download from my POP3 Server but I cannot read the content of HTML email Messages which is in the following property: MailMessage.AlternateViews Thank you in advance, Samuel ...
Score AndAlso, OrElse and brackets
Mike Ratcliffe - 22 Mar 2010 12:32 PM - 12 messages
We have been having a lively debate at work about whether or not we should use brackets with conditionals that contain AndAlso. This is because AndAlso has precedence over OrElse and I say that it makes code more manageable if brackets are included. ...
Score Class Design with Collection Classes
Julie - 22 Mar 2010 2:05 AM - 8 messages
Hello everyone, You will have to forgive my newbish questions... I have a class that has a sub collection class. Public Class Item     Public Collection As ItemCollection     Public Class ItemCollection         Inherits Generic.List(Of Item) ...
Next » 2 3 4 5 6 7 8 9 10