Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Control Transparency Issue...
edoepke - 29 Apr 2006 6:53 PM - 2 messages
Visual Basic Questions NOT C# or C++ or VBScript: "Windows.Forms Not Web Applications" Does anyone have any code examples of making a TextBox and/or ListBox control transparent? I have tried using SetStyle(ControlStyles.SupportsTransparentBackColor, True) and it only seems ...
Score Ent Library. Substitute data from app.config?
malice - 29 Apr 2006 3:56 PM - 3 messages
I have been searching the internet for 12+ hours on how to do this. At this point I'm about to give up. I am using VB .Net 2.0 with the enterprise library jan 2006 release. This is my first time using it and I'm a novice to .Net. I am using the data access quickstart solution and I just started adding my own forms and stuff to it. I got my sql query to work and populate a dataview on my new form with just a few lines of code. Here is my problem : ...
Score DATAGRID PROBLEM
Savas Ates - 29 Apr 2006 11:32 AM - 2 messages
First When I Bind my datagrid It returns --Unisex-- value for my GENDER_NAME field. When I click Edit , Write UNI to update UNÝSEX value and Click Update button i catch UPDATE TBL_GENDER SET GENDER_NAME='Unisex' WHERE GENDER_ID=1 ...
Score VB 2005 express database problems
just_out_for_fun - 29 Apr 2006 10:57 AM - 3 messages
Hi, hope you guys can help. I have set up a simple one table db to play with using VB express and the form sees data already entered but when I use the save button on the form it does not change or add any of the new records. ...
Score MailMessage to send email with both Text and HTML versions...
Stu Lock - 29 Apr 2006 10:36 AM - 2 messages
Hi, I have an app that has beenusing the JMail COM component to generate emails. I would like to switch to the using the  .Net 2.0 MailMessage object instead - as it is more portable. The jmail component allowed me to set both an HTML body and a text body - ...
Score >> DataRelation and Nulls
Jonathan - 29 Apr 2006 8:43 AM - 3 messages
Hi,  I have two table (Business and Contacts) for which I would like to create a DataRelation. The problem is that the Foreign key field cannot be null. So the code throws an exception when trying to create the DataRelation. ...
Score vb.Script to VB.NET 2005
eSolTec, Inc. 501(c)(3) - 29 Apr 2006 4:49 AM - 3 messages
Thank you in advance for any and all assistance. I'm attempting to make WMI calls in VB.NET 2005 Pro and I've found the VB.Script WMI calls. Is there a SDK or converter to convert scripts to VB.NET? ...
Score Loading controls with objects versus recordsets
mrmagoo - 29 Apr 2006 4:26 AM - 5 messages
I'm building a vb.net Forms project that is getting data from a SQL Server database. One of the main goals of the project is to be really responsive to events, such as textbox change events. I have a textbox for searching, a listbox to ...
Score Is there an easy way to get my Subnet Mask?
Terry Olsen - 29 Apr 2006 3:43 AM - 3 messages
I am using VB 2005. I can't seem to find a way to get my local Subnet Mask. The only thing mentioned from googling is the GetIpAddrTable API, but so far, i've had no luck getting a call to it working. Another idea was to ...
Score TableCell: BackColor Property But No BackGround Property?
Nathan Sokalski - 28 Apr 2006 10:04 PM - 2 messages
I am using an ASP:Table Control to make a table. I know that the HTML TD tag has a background attribute and a bgcolor attribute. The TableCell has a BackColor property, which is the equivelant of the HTML bgcolor attribute, ...
Score DataTable Loop and String Building
ILCSP - 28 Apr 2006 8:50 PM - 3 messages
Hi, I have a sql table containing the answers for some tests.  The information in this table is presented vertically and I need to create strings with them.  I know how to read the data in VB.Net and use a ...
Score TAG Property
c_shah - 28 Apr 2006 8:12 PM - 8 messages
Can someone please explain to me the purpose of the tag property for WindowsForm controls such as a TEXTBOX? What is the benefit of using this property if any? ...
Score Stored Procedure runs in SQL Server Management Studio but not in VB
Crazy Cat - 28 Apr 2006 7:37 PM - 2 messages
I'm calling several SQL Server 2005 stored procedures from Visual Basic 2005. I've got one stored procedure that locks up at the same point everytime, but if I copy the stored procedure from the SQL Profiler trace and paste it into SQL Server Management Studio it runs fine -- I ...
Score inheritance question
Craig Buchanan - 28 Apr 2006 6:24 PM - 3 messages
I have three classes: Core Assembly Application - creates instances of User using Activator.CreateInstance Item - marked MustInherit; has an Init method UserPlugin Assembly User - Inherits Item, has an Init method I would like to be able to call the Init method from the Application where ...
Score create an .exe
iwdu15 - 28 Apr 2006 6:13 PM - 3 messages
hi, im creating an installer program, like install shield, and am wondering how i can programmactically create an installer executable after the user chooses which files to add. thanks ...
Score BeginInvoke with a property?
AMDRIT - 28 Apr 2006 6:02 PM - 9 messages
Hello everyone, How do I access a property from another thread in VB'05?  Thanks public class frmblah   inherits system.windows.forms.form   private mCount as integer   private property Count as integer     get ...
Score CLR
pooja - 28 Apr 2006 5:54 PM - 3 messages
what is clr in .net architecture? ...
Score assembly and portable executable
pooja - 28 Apr 2006 5:52 PM - 3 messages
what is an assembly and how does it related with portable executable in ..net architecture? ...
Score Export nText as Files
Jerry - 28 Apr 2006 3:59 PM - 11 messages
Hello! I have a SQL Server database with gif images stored in a nText field as binary. I've been asked to export these images to actual gif files (about 250 of them). I found a stored procedure that was using some ADO ...
Score Cast from string to System.DayOfWeek
Charlie Brown - 28 Apr 2006 3:51 PM - 4 messages
I am trying to cast a string to System.DayOfWeek.  Don't even know if this is possible but it would sure save me a lot of headache if it is. Trying... Dim strDay As String = "Wednesday" Dim day As System.DayOfWeek = ctype(strDay, System.DayOfWeek) ...
Score Need help in converting from C# to vb.net.
Learner - 28 Apr 2006 3:25 PM - 2 messages
Hello Friends, I need help converting the below C# code snippet to vb.net. case "CreationDate":                 comparison = new Comparison<MembershipUserWrapper>(                              delegate(MembershipUserWrapper lhs, ...
Score VS.NET 2005
PJ6 - 28 Apr 2006 3:12 PM - 5 messages
Now that I've spent a significant amount of time using VS.NET 2005, I just have to say that it is the most fantastic developer tool I have ever had the pleasure of working with. Both the language and the IDE are beautifully ...
Score Please explain
John - 28 Apr 2006 2:31 PM - 2 messages
I am having trouble understanding how to use different properties.  For example, I have a maskedtext box on a form.  Lets call it msk1.  I want to remove the mask from  msk1.  I figured out to do the following: ...
Score Calling PaintBox Paint event
Sam - 28 Apr 2006 2:07 PM - 5 messages
Hai, I use a paintbox paint event to draw some images in a paintbox. I call the paint event by refreshing the paintbox using paintboxname.refresh() or paintboxname.update(). Problem with this kind of paint event is that the event is not raised ...
Score Invalid Cast Errors
Alan - 28 Apr 2006 1:01 PM - 5 messages
I keep getting an invalid cast error on this line of code: Dim gridCol As MyGridColumn = CType(dgt.GridColumnStyles(hi.Column), MyGridColumn) I am trying to develop a sub that will change the colors on a cell that is clicked on in a DataGrid control. ...
Score Generate Excel spreadsheet from Windows form app
Niclas - 28 Apr 2006 10:19 AM - 2 messages
Hi, I am looking to develop a Windows Forms application that collects some user information and then as a final step generates a simple Excel spreadsheet based on the input. I am using Visual Studio 2005 (VB) and have the Office ...
Score How to Obsolete two related classes?
Phill W. - 28 Apr 2006 9:18 AM - 5 messages
If I have a reusbale (GAC-'registered') assembly that contains two, [cross-]related classes (imagine a DataSet and DataTable; the former contains instances of the latter, the latter has a reference to its parent .. er .. former). I want to make /both/ of these classes Obsolete, so I added Obsolete ...
Score scope and object assignment
James - 28 Apr 2006 4:54 AM - 3 messages
Hi. I just had success doing something that I thought should fail. Well maybe I did. I'm not sure. In short, I assigned a locally declared object to a module level object and the module level object retained the values of the local even after ...
Score Function call problem
ataanis - 28 Apr 2006 4:23 AM - 8 messages
Hey everyone I'm writing this simple function call from a sub , but for some reason when I click the file to open, it freezes, can anybody tell me what's the deal? Thanks Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As ...
Score At a loss figuring out if an IP is on LAN or INET
Terry Olsen - 28 Apr 2006 4:03 AM - 21 messages
I'm writing an app that communicates with computers both inside and outside my router. So I need to determine by the remote host's IP address if I need to send them my LAN IP or my Internet IP.  Someone suggested AND'ing the IP ...
Score DWORDS ? LONG? - I need to create constants for the following
Jeremie Legault - 28 Apr 2006 3:38 AM - 5 messages
Hi Everyone, I am creating an application to interface with Terminal Services but as you will learn I am a beginner. I have learned how to connect to the API to use the functions available. One of the functions I would like to use is the ...
Score Invoking apps within VB
Al_C - 28 Apr 2006 2:54 AM - 4 messages
Hi, We have a few apps that we would like to invoke from withing our program. Suggestions?  Should I create a seperate thrread to run the app in. The idea is to call excel for example from within our vb.exe ...
Score I am trying to convert a C# file to VB.NET - need help
Learner - 28 Apr 2006 1:33 AM - 2 messages
Hello,   Here is the code snippet I got strucked at. I am unable to convert the below line of code to its equavalent vb.net code. could some one please help me with this? [DataObjectMethod(DataObjectMethodType.Select, true)]         static public List<RoleData> GetRoles() ...
Score Textbox, how to detect enter "key" event.
Boki - 28 Apr 2006 1:22 AM - 4 messages
Hi All, Could you please advice that how to detect the enter "key" event.... due to I don't want another button to do "Go" function..... Best regards, Boki. ...
Score Different encoding? ( problem on Chinese encoding on textbox ... )
Boki - 28 Apr 2006 1:16 AM - 2 messages
Hi All, Here is the code:         Shell("D:\Program Files\Mozilla Firefox\firefox.exe [link]" & TextBox1.Text) If I type English word in TextBox1, I can get correct result, but if I ...
Score Can't open a project by iteself? Solution opens every time!
cmay - 27 Apr 2006 9:25 PM - 6 messages
I have a big solution filled with a bunch of projects. I add a project to the solution (not adding any references mind you). Now, if I close down everything and try to just open that single project, just the vbproj file, not anything to do with the solution, it ...
Score Datagrid, binded columns and unbinded columns
Ohad Weiss - 27 Apr 2006 9:08 PM - 5 messages
Hi all I need to know weather it is possible to add a column to a datagrig that based on a dataset, which is not in the dataset (like a description of a code that appear in the datagrid). here is the code I use to present data in the datagrid: ...
Score update form background color
HankC - 27 Apr 2006 9:07 PM - 10 messages
I have a vb.net app that serves our four campuses. A student logs in to start the app. Based on their login domain, I wish display the campus color and image on the form. I cannot find any sort of me.backgoundcolor attribute however... ...
Score WMI - Executing a method to read registry - Going Crazy!
Bmack500 - 27 Apr 2006 7:23 PM - 3 messages
Hello, and thanks in advance. I have the below code which keeps returning "1" as the result. It's never successful, and I don't know what I'm doing wrong. I know that when I get to objManagementClass & ...
Score Stepping between .Net IDE into a VB6 dll call
scl - 27 Apr 2006 6:57 PM - 6 messages
I have an application with a .Net front end that makes calls into a series of VB6 dll's via COm InterOpt.  Although everything works quite well, the main issue that I have is regarding the overall debugging workflow. ...
Score Need help to read text file?
Weblearner - 27 Apr 2006 6:43 PM - 3 messages
I need to read a text file line by line (one line at a time), what are my options? Thanks ...
Score DLL does not load Dynamically
RSS - 27 Apr 2006 6:20 PM - 8 messages
Hi everyone, I have an app that uses some DLL's that are shared across couple applications. There are reasons existing that prevent me from putting them in to the GAC. Each of these app's at some point in time loads a DLL dynamically in this fashion: ...
Score is this possible...
mattie - 27 Apr 2006 6:09 PM - 3 messages
hey all, can you code against the event log, for instance if an entry for a specific user shows up can i popup a message box notifying me that? thanks, mj ...
Score Format Function
Lee - 27 Apr 2006 5:38 PM - 5 messages
In VB6 you could use the format function to format strings using the @ and ! symbols. for example format("LEE", "!@@@@@@@@") would left align the string "LEE" to the number of spaces allowed in the repeatings @'s. Has this functionality disappeared in the format function for .NET, if so where has it ...
Score General Design Question - Class Name
Mythran - 27 Apr 2006 5:33 PM - 4 messages
I'm in need of some suggestions.  Currently, we have a class that is named StringValidator.  It has methods such as ValidateMaxLength, ValidateMinLength, IsNumber, IsMatch, ValidateNumeric, ValidateInteger, etc. There is custom validation for each method (such as IsNumber compared to ...
Score FileSystemWatcher any experts here?
DWalker - 27 Apr 2006 5:32 PM - 3 messages
I need to monitor a folder to see when a file that is being FTP'ed into the folder is finished.  I have looked at the doc for the FileSystemWatcher and the Created event.  It's not clear from the doc whether that event is fired when the file is ...
Score Redirect question
AZNewsh - 27 Apr 2006 5:25 PM - 4 messages
I am sure this is a simple question but I am drawing a blank: When developing on localhost if I do the following everything is fine: HttpContext.Current.Response.Redirect("../this_folder/that_folder/apage.aspx") Takes me to: http://localhost/this_folder/that_folder/apage.aspx ...
Score simple combo question
Tim - 27 Apr 2006 5:06 PM - 6 messages
it must be tempting to say FTFM, but believe me I have. I have a combobox. I set Co.ValueMember = "field1" and        Co.DisplayMember = "field2" and then load some data this way Co.DataSource = DS.Tables(1) ...
Score Upgrading to VS 2005 compatibility with 2003
BK - 27 Apr 2006 4:38 PM - 4 messages
If I upgrade a PC from VS 2003 to VS 2005, can I run either of them or will I only be able to use VS 2005? I have a project that was started in VS 2003 that is about to go into ...
Score Full Screen Forms
Jon Vaughan - 27 Apr 2006 3:51 PM - 2 messages
Im writting an app that uses full screen forms ( borderless ) and I find that when I go from one form to another the contents of the forms are getting render together , as in you can see part of screen 1 on screen 2 for ...
Score Enumerating Network connections
Vijayakumar - 27 Apr 2006 3:41 PM - 3 messages
Hi all, How can I enumerate network and dial-up connections using vb.net? I need to display the network and dial-up connections in a combo box and to display its details while selecting the same. Vijayakumar ...
Score ImageList - Memory-Issue in vs2005
Michael Maes - 27 Apr 2006 3:20 PM - 3 messages
Hi, We have been using ImageLists in our Projects extensively. Many forms have two ILs with nearly 900 bmp's each. They are configured: 32Bit, Fuchsia, 16x16 (and one 24x24). In VS2003 there was no issue with this. Upgrading to VS2005 however makes it impossible to open those forms in ...
Score Measuring the degree of sortedness of an array...
almurph@altavista.com - 27 Apr 2006 3:16 PM - 2 messages
Hi,    How do you measure the degree of sorted/unsortedness of an array in VB.NET? Are there any well known algorithms out there for doing this?    Any help/assistance/code-samples/suggestions much appreictaed. Al. ...
Score Detecting microphone
Jordi Rico - 27 Apr 2006 3:13 PM - 3 messages
Hi, I've been searching everywhere and can't find any way to do this... What I want to do is simple: In my app, the user can speek to the micro, and then some kind of event must rise. ...
Score Strange error - help needed
^MisterJingo^ - 27 Apr 2006 2:32 PM - 5 messages
I am getting the following error: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidCastException: Specified cast is not ...
Score VB (5or6) does something wierd with image data
geronimi - 27 Apr 2006 2:14 PM - 3 messages
Vb stores an image (bitmap/jpg) in a SQL2000 image field. For some reason it doubles the size by adding 00 for each byte. But sometimes it doesn't add 00 (0000.0000) but 01 or 20 or ?? and also the byte that ...
Score What happened with module variables?
juan - 27 Apr 2006 1:49 PM - 2 messages
I have a web project of Visual Basic 2005. I want to create a variable for all the project (in a module, like in Visual Basic 2003). But I think I must create them in another element diferent than a module. Is it true? ...
Score Save RTF to SQL Server 2000
Kevin L - 27 Apr 2006 12:52 PM - 3 messages
I have a RTF control in my application. Is there a way to save formatted text from this control to SQL Server and retrieve it while preserving the format of the text? Thank you ...
Score How to detect removeable drive insertion
Steve Marshall - 27 Apr 2006 9:58 AM - 2 messages
Hi All, Apologies if this has come up before, but how can I set up something that will notify me when a removeable drive (like a USB drive or CompactFlash card) is inserted into its slot?  Ideally I would like ...
Score how to fill listview without image
mrmagoo - 27 Apr 2006 7:59 AM - 3 messages
I'm trying to fill a listview with data. I'm using the example from the help file, but how do I modify this to avoid using images? I want the exact same layout but without images. This procedure seems so dependent on the image ...
Score Mabry FTP/NET LicenseKey !
Bill nguyen - 27 Apr 2006 4:31 AM - 3 messages
I just bought FTP/NET from Mabry. It works well. However, I can't find the ..LicenseKey property so that I can assign the key code to the application. Tried to contact their techsupport but got only an answering machine! ...
Score Inserting HTML into a page based on conditions
RSH - 26 Apr 2006 10:00 PM - 2 messages
I have a custom WebControl that I created.  The template is used sitewide. I would like to use this template for every page but there are instances when blocks of HTML need to be displayed only in certain instances. ...
Score Salamander Online Decompiler v2 available
Huihong - 26 Apr 2006 9:57 PM - 4 messages
[link] now supports .NET 2.0, freely available for online use, pls give it a try. It supports generating C#, VB.NET, and MC++. (the upload file size limit is 3MB) With about 250,000 files have neen uploaded and decompiled thus far, ...
Score need some suggestions
cj - 26 Apr 2006 9:05 PM - 3 messages
I'm looking for a simple case type construct like IIF but that'll handle 3 possibilities.  I doubt this is possible but????? ...
Score sending values to a VB.Net exe
javier.gomez - 26 Apr 2006 8:50 PM - 3 messages
is it possible to send values to a VB.Net exe?  For example can I run an exe sending the value of 5 and having the application show a message box with a number 5? ...
Score How to change default installation to "Everyone" instead of "Just Me"
ImageAnalyst - 26 Apr 2006 8:38 PM - 2 messages
Yay!!! They fixed this for VS2005.  You can now set the default installation to be "Everyone" instead of "Just Me" and you can control whether you even want those radio button installed in your Setup program. [link] ...
Score EVAL function
bill - 26 Apr 2006 8:37 PM - 3 messages
In VB.NET 2005, is there an equivalent of the EVAL function available in MSAccess and javascript? I need a way to pass a dynamically generated string (like "2+2") to a function and return 4. EVAL("2+2") will return 4 ...
Score <Flags()> ENUM attibute
Chad - 26 Apr 2006 8:21 PM - 3 messages
I've used bitwise enums before (powers of 2) and have used AND and OR operator to determine which individual flags have been set, but I have never used the <Flags()> _ attribute What advantage does this give me? ...
Score Using Waitable Timer APIs with VB.NET.
Sam - 26 Apr 2006 8:03 PM - 2 messages
Hello: Can anyone provide me some idea on how to replace the Sleep method. Major Disadvantage that I have been facing with the Sleep method is that the application freezes during the sleep time and does not respond to any ...
Score Datagrid - Interchange rows & columns
Sam - 26 Apr 2006 7:50 PM - 3 messages
Hello all, Can we interchange the rows & columns of a Datagrid with VB.NET so that all the data that is displayed in rows is displayed as columns? ThanX. ...
Score Using a User's Control of VB.NET in a Form of VB6
damianmatiasmax - 26 Apr 2006 7:32 PM - 3 messages
Hola, I am trying to generate a UserControl in VB.NET to be able to use it in VB6. Therefore: 1- I generate the Wrapper and the object COM 2- Import it from VB6 and I can use his methods, properties and events. ...
Score minimizing viewstate
Justin - 26 Apr 2006 7:00 PM - 4 messages
I have aspx pages with 10 checkboxlist controls.  total individual checkbox (the sum of individual checbox in those 10 checkboxlists) on the page is about 1710.  You can imagine how large the viewstate is.  Is there anyway I ...
Score how to tell when in design mode in .NET 2.0
Brian Henry - 26 Apr 2006 5:59 PM - 3 messages
in 1.1 I did if DesignMode = true to check this, but in 2005 it seems to just skip right over that and run the code I dont want to run in design mode, anyone else have this problem? any solutions to it? ...
Score Writing and reading from a template Excel file using ADO.Net - results not recalculated
RJN - 26 Apr 2006 4:39 PM - 4 messages
Hi I've a template excel file which has all the calculations defined. There are certain input values to be entered which gives a lot of output to the user. I don't want to expose the excel sheet to the user as ...
Score Books: (I'm converting vb release 4 to release 8) But will eventually move it to other PCs
clusardi2k - 26 Apr 2006 3:22 PM - 7 messages
Hello, What book and/or books can teach me how to do deployment with a step by step detail, hopefully! The question that I am looking to answer is: Before I start any programming, what will I have to do to move my final product to another ...
Score Red Semaphore. Ideas?
tommaso.gastaldi - 26 Apr 2006 2:04 PM - 6 messages
Sometimes I just want to avoid the User might click again on a button (or other control) before the tasks attached to the click event are over (to avoid that he may unwillingly re-run them). So far, I have been using a kind of "Red Semaphore" (_SR) boolean flag ...
Score Managed DX - 'DrawText' ambiguous
Alex C. Barberi - 26 Apr 2006 1:43 PM - 3 messages
I'm using VB.NET 2005 and DX9 SDK (Apr 2006). I created an instance of the Direct3D.Font, and when I try to call DrawText it says: 'DrawText' is ambiguous because multiple kinds of members with this name exist in class 'Microsoft.DirectX.Direct3D.Font' ...
Score shortcut key to access property panel
herpers - 26 Apr 2006 1:20 PM - 2 messages
Hello, when working with vb6 I found it very useful that the properties panel could be accessed with a shortcut key during form design. When pressing ctrl+shift+<letter> the first property in the property panel starting with <letter> was highlighted. ...
Score simple OO question
Tim - 26 Apr 2006 11:18 AM - 8 messages
hi all, a simple OO related question... I have some controls. Say, a textbox, a combo and a datepicker. They all share some properties (tag, size etc). How should I add another shared property to them all? Eg a property ...
Score New profiler tool for .NET professionals
vladimirkondratyev - 26 Apr 2006 7:40 AM - 2 messages
YourKit, LLC released version 1.0 of its YourKit Profiler for .NET ([link]) Major feature highlights: - On demand - Easiest installation and configuration - ASP.NET support - Ability to profile in production environment - Easy launching of profiled applications ...
Score Generating Reports Using VB.net
zxc - 26 Apr 2006 6:27 AM - 4 messages
hi i want to ask how can we retrieve data from MS sql server  table northwind and generate report of same data in formated form in MS word using VB.net ... i need its code can any one help please .. its real ...
Score Image Upload problem - tearing hair out here!!
Neo Geshel - 26 Apr 2006 6:22 AM - 8 messages
I am doing something wrong, but I cannot tell what. Either the web browser is failing to upload the file, or the script is failing to catch it. Either way, PostedFile is ending up empty. First of all, I must specify a few things. ...
Score Translating VB6 Code to kill the screen saver.
Gregory_May - 26 Apr 2006 5:33 AM - 2 messages
I cant seem to figure out this vb6 code ... its almost done except for the "AddressOf StopScreenSaverProc" ... anyone know how to fix this?.... it says a "long" isnt a Delegate.  Or if someone knows a cleaner way to kill the ...
Score DateFormt To string format (Export To Excel)
Agnes - 26 Apr 2006 4:19 AM - 2 messages
dim strPeriod as string = dtTransdate.ToString("dd-MMM-yyyy", System.Globalization.DateTimeFormatInfo.InvariantInfo) '--excel code ..Range("H2").Value = strPeriod When I read the excel, the column show "Apr-06" , seems correct , however ( it is a date format column), I try to change into string format in excel ...
Score date calculations
Charlie Brookhart - 26 Apr 2006 3:04 AM - 10 messages
I am creating a program that involves having to find the difference between two dates and converting it to a number to be used for calculations. The problem is that the way it is setup, VB is not doing anything with the dates ...
Score VBNet 2003 Namespaces
RG - 25 Apr 2006 11:24 PM - 2 messages
I have installed an sdk on the server box.  How do you go about refering to this sdk's namespace if it located in location other than that of solution's? What format are the class files stored in? ...
Score Classes and collections vs. virtual tables (datasets)
M Harris - 25 Apr 2006 10:07 PM - 6 messages
We are developing an application (using .Net in MS Studio 2003 using the Access jet engine as a backend) that is doing quite a bit of number crunching.  The first part of the application was written using collections, but we have now found that manipulating the data in virtual tables ...
Score Display All Domain Names on the Network
Jeff Waskiewicz - 25 Apr 2006 9:41 PM - 4 messages
Hello, I think the subject says it all I am trying to return a list of domain names to later display in a combobox.  I found a number of VB6 samples that show how to do this using the WNetOpenEnum and WNetEnumResource API calls.  I have ...
Score Do loop memory consumption?
Bill Nguyen - 25 Apr 2006 9:37 PM - 18 messages
The Timer loop below consumes all available CPU time from my development PC. I would like to be able to restrict its use of CPU time to minimum since it's not actually doing anything but counting down the time left. ...
Score Getting property settings for controls in the immidiate window in VB2005
Joe - 25 Apr 2006 9:00 PM - 2 messages
I am trying to get information on controls on my multi form Visual Basic 2005 project. Any time I type such things as "? frmMyForm1.visible" in the immediate window after I pause the program, I get the error "Unable to evaluate ...
Score ListBox Control
straydawg - 25 Apr 2006 8:17 PM - 5 messages
Creating listbox for Role and initially populating with loop         myDataTable = myDataSet.Tables(1)         lbRole.Items.Clear()         Dim dataRow_t As DataRow ...
Score Detect computer's IDLE mode
MIke Kansky - 25 Apr 2006 7:46 PM - 2 messages
I need to detect when user's computer goes to idle mode. I also need to detect when user's computer comes back from the idle mode. I have an application running in Sys Tray that should let the server know ...
Score Saving outlook email attachment?
c_shah - 25 Apr 2006 7:31 PM - 7 messages
how to save outlook email attachments using VB.net? ...
Score OnPaint vs. using a cached background image
PJ6 - 25 Apr 2006 7:26 PM - 2 messages
I thought this was going to be a no-brainer. Instead of constantly re-rending with OnPaint, my plotter was going to render its entire image once to a bitmap OnResize as a way of caching its display. Only... displaying a cahced bitmap performs *signifigantly* worse than using ...
Score play video from stream
News.microsoft.com - 25 Apr 2006 7:13 PM - 2 messages
Hello, anybody knows how I can play video from a stream? What I've found all works with actual files. (example: [link]) I know i can write the stream to a temp file, but isn't it possible ...
Score GetType question
Craig Buchanan - 25 Apr 2006 3:58 PM - 3 messages
I would like to have a string representation of my classes type and assembly in format of full name, assembly. Me.GetType() gets me the fullname Me.GetType().AssemblyQualifiedName gets me much more than i want. is there a better way? ...
Score Recursion with a Tree View and checkboxes
VBNovice05 - 25 Apr 2006 3:35 PM - 3 messages
I am creating a project that will populate a Tree View with information from a Cd, Zip, or Floppy.  I have the user selected the files they want to copy. Exampe:  A:\ (Directory)                            X ...
Score "Send To Mail Recipient"
cj - 25 Apr 2006 3:30 PM - 16 messages
How can I get a button in VB to send the contents of a text box via email in a manner similar to the "Send To\Mail Recipient" functionality that you can select via right clicking a file in Windows Explorer? ...
Score Click-Once Deployment of DLLs
Curtis - 25 Apr 2006 2:39 PM - 3 messages
I have a class library that was created in VB.net 2003 and registered as COM object so that Visual Foxpro 7 can access the library. At this time we have to use an MSI installer package to install on every workstation the code ...
Score Automatically interacting with a search engine...
almurph@altavista.com - 25 Apr 2006 1:31 PM - 2 messages
Hi,     I'm trying to use VB.NET to query a search engine. That is, open up a URL put a search term in the field and press the return button. In other word interact with existing software URLs, widgets etc, etc... ...
Next » 2 3 4 5 6 7 8 9 10