Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Math functions in VB (or even a dll somewhere) Options
Nondisclosure007 - 29 Nov 2007 7:47 PM - 3 messages
Hello.  If this is the wrong group for this, please let me know. I'll post it somewhere else. I've been doing data imports into MS Excel (ver 2007) and using the CORREL function.  What I was wondering was is there anything like ...
Score Saving data in a datatable
Kevin - 29 Nov 2007 7:29 PM - 3 messages
I'm new to ADO.NET--trying to make the switch from ADO, which I've been using in my VB2005 apps up until now. Here's what I have: Sub Save_Record()    Dim OldRecord as DataTable    Dim NewRecord as DataTable ...
Score bold selected text
mike - 29 Nov 2007 5:35 PM - 4 messages
trying to convert selected text in a textbox to bold font. can someone provide me code sample? thanks. ...
Score remember a forms position on the screen
cj - 29 Nov 2007 4:40 PM - 8 messages
I was googling for a way to have my single form application start in the same location on the screen it was in when it was closed.  I found this very short article: [link] ...
Score Urgent: XP, Vista logoff application (WM_QUERYENDSESSION)
Clemente - 29 Nov 2007 3:34 PM - 2 messages
Hi, We have a VB.Net application that is sleeping until it receives a logoff/shutdown event. We want the application running on Vista and XP. When the application receives those events it has to show a message box, so the user can answer Yes or No, and then let the logoff/ ...
Score If Statement, Please Help
plangla - 29 Nov 2007 8:24 AM - 3 messages
I am trying change the font size of text based on the menu item clicked. I can not seem to get this statement to work. Thanks in advance Perry Private Sub MenuItem16_Click(ByVal sender As System.Object, ByVal e As ...
Score List Boxes
HardySpicer - 29 Nov 2007 5:54 AM - 4 messages
I have a List Box which I fill with files and that bit works ok. I then want to click on one of the files to select it from the many others. Is this possible in a list box? Thanks ...
Score how to call Change() with System.Threading.Timer
DougE - 29 Nov 2007 2:20 AM - 5 messages
Hi -- I am trying to implement a timer exactly the way it is shown in the documentation.  I am sending a variable to the constructor for the class to manipulate the time-to-invoke parameter.  This seems to work fine as below.  ...
Score Visual Studio 2008 Power Packs
jay - 29 Nov 2007 1:26 AM - 3 messages
Any idea when the Power Packs for 2008 [PrintForm] will be available? ...
Score Setting SelectedItem of ComboBox programatically not working
Crazy Cat - 28 Nov 2007 9:37 PM - 6 messages
Hi all, I have combobox that is bound to a custom object collection thusly         Dim collection As List(Of StructureType) = StructureType.FindStructureTypes(SharedObjects.StructureTypes, DropDownListStructure.SelectedValue, DropDownListType.SelectedValue)         DropDownListSubType.DataSource = collection ...
Score How does a project find dlls that it uses - where do I put them?
HONOREDANCESTOR - 28 Nov 2007 8:12 PM - 6 messages
I am using some dlls from a third party, and I am writing a multiproject solution that is supposed to use them.  So I copied the dlls to a bin directory in one of the projects, but the project does ...
Score Multiple Stored Procedure Calls within single transaction
BostonNole - 28 Nov 2007 5:52 PM - 7 messages
I am using SQL 2000 and VB.NET (VS 2005). I have three stored procedure: sp_A, sp_B and sp_C I need to be able to call sp_A once and sp_B and sp_C 1 to n number of times all within a single transaction that can be rolled back if any ...
Score VB RegEx Question
Masterx81 - 28 Nov 2007 5:42 PM - 2 messages
Hi to all... I'm new to regex, so sorry for the silly question... I want to do a client side validation for this string: [r|ra|tc|tr|t|e|c|a|hpa|lpa|hpe|R|RA|TC|TR|T|E|C|A|HPA|LPA|HPE]/ ...
Score Num records returned from query
Michael - 28 Nov 2007 4:21 PM - 4 messages
Hi Everyone, I never noticed this before, I hope someone can help here. I have the following query: CREATE PROCEDURE [dbo].[GetWeeklyAttendance2] @PatientId varchar(20), @StartDate Datetime, @EndDate Datetime AS SELECT P.PatientID, A.AttendDate, 'Attendance' AS NarcoProgram, '3' AS ...
Score CausesValidation
DC - 28 Nov 2007 4:12 PM - 2 messages
Hi all, I've a form with a Cancel Button. The button has its CausesValidation property set to false. I've got some Validating events on the form's controls. When I click the button everything works fine: No Validating event is fired. ...
Score Multi language tooltips in Windows forms
coolCoder - 28 Nov 2007 12:21 PM - 3 messages
Hi,          I am working on an application which needs localization. I am able to localize all the controls on the form except the tool tips. I searched alot on google, but was unable to find some sample ...
Score Help! Can't edit forms (VB2008)
Arthur Dent - 28 Nov 2007 12:56 AM - 3 messages
I am trying to make a VB2008 Express winforms project, and edit the form. However, when i try to open the form, i get this error: ..NET Framework 2.0 update not found. The win32manifest will not be embedded. It considers it a fatal error, and will not let me edit the form, either in ...
Score VB.NET desktop equivalent to asp.net stylesheets
z71mdridin - 27 Nov 2007 11:14 PM - 10 messages
This might be a very basic question.  Is there an equivalent to stylesheets in vb.net desktop applications? Specifically is  there a way to change  control properties(color, height, width) for all controls(buttons, textboxes) in a desktop app?  Is there a centralized ...
Score Simple Pulbic Variable
pvong - 27 Nov 2007 10:57 PM - 8 messages
I'm new.  I have an aspx page and I want to declare a public variable "GroupID" at the top of the page and be able to change the value in different parts of that particular page.  Bascially, how do you creat a ...
Score Exclude code of my application
Freddy Coal - 27 Nov 2007 10:26 PM - 7 messages
Hi, My application have some modules that use Excel like a external program. My problem is when the user don't have Excel, I would like exclude the code that use excel inside my code, because this make me a fatal crash. How I ...
Score Vb.Net/SQL slowdown
Tom wilson - 27 Nov 2007 8:17 PM - 8 messages
Hi! I have a massive SQL 2000 database that needs records extracted into another database.  so I write a VB.Net (2005) program that simply queries the records I need, populates a new record in the new database and so on.  There's no data transformation, it's a direct record to ...
Score Inherit listview user control
Manekurt - 27 Nov 2007 7:55 PM - 3 messages
Hello Everyone. Does anyone knows how to create a new property for an user control that inherits a list view? The property should be a boolean value set to each clumn that is created in the listview. Property "ALLOWEDIT", when I set this property to TRUE, then it runs a sub, ...
Score sort two arrays as one?
BobAchgill - 27 Nov 2007 6:38 PM - 8 messages
I have 2 arrays with identical  number or rows. arrword() as string arrnumber() as integer How can I best sort  both arrays together using the integer array as the column to sort by in descending numerical order? This is what I want to achieve: ...
Score Copying files with progress bar
kimiraikkonen - 27 Nov 2007 6:01 PM - 7 messages
Hi, I use system.io.file class to copy files but i have a difficulty about implementing a basic / XP-like progress bar indicator during copying process. My code is this with no progress bar, or i couldn't find sth which ...
Score How to stop disabled text boxes being greyed out
John Austin - 27 Nov 2007 4:25 PM - 7 messages
I have an app that displays about 20 items of data in text boxes. Very occasionally I need to allow these to be used for data entry, but the bulk of the time they are solely for information. They all sit in a GroupBox that is ...
Score VB2008 changes?
Arthur Dent - 27 Nov 2007 4:22 PM - 8 messages
Does anyone know where i can find a decently thorough list of the language changes in VB2008, such as the new If() function? All i can seem to find through search engines, most of the articles all talk about LINQ, with only cursory mention - at best - of any other new features. ...
Score using foxpro table from VB.net 2005 with oledb
cj - 27 Nov 2007 3:47 PM - 3 messages
We have a legacy accounting system (not developed in house) here that happens to be written in Visual FoxPro.  One of the tables has an index that is actually a coded function  COMPANY1  &&"G_RETSDX(COMPANY)". ...
Score Kill explorer process and disable it restart automatically
yxq - 27 Nov 2007 11:28 AM - 5 messages
Hello, I want to kill the Explorer process, after Explorer process has been killed, it will restart automatically immediately. How to disable it restart automatically? for example, in Windows Task Manager, you can kill explorer process, but it will not restart automatically. ...
Score Taskbar Controls
NickP - 27 Nov 2007 10:33 AM - 3 messages
Hi there, I'm interested in making an application appear in the taskbar in a similar way to how Windows Media Player appears, in it's own custom taskbar group, where you can manipulate the program directly on the taskbar. ...
Score [VB2008] How to replace lines in a textfile?
Maurice van 't Loo - 27 Nov 2007 9:23 AM - 4 messages
Hi, I'm pretty new with VB, especialy with 2008 Express :-p So i need your help... I have a text file containing:     VERSION 3     ADDEDVERSION 5     OPTION_GUILD_RECRUITMENT_CHANNEL AUTO     CHANNELS ...
Score Call HTML control in code behind (ASP.net 2.0)
tinique - 27 Nov 2007 3:32 AM - 7 messages
How can I call a HTML textbox in .aspx.vb code?? E.g. : <input id="Frequency" type="text" style="width: 44px"  /> Thanks! ...
Score Visual Studio 2005: VB fill circle automatic
Slickuser - 27 Nov 2007 2:27 AM - 5 messages
How do I automatic move the X & Y to create a ellipse function as below, DrawCircle? Or there any sample source code out there? I want it move down by user input. How can I achieve this? Thanks. Imports System ...
Score Can I write this program?
Tony Girgenti - 27 Nov 2007 1:11 AM - 10 messages
Hello. Can i write a completely automatic program that will restart my computer in safe mode, delete all the files i want to delete, defrag the hard drive and restart again into normal mode in vb.net using vs2005 pro? ...
Score "Binding" an interface to an object definition in vb.net??
barcrofter - 26 Nov 2007 11:11 PM - 3 messages
Im still confused with interfaces for COM objects.  I have a Lotus word processor that I'm trying to automate via vb.net.  The exe comes with an interface that I can add as a reference .. but..  I cannot ...
Score Setting up Policies to run Exe file from network drive
Alex - 26 Nov 2007 9:13 PM - 4 messages
Hi, I'm having a booger of a time trying to understand the policies for VB 2005 so I can run the EXE file from a network share via mapped drive. My first route was to use the Global Assembly Cache, but I never could get ...
Score DLL NOT FOUND (but only on certain systems???)
ags5406 - 26 Nov 2007 9:09 PM - 4 messages
I have an application written in VB.NET that calls functions in a FORTRAN .DLL.  All compiled (release for VB.NET and FORTRAN), with the .EXE and the .DLL and other support files all in the same folder. On my PC it works absolutely fine.  No issues whatsoever.  It also ...
Score /~/~/~/~/~/~/ Making a Six-Figure Income From Passive / Money Making Tips its FREEEE /~/~/~/~/~/~/
secret.same951 - 26 Nov 2007 9:04 PM - 2 messages
/~/~/~/~/~/~//~/~/~/~/~/~//~/~/~/~/~/~//~/~/~/~/~/~//~/~/~/~/~/~//~/~/ ~/~/~/~//~/~/~/~/~/~//~/~/~/~/~/~/ 1000's of people worldwide are earning quiet fortunes, from their homes, even while they sleep. Are you next? Get started for free right now! For More Details Check the Links Below: [link] [link] ...
Score OT - Vista Search and Recursive GetFiles
Lloyd Sheen - 26 Nov 2007 7:39 PM - 11 messages
For all those who don't think that a recursive search of files in folders is a good thing in the  Microsoft.VisualBasic.FileIO.FileSystem namespace listen to this. I am reorg my mp3 collection.  I have written my own catalog program and it ...
Score Is setting Bounds Property the same as setting Size and Location?
Academia - 26 Nov 2007 7:27 PM - 6 messages
Is there a difference between setting Control.Bounds Property (or using Control.SetBoundsCore ) and setting the Location and the Size properties? Is it simply that you can set them all at once rather that in two steps or is there more to it than that? ...
Score Deploying .NET 3.5? Via GP?
Smokey Grindel - 26 Nov 2007 6:30 PM - 2 messages
Ok in .NET 1 and 2 we could do an Admin install and deploy them via group policy... how in the world do you do it in .NET 3.5? Thanks! ...
Score Fastest way to import large fixed width file into a DataTable
BostonNole - 26 Nov 2007 2:35 PM - 11 messages
Using Visual Studio 2005, .NET 2.0 and VB.NET: I am looking for the fastest possible way to import a very large fixed width file (over 6 million records and over 1.2 GB file size) into a DataTable. ...
Score References to different versions of MS Outlook in a VB.NET application
Chet - 26 Nov 2007 2:30 PM - 2 messages
I am writing an application that utilizes a reference to Microsoft Outlook. (Added a reference to the MS Outlook COM interface to my project). I then write code such as: dim olApp as new Outlook.Applicaiton dim olNamespace as OutlOok.Namespace = olApp..... ...
Score Integer array from vb to c function
schlam - 26 Nov 2007 11:03 AM - 2 messages
So I think I have followed all the various instructions on the microsoft instructions on here [link] how ever I still cannot seem to get this to work. this is my test vb code ...
Score Disecting Strings
HardySpicer - 26 Nov 2007 8:11 AM - 9 messages
Suppose I have a string "mystring" of the form mystring="c:\dir1\dir2\dir3\artist - title.mp3" How can I strip the artist and song title from this in VB .net? Thanks Hardy ...
Score Multithreading Invoke Workaround
Joel Merk - 26 Nov 2007 7:36 AM - 4 messages
When multithreading in my Windows form application, every time a non form thread attempts to raise an event that modifies a control, I get an exception. I understand that to avoid this, one way is to use the control's ...
Score Convert code line to VB
shapper - 26 Nov 2007 12:00 AM - 3 messages
Hello, Could someone, please, convert the following code line to VB.NET? bool containsValue = myList.Any(item => item.NameParameter == nameParameterValue); (This is .NET 3.5. I couldn't find a converter that does this) Thanks, Miguel ...
Score Bug in VWD 2008 Express?
Terry Olsen - 25 Nov 2007 11:22 PM - 2 messages
Trying to create a web site in VWD 2008 Express, i've run into a really annoying bug/feature. I'm creating a page that has 4 panels with a datagrid and some links inside each panel. Only one panel is visible at a time selectable by links at the ...
Score XML Deserializer problem
Skitsanos - 25 Nov 2007 7:50 PM - 5 messages
Guys, Have very strange issue with deserialization. Really need help, because i just don't getting why the hell this not works in a way it suppose to be. Here is the sample object i serialize into XML: <XmlRoot("CONTACTS")> _ ...
Score Incrementing
HardTP - 25 Nov 2007 7:43 PM - 3 messages
Hi I'm  having hard time with these calculations. I need to complete this form in vb.net where user inputs salary, raise %, and retirement age. What I need to do is calculate the salary and raise for each year until the retirement age. This means I need to increment the salary based on the current age minus the retirement age. Can somebody help? From [link] Posted via DevelopmentNow.com Groups [link] ...
Score How to scroll listview (details)
Rich Raffenetti - 25 Nov 2007 6:29 PM - 3 messages
In the listview control I can set the highlighted item with listview.focus() listview.items(integerValue).selected=true How do I programmatically scroll the pane of the details view to bring the highlighted item into the window? multiselect is false. ...
Score Removing reference type members from a generic list clone
Joel Merk - 25 Nov 2007 12:32 PM - 8 messages
I have created a custom class with both value type members and reference type members. I then have another custom class which inherits from a generic list of my first class. This custom listneeds to support cloning: Public Class RefClass ...
Score vs2008 or not
John - 25 Nov 2007 8:49 AM - 8 messages
Hi I need to start a new win form project and I am wondering if I should choose 2008 at this stage. My questions are following; 1. Is 2008 much different from vs 2005 in terms of skill set to prohibit ...
Score working with a com interface
barcrofter - 25 Nov 2007 4:23 AM - 2 messages
Im having vb6 transitional problems.  Im trying to build an automation interface to lotus wordpro in vb.net and after adding the reference to wordpro to my project I find that I get only the interface. e.g this approach works, where I create an object: ...
Next » 2 3 4 5 6 7 8 9 10