all groups > vb.net > march 2005 > threads for friday march 25
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 30 31
e.Cancel = True in MDI Child Closing event
Posted by Oenone at 3/25/2005 11:05:06 PM
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
data. If the user clicks "No" then the code sets e.Cancel = True, which
cancels the clos... more >>
spice the boring default winforms treeview appearance up a bit...
Posted by Hazz at 3/25/2005 9:48:14 PM
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
look and feel. But I can't remember... more >>
REALbasic 5.5 free to VB6 Users Untili March 31 2005
Posted by Jim Hubbard at 3/25/2005 8:34:35 PM
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
that will run on Windows, MAC and L... more >>
How to Prevent Flicker when Updating ListView
Posted by Charles Law at 3/25/2005 7:12:51 PM
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
numerous posts about this,... more >>
Form that slides up into view (MSN Style)
Posted by Paul at 3/25/2005 6:12:17 PM
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
the form as normal/instantaneously. I trie... more >>
Problem with VS.NET 2003
Posted by lgbjr at 3/25/2005 5:18:06 PM
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
working on this project for about 6 months now and have onl... more >>
Listview with black box as cursor
Posted by Tibor Odehnal at 3/25/2005 4:50:32 PM
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
listview (instead of east/west-cursor)
plus
the comboboxentries are not visible but they are there. The c... more >>
Form Load Event
Posted by Dennis at 3/25/2005 4:49:03 PM
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).
'Do something in code
frm.ShowDialog (The Form Load Event fires again)
Shouldn't the Form Loa... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
lock down file access
Posted by Greg Chu at 3/25/2005 4:16:14 PM
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
application.
Do I have a way to write a notepad or wordpad app that can only sa... more >>
From VB.NET to Delphi7 convert.
Posted by pit3rek NO[at]SPAM o2-dot-pl.no-spam.invalid at 3/25/2005 3:36:14 PM
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
x = 0
For i = 0 To 2
x = x * n + tab(2 - ... more >>
Creating a moving map
Posted by Jon Masterson at 3/25/2005 3:13:13 PM
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
and longitude. I need to be able to react to a right click on the ... more >>
looking for CPU-specific developer's benchmarking
Posted by Bob at 3/25/2005 3:07:42 PM
I use www.hardocp.com 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
Intel/AMD comparisons for
- DotNet development performance
- DotNet end-user ... more >>
Locked files
Posted by Nikolay Petrov at 3/25/2005 1:54:51 PM
How to check if the file, that i need to write to is locked, and if so
wait some time then try again?
... more >>
Searching for strings
Posted by Roshawn Dawson at 3/25/2005 1:26:18 PM
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
an example. What I'd like to do ... more >>
Loopy over loops
Posted by GeorgeAtkins at 3/25/2005 1:05:10 PM
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.
The number of rows in each “book reco... more >>
DateTimePicker Issues
Posted by simchajoy2000 NO[at]SPAM yahoo.com at 3/25/2005 12:31:52 PM
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
the default date) into the DateTimePicker, it shows the user that the
value has ch... more >>
Problem Compare Two File
Posted by Giuseppe at 3/25/2005 11:15:57 AM
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)
Return BytesToHex(_Sha1.ComputeHash(Fs))
OR
WITH... more >>
list item colour
Posted by Richard Wilde at 3/25/2005 9:42:01 AM
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"
ListBox1.DataSource = dv1
ListBox1.DisplayMember = "Name"
I have set the listbox drawMode to OwnerdrawF... more >>
AddHandler RemoveHandler Question
Posted by hartley_aaron NO[at]SPAM hotmail.com at 3/25/2005 9:31:43 AM
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'
expressio... more >>
InStr
Posted by Chris Calzaretta at 3/25/2005 8:31:16 AM
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
i need to get the last instance
Easy w... more >>
Error on break
Posted by MacDermott at 3/25/2005 8:19:25 AM
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
green arrowhead at the beginning of the code for... more >>
date problem in datagrid
Posted by harsha reddy at 3/25/2005 7:41:33 AM
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
when different values( currently 2) from the drop down are chosen. ... more >>
Print the content of a listview
Posted by Bernalin at 3/25/2005 7:39:03 AM
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
Me.Papier = New System.Drawing.Printing.PrintDocument
Private S... more >>
Converting MS Access 2000 application to a VB / VB.NET application
Posted by George H. Slamowitz at 3/25/2005 5:41:03 AM
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
GOOD white paper on what is involved, pitfa... more >>
How can I navigate the IExplorer....
Posted by Husam at 3/25/2005 4:27:02 AM
Hi evreyBody:
I set the text of internet explorer to www.yahoo.com by using sendmessage
function and here what I did:
SendMessage(hWnd, WM_SETTEXT, 0, "http://www.yahoo.com/")
but i found that the Inerenet explorer did not navigate to the url that i
set, some body told me to use shellex... more >>
Setup a web address in the pulldown menu
Posted by George Medlock at 3/25/2005 4:10:38 AM
One of the items in the help pulldown menu is a website address. How do I
create a hyperlink to the menu item?
Thanks
... more >>
Help for VBnet Thread
Posted by ggiano NO[at]SPAM libero.it at 3/25/2005 2:43:46 AM
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
Public t2 As New Thread(AddressOf tww2.ask)
Public C... more >>
Can forms be imported from MS Access?
Posted by George Medlock at 3/25/2005 2:31:15 AM
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?
... more >>
HELP! Cannot start NEW project
Posted by Info at guitar salon at 3/25/2005 12:38:33 AM
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.
Recently I install... more >>
Cookies working on intranet but NOT working on Internet
Posted by Martin Heuckeroth at 3/25/2005 12:26:15 AM
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
working solution.
the code we came up with is ... more >>
Windows Form DataGrid - Need A Color Border Around Only The Selected Row - Will GDI Be Required
Posted by Richard at 3/25/2005 12:00:00 AM
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
one does not seem to be simple thing to do by just setting a property of ... more >>
|