Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
all groups > vb.net > february 2004 > threads for monday february 16

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29

Datagrid rows
Posted by ccoston at 2/16/2004 11:31:56 PM
I have 2 questions 1. I want to edit the data of an individual row in the way the Web form Datagrid control has, where an "edit button" can be set up in a button column. I can't find any way to do this with a Windows Forms datagrid control 2. Is there a way to get the windows forms datagrid c...more >>


How do I make a File of Record?
Posted by MyName at 2/16/2004 10:35:26 PM
Here's a Delphi example.... type UserStats = Record bestcompleted := int; bestAverage := real; BestPercentage := string; end; var stats : file of UserStats; How Do I do the above in VB .Net? How would I Read from, and write to the file? ...more >>

Good tutorial on VB.NET?
Posted by Niels at 2/16/2004 10:00:50 PM
Are they any VB.NET tutorials for someone strong in another language, such C++, Java, or even VB6? (As an example, "Java in Plain English" by Overland & Morrison, related syntax & idioms to what is used in C++. Something like that for VB.NET would be great.) Niels ...more >>

Macro Substitution?
Posted by Don at 2/16/2004 9:52:02 PM
I think "macro substitution" is the correct term for what I want to do, but, to be sure, here is a description of what I'd like to know is possible: I want to be able to create a create an object of a type whose name is stored in a constant. For example: Const FORM_NAME_1 as String = "frm...more >>

windows service icon
Posted by billy_cormic NO[at]SPAM hotmail.com at 2/16/2004 9:45:14 PM
Hello, I am trying to create a windows service. Can anyone give me an idea how to create an icon on the systems tray for the service? Thanks, Billy...more >>

Transparent Link Label, over picturebox control?
Posted by SStory at 2/16/2004 6:40:57 PM
I have a picturebox in my About form. would like to have a link to my company website. Wanted the links background to be transparent. It seems that no one knows how to do this. Have asked many times. VB help says that transparent is possible with a background image but not above a control...more >>

How to prepare for providing updates for my commerically distributable VB.NET app?
Posted by SStory at 2/16/2004 6:37:25 PM
I have an app that I am about ready to beta and then sell--hopefully. It is small scale but nevertheless a commercial app. Anyhow, I have obfuscated my code with the free version. My real question is, how can I provide updates to those who've purchased the product? Would be nice to use like...more >>

TextBox - Browser control
Posted by BluDog at 2/16/2004 5:14:14 PM
Hi I have a user control that i want to display a webpage on, this page i want to be able to toggle between the html source and the regular page view. The source of the page is in an text box. At the moment, on the validation of the textbox i am writing the file away to a temp location t...more >>



waveOutGetDevCaps in .net (Upgrade from VB6)
Posted by greg NO[at]SPAM truckmaster.com at 2/16/2004 4:25:21 PM
Howdy, I've tried everything (but the right thing obviously) to get the following to work, I'm sure it has something to do with the changes from VB6 to .net, but sure has me stumped, any suggestions? It's not populating the WAVEOUTCAPS structure, and GetLastError returns "Error #126" T...more >>

Language having more than 26 characters
Posted by Vanga Sasidhar at 2/16/2004 4:22:50 PM
How can I design a program, using which I can type a language having more than 26 characters. for example Tamil, a language in India containing morethan 57 different characters in it. how can i design a program in vb so that I can generate all these characters using the keyboard. somebody told t...more >>

database dilemma
Posted by John at 2/16/2004 4:16:08 PM
Greetings. I apologize for posting this if it is in the wrong group. The boss last week dropped vb.net on my desk and wants to create a web app and a corresponding desktop app. And I'm a newbie to vb.net. Have done vb6 work but not alot. The boss only dropped vb.net and no db to go with it. He...more >>

open a document in MemoryStream
Posted by Nuno Monteiro at 2/16/2004 4:04:12 PM
Hello! Anyone knows how to open the correct aplication to see de document that is in MemoryStream? Like: I've got an pdf in MemoryStream ( I use BinaryWriter to write it to MemoryStream), and I wanna see it with acrobat reader. -- Thanks, Nuno Monteiro nuno@rcsoft.pt ...more >>

Drag and drop basics
Posted by Chris Leffer at 2/16/2004 3:45:42 PM
I am trying to run a combination of some MS samples regarding drag and drop. I want to copy or move data from a textbox depending on the Keystate property, but my DragDrop event won't fire: Private Sub txtOriginal_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEvent...more >>

Text in listboxs disappear...
Posted by Trint Smith at 2/16/2004 3:45:41 PM
The text in some of the controls, when I click on a different one, disappears?? Like the password textbox and the File1 browse control... Any help is appreciated. Thanks, Trint .Net programmer trintsmith@hotmail.com *** Sent via Developersdex http://www.developersdex.com *** Don't just ...more >>

Automate Excel from VS.NET
Posted by Aaron at 2/16/2004 3:37:02 PM
I am trying to design an application in Visual Studio that will allow a user to select a spreadsheet, pass in some parameters, and run macros in the spreadsheet that depend on the parameters. I was able to do this pretty easily with Access, but I want it to be a standalone app so I'm trying to do...more >>

Get application icon
Posted by ltt19 at 2/16/2004 3:16:07 PM
Hi Does someone knows how to get the default icon from other application without using APIs?? Thanks in advance......more >>

Email Web page
Posted by Richard Grene at 2/16/2004 2:42:44 PM
What is the method for emailing current web page using Web Mail? Thanks, Richard ...more >>

How "talk" between applications?
Posted by VB Programmer at 2/16/2004 2:34:44 PM
If I have a VB6 and a VB.NET application, or 2 VB.NET applications what is the best way to "talk" between them? They both run on the same PC. Right now I'm just using text files to share information, etc... (Not database applications.) Thanks. ...more >>

Deployment Project
Posted by Andrew Cooper at 2/16/2004 2:16:29 PM
Greetings, I've added a Deployment Project to my VB.NET Windows Solution. The only error I get when I go to build the solution is that my setup doesn't include the .NET Framework and it mentions the dotnetfx.exe file. I can't find a way around this issue anywhere in the documentation. How d...more >>

Sending emails with unwanted characters appearing
Posted by DavidW at 2/16/2004 2:13:15 PM
I have written code using System.Web.Mail.MailMessage. Everything works fine - I send out an email. But the emails end up with "! " stuck in them. It appears to be an end of line problem but I haven't been able to eliminate it. It shows up every 900-1000 charcters or so (counting every...more >>

Com+ vs. DotNet Objects
Posted by greggm NO[at]SPAM magtech.com at 2/16/2004 1:51:23 PM
I have a dll that we wrote using VB 6 and the Winsock object. We use the dll as a COM+ object on our .Net server. The COM+ seams to handle the mutli-threading even though the dll is single threaded (we have done extensive testing and it works very well). Initially when we created the dll we d...more >>

Batchfile with xcopy
Posted by Volker Jobst at 2/16/2004 1:38:47 PM
Hi. I have this code: Dim p As New Process Dim info As New ProcessStartInfo Dim sa As New ArrayList Dim s As String Try With info ..FileName = "c:\test.bat" ..RedirectStandardError = True ..UseShellExecute = False ..RedirectStandardOutput = True End With p = Process.Start(info) Whi...more >>

Excel range to array
Posted by tek1940 NO[at]SPAM hotmail.com at 2/16/2004 1:28:01 PM
Is there a fast way to transfer an Excel range to an array? Example: Excel range is E2:E300 Dim person() as string Thanks, George...more >>

Combobox question
Posted by Stan Sainte-Rose at 2/16/2004 1:21:31 PM
Hi, A simple question.. I have a datatable with 2 fields (SkuCode, ItemName) I use a Combobox where the datasource is the DataTable and the DisplayMember is the ItemName. I add a TextBox where the user can type the SkuCode. I would like to select the line in the ComboBox if the record exis...more >>

internet explorer is it needed for .net to run
Posted by ray well at 2/16/2004 1:15:58 PM
i was told that net needs at least Internet Explorer 5.5 in order to run. is this true? what happens if dotnetfx.exe is run on a system that doesn't have ie 5.5, or doesn't have ie at all? i made a distribution package that runs dotnetfx.exe if net isn't installed but i wasn't aware at all about ...more >>

DataBinding using a sequential file
Posted by Tom McLaughlin at 2/16/2004 1:05:01 PM
I am new to vb.net and I am running into problems understanding DataBinding and its concept. The only examples I find are always talk about Web design, I only want to use this data on my standalone computer. So my question is: I have a sequential file that contains data and the data is structu...more >>

Passing a subroutine as a parameter to another subroutine
Posted by Richard Grant at 2/16/2004 12:56:11 PM
Hi. In c/C++ i can pass the address of a subroutine to another subroutine as an actual parameter How do I do that in VB .NET What should be the syntax for a parameter to receive the address of a subroutine Let's say theres a sub that creates buttons and I want it to receive as a parameter the add...more >>

New Form call from Inherited Form
Posted by John A. Prejean at 2/16/2004 12:47:13 PM
This one has me stumped. I have a base form I am trying to wrap up, but I have one problem. In two functions I am opening a "record detail" form. I would like to keep the code in the base form and pass info to the form telling it which from to actually open. Any ideas how to do this? Here is...more >>

script placement
Posted by Thomas Scheiderich at 2/16/2004 12:02:31 PM
In one of my ASP.NET books, it states that one of the differences between ASP.NET and classic ASP, is that in classic you can have script code anywhere in your html page. But that in ASP.NET, it must precede the Body of the page. I have one here called rolldice.aspx which works fine with t...more >>

es-MX/snafu.resources.dll
Posted by Robert Dobson at 2/16/2004 11:59:28 AM
I've run into a rather perplexing problem and unfortunately nobody has yet been able to help me resolve it. I have built an application that supports both English and Spanish text. When I compile, I get /bin/snafu.dll and /bin/es-MX/snafu.resources.dll. When I run it on my workstation, everyth...more >>

BEST way of doing Reflection
Posted by .NET VB NewBEE at 2/16/2004 11:49:51 AM
hi after going thru some articles i'm confused with "How to implement Reflection in my program" my requirement is to dynamically load dll(whih got a specific Interface) files from the same directory when the program comes there i read the memory leakes can come can u plz suggest the best w...more >>

Event sequence with TreeView & TextBox controls...
Posted by robains NO[at]SPAM msn-dot-com.no-spam.invalid at 2/16/2004 11:37:59 AM
I'm using a TextBox_Leave event to trigger the saving of a value to my object, however, my object is created via the AfterSelect from a TreView control -- which is fine. BUT, the problem seems to be if my focus is on the TextBox and I click on a TreView control node the sequence of events seem...more >>

Asynchronous operations
Posted by Julian Hershel at 2/16/2004 11:30:59 AM
Reading about asynchronous programming (ms-help://MS.NETFrameworkSDK/cpguidenf/html/cpconasynchronousdesignpatterno verview.htm) I could not clarify some doubts. Hope you can help me. 1) Are asynchronous programming and multithreaded programming two different pictures? As I read the help topic...more >>

Format data in datagrid
Posted by Phoebe. at 2/16/2004 11:29:04 AM
Hi, Good Day! How can i format a data in datagrid. For eg. Previous data for quatity: 20000 Formatted data to be display in datagrid: 20, 000 Can someone help. Thanks in advanced. rgds, Phoebe. ...more >>

Reading and writing word file
Posted by Raj at 2/16/2004 11:29:02 AM
Hi , I am working on vb.net and word application automation application. my question is :. 1. I want to save one file into another file , example. a) my existing file name is "Raj.DOc" and containing some page. b) and second file is "Raj2.DOc" it also containing some page. c) So ...more >>

Installing Fonts
Posted by rsine at 2/16/2004 11:24:29 AM
I am interested in writing an application to install fonts on our web server. Currently, when the server is rebooted, one has to remember to run an asp page that has the code built into it to install the fonts. I would like to right a .Net program that runs at startup to do this. So far though...more >>

Presidents Day
Posted by CJ Taylor at 2/16/2004 11:22:37 AM
I see most people in this group have the day off... lucky s.o.b's. =) ...more >>

TargetInvocationException makes no sense
Posted by dudi at 2/16/2004 10:38:03 AM
Hi, very puzzling... I have one perfectly working solution, in which I use a a.dll which has a class A. that class loads data from the database and for each row deserialize the cell into class A1. works great. I made a new solution, I linked to the same a.dll, and In a new project in this new ...more >>

Imports System.DirectoryServices
Posted by Kelvin at 2/16/2004 10:31:04 AM
Hello I am using web matrix develop a login page through Active Directory but I cannot figure out why it is giving me an error when importing system.directoryServices. Any help will do! thank Compiler Error Message: BC30466: Namespace or type 'DirectoryServices' for the Imports 'System.Directory...more >>

Structures
Posted by Stefano M at 2/16/2004 9:54:36 AM
Hi all, i'm writing a vb.net program and i need to talk with a VXD driver via an unmanaged DLL. DLL functions have some data strcture like: typedef struct _sosp_out { UINT nSamples; UINT nAmpiezzaMin; UINT nFRisonanza; UINT nPeso; UINT aSosp[50]; } SOSP_OUT; How can i define thi...more >>

Formatting Phone Number.
Posted by Mike Lambert at 2/16/2004 9:28:50 AM
If I have a string with an unformatted phone number (ie. 1234567890) what is the easiest way to copy it into a string as a formatted number (ie. 123-456-7890). Thanks, Mike ...more >>

Writing value to datetime field in SQL database in dd/mm/yyyy format
Posted by Ben Williams at 2/16/2004 9:27:19 AM
Hello, I'm hoping i'm posting to the correct newsgroup - this question involves both a SQL database and VB. I am a newbie and i'm writing a program in which one of a handful of fields will have a date entered. The contents of this field (and others) need to be written back to a SQL database....more >>

Case for variable names
Posted by Thomas Scheiderich at 2/16/2004 9:26:24 AM
I thought I read that the case for the variable names is important. For example Dim Wheel As Integer Wheel here is a different variable from WHEEL. Is this correct? It doesn't seem to be in my code. In my code, I am changing WHEEL (just for testing)many times and displaying Wheel. ...more >>

Different results if you have String or a Varient for Dates?
Posted by Thomas Scheiderich at 2/16/2004 8:59:05 AM
I have the following page as test.aspx: *************************************************** <html> <head> <title>Hello and Welcome Page</title> </head> <body> <center> <% Dim CurrentDate As String CurrentDate = Today %> The current date is <%=CurrentDate %>.<br> </center> </body> </ht...more >>

What is the width of UserControl vertical scroll bar
Posted by SamSpade at 2/16/2004 8:58:52 AM
I need to set the client size width of a user control and leave room for a vertical scroll bar, but I don't know how wide it is. Seems I remember once checking system info for the width but don't remember what I did. More importantly, is there a newer way to determine the width? Thanks ...more >>

Division in 2 decimals
Posted by Amjad at 2/16/2004 8:51:05 AM
How can I display the result of a division operation in 2 dicimal digits only? e.g. Dim MyValue As Double = 10 / 3 ' Returns 3.333333, I'd like to get 3.33 Thanks ...more >>

insert Chinese chars using vb
Posted by (m.tang NO[at]SPAM mailcity.com) at 2/16/2004 8:46:31 AM
Hi, I'm developing a stand alone program using VB accessing Ms Access database. I use NJStar to key in Chinese characters into the system. But I found that certain characters are not able to write into the db as it hits "Syntax error in string query expression - "¯QÀs°|" when I use sql statement - i...more >>

Reading from registry
Posted by Totto at 2/16/2004 8:14:11 AM
Hi, Is possible to read from HKEY_LOCAL_MACHINE whithout beeing loged in as administrator or power user? Have tried using the following code, but if loged in as User there is a security matter. Dim regKey As RegistryKey = Registry.LocalMachine Dim strCheckTime As String regKey = regKey.Crea...more >>

How to create Word documents on the fly ?
Posted by Johann NO[at]SPAM NetBook Design at 2/16/2004 6:58:28 AM
Hi, anyone could help me with finding info on how to create Word documents on the fly with ASP.NET ? I need, from an existing template, to generate a new file with data filled in the word document. Thanks Johann ...more >>

deployment of a service
Posted by cimode at 2/16/2004 6:56:06 AM
hi How do I manage to create a deployment package for a VB NET service I just created. I used to use the Deployment and Package Wizard in VB6.0 generation but I can't find it anymore. Somebody help... Thank you very much. Sincerely cimode...more >>

Connect to Exchange with VB.NET
Posted by christophmaeder NO[at]SPAM gmx.ch at 2/16/2004 6:49:35 AM
Hello, i am writting an programm which should connect to an exchange server and get calendar entries. i have tried it with ADODB, but there was a problem: sometimes it works, sometimes not. can somebody help me? thanks chris...more >>

threads
Posted by klesjezot NO[at]SPAM hotmail-dot-com.no-spam.invalid at 2/16/2004 6:39:34 AM
Hi, I'm making an application in VB.NET for the compact framework. I'm using threads. I want to use the "isAlive" property but this isn't available in the compact framework. What can I do? Posted Via Usenet.com Premium Usenet Newsgroup Services -------------------------------------------...more >>

ComboBoxes
Posted by Jim at 2/16/2004 6:36:11 AM
Quick qustion on Combo Boxes. I am trying to populate a combobox with information from an Oracle table. Using a dataset I can get the data to import to the combobox ok. However, if I run a select statement to pull in information for other tables (Selecting all information from the table where a mode...more >>

VB.net Memory usage 20k app, 15MB memory?
Posted by Grant Mills at 2/16/2004 5:12:59 AM
Is there anyway to reduce the amount of memory a VB.net program allocates? Just a simple windows form, with one button and a label, and all the button does is change the text in the label (it's even hardcoded) and the EXE is using 15000+k of memory according to the task manager... I mean...more >>

TIF files
Posted by Si at 2/16/2004 1:48:29 AM
I have a multipage TIF loaded into a picturebox, I want to view the other pages in the file, can anyone point me in the right direction. Thanks in advance ...more >>


DevelopmentNow Blog