Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score DataGrid OnPaint/? -How Do I Draw A GDI Type Circle On Top Of A DataGrid
Richard - 26 Mar 2005 10:33 PM - 3 messages
I want to put a GDI type circle on top of my DataGrid (actually I want to put GDI colored border around the entire selected row, but if I can figure out how to put a circle on top of it I can do the border) ...
Score Friend WithEvents
hartley_aaron - 26 Mar 2005 10:31 PM - 4 messages
Hi, What does it mean when VS automatically adds a line like this to code of my form: Friend WithEvents Label1 As System.Windows.Forms.Label Also, I noticed a modifier property for each control and the default is Friend.  When modifier is set to Friend, I can access the control from ...
Score Error with Custom Control
Nikolay Petrov - 26 Mar 2005 10:14 PM - 8 messages
I've created a simple custom control with a textbox and buttom on it. When placed in .htm page an empty box shown in IE. I've added the site to trusted sites. still no luck. any ideas? ...
Score switchboard
boyet - 26 Mar 2005 4:27 PM - 2 messages
Hi everyone! I want to implement a switchboard similar to Access switchboard. But i want it purely on visual basic 6. thanks boyet ...
Score How to set a tab in a picturebox
Just Me - 26 Mar 2005 4:10 PM - 3 messages
Using a graphics object to draw a string in a picturebox. Been looking for a way to set a tab in the picturebox or graphic object and can not find out how to do that. Is it possible? Thanks ...
Score Closing form...
Mihailo - 26 Mar 2005 2:55 PM - 8 messages
I have two forms and that forms are connect with one button. When I click on Button in the first form, the second form will be open. But both form are open. I want when I click on the button to close first form and to open the ...
Score Object reference not set to an instance of an object.
sista via DotNetMonster.com - 26 Mar 2005 7:52 AM - 2 messages
Wonder why I always got tis error? :( help.... here's my code in forgot.aspx.vb ------------------------------------------------------------------ Sub lookup_click(ByVal s As Object, ByVal e As EventArgs)         Dim email As String = Request.Form("email") ...
Score spice the boring default winforms treeview appearance up a bit...
Hazz - 26 Mar 2005 5:48 AM - 5 messages
I am using the Winforms Treeview right out of the toolbox with all the default settings. It looks very boring. What can I do to dress it up and make it look at least kind of cool? I remember hearing one time that one line of code would give it a Windows XP ...
Score Help with SendMessage API calls
Steve - 26 Mar 2005 4:05 AM - 4 messages
Hi all, Could someone provide a link to working code examples for implementing these Sendmessage API calls in VB.NET ?? EM_GETLINECOUNT EM_GETLINE EM_LINELENGTH EM_LINEINDEX I want to use these to get info from a multiline textbox. I can only find ...
Score REALbasic 5.5 free to VB6 Users Untili March 31 2005
Jim Hubbard - 26 Mar 2005 1:34 AM - 14 messages
If you want to try a true cross platform development tool - REALbasic is giving away REALbasic Standard 5.5 to VB6 developers who may feel stranded by Microsoft's abandonment of VB6. It's still got a lot of growing to do, but if the idea of writing an app ...
Score Form Load Event
Dennis - 26 Mar 2005 12:49 AM - 4 messages
I have the following code for showing a form: dim frm as new myForm frm.ShowDialog  (The Form Load Event is fired then I hide the form using Me.Hide when the X in the UR corner is clicked). ...
Score Turn Off Windows Form DataGrid Selected Row Little Pointer On the Left Of The First Row And the Area
Richard - 26 Mar 2005 12:10 AM - 2 messages
DataGrid Row Second Row Selected. How do I not show  that blank row with the      abc abc abc abc      abc abc abc abc      abc abc abc abc ...
Score e.Cancel = True in MDI Child Closing event
Oenone - 25 Mar 2005 11:05 PM - 4 messages
I'm writing an application with various MDI child forms. In the Closing event of many of the forms, I have code that asks the user whether he is sure he wants to close the form, because it contains unsaved ...
Score Locked files
Nikolay Petrov - 25 Mar 2005 9:54 PM - 4 messages
How to check if the file, that i need to write to is locked, and if so wait some time then try again? ...
Score From VB.NET to Delphi7 convert.
Piterek - 25 Mar 2005 9:36 PM - 3 messages
Hello. I have a question, did someone can convert from VB.NET source code to Delphi7 code? Dim n, x As Double Dim tab() As Double = {-3, 0.5, -0.05} ------------------------------------------------- Sub licz()     Dim i As Integer ...
Score lock down file access
Greg Chu - 25 Mar 2005 9:16 PM - 4 messages
I have a system that is locked down so the user can not even use windows explorer. But I need to user be able to save a wordpad file to the hard drive. I want to assign a particular directory to save through the ...
Score Loopy over loops
GeorgeAtkins - 25 Mar 2005 9:05 PM - 7 messages
Using VB.NET in VS 2003. This should be a simple routine, but it has me flummoxed. I have to compare strings in two text files: FILE1(srar) consists of lines of book titles. FILE (srac) consists of multi-line “book records”, separated by blank rows. ...
Score DateTimePicker Issues
simchajoy2000 - 25 Mar 2005 8:31 PM - 2 messages
Hi, I have a VB.NET form with several DateTimePickers on it.  These have worked great for me until several days ago.  All of a sudden they no longer recognize user input.  So if a user enters a date (other than ...
Score looking for CPU-specific developer's benchmarking
Bob - 25 Mar 2005 8:07 PM - 4 messages
I use [link] to monitor the rivalry between Intel and AMD, especially when I'm about to buy a new machine. They have a lot of benchmark data, but none specifically for a developer. I would like to find some ...
Score Searching for strings
Roshawn Dawson - 25 Mar 2005 7:26 PM - 3 messages
Hi, Web sites, like Google, have the ability to remove certain common words from the users search.  For example, if I were to type "php and .net", Google would remove the word "and." So, that brings me to my delimma.  I'm using the Publishers database as ...
Score How to Prevent Flicker when Updating ListView
Charles Law - 25 Mar 2005 7:12 PM - 6 messages
Some of the eagle-eyed amongst you will spot this as a direct follow on from my earlier post about critical timing in .NET. I want to use a ListView to display my output (instead of the sluggish RichTextBox), but it flickers madly when I update it. There have been ...
Score Form that slides up into view (MSN Style)
Paul - 25 Mar 2005 6:12 PM - 7 messages
Hi, Is is possible to display a form that slides up from the system tray like that of MSN Messenger? I have tried the AnimateWindow API and the various flags (blend, roll horizontal, roll vertical) work but the slide flag doesn't, it just displays ...
Score AddHandler RemoveHandler Question
hartley_aaron - 25 Mar 2005 5:31 PM - 4 messages
Hi, I was trying to store the address of the my current handler for a particular event so as to simplify using AddHandler and RemoveHandler throughout my code.  However, I cannot seem to get any kind of variable to except the data.  When I tried a Long I got the message "'AddressOf' ...
Score Listview with black box as cursor
Tibor Odehnal - 25 Mar 2005 3:50 PM - 4 messages
Hello, i have a crazy bug on one Machine. My Application is running fine on 6 Workstations (XP an  W2K) On a new one (XP) i will have a black box as cursor if i want to resize a ...
Score date problem in datagrid
harsha reddy - 25 Mar 2005 3:41 PM - 2 messages
Dear All,               I have a front end form which has a couple of dropdown menus which select data from the database based on the value selected, the stored procedure which the program accesses outputs diffrent columns ...
Score Print the content of a listview
Bernalin - 25 Mar 2005 3:39 PM - 2 messages
The  Print() method used in my vb .net 2003 program abort with a "Descripteur non valide"  and i don't know why. Following the part of my code :     Friend WithEvents Papier As System.Drawing.Printing.PrintDocument ...
Score Creating a moving map
Jon Masterson - 25 Mar 2005 3:13 PM - 6 messages
Hi All I have a requirement to create a window in which I can place a moving map. I also probably need to create the data points that go onto the map - airports, navigation aids etc.  The whole thing would be based on latitude ...
Score InStr
Chris Calzaretta - 25 Mar 2005 2:31 PM - 20 messages
Hello Everybody, Question instr function will give you the first instance of the finding so EX: so your string looks like string1 = "testing>This is > just a test > testtesttest"   instr(string1,">") so instr will give me a 8 as a return item ...
Score Converting MS Access 2000 application to a VB / VB.NET application
George H. Slamowitz - 25 Mar 2005 1:41 PM - 4 messages
Hello All I am trying to convert a MS Access 2000 application to a VB application (Just Started Yesterday) I am using Visual Studio .NET 2003 utilizing Visual Basic .NET I think I have a good feel to what I have to do, but does anyone know of a ...
Score Error on break
MacDermott - 25 Mar 2005 1:19 PM - 4 messages
Trying to debug a vb.NET application, I set a breakpoint, then try to move forward from there. While this has worked in the past (I often did this back in VB6.0), now most often when I try to move forward, I get a NullReference exception, with the ...
Score How can I navigate the IExplorer....
Husam - 25 Mar 2005 12:27 PM - 3 messages
Hi evreyBody: I set the text of internet explorer to [link] by using sendmessage function and here what I did: SendMessage(hWnd, WM_SETTEXT, 0, "[link]") but i found that the Inerenet explorer did not navigate to the url that i ...
Score Help for VBnet Thread
ggiano - 25 Mar 2005 10:43 AM - 2 messages
Hi, My application have two threads that run at the same time. This is my code     Public WithEvents tww1 As New ThreadWrapp1     Public t1 As New Thread(AddressOf tww1.Ask)     Public WithEvents tww2 As New ThreadWrapp2 ...
Score Problem Compare Two File
Giuseppe - 25 Mar 2005 10:15 AM - 6 messages
i must compare 2 files who are on two different pc i try to calculare "HASH" but is different beetween PC1 AND PC2.... I TEST THIS CODE : Dim _Sha1 As SHA1 = SHA1.Create Dim Fs As FileStream Fs = New FileStream(filename, FileMode.Open) ...
Score list item colour
Richard Wilde - 25 Mar 2005 9:42 AM - 3 messages
I am trying to change a colour of a listbox item depending on a value in a data view My fields in the dataview are     ID     Name     idCat     ListBox1.ValueMember = "ID" ...
Score Problem with VS.NET 2003
lgbjr - 25 Mar 2005 9:18 AM - 6 messages
Hi All, I'm having a problem with a VB.NET project that I'm building in VS.NET 2003 (7.1.3088). As my project has increased in size (the executable is now about 2.5MB), I am experiencing a lot of instability in the IDE. I have been ...
Score Setup a web address in the pulldown menu
George Medlock - 25 Mar 2005 9:10 AM - 2 messages
One of the items in the help pulldown menu is a website address.  How do I create a hyperlink to the menu item? Thanks ...
Score Can forms be imported from MS Access?
George Medlock - 25 Mar 2005 7:31 AM - 5 messages
Microsoft told me that it couldn't be done. Does anyone know if I can take the forms that I made in MS Access 2002 and put them in a VB.NET project? ...
Score vb.net dll
Wendy Elizabeth - 25 Mar 2005 4:31 AM - 3 messages
I am new to using .net. I am told that I need to setup a config file that will be accessed by a VB.net dll. This vb.net dll will be setup to run every 5 to 10 minutes by a timer that is coded into the vb.net application. ...
Score Button in a datagrid (windows form)
MCDave - 25 Mar 2005 1:58 AM - 2 messages
Hi all, I'm trying to get a datagrid to display a button in every row, so that when the user clicks on it, the value from the first column (record index) is read, and then a new window opens for the user to see the full record (for ...
Score Windows Form DataGrid - Need A Color Border Around Only The Selected Row - Will GDI Be Required
Richard - 25 Mar 2005 1:33 AM - 2 messages
I have a lot of colors, fonts, etc. to set for rows and possibly columns, based on the information contained in the row and/or the selected row. A main one is putting a border around the entire selected row only. The border ...
Score How to implement ComboBox.FindValue
Hal Heinrich - 25 Mar 2005 1:09 AM - 5 messages
How do I implement the value equivalent of the ComboBox.FindStringExact method? I.e. How do I set the ComboBox.SelectedIndex so that the ComboBox.SelectedValue object matches one that I specify. Thanks in advance for any help, Hal Heinrich ...
Score ArrayList Strongly Typed
Dennis - 25 Mar 2005 12:57 AM - 25 messages
I use the following code for a strongly typed arraylist and it works great.  However, I was wondering if this is the proper way to do it.  I realize that if I want to implement sorting of the arraylist then I have to handle this ...
Score Unshare an Excel sheet with VB.Net
Erik Foreman - 25 Mar 2005 12:50 AM - 3 messages
I use the line XLwkb.ExclusiveAccess() to unshare the workbook and it works. the problem is it sends up a prompt for confirmation. When I run this there will be noone around to confirm it. how do we unshare the workbook without being prompted to ...
Score inheritance and shared
rodchar - 25 Mar 2005 12:49 AM - 3 messages
hey all, i have a MustInherit class and a derived class. is it possible to have a shared method in the base class and use it? Note: this is not working for me but just going to explain. i have a base class that has a shared function that returns a connection ...
Score HELP! Cannot start NEW project
Info at guitar salon - 25 Mar 2005 12:38 AM - 4 messages
I've been working on several programs, without problems, but I just went to start a NEW project, and get the error: VC package not available or not registered And cannot start a new project. As I said, I can open anything currently in development, but nothing new. ...
Score Datagrid colum sorting problem - URGENT
Bill Nguyen - 24 Mar 2005 11:41 PM - 5 messages
I found that rows in datagrid can be sorted by clicking on the column header. However, this doesn't refresh the .currentindex DataGrid1.CurrentCell.RowNumber I need either to disable colum sorting programmatcially or somehow refresh the DataGrid1.CurrentCell.RowNumber index so that it will reflect the ...
Score Cookies working on intranet but NOT working on Internet
Martin Heuckeroth - 24 Mar 2005 11:26 PM - 3 messages
Hi We are working on a webservice application and are having some problems with the cookies and/or sessions. We have them working on our intranet but then its not working on the internet. We have been looking our asses off but can not find a ...
Score VB6 easier than VB.NET?
Mitchell S. Honnert - 24 Mar 2005 10:04 PM - 73 messages
In some recent posts, I've seen people who seem to be waxing nostalgic with respect to the "ease of use" of Visual Basic 6.  I can't quite put my finger on it, but they seem to be implying that VB6 was simpler to use than VB.NET, ...
Score remember my user name
Brian Henry - 24 Mar 2005 9:35 PM - 4 messages
I want to make a login form, but have a checkbox with a "remember user name" option to create a cookie on their system to save their user name and place it into the username text box when they visit the site, how to go about ...
Score Detect if running in terminal server session
Oenone - 24 Mar 2005 9:14 PM - 3 messages
Is it possible to detect whether my application is running within a Terminal Server session or not? I'd like to automatically switch off some of my graphics rendering under this environment as they can be quite slow to transfer over a terminal ...
Score What is threading?
George Medlock - 24 Mar 2005 8:49 PM - 5 messages
I see all kinds of threading but there is nothing explaining thread. ...
Score windows media player problem
Messer - 24 Mar 2005 6:49 PM - 2 messages
hello, i'd like my application to play video "friday.wmv" just after "monday.wmv". i don't want to use a playlist. the wmp is deaf just after playing the first video. what am i doing wrong? windows xp, wmp 9 ...
Score VB6 to VB.NET dlls
Cutlass - 24 Mar 2005 5:01 PM - 3 messages
What is the proper VB.NET way to declare these VB6 dlls? Public Declare Function WaitForSingleObject Lib "kernel32" _   (ByVal hHandle As Long, _    ByVal dwMilliseconds As Long) As Long Private Declare Function CloseHandle Lib "kernel32" _ ...
Score listboxes to select/deselect multiple items
Bill Nguyen - 24 Mar 2005 2:47 PM - 3 messages
I would like to be able to do the following: Listbox1/Textbox1 contains list of all items not selected item A item B item D Listbox2//Textbox2 contains list of all items selected item C item E User then can highlight desired items to select/deselect using the ...
Score Pass an array to javascript
ruca - 24 Mar 2005 2:43 PM - 5 messages
Hi, How can I pass an array string to javascript? I have this: in ASP.NET VB code: --------------------------------------------------------------------         Dim siteName(100) As String         Dim siteLink(100) As String ...
Score Collection Class Serialization
Michael Rich - 24 Mar 2005 8:58 AM - 3 messages
Can anyone point me to a collection class that has serialization/deserialization with it - preferably in XML. I know this can't be done with a collection that inherits from CollectionBase, but I'm hoping someone has another collection class out ...
Score ActiveX
Nikolay Petrov - 24 Mar 2005 8:48 AM - 3 messages
Is it possible to create ActiveX in VB .NET and if yes does the client need to have .NET Framework installed? tnx ...
Score replace oddity
guy - 24 Mar 2005 6:27 AM - 3 messages
why if i do  a select on  ablock of text (in vs2003) when i do a find/replace is find next and replace disabled? replace all is there but i may well not want to do that? if i pick any of the other 'search' options replace and find next are enabled. ...
Score Anyone tried REALbasic?
Jim Hubbard - 24 Mar 2005 4:00 AM - 24 messages
I am downloading the REALbasic 5.5 demo and was just wondering if anyone else had tried it. I am tired of Microsoft constantly changing things and breaking backward compatibility ON PURPOSE. I'd like to offer my customers the ability to run my apps on Windows, MAC or ...
Score HTML Forms Progamatically Via VB.NET
Mitchell Vincent - 24 Mar 2005 3:00 AM - 13 messages
I've been searching and searching and I can't seem to come up with a decent enough search string at Google to get any useful information on what I'm looking for. I see scores of programs that pop open a web page and fill in form ...
Score Query database in VB.NET
gregas - 23 Mar 2005 11:15 PM - 5 messages
I would like to create a query to run in a VB.NET application that searches an Access contacts database for 1 or more strings, e.g. FirstName, LastName etc. and returns the results in a DataGrid. Can this be done and if so can anyone offer me any assistance? ...
Score Navigate The internet explorer...
Husam - 23 Mar 2005 5:53 PM - 2 messages
Hi EveryBody: I used the sendMessage function to  change the url of internet Explorer to [link] and here what I did : SendMessage(hWnd, WM_SETTEXT, 0, "[link]") but I face this problem that the internet explorer did not start navigate to ...
Score How to Print PRN file
Michael D Murphy - 22 Mar 2005 9:54 PM - 15 messages
Any information on the best way to print a prn file from within a VB.Net Web Application would be appreciated. Thanks, Michael Murphy 954-452-1047 mdmur***@scs-techresources.com ...
Score Finding Version of All Asemblies Required by Application
Charles Law - 22 Mar 2005 11:23 AM - 4 messages
I want to display the name and version of all assemblies (dlls?) used/required by my application in a Help | About box. Is there a way to do this? One of the problems I anticipate is that assemblies are only loaded when ...
Score Can I pass value from VB form to VBS?
D.P. Roberts - 22 Mar 2005 3:43 AM - 2 messages
I have 3 vbscripts and a vb form with radio buttons corresponding to each script. The form's only purpose is to provide a nice GUI for the user to decide which of the 3 scripts to run. Now, because the scripts are mostly ...
Score the menu and the shortcuts
Dominique Gratpain - 21 Mar 2005 4:50 PM - 8 messages
Hi, Two questions about menu and shortcuts (in WindowsForms) : 1) I create a main menu with two items in menu bar :  &menu 1  and m&enu 2 I see the accelarator key (m underline for menu 1 and e underline for ...
Score Newbie looking for free, easy to use zip utility
Richard Ronnback - 21 Mar 2005 8:15 AM - 2 messages
I am trying to make a simple archiving application in Visual Basic.net I have only just begun learning vb.net but so far everything seems to work ok but I have now come to the point where I would like to zip the ...
Score Inherited class behavior vs. C#
twawsico - 20 Mar 2005 3:26 PM - 3 messages
I ran into this while converting some DX C# code to VB.NET (VS 2003), and I'm just curious as to whether this is intended behavior (and if so, where might I read up on it) or more of a bug. ...
Score VB.NET program coversion to Web Interface
Jim Florence - 20 Mar 2005 12:44 AM - 2 messages
Hello, I've just started on .NET and was asked if there was an easy way to convert a VB.NET app to a web based version without having to re-code the whole thing Many thanks for any pointers ...
Next » 2 3 4 5 6 7 8